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
| ||
|
Message-ID: <de9e81d2-1aea-674a-97f2-b6caeab3cc47@redhat.com> Date: Tue, 24 May 2016 10:38:32 -0400 From: Jon Masters <jcm@...hat.com> To: Gabriele Paoloni <gabriele.paoloni@...wei.com>, Bjorn Helgaas <helgaas@...nel.org> Cc: Lorenzo Pieralisi <lorenzo.pieralisi@....com>, Ard Biesheuvel <ard.biesheuvel@...aro.org>, Tomasz Nowicki <tn@...ihalf.com>, "arnd@...db.de" <arnd@...db.de>, "will.deacon@....com" <will.deacon@....com>, "catalin.marinas@....com" <catalin.marinas@....com>, "rafael@...nel.org" <rafael@...nel.org>, "hanjun.guo@...aro.org" <hanjun.guo@...aro.org>, "okaya@...eaurora.org" <okaya@...eaurora.org>, "jchandra@...adcom.com" <jchandra@...adcom.com>, "linaro-acpi@...ts.linaro.org" <linaro-acpi@...ts.linaro.org>, "linux-pci@...r.kernel.org" <linux-pci@...r.kernel.org>, "dhdang@....com" <dhdang@....com>, "Liviu.Dudau@....com" <Liviu.Dudau@....com>, "ddaney@...iumnetworks.com" <ddaney@...iumnetworks.com>, "jeremy.linton@....com" <jeremy.linton@....com>, "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>, "linux-acpi@...r.kernel.org" <linux-acpi@...r.kernel.org>, "robert.richter@...iumnetworks.com" <robert.richter@...iumnetworks.com>, "Suravee.Suthikulpanit@....com" <Suravee.Suthikulpanit@....com>, "msalter@...hat.com" <msalter@...hat.com>, Wangyijing <wangyijing@...wei.com>, "mw@...ihalf.com" <mw@...ihalf.com>, "andrea.gallo@...aro.org" <andrea.gallo@...aro.org>, "linux-arm-kernel@...ts.infradead.org" <linux-arm-kernel@...ts.infradead.org> Subject: Re: [PATCH V7 00/11] Support for generic ACPI based PCI host controller Hi Gabriele, all, On 05/24/2016 03:23 AM, Gabriele Paoloni wrote: >> Sorry Gab, I guess I was really responding to earlier messages :) >> >> I don't really have much to say here, except that it doesn't seem >> right to have an MCFG that describes a non-standard ECAM mapping. > > The ACPI table that this mechanism relies upon is the one discussed > in: > https://lkml.org/lkml/2016/3/9/91 > > As you can see MCFG describes ECAM mappings, but we have a motherboard > reserved resource outside the MCFG: > Device (RES0) > { > Name (_HID, "HISI0081") // HiSi PCIe RC config base address > Name (_CID, "PNP0C02") // Motherboard reserved resource > Name (_CRS, ResourceTemplate (){ > Memory32Fixed (ReadWrite, 0xb0080000 , 0x10000) > }) > } > > This allows us to retrieve the address we need for accessing > the config space on the RC (that is non-ECAM). > > I was thinking that such mechanism could fit different vendors > and allow them define their own quirks without spoiling the > official and standard MCFG; also from the thread discussion > you seemed quite ok with such solution...? This could have been useful 2-3 years ago (when myself and others first pulled the fire alarm concerning the lack of upstreaming of the ACPI enablement for PCIe - which should have been fully upstream before the first platforms ever even shipped) but at this time we have shipping platforms that don't have tables built in this way. While we can go back around to vendors and try to get them to rebuild firmware, it would be by far preferable to adopt a solution that works with what is already being deployed in the field today. Such as OEM match in MCFG. Jon. -- Computer Architect | Sent from my Fedora powered laptop
Powered by blists - more mailing lists