From: Jon Masters <firstname.lastname@example.org> To: Duc Dang <email@example.com> Cc: Gabriele Paoloni <firstname.lastname@example.org>, "liudongdong (C)" <email@example.com>, "firstname.lastname@example.org" <email@example.com>, "firstname.lastname@example.org" <email@example.com>, "firstname.lastname@example.org" <email@example.com>, "firstname.lastname@example.org" <email@example.com>, "firstname.lastname@example.org" <email@example.com>, "firstname.lastname@example.org" <email@example.com>, "Lorenzo.Pieralisi@arm.com" <Lorenzo.Pieralisi@arm.com>, "firstname.lastname@example.org" <email@example.com>, "firstname.lastname@example.org" <email@example.com>, "firstname.lastname@example.org" <email@example.com>, "firstname.lastname@example.org" <email@example.com>, "firstname.lastname@example.org" <email@example.com>, "Liviu.Dudau@arm.com" <Liviu.Dudau@arm.com>, "firstname.lastname@example.org" <email@example.com>, "firstname.lastname@example.org" <email@example.com>, "firstname.lastname@example.org" <email@example.com>, "firstname.lastname@example.org" <email@example.com>, "firstname.lastname@example.org" <email@example.com>, "Chenxin (Charles)" <firstname.lastname@example.org>, "email@example.com" <firstname.lastname@example.org>, Wangyijing <email@example.com>, "firstname.lastname@example.org" <email@example.com>, "firstname.lastname@example.org" <email@example.com>, Linuxarm <firstname.lastname@example.org>, "email@example.com" <firstname.lastname@example.org> Subject: Re: [Linaro-acpi] [RFC PATCH V2 1/2] ACPI/PCI: Match PCI config space accessors against platfrom specific ECAM quirks Date: Thu, 16 Jun 2016 03:54:46 -0400 (EDT) [thread overview] Message-ID: <891827D4-0ECE-4A55-B79D-E5C7C23A0B04@redhat.com> (raw) In-Reply-To: <CADaLNDnjEuGvWxCMPb=9fiCeVMgF0RRzT2n1SjNw3o57gRUhcg@mail.gmail.com> :) We should be good with a match on XGENE (but be careful with substring matching) as long as future platforms change that to eg XGENE3 (which is a publicly announced future chip). What you want to avoid is a shorter match later triggering on a future generation. There are a lot of folks eagerly awaiting Moonshot running an upstream kernel in F25, both for 64 and 32-bit (VMs running 32-bit can replace older builders). I can picture a wonderful world in which this whole ARM server ecosystem works properly with folks doing what they should have three years ago and development happening on upstream kernels with ACPI. Then things become incredibly dull just like x86 - do the dev against upstream, pull into an enterprise distro after it is tested out in a Fedora cycle...and no random nonsense patches. Next thing we know there will be media reports covering silicon that won't end with a rant about how they couldn't get the right firmware and hacked up Ubuntu kernel booting. Best, and goodnight :) Jon. -- Computer Architect | Sent from my 64-bit #ARM Powered phone > On Jun 16, 2016, at 03:46, Duc Dang <email@example.com> wrote: > >> On Wed, Jun 15, 2016 at 11:31 PM, Jon Masters <firstname.lastname@example.org> wrote: >>> On 06/13/2016 09:54 AM, Gabriele Paoloni wrote: >>> Hi Tomasz, Jon >> >> Hi Gab, >> >> Sorry for the lag in following up. >> >> <snip> >> >>> 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?) >> >> Actually, it turns out (Cov is correct) that we can just match on OEM >> Table ID. The revision should not generally be needed and the vendors >> will just need to make sure that they change OEM Table ID in future >> silicon. An example from two shipping platforms: >> >> 1). AppliedMicro Mustang: >> >> [000h 0000 4] Signature : "MCFG" [Memory Mapped >> Configuration table] >> [004h 0004 4] Table Length : 0000003C >> [008h 0008 1] Revision : 01 >> [009h 0009 1] Checksum : 4A >> [00Ah 0010 6] Oem ID : "APM " >> [010h 0016 8] Oem Table ID : "XGENE " >> [018h 0024 4] Oem Revision : 00000002 >> [01Ch 0028 4] Asl Compiler ID : "INTL" >> [020h 0032 4] Asl Compiler Revision : 20140724 >> >> 2). HP(E) Moonshot: >> >> [000h 0000 4] Signature : "MCFG" [Memory Mapped >> Configuration table] >> [004h 0004 4] Table Length : 0000003C >> [008h 0008 1] Revision : 01 >> [009h 0009 1] Checksum : 48 >> [00Ah 0010 6] Oem ID : "APM " >> [010h 0016 8] Oem Table ID : "XGENE " >> [018h 0024 4] Oem Revision : 00000001 >> [01Ch 0028 4] Asl Compiler ID : "HP " >> [020h 0032 4] Asl Compiler Revision : 00000001 >> >> I have pinged the semiconductor (Applied) and insisted upon a written >> plan (which I have now) for handling the first affect generation(s) and >> future chip roadmap stuff, along with how they plan to upstream this >> immediately as part of this thread. I have also done similar with each >> of the other vendors (this is something ARM or Linaro should be doing). >> But I particularly care about X-Gene because I want it to be loved as >> shipping silicon in production systems (Moonshot) that are sitting and >> waiting in the Fedora Phoenix datacenter in large quantity to come >> online if only an upstream kernel would actually boot on them :) > > Thanks for the MCFG information on Moonshot system, Jon. > > I will make sure the posted quirk for X-Gene takes care for HPE > Moonshot system as well. > > Regards, > Duc Dang. > >> >>> 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. >> >> Correct. >> >>> Can these vendors confirm this? >> >> I've checked all current shipping silicon and prototypes. >> >>> Tomasz do you think this can work for Cavium Thunder? >> >> Will let the vendors followup directly as well. >> >> Jon. >> >>  Fortunately that name change doesn't factor when using semiconductor >> matching...hopefully none of the non-complaint IP companies in gen1 >> stuff get bought and change their table names. In the unlikely event >> that that does happen, I will preemptively beat them up and ensure that >> something crazy doesn't happen with table contents. >> >> -- >> Computer Architect | Sent from my Fedora powered laptop
next prev parent reply other threads:[~2016-06-16 7:55 UTC|newest] Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top 2016-06-13 13:02 [RFC PATCH V2 0/2] ECAM quirks handling for ARM64 platforms Dongdong Liu 2016-06-13 13:02 ` [RFC PATCH V2 1/2] ACPI/PCI: Match PCI config space accessors against platfrom specific ECAM quirks Dongdong Liu 2016-06-13 13:54 ` Gabriele Paoloni 2016-06-13 14:02 ` Sinan Kaya 2016-06-13 14:29 ` Gabriele Paoloni 2016-06-13 15:12 ` okaya 2016-06-13 15:59 ` Jeffrey Hugo 2016-06-13 21:07 ` Duc Dang 2016-06-16 6:31 ` [Linaro-acpi] " Jon Masters 2016-06-16 7:45 ` Duc Dang 2016-06-16 7:54 ` Jon Masters [this message] 2016-06-13 15:47 ` Christopher Covington 2016-06-13 20:57 ` Duc Dang 2016-06-14 5:51 ` Dongdong Liu 2016-06-14 9:00 ` Duc Dang 2016-06-14 9:45 ` Dongdong Liu 2016-06-14 11:52 ` Tomasz Nowicki 2016-06-14 17:43 ` Duc Dang 2016-06-13 13:02 ` [RFC PATCH V2 2/2] ARM64/PCI: Start using quirks handling for ACPI based PCI host controller Dongdong Liu
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=891827D4-0ECE-4A55-B79D-E5C7C23A0B04@redhat.com \ --email@example.com \ --cc=Liviu.Dudau@arm.com \ --cc=Lorenzo.Pieralisi@arm.com \ --firstname.lastname@example.org \ --email@example.com \ --firstname.lastname@example.org \ --email@example.com \ --firstname.lastname@example.org \ --email@example.com \ --firstname.lastname@example.org \ --email@example.com \ --firstname.lastname@example.org \ --email@example.com \ --firstname.lastname@example.org \ --email@example.com \ --firstname.lastname@example.org \ --email@example.com \ --firstname.lastname@example.org \ --email@example.com \ --firstname.lastname@example.org \ --email@example.com \ --firstname.lastname@example.org \ --email@example.com \ --firstname.lastname@example.org \ --email@example.com \ --firstname.lastname@example.org \ --email@example.com \ --firstname.lastname@example.org \ --email@example.com \ --subject='Re: [Linaro-acpi] [RFC PATCH V2 1/2] ACPI/PCI: Match PCI config space accessors against platfrom specific ECAM quirks' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).