From patchwork Wed Mar 15 07:49:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomasz Nowicki X-Patchwork-Id: 9625013 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 544C560424 for ; Wed, 15 Mar 2017 07:51:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 451BF28285 for ; Wed, 15 Mar 2017 07:51:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 37686285F9; Wed, 15 Mar 2017 07:51:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id CECBA28285 for ; Wed, 15 Mar 2017 07:51:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=aqfXU/dp2KuNn7XP0pHANWlveE1N9HRGMafLajL7qMo=; b=oAV3iRziYB9kn91uhuN6PvKcRt XjCtJOawJj0kwA8Qzf2VQdIzzfCoF/Uwl9U6zdjHtqaeCofW9vD8k2+R8V/HfSPI9m5gTetQc8pWf RiKIXBzq5TiMBAhRseP2uNiqTHf9GSl+8KkTvDJx0pJykGZXfZyHPra09yLNFdTXTx1wvwFnQ658y NZTcF+1ezwxi0K5aF9o1GZQrmnSVpHk6RrhfoOvODl5eA9dY+OYaUrAQU/uoufgWR6J0EM28l7oi6 t3IBNd7C9GeFalbvDWRQ1Qvd3GIPjKdhdaLrPFfg/S2pXcBif3YZIOjjMm3xaSHVpKzfTdK4gHVDP 0gh4KzqQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1co3ih-0007tp-8a; Wed, 15 Mar 2017 07:51:43 +0000 Received: from mail-lf0-x22f.google.com ([2a00:1450:4010:c07::22f]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1co3hR-0006W2-1b for linux-arm-kernel@lists.infradead.org; Wed, 15 Mar 2017 07:51:41 +0000 Received: by mail-lf0-x22f.google.com with SMTP id z15so3382175lfd.1 for ; Wed, 15 Mar 2017 00:50:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=UwXmolpkfQ6Ev+cvK2PhO2+weGTPOMpNx4IOex+vakc=; b=gfYvlAjaGxMwx/N6oQUNMXEF634sa7Wm6KsqlLW5EBmyvfq833odfti6bv32dDvyg4 t9UVm7V3ocmHZ6iL128abJshq59bT54yF4sgAZfZcpGOubZ14LXRZIwltqBzwgL7z04n EfR5tJFQ7dWquzF/kHMNPLE71ozYwMvtwGgEi7cYoONgSo3jM2iZ37XUK7rv/Bv+08rl oNnM7c/b2qRrEs9YE3JufcwMbHKjWMClUFn0uF7uiK274cB6TkCt1LMO4b/K/o7GdFdF 614EpR+cSydpfvBBDFTK5LwK0DwqlqLnS10e7stfhDaF2qUhzJy59pE8j8Tyz626UT8w QYMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=UwXmolpkfQ6Ev+cvK2PhO2+weGTPOMpNx4IOex+vakc=; b=Af/N1OSoGkD7NJrbejONH4YubgYZhWrTFrXR97WE1FXVq3HBOvtI+l9CtwrrAJU7zC FUdGKukC7E9qDDW/auMyeLove1KeGF+PuYgvgIwu8TVqs44e7VgOhmIOHBrP941XeT2t ExXwVY/TjgcHP+JR91NesX6xaTlm5VC5ASOOdyp8ilaMs3rupK2B56ekMYCb+I938KUH 4UMYkatH5ngv+Khymf+xpxi7erqL1SHXjEGnUvC1PLYTjw71LMwWK4br0xzpea+n9OgR bJxYy10d6rWV1pAvuu9s8Q4tn2D9q+JPTiYsKWaIy0Okcnp6wy/GVBLwWHbfu8xBE6uv nM9g== X-Gm-Message-State: AFeK/H0EaEhXb7LdNA9tEj0s6pPJY2geVEtOPRZ1U4fNw35HDPLv5h4T4i1+IjM3WUDrnQ== X-Received: by 10.25.67.16 with SMTP id q16mr495166lfa.120.1489564202965; Wed, 15 Mar 2017 00:50:02 -0700 (PDT) Received: from tn-desktop.semihalf.local (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.gmail.com with ESMTPSA id u26sm192710ljd.40.2017.03.15.00.50.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 15 Mar 2017 00:50:02 -0700 (PDT) From: Tomasz Nowicki To: helgaas@kernel.org, Lorenzo.Pieralisi@arm.com, robert.richter@caviumnetworks.com, ddaney@caviumnetworks.com, Vadim.Lomovtsev@caviumnetworks.com, rafael@kernel.org Subject: [PATCH 1/2] PCI: Use Cavium assigned hardware ID for ThunderX host controller Date: Wed, 15 Mar 2017 08:49:14 +0100 Message-Id: <1489564155-3881-2-git-send-email-tn@semihalf.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1489564155-3881-1-git-send-email-tn@semihalf.com> References: <1489564155-3881-1-git-send-email-tn@semihalf.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170315_005025_355187_FD89DCA0 X-CRM114-Status: UNSURE ( 9.48 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Sunil.Goutham@cavium.com, linux-pci@vger.kernel.org, geethasowjanya.akula@gmail.com, linux-acpi@vger.kernel.org, linu.cherian@cavium.com, Tomasz Nowicki , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP "CAV" is the only PNP/ACPI hardware ID vendor prefix assigned to Cavium so fix this as it should be from day one. Signed-off-by: Tomasz Nowicki Tested-by: Robert Richter Acked-by: Robert Richter --- drivers/pci/host/pci-thunder-pem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/host/pci-thunder-pem.c b/drivers/pci/host/pci-thunder-pem.c index af722eb..e354010 100644 --- a/drivers/pci/host/pci-thunder-pem.c +++ b/drivers/pci/host/pci-thunder-pem.c @@ -331,7 +331,7 @@ static int thunder_pem_acpi_init(struct pci_config_window *cfg) if (!res_pem) return -ENOMEM; - ret = acpi_get_rc_resources(dev, "THRX0002", root->segment, res_pem); + ret = acpi_get_rc_resources(dev, "CAVA02B", root->segment, res_pem); if (ret) { dev_err(dev, "can't get rc base address\n"); return ret;