linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Chen Gong <gong.chen@linux.intel.com>
To: Max Asbock <masbock@linux.vnet.ibm.com>
Cc: 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
Date: Mon, 4 Feb 2013 20:56:54 -0500	[thread overview]
Message-ID: <20130205015654.GA26774@gchen.bj.intel.com> (raw)
In-Reply-To: <510FEA90.8060503@linux.vnet.ibm.com>

[-- 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 --]

      reply	other threads:[~2013-02-05  1:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130205015654.GA26774@gchen.bj.intel.com \
    --to=gong.chen@linux.intel.com \
    --cc=gong.chen@intel.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=masbock@linux.vnet.ibm.com \
    --cc=naveen.n.rao@in.ibm.com \
    --cc=ying.huang@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).