Skip to content
  • Haozhong Zhang's avatar
    adae91ce
    tests/bios-tables-test: add test cases for DIMM proximity · adae91ce
    Haozhong Zhang authored
    
    
    QEMU now builds one SRAT memory affinity structure for each PC-DIMM
    and NVDIMM device presented at boot time with the proximity domain
    specified in the device option 'node', rather than only one SRAT
    memory affinity structure covering the entire hotpluggable address
    space with the proximity domain of the last node.
    
    Add test cases on PC and Q35 machines with 4 proximity domains, and
    one PC-DIMM and one NVDIMM attached to the 2nd and 3rd proximity
    domains respectively. Check whether the QEMU-built SRAT tables match
    with the expected ones.
    
    The following ACPI tables need to be added for this test:
      tests/acpi-test-data/pc/APIC.dimmpxm
      tests/acpi-test-data/pc/DSDT.dimmpxm
      tests/acpi-test-data/pc/NFIT.dimmpxm
      tests/acpi-test-data/pc/SRAT.dimmpxm
      tests/acpi-test-data/pc/SSDT.dimmpxm
      tests/acpi-test-data/q35/APIC.dimmpxm
      tests/acpi-test-data/q35/DSDT.dimmpxm
      tests/acpi-test-data/q35/NFIT.dimmpxm
      tests/acpi-test-data/q35/SRAT.dimmpxm
      tests/acpi-test-data/q35/SSDT.dimmpxm
    New APIC and DSDT are needed because of the multiple processors
    configuration. New NFIT and SSDT are needed because of NVDIMM.
    
    Signed-off-by: default avatarHaozhong Zhang <haozhong.zhang@intel.com>
    Suggested-by: default avatarIgor Mammedov <imammedo@redhat.com>
    Reviewed-by: default avatarMichael S. Tsirkin <mst@redhat.com>
    Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
    adae91ce
    tests/bios-tables-test: add test cases for DIMM proximity
    Haozhong Zhang authored
    
    
    QEMU now builds one SRAT memory affinity structure for each PC-DIMM
    and NVDIMM device presented at boot time with the proximity domain
    specified in the device option 'node', rather than only one SRAT
    memory affinity structure covering the entire hotpluggable address
    space with the proximity domain of the last node.
    
    Add test cases on PC and Q35 machines with 4 proximity domains, and
    one PC-DIMM and one NVDIMM attached to the 2nd and 3rd proximity
    domains respectively. Check whether the QEMU-built SRAT tables match
    with the expected ones.
    
    The following ACPI tables need to be added for this test:
      tests/acpi-test-data/pc/APIC.dimmpxm
      tests/acpi-test-data/pc/DSDT.dimmpxm
      tests/acpi-test-data/pc/NFIT.dimmpxm
      tests/acpi-test-data/pc/SRAT.dimmpxm
      tests/acpi-test-data/pc/SSDT.dimmpxm
      tests/acpi-test-data/q35/APIC.dimmpxm
      tests/acpi-test-data/q35/DSDT.dimmpxm
      tests/acpi-test-data/q35/NFIT.dimmpxm
      tests/acpi-test-data/q35/SRAT.dimmpxm
      tests/acpi-test-data/q35/SSDT.dimmpxm
    New APIC and DSDT are needed because of the multiple processors
    configuration. New NFIT and SSDT are needed because of NVDIMM.
    
    Signed-off-by: default avatarHaozhong Zhang <haozhong.zhang@intel.com>
    Suggested-by: default avatarIgor Mammedov <imammedo@redhat.com>
    Reviewed-by: default avatarMichael S. Tsirkin <mst@redhat.com>
    Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
Loading