[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAE9FiQVNGpA9rE0Q7Lx2AB_+8dPEg=f98vqPx1PARkABLVYXqw@mail.gmail.com>
Date: Mon, 22 Aug 2011 14:04:02 -0700
From: Yinghai Lu <yhlu.kernel@...il.com>
To: Bjorn Helgaas <bhelgaas@...gle.com>
Cc: Huang Ying <ying.huang@...el.com>,
Pavel Ivanov <paivanof@...il.com>,
linux-kernel <linux-kernel@...r.kernel.org>,
"linux-acpi@...r.kernel.org" <linux-acpi@...r.kernel.org>
Subject: Re: APEI: Can not request iomem region for GARs
On Mon, Aug 22, 2011 at 9:45 AM, Bjorn Helgaas <bhelgaas@...gle.com> wrote:
> On Mon, Aug 22, 2011 at 1:12 AM, Huang Ying <ying.huang@...el.com> wrote:
>> Do you have time to try the patch attached with the mail?
>> acpi_nvs.patch should go first.
>
> In this case, we have an ACPI NVS region, and the APEI code is
> essentially a driver for some registers that reside there. APEI is
> the entity that manages those registers, and it needs to enforce
> mutual exclusion so nobody else touches them behind its back, so I
> think it makes sense for it to request the register regions and mark
> them busy.
>
> My proposal is to change e820 so it either leaves ACPI NVS out of the
> iomem_resource tree or puts it in but leaves it non-busy.
assume Huang Ying only tested with UEFI native boot?
i have one local patch for legacy mode booting, and it's similar to
what Bjorn suggested.
Please check the attached patch.
Thanks
Yinghai Lu
View attachment "apei_size_check_1.patch" of type "text/x-patch" (737 bytes)
Powered by blists - more mailing lists