From 8488fcf57a258104d5438c6a98db8f2ca810b689 Mon Sep 17 00:00:00 2001 From: Lv Zheng Date: Wed, 22 Jun 2016 09:20:10 +0800 Subject: [PATCH] Dispatcher: Fix an issue that the opregions created by the linked MLC were not tracked Operation regions created by MLC were not tracked by AcpiCheckAddressRange(), this patch fixes this issue. ACPICA BZ 1279. Fixed by Lv Zheng. Signed-off-by: Lv Zheng --- source/components/dispatcher/dsopcode.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/components/dispatcher/dsopcode.c b/source/components/dispatcher/dsopcode.c index ea0f11eab..5e01ffab4 100644 --- a/source/components/dispatcher/dsopcode.c +++ b/source/components/dispatcher/dsopcode.c @@ -554,6 +554,11 @@ AcpiDsEvalRegionOperands ( /* Now the address and length are valid for this opregion */ ObjDesc->Region.Flags |= AOPOBJ_DATA_VALID; + if (WalkState->ParseFlags & ACPI_PARSE_MODULE_LEVEL) + { + Status = AcpiUtAddAddressRange (ObjDesc->Region.SpaceId, + ObjDesc->Region.Address, ObjDesc->Region.Length, Node); + } return_ACPI_STATUS (Status); }