* APEI: ERST table in ACPI NVS not supported
@ 2013-01-29 18:08 Max Asbock
2013-02-04 9:20 ` Chen Gong
0 siblings, 1 reply; 4+ messages in thread
From: Max Asbock @ 2013-01-29 18:08 UTC (permalink / raw)
To: gong.chen, ying.huang; +Cc: linux-acpi, masbock
Hi,
we have systems that declare the memory range for ERST in ACPI NVS.
Because ACPI NVS is marked 'busy' by e820_reserve_resources() the call
to request_mem_region(erst_erange.base, erst_erange.size, "APEI ERST")
made from erst_init() fails and we get:
ERST: Can not request iomem region <0x 7e91f000-0x
7e920c00> for ERST.
I did notice that quite some effort was made to add code to avoid
resource conflicts between APEI and ACPI NVS. But ERST still goes
straight to request_mem_region() which is bound to fail. I am assuming
this should go through apei_resources_request() instead or I am missing
something?
thanks,
Max
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: APEI: ERST table in ACPI NVS not supported
2013-01-29 18:08 APEI: ERST table in ACPI NVS not supported Max Asbock
@ 2013-02-04 9:20 ` Chen Gong
2013-02-04 17:06 ` Max Asbock
0 siblings, 1 reply; 4+ messages in thread
From: Chen Gong @ 2013-02-04 9:20 UTC (permalink / raw)
To: Max Asbock; +Cc: ying.huang, linux-acpi
[-- Attachment #1: Type: text/plain, Size: 1481 bytes --]
On Tue, Jan 29, 2013 at 10:08:11AM -0800, Max Asbock wrote:
> Date: Tue, 29 Jan 2013 10:08:11 -0800
> From: Max Asbock <masbock@linux.vnet.ibm.com>
> To: gong.chen@linux.intel.com, ying.huang@intel.com
> CC: linux-acpi@vger.kernel.org, masbock@linux.vnet.ibm.com
> Subject: APEI: ERST table in ACPI NVS not supported
> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130108
> Thunderbird/10.0.12
>
> Hi,
>
> we have systems that declare the memory range for ERST in ACPI NVS.
> Because ACPI NVS is marked 'busy' by e820_reserve_resources() the
> call to request_mem_region(erst_erange.base, erst_erange.size, "APEI
> ERST") made from erst_init() fails and we get:
> ERST: Can not request iomem region <0x 7e91f000-0x
> 7e920c00> for ERST.
>
> I did notice that quite some effort was made to add code to avoid
> resource conflicts between APEI and ACPI NVS. But ERST still goes
> straight to request_mem_region() which is bound to fail. I am
> assuming this should go through apei_resources_request() instead or
> I am missing something?
>
If my understanding is right, after ERST resource is requested via
apei_resources_request and when requesting error log address range,
you meet an NVS conflict, right?
If so, NVS must be excluded. But I'm afraid if error range is
separated into two parts thus some errors will be lost. Would you
please paste errage address range and conflicted NVS range?
> thanks,
> Max
>
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: APEI: ERST table in ACPI NVS not supported
2013-02-04 9:20 ` Chen Gong
@ 2013-02-04 17:06 ` Max Asbock
2013-02-05 1:56 ` Chen Gong
0 siblings, 1 reply; 4+ messages in thread
From: Max Asbock @ 2013-02-04 17:06 UTC (permalink / raw)
To: gong.chen, linux-acpi, ying.huang, naveen.n.rao
On 02/04/2013 01:20 AM, Chen Gong wrote:
> On Tue, Jan 29, 2013 at 10:08:11AM -0800, Max Asbock wrote:
>
>
> we have systems that declare the memory range for ERST in ACPI NVS.
> Because ACPI NVS is marked 'busy' by e820_reserve_resources() the
> call to request_mem_region(erst_erange.base, erst_erange.size, "APEI
> ERST") made from erst_init() fails and we get:
> ERST: Can not request iomem region<0x 7e91f000-0x
> 7e920c00> for ERST.
>
> I did notice that quite some effort was made to add code to avoid
> resource conflicts between APEI and ACPI NVS. But ERST still goes
> straight to request_mem_region() which is bound to fail. I am
> assuming this should go through apei_resources_request() instead or
> I am missing something?
>
> If my understanding is right, after ERST resource is requested via
> apei_resources_request and when requesting error log address range,
> you meet an NVS conflict, right?
>
> If so, NVS must be excluded. But I'm afraid if error range is
> separated into two parts thus some errors will be lost. Would you
> please paste errage address range and conflicted NVS range?
ACPI NVS is:
[ 0.000000] BIOS-e820: [mem 0x000000007e6a5000-0x000000007ebc5fff]
ACPI NVS
ERST erange is:
0x7e91f000-0x7e920c00
which is a single range entirely within ACPI NVS.
thanks,
Max
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: APEI: ERST table in ACPI NVS not supported
2013-02-04 17:06 ` Max Asbock
@ 2013-02-05 1:56 ` Chen Gong
0 siblings, 0 replies; 4+ messages in thread
From: Chen Gong @ 2013-02-05 1:56 UTC (permalink / raw)
To: Max Asbock; +Cc: gong.chen, linux-acpi, ying.huang, naveen.n.rao
[-- Attachment #1: Type: text/plain, Size: 2129 bytes --]
On Mon, Feb 04, 2013 at 09:06:24AM -0800, Max Asbock wrote:
> Date: Mon, 04 Feb 2013 09:06:24 -0800
> From: Max Asbock <masbock@linux.vnet.ibm.com>
> To: gong.chen@intel.com, linux-acpi@vger.kernel.org, ying.huang@intel.com,
> naveen.n.rao@in.ibm.com
> Subject: Re: APEI: ERST table in ACPI NVS not supported
> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130108
> Thunderbird/10.0.12
>
> On 02/04/2013 01:20 AM, Chen Gong wrote:
> >On Tue, Jan 29, 2013 at 10:08:11AM -0800, Max Asbock wrote:
> >
> >
> >we have systems that declare the memory range for ERST in ACPI NVS.
> >Because ACPI NVS is marked 'busy' by e820_reserve_resources() the
> >call to request_mem_region(erst_erange.base, erst_erange.size, "APEI
> >ERST") made from erst_init() fails and we get:
> >ERST: Can not request iomem region<0x 7e91f000-0x
> >7e920c00> for ERST.
> >
> >I did notice that quite some effort was made to add code to avoid
> >resource conflicts between APEI and ACPI NVS. But ERST still goes
> >straight to request_mem_region() which is bound to fail. I am
> >assuming this should go through apei_resources_request() instead or
> >I am missing something?
> >
> >If my understanding is right, after ERST resource is requested via
> >apei_resources_request and when requesting error log address range,
> >you meet an NVS conflict, right?
> >
> >If so, NVS must be excluded. But I'm afraid if error range is
> >separated into two parts thus some errors will be lost. Would you
> >please paste errage address range and conflicted NVS range?
> ACPI NVS is:
>
> [ 0.000000] BIOS-e820: [mem
> 0x000000007e6a5000-0x000000007ebc5fff] ACPI NVS
>
> ERST erange is:
>
> 0x7e91f000-0x7e920c00
>
> which is a single range entirely within ACPI NVS.
>
> thanks,
> Max
>
If so, ERST erange can't be allocated. It looks like a BIOS bug.
I think your concern is meaningful but as I said, erange means
the whole ERST table entries, which means any overlap will cause
part of error records are lost. So the safest way is to refuse
the allocation for such type of range.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-02-05 1:57 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-29 18:08 APEI: ERST table in ACPI NVS not supported Max Asbock
2013-02-04 9:20 ` Chen Gong
2013-02-04 17:06 ` Max Asbock
2013-02-05 1:56 ` Chen Gong
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).