login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
August
»
16
Re: [PATCH][EFI] Run EFI in physical mode
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From: H. Peter Anvin
Subject:
Re: [PATCH][EFI] Run EFI in physical mode
Date: Monday, August 16, 2010 - 4:54 pm
On 08/16/2010 04:39 PM, Eric W. Biederman wrote:
quoted text
> > "H. Peter Anvin" <hpa@zytor.com> writes: >> "huang ying" <huang.ying.caritas@gmail.com> wrote: >> >>> On Mon, Aug 16, 2010 at 11:27 AM, H. Peter Anvin <hpa@zytor.com> wrote: >>>> No, it should not be dynamic; rather we should unify all the users >>>> who need a 1:1 map and just keep that page table set around. > > We still want to restore cr3 from the local task structure as soon > as is reasonable, as an identity mapped page table will have page 0 > mapped and thus hide null pointer dereferences. >
Absolutely!
quoted text
>>> Agree. One known issue of global 1:1 map is that we need to make at >>> least part of page table PAGE_KERNEL_EXEC for EFI runtime code, and >>> change_page_attr can not be used before page allocator is available. > >> For the 1:1 map we probably should make all pages executable; other >> things need it too, but we shouldn't have it mapped in except when >> needed. > > We need to be careful in the setup of the global page table so that > we are in sync with the pat structure for the attributes pages > are mapped so that we don't map a page as cached and uncached > at the same time. Otherwise we could accidentally get cache > corruption. To do that would seem to mean change_page_attr > is relevant at least after we switch from our default set of > page permissions.
Quite, which is yet another reason to have a common global page table for all the 1:1 users... right now this is all ad hoc. -hpa --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[PATCH][EFI] Run EFI in physical mode
, Takao Indoh
, (Fri Aug 13, 12:18 pm)
Re: [PATCH][EFI] Run EFI in physical mode
, Eric W. Biederman
, (Fri Aug 13, 3:19 pm)
Re: [PATCH][EFI] Run EFI in physical mode
, H. Peter Anvin
, (Fri Aug 13, 3:24 pm)
Re: [PATCH][EFI] Run EFI in physical mode
, H. Peter Anvin
, (Fri Aug 13, 3:28 pm)
RE: [PATCH][EFI] Run EFI in physical mode
, Luck, Tony
, (Fri Aug 13, 3:33 pm)
Re: [PATCH][EFI] Run EFI in physical mode
, Eric W. Biederman
, (Fri Aug 13, 4:11 pm)
Re: [PATCH][EFI] Run EFI in physical mode
, H. Peter Anvin
, (Fri Aug 13, 4:16 pm)
Re: [PATCH][EFI] Run EFI in physical mode
, Tony Luck
, (Fri Aug 13, 4:36 pm)
Re: [PATCH][EFI] Run EFI in physical mode
, Simon Horman
, (Sun Aug 15, 6:31 pm)
Re: [PATCH][EFI] Run EFI in physical mode
, huang ying
, (Sun Aug 15, 6:43 pm)
Re: [PATCH][EFI] Run EFI in physical mode
, H. Peter Anvin
, (Sun Aug 15, 8:27 pm)
Re: [PATCH][EFI] Run EFI in physical mode
, huang ying
, (Sun Aug 15, 9:58 pm)
Re: [PATCH][EFI] Run EFI in physical mode
, H. Peter Anvin
, (Sun Aug 15, 10:08 pm)
Re: [PATCH][EFI] Run EFI in physical mode
, Takao Indoh
, (Mon Aug 16, 12:30 pm)
Re: [PATCH][EFI] Run EFI in physical mode
, Eric W. Biederman
, (Mon Aug 16, 4:39 pm)
Re: [PATCH][EFI] Run EFI in physical mode
, H. Peter Anvin
, (Mon Aug 16, 4:54 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Ken Chen
[patch] sched: fix inconsistency when redistribute per-cpu tg->cfs_rq shares.
Ingo Molnar
Re: [PATCH v3] x86: merge the simple bitops and move them to bitops.h
Paul Turner
[tg_shares_up rewrite v4 11/11] sched: update tg->shares after cpu.shares write
Andi Kleen
Re: - romsignature-checksum-cleanup-2.patch removed from -mm tree
Yinghai Lu
[PATCH 09/49] memblock: Remove rmo_size, burry it in arch/powerpc where it belongs
git
:
Junio C Hamano
Re: Teach "git checkout" to use git-show-ref
Christian Jaeger
Re: Problem with Git.pm bidi_pipe methods
Linus Torvalds
[PATCH 1/7] Make unpack_trees_options bit flags actual bitfields
Jon Smirl
stgit: managing signed-off-by lines
Han-Wen Nienhuys
Re: Cleaning up git user-interface warts
git-commits-head
:
Linux Kernel Mailing List
MIPS: Bonito64: Make Loongson independent from Bonito64 code.
Linux Kernel Mailing List
iwlwifi: initialize spinlock before use
Linux Kernel Mailing List
i2c-i801: Add Intel Cougar Point device IDs
Linux Kernel Mailing List
drm/i915: Add information on pinning and fencing to the i915 list debug.
Linux Kernel Mailing List
Btrfs: Disable btree reada during extent backref lookups.
linux-netdev
:
Gerrit Renker
v2 [PATCH 1/4] dccp: Limit feature negotiation to connection setup phase
Richard Cochran
Re: [PATCH v3 3/3] ptp: Added a clock that uses the eTSEC found on the MPC85xx.
Inaky Perez-Gonzalez
[PATCH 40/40] wimax/i2400m: add CREDITS and MAINTAINERS entries
Miloslav Trmac
Re: RFC: Crypto API User-interface
David Miller
Re: [net-next-2.6 PATCH] ixgbevf: Refactor ring parameter re-size
freebsd-current
:
Boris Samorodov
Re: twa + dump = sbwait
韓家標 Bill Hacker
Re: ZFS honesty
Bjoern A. Zeeb
Re: Can not boot 7.0-BETA3 with IPSEC
FreeBSD Tinderbox
[head tinderbox] failure on i386/i386
Rong-en Fan
ad0: setting up DMA failed / FAILURE - load data ?
Colocation donated by:
Syndicate