lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Sun, 15 Jun 2008 23:30:06 -0700 From: Paul Jackson <pj@....com> To: "Ingo Molnar" <mingo@...e.hu> Cc: "Thomas Gleixner" <tglx@...utronix.de>, "Yinghai Lu" <yhlu.kernel@...il.com>, "Jack Steiner" <steiner@....com>, "Mike Travis" <travis@....com>, "H. Peter Anvin" <hpa@...or.com>, linux-kernel@...r.kernel.org, "Huang, Ying" <ying.huang@...el.com>, "Andi Kleen" <andi@...stfloor.org>, "Andrew Morton" <akpm@...ux-foundation.org>, Paul Jackson <pj@....com> Subject: [PATCH 5/8] x86 boot: remap efi systab runtime from phys to virt From: Paul Jackson <pj@....com> One more efi entry needs its address converted from physical to virtual during boot: efi.systab->runtime. Signed-off-by: Paul Jackson <pj@....com> --- arch/x86/kernel/efi.c | 1 + 1 file changed, 1 insertion(+) --- linux.orig/arch/x86/kernel/efi.c 2008-06-13 00:53:10.053599898 -0700 +++ linux/arch/x86/kernel/efi.c 2008-06-13 00:53:21.762309008 -0700 @@ -486,6 +486,7 @@ void __init efi_enter_virtual_mode(void) if (md->phys_addr <= systab && systab < end) { systab += md->virt_addr - md->phys_addr; efi.systab = (efi_system_table_t *) (unsigned long) systab; + efi.systab->runtime = __va(efi.systab->runtime); } } -- I won't rest till it's the best ... Programmer, Linux Scalability Paul Jackson <pj@....com> 1.650.933.1373 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists