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: 9625005 X-Patchwork-Delegate: bhelgaas@google.com 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 2B2D360522 for ; Wed, 15 Mar 2017 07:50:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1DBF5285F0 for ; Wed, 15 Mar 2017 07:50:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 12116285FB; Wed, 15 Mar 2017 07:50:23 +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.4 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM 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 703BB285F9 for ; Wed, 15 Mar 2017 07:50:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751198AbdCOHuU (ORCPT ); Wed, 15 Mar 2017 03:50:20 -0400 Received: from mail-lf0-f48.google.com ([209.85.215.48]:32911 "EHLO mail-lf0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751100AbdCOHuF (ORCPT ); Wed, 15 Mar 2017 03:50:05 -0400 Received: by mail-lf0-f48.google.com with SMTP id a6so3383801lfa.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=hcebquwj/0t2YKBtWBFNLyBq3vNtRRyoJMhYnMBdixxcysP0AfGFey4f/76zrZLNNs TVkIpOE+EwdNO6HE02/YUNC6pDYf3Pj9Prs8/x3H8JSQM+ouQyP0M6NJOzx+lT7Q+pgS IKuuvgeEZ9ss6ix7IsxxH6DM5yrTosydNJnn/fOLTgN4N3TJ698lgy3fB/Z2zORMuUmx WMqKsn3/piB7jT/W+BPfrof7A5VAcrTfKd9sx9oC8jWEWEDKYx5BxgN+VHNeQs+wvWoC rMVJznIzhJstQifrJk2g0te2LB0FiazF8RKbvu97hHaIie90NwaZq0eOs7Gf5rzLaXzP S+Zg== X-Gm-Message-State: AFeK/H3eVbXpJW2gNBxFA8N2Hh1rUjC2fdpqzugLraAYLBYilGLio2aB0KJiJFOYdF+eNw== 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-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@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;