Skip to content

Commit f2a7346

Browse files
committed
Merge tag 'acpi-5.1-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
Pull ACPI fix from Rafael Wysocki: "Fix an ACPICA issue introduced during the 4.20 development cycle and causing some systems to crash because of leftover operation region data still maintained after the operation region in question has gone away (Erik Schmauss)" * tag 'acpi-5.1-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: ACPICA: Namespace: remove address node from global list after method termination
2 parents 58890f3 + c5781ff commit f2a7346

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎drivers/acpi/acpica/nsobject.c‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,10 @@ void acpi_ns_detach_object(struct acpi_namespace_node *node)
186186
}
187187
}
188188

189+
if (obj_desc->common.type == ACPI_TYPE_REGION) {
190+
acpi_ut_remove_address_range(obj_desc->region.space_id, node);
191+
}
192+
189193
/* Clear the Node entry in all cases */
190194

191195
node->object = NULL;

0 commit comments

Comments
 (0)