From: Madper Xie <cxie@redhat.com>
To: Matt Fleming <matt@console-pimps.org>
Cc: Toshi Kani <toshi.kani@hp.com>, Madper Xie <cxie@redhat.com>,
Matt Fleming <matt.fleming@intel.com>,
"linux-kernel\@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"linux-efi\@vger.kernel.org" <linux-efi@vger.kernel.org>,
Matthew Garrett <mjg59@srcf.ucam.org>,
"Rafael J. Wysocki" <rjw@rjwysocki.net>,
Josh Triplett <josh@joshtriplett.org>
Subject: Re: [BUG] can't boot up: unable to handle kernel paging request at ffffffffff340003
Date: Thu, 13 Feb 2014 21:40:36 +0800 [thread overview]
Message-ID: <87k3czdtbf.fsf@redhat.com> (raw)
In-Reply-To: <20140213105547.GC20717@console-pimps.org>
matt@console-pimps.org writes:
> On Wed, 12 Feb, at 09:15:03AM, Toshi Kani wrote:
>>
>> Hi Matt,
>>
>> Yes, I agree that the table size should be 0x38. However, ACPI spec
>> states that bit0 of status indicates if the boot image graphic is valid.
>> This bit is set to 0 (invalid) on the system. Can you check this bit
>> and return when invalid?
>
> Madper, could you try out this patch?
>
Thanks Matt. This patch fix the panic. And ioremap warning disappeared
after apply your patch.
> ---
>
> diff --git a/arch/x86/platform/efi/efi-bgrt.c b/arch/x86/platform/efi/efi-bgrt.c
> index 4df9591eadad..f15103dff4b4 100644
> --- a/arch/x86/platform/efi/efi-bgrt.c
> +++ b/arch/x86/platform/efi/efi-bgrt.c
> @@ -42,7 +42,7 @@ void __init efi_bgrt_init(void)
>
> if (bgrt_tab->header.length < sizeof(*bgrt_tab))
> return;
> - if (bgrt_tab->version != 1)
> + if (bgrt_tab->version != 1 || bgrt_tab->status != 1)
> return;
> if (bgrt_tab->image_type != 0 || !bgrt_tab->image_address)
> return;
--
Madper
next prev parent reply other threads:[~2014-02-13 13:41 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-10 7:23 [BUG] can't boot up: unable to handle kernel paging request at ffffffffff340003 Madper Xie
2014-02-10 17:52 ` Matt Fleming
2014-02-11 3:00 ` Madper Xie
2014-02-11 13:16 ` Matt Fleming
2014-02-11 13:47 ` Madper Xie
2014-02-11 14:18 ` Matt Fleming
2014-02-12 0:00 ` Rafael J. Wysocki
2014-02-12 16:15 ` Toshi Kani
2014-02-12 16:39 ` Matt Fleming
2014-02-13 10:55 ` Matt Fleming
2014-02-13 13:40 ` Madper Xie [this message]
2014-02-13 17:10 ` Matthew Garrett
2014-02-13 23:48 ` Rafael J. Wysocki
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=87k3czdtbf.fsf@redhat.com \
--to=cxie@redhat.com \
--cc=josh@joshtriplett.org \
--cc=linux-efi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=matt.fleming@intel.com \
--cc=matt@console-pimps.org \
--cc=mjg59@srcf.ucam.org \
--cc=rjw@rjwysocki.net \
--cc=toshi.kani@hp.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