On 27/05/2025 9:55 am, Roger Pau Monne wrote: > After some recent change the order of MTRR vs PCI initialization is > inverted. MTRR will get initialization ahead of PCI scanning and sizing of > MMIO regions. As a result when setting up MTRRs the MMIO window below 4GB > will always have the same size, and there will be no window above 4GB. > This results in malformed and incomplete MTRRs being setup. > > Fix by making sure PCI is initialized ahead of MTRR, also add a comment to > notice the ordering dependency. > > Fixes: 2c3dffbaa324 ('tools/hvmloader: Replace LAPIC_ID() with > cpu_to_apicid[]') > Signed-off-by: Roger Pau Monné <roger....@citrix.com>
Acked-by: Andrew Cooper <andrew.coop...@citrix.com>