summaryrefslogtreecommitdiffstats
path: root/tests/acpi-test-data
Commit message (Collapse)AuthorAgeFilesLines
* tests: acpi: update tables with consolidated legacy cpu-hotplug AMLIgor Mammedov2016-06-074-0/+0
| | | | | | Signed-off-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
* acpi-test: update UID for GSI linksMichael S. Tsirkin2016-03-152-0/+0
| | | | | | | | Update acpi test data to match commit 6a991e07bb8eeb7d7799a949c0528dffb84b2a98 ("hw/acpi: fix GSI links UID"). Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
* acpi-test-data: add _DIS methodsMichael S. Tsirkin2016-03-112-0/+0
| | | | | | | | | | commit c82f503dd5c3f0a01a9e63741f1f875652669867 ("hw/acpi: fix Q35 support for legacy Windows OS") added _DIS for all link devices. Update expected test files accordingly. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
* i386: update expected DSDTMichael S. Tsirkin2016-03-114-0/+0
| | | | | | | | | | DSDT was changed by: commit 27b9fc54d23acd8f6829e850a027b3b3878cba37 ("i386: populate floppy drive information in DSDT"). Update expected files accordingly. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
* tests: update acpi test dataGerd Hoffmann2016-03-084-0/+0
| | | | | | using tests/acpi-test-data/rebuild-expected-aml.sh Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
* tests: pc: acpi: add expected DSDT.bridge blobs and update DSDT blobsIgor Mammedov2016-02-044-0/+0
| | | | | | Signed-off-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
* tests: pc: acpi: drop not needed 'expected SSDT' blobsIgor Mammedov2016-02-044-0/+0
| | | | | | Signed-off-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
* acpi: update expected files for memory unplugMichael S. Tsirkin2015-05-116-0/+0
| | | | | | | | | | commit c06b2ffb02bfcc642c67300d2c4dffd5aa54932b acpi: add hardware implementation for memory hot unplug Changed both the DSDT and the SSDT. Update the expected files accordingly. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
* acpi-test: update expected filesMichael S. Tsirkin2015-03-114-0/+0
| | | | | | | | | commit ecdc7bab095a2cf29d9e9d4a7e1494f586a8b270 "acpi: fix aml_equal term implementation" dropped a useless Zero in generated code, update expected files appropriately. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
* acpi-test-data: update after pci rewriteMichael S. Tsirkin2015-03-014-0/+0
| | | | | | | more trivial changes as more code has been rewritten in C. we also got rid of extra Scope operators. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
* tests: ACPI: update pc/SSDT.bridge due to new alg of PCI tree creationIgor Mammedov2015-03-011-0/+0
| | | | | | Signed-off-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
* tests: add ACPI blobs for qemu with bridge casesIgor Mammedov2015-03-012-0/+0
| | | | | | Signed-off-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
* tests: ACPI test blobs update due to PCI0._CRS changesIgor Mammedov2015-03-014-0/+0
| | | | | | | | | PCI0._CRS was moved into SSDT and became the same for PIIX4/Q35 machines. Signed-off-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
* acpi-test: update expected filesMichael S. Tsirkin2015-02-264-0/+0
| | | | | | | | | A bunch of code moved from dsdt to ssdt, plus we got trivial changes like 0->Zero which our test dosn't recognize as identity yet. Update expected files to suppress test warning. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
* acpi-test: update expected DSDTMichael S. Tsirkin2015-01-273-0/+0
| | | | | | | | Previous patch pc: acpi: fix WindowsXP BSOD when memory hotplug is enabled changed DSDT, update expected test files. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
* target-i386: move generic memory hotplug methods to DSDTsPaolo Bonzini2014-11-244-0/+0
| | | | | | | | | | This makes it simpler to keep the SSDT byte-for-byte identical for a given machine type, which is a goal we want to have for 2.2 and newer types. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
* tests: fix rebuild-expected-aml.sh for acpi-test renamePaolo Bonzini2014-11-021-3/+3
| | | | | | | | | | This is now called bios-tables-test. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
* acpi-dsdt: procedurally generate _PRTPaolo Bonzini2014-07-281-0/+0
| | | | | | | | | | | | | | | | | | | | | | This replaces the _PRT constant with a method that computes it. The problem is that the DSDT+SSDT have grown from 2.0 to 2.1, enough to cross the 8k barrier (we align the ACPI tables to 4k before putting them in fw_cfg). This causes problems with migration and the pc-i440fx-2.0 machine type. The solution to the problem is to hardcode 64k as the limit, but this doesn't solve the bug with pc-i440fx-2.0. The fix will be for QEMU 2.1 to use exactly the same size as QEMU 2.0 for the ACPI tables. First, however, we must make the actual AML equal or smaller; to do this, rewrite _PRT in a way that saves over 1k of bytecode. Reviewed-by: Laszlo Ersek <lersek@redhat.com> Tested-by: Igor Mammedov <imammedo@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
* acpi-test: update expected tablesMichael S. Tsirkin2014-06-194-0/+0
| | | | | | | Update ACPI tables test to match new ACPI tables after adding the memory hotplug feature. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
* acpi-test: update expected filesMichael S. Tsirkin2014-04-141-0/+0
| | | | | | | | commit 58b035c7354afc0c5351ea62264c01d74196ec26 acpi: fix incorrect encoding for 0x{F-1}FFFF changes the SSDT, update expected files accordingly. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
* tests/acpi: update expected DSDT filesMichael S. Tsirkin2014-04-092-0/+0
| | | | | | | | | commit f2ccc311df55ec026a8f8ea9df998f26314f22b2 dsdt: tweak ACPI ID for hotplug resource device changes the DSDT, update test expected files to match Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reported-by: Igor Mammedov <imammedo@redhat.com>
* Revert "acpi-test: rebuild SSDT"Michael S. Tsirkin2014-03-262-0/+0
| | | | | | | | | | | This reverts commit d07e0e9cddf02dd2abedbbf7ab0e069c8f5dabfd. Since commit b4f4d54812624581ce429c805e5179c78222c707 acpi: make SSDT 1.0 spec compliant when possible We are back to old encoding. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
* acpi-test: rebuild SSDTMichael S. Tsirkin2014-03-182-0/+0
| | | | | | | | | | | commit 9bcc80cd71892df42605e0c097d85c0237ff45d1 i386/acpi-build: allow more than 255 elements in CPON Replaces 0x1 with a smaller One constant. rebuild expected SSDT. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
* acpi-test: update expected SSDT filesMichael S. Tsirkin2014-03-182-0/+0
| | | | | | | | | | commit 13f65b2e1073cf7e2c8fb3880c77d8a53fa2f95e acpi-test: update expected SSDT files set an incorrect SSDT. rebuild it. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
* acpi-test: update expected SSDT filesMichael S. Tsirkin2014-03-112-0/+0
| | | | | | | SSDT doesn't have _SUN for non hotpluggable slots anymore. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
* acpi-test-data: update expected filesMichael S. Tsirkin2014-03-094-0/+0
| | | | Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
* acpi-test: update expected AML since recent changesMichael S. Tsirkin2014-01-264-0/+0
| | | | Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
* acpi unit-test: added script to rebuild the expected aml filesMarcel Apfelbaum2014-01-261-0/+36
| | | | | | | | | Acpi unit-test will fail every time the acpi tables change. This script rebuild the expected aml files, so the test will pass. It also validates the modifications. Signed-off-by: Marcel Apfelbaum <marcel.a@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
* acpi unit-test: add test filesMarcel Apfelbaum2014-01-2613-0/+0
Added unit-test's expected aml files to be compared with the actual ACPI tables. Signed-off-by: Marcel Apfelbaum <marcel.a@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>