From nobody Mon Mar 07 11:19:58 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 548ED1A06E69; Mon, 7 Mar 2022 11:19:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KBwwZ5VMxz4WXl; Mon, 7 Mar 2022 11:19:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646651999; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=S3jk8rezoHG9KXT/AcVYBJ3v7gcZmua7xZQsdzy0LC4=; b=Q6JHXVdBEIrlCE+hNdEZe1MAVPsslVgy+4LBclmdXQ/gdlkQJHIhhbflZ+rAwbunUNFG9t RDfT525gvUdzTYZNwRPOhijDcq50WnShAKAJg5Q0ZhBD1qOgj+ACWq5yTACI0KLJWdLRkR qUL7hbAK0IKP2bV608c8Af+6X2r8UhNgb7VXroY9Uhsb1N2Er6J+2k/Pfm+6qBaghULk6M TYOn81DRhkWRLQXvE8XggHFfrL8RLbyl6Hq3CAgk0YtVzi5ymI7yejSdgR3kWGyvNKA0gy rILiCYZ5g+UV4ITEHuZnsrF/K9yoaXDl5O+YbNpfc//AKlI6ENUr1QC9RfUd1w== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 90398272F7; Mon, 7 Mar 2022 11:19:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 227BJwjA084545; Mon, 7 Mar 2022 11:19:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 227BJwwA084544; Mon, 7 Mar 2022 11:19:58 GMT (envelope-from git) Date: Mon, 7 Mar 2022 11:19:58 GMT Message-Id: <202203071119.227BJwwA084544@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Marcin Wojtas Subject: git: 6f37cb64f3c7 - stable/13 - pci_host_generic: update Synopsys device description for ACPI List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mw X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 6f37cb64f3c74106ac63b241af1128c8772b552d Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646651999; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=S3jk8rezoHG9KXT/AcVYBJ3v7gcZmua7xZQsdzy0LC4=; b=OeojVI1Nd5Z520xeGWYAMCvrf5fiM42YVswN4Hg3f34KHiA2lGcKEtrIQCvURkG8bTAJRq QWUD/2aHC0vIZdJMQqFGffuPTRyzNxovdhnZF2g+hNlBdf1/y11kI7S6FYfbIlMq7lAzc/ o8cDUIyNL8n4JxHrGnziu6Dsx0A7nzHO7Ax0mgiJAtMCKtlSy4ag5Gvbo67cQdUukiSzDF 1YiwKCrZnDokf/Pzx/YnGqJT3WCQeWVKceZEN/TXLkXbuO6xP6g/eKhGWFrQCuv2IIGzVw GSZb6lYIoUfb3Tspl3sq2hoNeIt2u8Fq1FL69Vr0laELWcapFswxh4/+ROAItw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1646651999; a=rsa-sha256; cv=none; b=MLttCNZPB8eDxm25IfBOaoQCr7Y+bViQyenc2kcqVmA6FfHPPh3HU9F4lpkIT9dC5t+2vm 9pUOZhef111cCWX/cUZBCUIn5mWR/np20QuRlBhe5W31Tc45vjccQmeRoirdWYShU0WmeF 7O3VAEt5psPinaa32Bx6WaYhD8APJM9yAv8QgoqB3YcOW1Q+tMRNHIYz85jYL93Wybiwfz zVSH+WU0+optvpPV3gJwYlD1HntMlsnrHLFsSFfT1vrrR0pZ46UI1K3qDOjcGPeYtXW6nV AGy7sYmcXTwUBL9FWuxfP0kBS6ywLwtO5CUjXDM1g29PdnjBE/DIyzG4n+2rRw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by mw: URL: https://cgit.FreeBSD.org/src/commit/?id=6f37cb64f3c74106ac63b241af1128c8772b552d commit 6f37cb64f3c74106ac63b241af1128c8772b552d Author: Marcin Wojtas AuthorDate: 2021-09-16 14:39:42 +0000 Commit: Marcin Wojtas CommitDate: 2022-03-07 11:19:29 +0000 pci_host_generic: update Synopsys device description for ACPI The recent addition of Synopsys ECAM quirk set the device description only for the DT variant. Do the same in ACPI case. Reported by: jrtc27 (cherry picked from commit e8a872536042970b4dbf14dc75755a352fb14488) --- sys/dev/pci/pci_host_generic_acpi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/dev/pci/pci_host_generic_acpi.c b/sys/dev/pci/pci_host_generic_acpi.c index 3c32abc5007a..9628517813a9 100644 --- a/sys/dev/pci/pci_host_generic_acpi.c +++ b/sys/dev/pci/pci_host_generic_acpi.c @@ -242,6 +242,8 @@ pci_host_acpi_get_ecam_resource(device_t dev) return (ENXIO); } pci_host_acpi_get_oem_quirks(sc, hdr); + if (sc->base.quirks & PCIE_ECAM_DESIGNWARE_QUIRK) + device_set_desc(dev, "Synopsys DesignWare PCIe Controller"); } else { status = acpi_GetInteger(handle, "_CBA", &val); if (ACPI_SUCCESS(status))