ACPI: configfs: Resolve objects on host-directed table loads
authorNikolaus Voss <nikolaus.voss@loewensteinmedical.de>
Wed, 12 Jun 2019 08:36:06 +0000 (10:36 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 14 Jun 2019 09:39:42 +0000 (11:39 +0200)
commitd06c47e3dd07fdf3f07e8fc45f2ce655e9b295c5
tree46b9b9e156bce8d5c2f5aec761c9a0539afa468a
parentc78fea61f0c1f8568fbbb36ac3d1e1c85a903ae4
ACPI: configfs: Resolve objects on host-directed table loads

If an ACPI SSDT overlay is loaded after built-in tables
have been loaded e.g. via configfs or efivar_ssdt_load()
it is necessary to rewalk the namespace to resolve
references. Without this, relative and absolute paths
like ^PCI0.SBUS or \_SB.PCI0.SBUS are not resolved
correctly.

Make configfs loads use the same method as efivar_ssdt_load().

Signed-off-by: Nikolaus Voss <nikolaus.voss@loewensteinmedical.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpi_configfs.c
drivers/acpi/acpica/tbxfload.c