lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CADaLND=aWkENZVK1Ce9NT4LygGa3LTtG1dCabokDADjEJEgeFQ@mail.gmail.com>
Date:	Mon, 13 Jun 2016 14:07:23 -0700
From:	Duc Dang <dhdang@....com>
To:	Jeffrey Hugo <jhugo@...eaurora.org>
Cc:	okaya@...eaurora.org,
	Gabriele Paoloni <gabriele.paoloni@...wei.com>,
	Rafael Wysocki <rafael@...nel.org>, linux-pci@...r.kernel.org,
	Will Deacon <will.deacon@....com>,
	Linuxarm <linuxarm@...wei.com>,
	"Chenxin (Charles)" <charles.chenxin@...wei.com>,
	Wangyijing <wangyijing@...wei.com>,
	Andrea Gallo <andrea.gallo@...aro.org>,
	Lorenzo Pieralisi <Lorenzo.Pieralisi@....com>,
	Tomasz Nowicki <tn@...ihalf.com>, linaro-acpi@...ts.linaro.org,
	David Daney <ddaney@...iumnetworks.com>,
	linux-acpi@...r.kernel.org, robert.richter@...iumnetworks.com,
	Bjorn Helgaas <helgaas@...nel.org>,
	"liudongdong (C)" <liudongdong3@...wei.com>,
	Catalin Marinas <catalin.marinas@....com>,
	Jon Masters <jcm@...hat.com>, Arnd Bergmann <arnd@...db.de>,
	Liviu Dudau <Liviu.Dudau@....com>,
	Mark Salter <msalter@...hat.com>,
	Christopher Covington <cov@...eaurora.org>,
	Marcin Wojtas <mw@...ihalf.com>,
	linux-arm <linux-arm-kernel@...ts.infradead.org>,
	Jayachandran C <jchandra@...adcom.com>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	jeremy.linton@....com, Hanjun Guo <hanjun.guo@...aro.org>,
	Suravee Suthikulpanit <Suravee.Suthikulpanit@....com>
Subject: Re: [RFC PATCH V2 1/2] ACPI/PCI: Match PCI config space accessors
 against platfrom specific ECAM quirks

On Mon, Jun 13, 2016 at 8:59 AM, Jeffrey Hugo <jhugo@...eaurora.org> wrote:
> On 6/13/2016 9:12 AM, okaya@...eaurora.org wrote:
>>
>> On 2016-06-13 10:29, Gabriele Paoloni wrote:
>>>
>>> Hi Sinan
>>>
>>>> -----Original Message-----
>>>> From: Sinan Kaya [mailto:okaya@...eaurora.org]
>>>> Sent: 13 June 2016 15:03
>>>> To: Gabriele Paoloni; liudongdong (C); helgaas@...nel.org;
>>>> arnd@...db.de; will.deacon@....com; catalin.marinas@....com;
>>>> rafael@...nel.org; hanjun.guo@...aro.org; Lorenzo.Pieralisi@....com;
>>>> jchandra@...adcom.com; tn@...ihalf.com
>>>> Cc: robert.richter@...iumnetworks.com; mw@...ihalf.com;
>>>> Liviu.Dudau@....com; ddaney@...iumnetworks.com; Wangyijing;
>>>> Suravee.Suthikulpanit@....com; msalter@...hat.com; linux-
>>>> pci@...r.kernel.org; linux-arm-kernel@...ts.infradead.org; linux-
>>>> acpi@...r.kernel.org; linux-kernel@...r.kernel.org; linaro-
>>>> acpi@...ts.linaro.org; jcm@...hat.com; andrea.gallo@...aro.org;
>>>> dhdang@....com; jeremy.linton@....com; cov@...eaurora.org; Chenxin
>>>> (Charles); Linuxarm
>>>> Subject: Re: [RFC PATCH V2 1/2] ACPI/PCI: Match PCI config space
>>>> accessors against platfrom specific ECAM quirks
>>>>
>>>> On 6/13/2016 9:54 AM, Gabriele Paoloni wrote:
>>>> > As you can see here Liudongdong has replaced oem_revision with
>>>> > oem_table_id.
>>>> >
>>>> > Now it seems that there are some platforms that have already shipped
>>>> > using a matching based on the oem_revision (right Jon?)
>>>> >
>>>> > However I guess that if in FW they have defined oem_table_id properly
>>>> > they should be able to use this mechanism without needing to a FW
>>>> update.
>>>> >
>>>> > Can these vendors confirm this?
>>>> >
>>>> > Tomasz do you think this can work for Cavium Thunder?
>>>> >
>>>> > Thanks
>>>> >
>>>> > Gab
>>>>
>>>> Why not have all three of them?
>>>>
>>>> The initial approach was OEM id and revision id.
>>>>
>>>> Jeff Hugo indicated that addition (not removing any other fields) of
>>>> table id
>>>> would make more sense.
>>>
>>>
>>> Mmm from last email of Jeff Hugo on "[RFC PATCH 1/3] pci, acpi: Match
>>> PCI config space accessors against platfrom specific ECAM quirks."
>>>
>>> I quote:
>>>
>>>  "Using the OEM revision
>>>  field does not seem to be appropriate since these are different
>>>  platforms and the revision field appears to be for the purpose of
>>>  tracking differences within a single platform.  Therefore, Cov is
>>>  proposing using the OEM table id as a mechanism to distinguish
>>>  platform A (needs quirk applied) vs platform B (no quirks) from the
>>>  same OEM."
>>>
>>> So it looks to me that he pointed out that using the OEM revision field
>>> is wrong...and this is why I have asked if replacing it with the table
>>> id can work for other vendors....
>>>
>>> Thanks
>>>
>>> Gab
>>>
>>
>> I had an internal discussion with jeff and cov before posting on the
>> maillist.
>>
>> I think there is missing info in the email.
>>
>> Usage of oem id + table id + revision is ok.
>>
>> Usage of oem id + revision is not ok as one oem can build multiple chips
>> with the same oem id and revision id but different table id. Otherwise,
>> we can run out of revisions very quickly.
>
>
> Agreed.
>
> I'm sorry for the confusion.  My intent was to point out that revision alone
> appeared insufficient to address all the identified problems, but I believe
> there is still a case for using revision. Table id is useful for
> differentiating between platforms/chips.  Revision is useful for
> differentiation between different versions of a single platform/chip
> assuming the silicon is respun or some other fix is applied.  Both solve
> different scenarios, and I'm not aware of a reason why they could not be
> used together to solve all currently identified cases.

Using OEM ID + Table ID + Revision will work for X-Gene platforms as well.

Regards,
Duc Dang.
>
>>
>>>
>>>>
>>>> --
>>>> Sinan Kaya
>>>> Qualcomm Technologies, Inc. on behalf of Qualcomm Innovation Center,
>>>> Inc.
>>>> Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a
>>>> Linux Foundation Collaborative Project
>>
>>
>> _______________________________________________
>> linux-arm-kernel mailing list
>> linux-arm-kernel@...ts.infradead.org
>> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
>
>
>
> --
> Jeffrey Hugo
> Qualcomm Innovation Center, Inc.
> Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux
> Foundation Collaborative Project

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ