Re: APEI: Can not request iomem region for GARs

Huang Ying
2011-08-29T01:27:25Z

On 08/26/2011 09:43 PM, Bjorn Helgaas wrote:
> On Thu, Aug 25, 2011 at 10:13 PM, Huang Ying <ying.huang@intel.com> wrote:
>> Hi, Pavel,
>>
>> Sorry, there is a minor issue in the patch. Do you have time to try
>> the updated version attached.
>
> I think Yinghai's patch is a better approach (though it needs a changelog).
>
> The ACPI NVS space should not be marked as "busy" by the e820 code in
> the iomem_resource tree.
>
> It's way too complicated to mess around with registering NVS space and
> trying to deal with it specially in APEI.

ACPI NVS is different, it can be used only by firmware, and its
interpreter, such as ACPI AML interpreter and APEI interpreter. It can
not be used by ordinary driver. If my understanding is correct, this is
why ACPI NVS is marked as busy.

Best Regards,
Huang Ying