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: 9625007 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 EC65E60424 for ; Wed, 15 Mar 2017 07:50:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D6BAD285F0 for ; Wed, 15 Mar 2017 07:50:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C89E5285FC; Wed, 15 Mar 2017 07:50:22 +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=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4D461285F0 for ; Wed, 15 Mar 2017 07:50:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751157AbdCOHuT (ORCPT ); Wed, 15 Mar 2017 03:50:19 -0400 Received: from mail-lf0-f49.google.com ([209.85.215.49]:32911 "EHLO mail-lf0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751068AbdCOHuF (ORCPT ); Wed, 15 Mar 2017 03:50:05 -0400 Received: by mail-lf0-f49.google.com with SMTP id a6so3383800lfa.0 for ; Wed, 15 Mar 2017 00:50:03 -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=NQHJ6vtaMhDkpuMfuUpKnYAPCIJSgubhqGOI09z5L8ym4SJSnW7RUObzke08OoDACC uKXTp9HfR1pzhfJjTdlq5KtsNSZ474/Iqx93VpIhF7PXz6s+EiaB691kO3mVMkqHbWWl EDLMX1n4H73BRLBDqJNV7aSqaBMpKuvp3qEWkfHwge6JgvHmCXzeQ6/RBIXM0m5fclDM XNUHdOFKtiST6UFSmIlv4/YOirpKOf3DqKog4sknhKZRh+W4Uip34aoGr2LZy6ylR3Tm sfvb+DEz8+dREEXUqUtZes0xj/rLc+zvQFUzlQG8IMRCCSKnBr/QIMUrxmg0DAE6juHD s1tw== X-Gm-Message-State: AFeK/H2OFkkVXQ29N1b9mxSW1qqkl/a5OU3yKKxWYUNxGDrn4FI6uOP4jzdSwHyrrETLFQ== 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 Cc: Sunil.Goutham@cavium.com, geethasowjanya.akula@gmail.com, linu.cherian@cavium.com, linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-acpi@vger.kernel.org, Tomasz Nowicki 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> Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.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;