summaryrefslogtreecommitdiffstats
path: root/tests/acpi-test-data/pc/DSDT
Commit message (Collapse)AuthorAgeFilesLines
* tests: Move tests/acpi-test-data/ to tests/data/acpi/Peter Maydell2018-11-051-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently tests/acpi-test-data contains data files used by the bios-tables-test, and configure individually symlinks those data files into the build directory using a wildcard. Using a wildcard like this is a bad idea, because if a new data file is added, nothing causes configure to be rerun, and so no symlink is added for the new file. This can cause tests to spuriously fail when they can't find their data. Instead, it's better to symlink an entire directory of data files. We already have such a directory: tests/data. Move the data files from tests/acpi-test-data/ to tests/data/acpi/, and remove the unnecessary symlinking. We can remove entirely the note in rebuild-expected-aml.sh about copying any new data files, because now they will be in the source directory, not the build directory, and no copying is required. (We can't just change the existing tests/acpi-test-data/ to being a symlinked directory, because if we did that and a developer switched git branches from one after that change to one before it then configure would end up trashing all the test files by making them symlinks to themselves. Changing their path avoids this annoyance.) Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
* tests: update acpi expected filesMichael S. Tsirkin2018-09-071-0/+0
| | | | | Fixes: dbb6da8ba7e ("pc: acpi: revert back to 1 SRAT entry for hotpluggable area") Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
* tests/acpi-test-data: update _CRS in DSDTMichael S. Tsirkin2017-11-161-0/+0
| | | | | | | | | | commit dadf988e81b15065ac1d6dbaf4b87b5b80c7b670 hw/pci-host: Fix x86 Host Bridges 64bit PCI hole Added a 64 bit hole to _CRS of PCI0. Update the expected files accordingly. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
* acpi-test: update expected filesMichael S. Tsirkin2017-01-101-0/+0
| | | | | | clean up warnings after latest hotplug changes. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
* acpi-test-data: update expectedMichael S. Tsirkin2016-06-241-0/+0
| | | | | | switched to new cpu hotplug interface, aml changed. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
* tests: acpi: update tables with consolidated legacy cpu-hotplug AMLIgor Mammedov2016-06-071-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>
* i386: update expected DSDTMichael S. Tsirkin2016-03-111-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-081-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-041-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-111-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>
* tests: ACPI test blobs update due to PCI0._CRS changesIgor Mammedov2015-03-011-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-261-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-271-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-241-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>
* 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-191-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>
* tests/acpi: update expected DSDT filesMichael S. Tsirkin2014-04-091-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>
* acpi-test-data: update expected filesMichael S. Tsirkin2014-03-091-0/+0
| | | | Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
* acpi-test: update expected AML since recent changesMichael S. Tsirkin2014-01-261-0/+0
| | | | Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
* acpi unit-test: add test filesMarcel Apfelbaum2014-01-261-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>