Message ID | 20240620160324.109058-10-Jonathan.Cameron@huawei.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | acpi: NUMA nodes for CXL HB as GP + complex NUMA test | expand |
On Thu, 20 Jun 2024 17:03:17 +0100 Jonathan Cameron <Jonathan.Cameron@huawei.com> wrote: > The test to be added exercises many corners of the SRAT and HMAT table ^^^^ did you mean 'corner cases"? > generation. > > Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> > --- > v3: No change > --- > tests/qtest/bios-tables-test-allowed-diff.h | 5 +++++ > tests/data/acpi/q35/APIC.acpihmat-generic-x | 0 > tests/data/acpi/q35/CEDT.acpihmat-generic-x | 0 > tests/data/acpi/q35/DSDT.acpihmat-generic-x | 0 > tests/data/acpi/q35/HMAT.acpihmat-generic-x | 0 > tests/data/acpi/q35/SRAT.acpihmat-generic-x | 0 > 6 files changed, 5 insertions(+) > > diff --git a/tests/qtest/bios-tables-test-allowed-diff.h b/tests/qtest/bios-tables-test-allowed-diff.h > index dfb8523c8b..a5aa801c99 100644 > --- a/tests/qtest/bios-tables-test-allowed-diff.h > +++ b/tests/qtest/bios-tables-test-allowed-diff.h > @@ -1 +1,6 @@ > /* List of comma-separated changed AML files to ignore */ > +"tests/data/acpi/q35/APIC.acpihmat-generic-x", > +"tests/data/acpi/q35/CEDT.acpihmat-generic-x", > +"tests/data/acpi/q35/DSDT.acpihmat-generic-x", > +"tests/data/acpi/q35/HMAT.acpihmat-generic-x", > +"tests/data/acpi/q35/SRAT.acpihmat-generic-x", > diff --git a/tests/data/acpi/q35/APIC.acpihmat-generic-x b/tests/data/acpi/q35/APIC.acpihmat-generic-x > new file mode 100644 > index 0000000000..e69de29bb2 > diff --git a/tests/data/acpi/q35/CEDT.acpihmat-generic-x b/tests/data/acpi/q35/CEDT.acpihmat-generic-x > new file mode 100644 > index 0000000000..e69de29bb2 > diff --git a/tests/data/acpi/q35/DSDT.acpihmat-generic-x b/tests/data/acpi/q35/DSDT.acpihmat-generic-x > new file mode 100644 > index 0000000000..e69de29bb2 > diff --git a/tests/data/acpi/q35/HMAT.acpihmat-generic-x b/tests/data/acpi/q35/HMAT.acpihmat-generic-x > new file mode 100644 > index 0000000000..e69de29bb2 > diff --git a/tests/data/acpi/q35/SRAT.acpihmat-generic-x b/tests/data/acpi/q35/SRAT.acpihmat-generic-x > new file mode 100644 > index 0000000000..e69de29bb2
On Thu, 27 Jun 2024 14:51:55 +0200 Igor Mammedov <imammedo@redhat.com> wrote: > On Thu, 20 Jun 2024 17:03:17 +0100 > Jonathan Cameron <Jonathan.Cameron@huawei.com> wrote: > > > The test to be added exercises many corners of the SRAT and HMAT table > ^^^^ did you mean 'corner cases"? > > generation. another issue is that this and later patches will conflict with risc-v acpi tests, that along the way change directory structure of expected tables. Perhaps, it's better to rebase this series on top of that. > > > > Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> > > --- > > v3: No change > > --- > > tests/qtest/bios-tables-test-allowed-diff.h | 5 +++++ > > tests/data/acpi/q35/APIC.acpihmat-generic-x | 0 > > tests/data/acpi/q35/CEDT.acpihmat-generic-x | 0 > > tests/data/acpi/q35/DSDT.acpihmat-generic-x | 0 > > tests/data/acpi/q35/HMAT.acpihmat-generic-x | 0 > > tests/data/acpi/q35/SRAT.acpihmat-generic-x | 0 > > 6 files changed, 5 insertions(+) > > > > diff --git a/tests/qtest/bios-tables-test-allowed-diff.h b/tests/qtest/bios-tables-test-allowed-diff.h > > index dfb8523c8b..a5aa801c99 100644 > > --- a/tests/qtest/bios-tables-test-allowed-diff.h > > +++ b/tests/qtest/bios-tables-test-allowed-diff.h > > @@ -1 +1,6 @@ > > /* List of comma-separated changed AML files to ignore */ > > +"tests/data/acpi/q35/APIC.acpihmat-generic-x", > > +"tests/data/acpi/q35/CEDT.acpihmat-generic-x", > > +"tests/data/acpi/q35/DSDT.acpihmat-generic-x", > > +"tests/data/acpi/q35/HMAT.acpihmat-generic-x", > > +"tests/data/acpi/q35/SRAT.acpihmat-generic-x", > > diff --git a/tests/data/acpi/q35/APIC.acpihmat-generic-x b/tests/data/acpi/q35/APIC.acpihmat-generic-x > > new file mode 100644 > > index 0000000000..e69de29bb2 > > diff --git a/tests/data/acpi/q35/CEDT.acpihmat-generic-x b/tests/data/acpi/q35/CEDT.acpihmat-generic-x > > new file mode 100644 > > index 0000000000..e69de29bb2 > > diff --git a/tests/data/acpi/q35/DSDT.acpihmat-generic-x b/tests/data/acpi/q35/DSDT.acpihmat-generic-x > > new file mode 100644 > > index 0000000000..e69de29bb2 > > diff --git a/tests/data/acpi/q35/HMAT.acpihmat-generic-x b/tests/data/acpi/q35/HMAT.acpihmat-generic-x > > new file mode 100644 > > index 0000000000..e69de29bb2 > > diff --git a/tests/data/acpi/q35/SRAT.acpihmat-generic-x b/tests/data/acpi/q35/SRAT.acpihmat-generic-x > > new file mode 100644 > > index 0000000000..e69de29bb2 >
diff --git a/tests/qtest/bios-tables-test-allowed-diff.h b/tests/qtest/bios-tables-test-allowed-diff.h index dfb8523c8b..a5aa801c99 100644 --- a/tests/qtest/bios-tables-test-allowed-diff.h +++ b/tests/qtest/bios-tables-test-allowed-diff.h @@ -1 +1,6 @@ /* List of comma-separated changed AML files to ignore */ +"tests/data/acpi/q35/APIC.acpihmat-generic-x", +"tests/data/acpi/q35/CEDT.acpihmat-generic-x", +"tests/data/acpi/q35/DSDT.acpihmat-generic-x", +"tests/data/acpi/q35/HMAT.acpihmat-generic-x", +"tests/data/acpi/q35/SRAT.acpihmat-generic-x", diff --git a/tests/data/acpi/q35/APIC.acpihmat-generic-x b/tests/data/acpi/q35/APIC.acpihmat-generic-x new file mode 100644 index 0000000000..e69de29bb2 diff --git a/tests/data/acpi/q35/CEDT.acpihmat-generic-x b/tests/data/acpi/q35/CEDT.acpihmat-generic-x new file mode 100644 index 0000000000..e69de29bb2 diff --git a/tests/data/acpi/q35/DSDT.acpihmat-generic-x b/tests/data/acpi/q35/DSDT.acpihmat-generic-x new file mode 100644 index 0000000000..e69de29bb2 diff --git a/tests/data/acpi/q35/HMAT.acpihmat-generic-x b/tests/data/acpi/q35/HMAT.acpihmat-generic-x new file mode 100644 index 0000000000..e69de29bb2 diff --git a/tests/data/acpi/q35/SRAT.acpihmat-generic-x b/tests/data/acpi/q35/SRAT.acpihmat-generic-x new file mode 100644 index 0000000000..e69de29bb2
The test to be added exercises many corners of the SRAT and HMAT table generation. Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> --- v3: No change --- tests/qtest/bios-tables-test-allowed-diff.h | 5 +++++ tests/data/acpi/q35/APIC.acpihmat-generic-x | 0 tests/data/acpi/q35/CEDT.acpihmat-generic-x | 0 tests/data/acpi/q35/DSDT.acpihmat-generic-x | 0 tests/data/acpi/q35/HMAT.acpihmat-generic-x | 0 tests/data/acpi/q35/SRAT.acpihmat-generic-x | 0 6 files changed, 5 insertions(+)