Re: [PATCH][EFI] Run EFI in physical mode

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Eric W. Biederman
Date: Monday, August 16, 2010 - 4:39 pm

"H. Peter Anvin" <hpa@zytor.com> writes:

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.



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.

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