x86-64/MMCFG: assorted adjustments
cover x86-64/MMCFG: assorted adjustments
1: correct base address computation for regions not starting at bus 0 2: finally make Fam10 enabling work
3: pass down firmware (ACPI) reservation status of used memory space
Allen - I would especially appreciate your review of patch 1, as so far I don't have a way to actually test this (the only system being possibly accessible to me and having the necessary characteristics fails to boot Xen far enough - I intend to work on this later, but this requires adding multi-segment PCI support to Xen, which will have me touch quite a bit of code).
One thing possibly getting in the way of the changes later to follow this set is the use of scan_pci_devices() - neither is this suitable for multi-segment configurations, nor is the early adding of devices compatible with the now possible late enabling of MMCFG (both pci_enable_acs() and enable_ats_device() depend on the extended config space being accessible, and it's not clear whether having them called at the point when Dom0 reports the devices wouldn't be too late).