RE: Bug report: the extended PCI config space is missed with 6.2-rc2

From: Luck, Tony
Date: Thu Jan 05 2023 - 14:59:03 EST


> Definitely an ambiguity / conflict, but not sure it is a bug when you
> look at from the perspective of how would an EFI runtime service use
> ECAM/MMCONFIG space?
>
> Would it be enough to add this clarification in "EFI 2.9 Table 7-6
> Memory Type Usage after ExitBootServices()"?
>
> s/This memory is not used by the OS./This memory is not used by the OS,
> unless ACPI declares it for another purpose./

In the case of the EDAC driver there isn't any ACPI declaration. It just does
pci_get_device() to find the devices it needs to use with a lookup based on
vendor-id and device-id.

and then uses pci_read_config_dword() to read various offsets from config
space, some of which are in PCIe extended config space.

-Tony