From: Russ Anderson <rja@sgi.com>
To: linux-next@vger.kernel.org, Ingo Molnar <mingo@elte.hu>
Cc: Russ Anderson <rja@sgi.com>
Subject: [patch bugfix] UV system table in bios accessed after unmap
Date: Mon, 30 Mar 2009 17:52:40 -0500 [thread overview]
Message-ID: <20090330225240.GA22776@sgi.com> (raw)
Use the copy of UV system table in kernel memory, not the one in
bios after unmapping.
Signed-off-by: Russ Anderson <rja@sgi.com>
---
arch/x86/kernel/bios_uv.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Index: linux-next/arch/x86/kernel/bios_uv.c
===================================================================
--- linux-next.orig/arch/x86/kernel/bios_uv.c 2009-03-30 17:39:26.622178261 -0500
+++ linux-next/arch/x86/kernel/bios_uv.c 2009-03-30 17:44:12.703957062 -0500
@@ -182,7 +182,8 @@ void uv_bios_init(void)
memcpy(&uv_systab, tab, sizeof(struct uv_systab));
iounmap(tab);
- printk(KERN_INFO "EFI UV System Table Revision %d\n", tab->revision);
+ printk(KERN_INFO "EFI UV System Table Revision %d\n",
+ uv_systab.revision);
}
#else /* !CONFIG_EFI */
--
Russ Anderson, OS RAS/Partitioning Project Lead
SGI - Silicon Graphics Inc rja@sgi.com
reply other threads:[~2009-03-30 22:52 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=20090330225240.GA22776@sgi.com \
--to=rja@sgi.com \
--cc=linux-next@vger.kernel.org \
--cc=mingo@elte.hu \
/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).