mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-20 14:38:37 -07:00
CPUs Control device(\\_SB.PCI0) register interface for the x86 arch is IO port based and existing CPUs AML code assumes _CRS objects would evaluate to a system resource which describes IO Port address. But on ARM arch CPUs control device(\\_SB.PRES) register interface is memory-mapped hence _CRS object should evaluate to system resource which describes memory-mapped base address. Update build CPUs AML function to accept both IO/MEMORY region spaces and accordingly update the _CRS object. Co-developed-by: Keqian Zhu <zhukeqian1@huawei.com> Signed-off-by: Keqian Zhu <zhukeqian1@huawei.com> Signed-off-by: Salil Mehta <salil.mehta@huawei.com> Reviewed-by: Gavin Shan <gshan@redhat.com> Tested-by: Vishnu Pajjuri <vishnu@os.amperecomputing.com> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Tested-by: Xianglai Li <lixianglai@loongson.cn> Tested-by: Miguel Luis <miguel.luis@oracle.com> Reviewed-by: Shaoqin Huang <shahuang@redhat.com> Tested-by: Zhao Liu <zhao1.liu@intel.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Message-Id: <20240716111502.202344-6-salil.mehta@huawei.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> |
||
|---|---|---|
| .. | ||
| acpi-defs.h | ||
| acpi.h | ||
| acpi_aml_interface.h | ||
| acpi_dev_interface.h | ||
| acpi_generic_initiator.h | ||
| aml-build.h | ||
| bios-linker-loader.h | ||
| cpu.h | ||
| cpu_hotplug.h | ||
| cxl.h | ||
| erst.h | ||
| generic_event_device.h | ||
| ghes.h | ||
| ich9.h | ||
| ich9_tco.h | ||
| ipmi.h | ||
| memory_hotplug.h | ||
| pc-hotplug.h | ||
| pci.h | ||
| pcihp.h | ||
| piix4.h | ||
| tpm.h | ||
| utils.h | ||
| vmgenid.h | ||