Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753616AbdCOLPL (ORCPT ); Wed, 15 Mar 2017 07:15:11 -0400 Received: from edison.jonmasters.org ([173.255.233.168]:52453 "EHLO edison.jonmasters.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751657AbdCOLOs (ORCPT ); Wed, 15 Mar 2017 07:14:48 -0400 To: Bjorn Helgaas , Vadim Lomovtsev References: <1485793552-12614-1-git-send-email-Vadim.Lomovtsev@caviumnetworks.com> <20170130211236.GW20550@bhelgaas-glaptop.roam.corp.google.com> <20170131102830.GA13854@localhost.localdomain> <20170131142525.GA9942@bhelgaas-glaptop.roam.corp.google.com> <20170131145720.GA14231@localhost.localdomain> <20170131203109.GA14127@bhelgaas-glaptop.roam.corp.google.com> <20170201125325.GA15805@localhost.localdomain> <20170201151807.GA15793@bhelgaas-glaptop.roam.corp.google.com> Cc: David.Daney@cavium.com, tn@semihalf.com, linux-kernel@vger.kernel.org, stemerkhanov@CAVIUMNETWORKS.onmicrosoft.com, linux-pci@vger.kernel.org, bhelgaas@google.com, linux-arm-kernel@lists.infradead.org From: Jon Masters Organization: World Organi{s,z}ation Of Broken Dreams Message-ID: <376ae1df-da85-e576-75d6-3ae2ab0f1b41@jonmasters.org> Date: Wed, 15 Mar 2017 07:14:38 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0 MIME-Version: 1.0 In-Reply-To: <20170201151807.GA15793@bhelgaas-glaptop.roam.corp.google.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 81.171.212.148 X-SA-Exim-Mail-From: jcm@jonmasters.org Subject: Re: [PATCH] PCI: ACPI: Fix ThunderX PEM initialization X-SA-Exim-Version: 4.2.1 (built Sun, 08 Nov 2009 07:31:22 +0000) X-SA-Exim-Scanned: Yes (on edison.jonmasters.org) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1803 Lines: 45 Hi Bjorn, Vadim, Following up to this old thread... On 02/01/2017 10:18 AM, Bjorn Helgaas wrote: > On Wed, Feb 01, 2017 at 04:53:25AM -0800, Vadim Lomovtsev wrote: >>>> Because there is no such ACPI ID as "THRX0002" registered >>>> (http://www.uefi.org/acpi_id_list). There is still no "THRX" prefix registered with UEFI as of this morning. >>> To be pedantically correct, I think you want "THRX" registered. Then >>> you can manage the "0002" part internally without registering each >>> individual device. The upstream Linux kernel contains a quirk matching entry that looks for "THRX". Therefore, you have already agreed (as of at least January) that this is the prefix that you will use in any firmware updates to support the latest upstream Linux kernel. Please register this prefix promptly. >> Not sure if it would be registered that way, because (AFAIK) >> it expected to be string constructed from Vendor ID (not the Product ID) plus >> four hex digit manged internaly. So we suggest to change it to 177DXXXX >> which corresponds to Cavium PCI ID https://pci-ids.ucw.cz/pci.ids. >> It's also possible to use the 3-digit PNP ID, "CAV", to construct these >> _HID/_CID/_SUB values (http://www.uefi.org/pnp_id_list). > > My point was that you only need to register the prefix ("CAV" or > "THRX") of the PNP or ACPI ID. Then you manage the suffixes > internally. You as long as you register "CAV" or "THRX", you can > assign and use "THRX0002" yourself without registering that > specifically. > >> So the FW will be updated accordingly. Indeed. The version Bjorn merged looks for "THRX". This is the version that you will use, and you will promptly register that prefix with UEFI and provide fixes for existing firmware to correctly use the solution that is upstream. Thanks, Jon.