Skip to content

Commit ffba17b

Browse files
committed
Merge branch 'acpi-tables'
* acpi-tables: ACPI: HMAT: ACPI_HMAT_MEMORY_PD_VALID is deprecated since ACPI-6.3
2 parents 56a0b97 + 35b9ad8 commit ffba17b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/acpi/hmat/hmat.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ static int __init hmat_parse_proximity_domain(union acpi_subtable_headers *heade
403403
pr_info("HMAT: Memory Flags:%04x Processor Domain:%d Memory Domain:%d\n",
404404
p->flags, p->processor_PD, p->memory_PD);
405405

406-
if (p->flags & ACPI_HMAT_MEMORY_PD_VALID) {
406+
if (p->flags & ACPI_HMAT_MEMORY_PD_VALID && hmat_revision == 1) {
407407
target = find_mem_target(p->memory_PD);
408408
if (!target) {
409409
pr_debug("HMAT: Memory Domain missing from SRAT\n");

0 commit comments

Comments
 (0)