Skip to content

tests: acpi: make sure FADT is compared to reference table

Igor Mammedov qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5tests: acpi: move tested tables array allocation outside of test_acpi_dsdt_table()tests/bios-tables-test.c+2 -21 reply
2/5tests: acpi: init table descriptor in test_dst_table()tests/bios-tables-test.c+1 -31 reply
3/5tests: acpi: rename test_acpi_tables()/test_dst_table() to reflect its usagetests/bios-tables-test.c+10 -51 reply
4/5tests: acpi: add comments to fetch_rsdt_referenced_tables/data->tables usagetests/bios-tables-test.c+3 -01 reply
5/5tests: acpi: fix FADT not being compared to reference tabletests/bios-tables-test.c+2 -23 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchMarcel Apfelbaum
1/5R-b
2/5R-b
3/5R-b
4/5R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH for-2.10 0/5] tests: acpi: make sure FADT is compared to reference table

While refactoring i386/FADT generation to build_append_int_noprefix() and testing it, It turned out that FADT is only tested for valid checksum but actual test for unintended changes isn't applied to it even though we have reference tables in tree.
So here goes a couple of cleanups to reflect what fuctions do + some comments and actual fix.

Note to maintainer:
FADT reference table is out of sync and should be updated along with series applied.

CC "Michael S. Tsirkin" <[email protected]>
CC Marcel Apfelbaum <[email protected]>

Igor Mammedov (5):
tests: acpi: move tested tables array allocation outside of
test_acpi_dsdt_table()
tests: acpi: init table descriptor in test_dst_table()
tests: acpi: rename test_acpi_tables()/test_dst_table() to reflect its
usage
tests: acpi: add comments to fetch_rsdt_referenced_tables/data->tables
usage
tests: acpi: fix FADT not being compared to reference table

 tests/bios-tables-test.c | 30 ++++++++++++++++++------------
 1 file changed, 18 insertions(+), 12 deletions(-)
Signature · 1 line
2.7.4