mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Matt Fleming <matt@codeblueprint.co.uk>
To: Ingo Molnar <mingo@kernel.org>,
	Thomas Gleixner <tglx@linutronix.de>,
	"H . Peter Anvin" <hpa@zytor.com>
Cc: Matt Fleming <matt@codeblueprint.co.uk>,
	linux-kernel@vger.kernel.org, linux-efi@vger.kernel.org,
	Borislav Petkov <bp@suse.de>, Dave Hansen <dave.hansen@intel.com>,
	Glenn P Williamson <glenn.p.williamson@intel.com>,
	Ravi Shankar <ravi.v.shankar@intel.com>,
	Ricardo Neri <ricardo.neri@intel.com>,
	Sai Praneeth Prakhya <sai.praneeth.prakhya@intel.com>
Subject: [GIT PULL] EFI changes for v4.4
Date: Sun, 25 Oct 2015 10:49:03 +0000	[thread overview]
Message-ID: <1445770144-22280-1-git-send-email-matt@codeblueprint.co.uk> (raw)

Folks, please pull the following bugfix from Sai which prevents a
kernel panic when booting an EFI machine with CONFIG_DEBUG_VIRTUAL
enabled.

This bug was reported last year by Dave Hansen,

  https://lkml.kernel.org/r/5462999A.7090706@intel.com

and since nobody else has reported it, and given that it's only
triggerable with a debug config option, I figured this should be
targeted at v4.4.

The following changes since commit 0f96a99dab366333439e110d6ad253bc7c557c09:

  efi: Add "efi_fake_mem" boot option (2015-10-12 14:20:09 +0100)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/mfleming/efi.git tags/efi-next

for you to fetch changes up to 2c66e24d75d424919c42288b418d2e593fa818b1:

  x86/efi: Fix kernel panic when CONFIG_DEBUG_VIRTUAL is enabled (2015-10-25 10:22:25 +0000)

----------------------------------------------------------------
 * Fix a kernel panic by not passing EFI virtual mapping addresses to
   __pa() in the x86 pageattr code. Since these virtual addreses are
  not part of the direct mapping or kernel text mapping, passing them
  to __pa() will trigger a BUG_ON() when CONFIG_DEBUG_VIRTUAL is
  enabled - Sai Praneeth Prakhya

----------------------------------------------------------------
Sai Praneeth (1):
      x86/efi: Fix kernel panic when CONFIG_DEBUG_VIRTUAL is enabled

 arch/x86/mm/pageattr.c | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

             reply	other threads:[~2015-10-25 10:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-25 10:49 Matt Fleming [this message]
2015-10-25 10:49 ` [PATCH] x86/efi: Fix kernel panic when CONFIG_DEBUG_VIRTUAL is enabled Matt Fleming
2015-10-27 17:41 ` [GIT PULL] EFI changes for v4.4 Ingo Molnar
2015-11-03  9:00 Ingo Molnar

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=1445770144-22280-1-git-send-email-matt@codeblueprint.co.uk \
    --to=matt@codeblueprint.co.uk \
    --cc=bp@suse.de \
    --cc=dave.hansen@intel.com \
    --cc=glenn.p.williamson@intel.com \
    --cc=hpa@zytor.com \
    --cc=linux-efi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@kernel.org \
    --cc=ravi.v.shankar@intel.com \
    --cc=ricardo.neri@intel.com \
    --cc=sai.praneeth.prakhya@intel.com \
    --cc=tglx@linutronix.de \
    /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

Powered by JetHome