linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Wang YanQing <udknight@gmail.com>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org, tglx@linutronix.de, mingo@elte.hu,
	hpa@linux.intel.com, x86@kernel.org, spock@gentoo.org
Subject: [PATCH 0/2] x86: add function to check whether BIOS NX and let uvesafb work
Date: Thu, 23 Feb 2012 14:32:19 +0800	[thread overview]
Message-ID: <20120223063219.GB3886@udknight> (raw)

hi,
https://lkml.org/lkml/2011/11/17/54 is the first time I
post the question I meet.At that time, I haven't idea to 
catch it bug! My computer hang too early, and even seral 
console doesn't help.
Recent days I try to compile uvesafb as a module, and insert 
it when I have a full work kernel, X11, and sshd. Good dog,
the bug occurs again, and I catch it!
Here are the two patches that I try to fix it,
I will appreciate for any comments.Thanks

attached patches:
1/2 x86:add function to check BIOS whether NX
2/2 video:uvesafb: check whether BIOS is NX before try to use PMI

---
 arch/x86/include/asm/pci.h |    1 +
 arch/x86/mm/pageattr.c     |    2 +-
 arch/x86/pci/pcbios.c      |   11 +++++++++++
 drivers/video/uvesafb.c    |    6 ++++++
 4 files changed, 19 insertions(+), 1 deletions(-)
---

                 reply	other threads:[~2012-02-23  6:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20120223063219.GB3886@udknight \
    --to=udknight@gmail.com \
    --cc=hpa@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=spock@gentoo.org \
    --cc=tglx@linutronix.de \
    --cc=torvalds@linux-foundation.org \
    --cc=x86@kernel.org \
    /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).