Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932773AbdCUORY (ORCPT ); Tue, 21 Mar 2017 10:17:24 -0400 Received: from mail-lf0-f54.google.com ([209.85.215.54]:35924 "EHLO mail-lf0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932557AbdCUORW (ORCPT ); Tue, 21 Mar 2017 10:17:22 -0400 Subject: Re: [PATCH] PCI: ACPI: Fix ThunderX PEM initialization To: Bjorn Helgaas , Jon Masters References: <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> <376ae1df-da85-e576-75d6-3ae2ab0f1b41@jonmasters.org> <20170315113323.GA28027@localhost.localdomain> <251db823-591b-483b-9c55-13c911020fd1@jonmasters.org> <48b93116-cc0f-e59d-8aa3-704052ad6759@gmail.com> <20170321134744.GA13150@bhelgaas-glaptop.roam.corp.google.com> Cc: David Daney , Vadim Lomovtsev , David.Daney@cavium.com, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, stemerkhanov@CAVIUMNETWORKS.onmicrosoft.com, bhelgaas@google.com, linux-arm-kernel@lists.infradead.org From: Tomasz Nowicki Message-ID: Date: Tue, 21 Mar 2017 15:17:17 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <20170321134744.GA13150@bhelgaas-glaptop.roam.corp.google.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2363 Lines: 50 Hi Bjorn, On 21.03.2017 14:47, Bjorn Helgaas wrote: > On Tue, Mar 21, 2017 at 07:38:07AM -0400, Jon Masters wrote: >> On 03/16/2017 12:25 PM, David Daney wrote: >>> On 03/16/2017 07:32 AM, Jon Masters wrote: >> >>>>> Yes, it is now contains "CAVxxx" as _HID for device config object. >>>> >>>> Which is different from the version that was merged into upstream. That >>>> should never have happened. It will never happen again. I have spent some >>>> time over the past few days ensuring folks understand that I will not >>>> allow a repeat of this to occur the next time around. We will have >>>> platforms that are bulletproof and supported by upstream with any >>>> errata fixes in a very carefully controlled manner. There will >>>> under no circumstances ever be a situation like this again. >>> >>> We are still evaluating the merits of registering the values that appeared >>> in v4.10, and not changing them. We should know more in a couple of days. >> >> Thanks David. What was the verdict? (for the public record). If we need to >> get a change into upstream, let's get that teed up before 4.12 merge. >> >> And for other folks following along with this thread: I'm not just picking >> on Cavium here. I'll be doing the same with *every* ARM server SoC company >> as necessary over the coming months. We are going to have militantly >> compliant standards adherence in this industry and every ARM server SoC is >> going to "just work" with an upstream Linux kernel with an ACPI enabled >> platform. This will be so utterly clean and boring it'll be amazing. > > Thanks for keeping on top of this, Jon. I agree, we should not be > using unregistered vendor prefixes, e.g., the "THRX" added by > 44f22bd91e88 ("PCI: Add MCFG quirks for Cavium ThunderX pass2.x host > controller"). I'm sorry I merged that without doing the due > diligence. Honestly, it is me who is responsible for this since I submitted the patch. > > I suspect the resolution will be to register "THRX". If that doesn't > happen, I'll propose reverting 44f22bd91e88, not because I want to > break things, but only because I'm not personally in a position to do > anything smarter. So please propose a better solution that fits > within the ACPI _HID/_CID model :) I already submitted the patch to fix this. Please see: https://patchwork.ozlabs.org/patch/739042/ Thanks, Tomasz