Skip to content

x86: add function to check whether BIOS NX and let uvesafb work

Wang YanQing lkml 1 version New

Get series with b4
b4 am 20120223063219.GB3886@udknight

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2x86:add function to check BIOS whether NXarch/x86/include/asm/pci.h arch/x86/mm/pageattr.c arch/x86/pci/pcbios.c+13 -10 replies
2/2video:uvesafb: check whether BIOS is NX before try to use PMIdrivers/video/uvesafb.c+6 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] x86: add function to check whether BIOS NX and let uvesafb work

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(-)

---