Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1321870 > unrolled thread

Re: [PATCH] x86/mm/pageattr: Use _PAGE_GLOBAL bit for EFI page table mappings

Started byMatt Fleming <matt@codeblueprint.co.uk>
First post2016-01-29 17:30 +0100
Last post2016-01-29 17:30 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] x86/mm/pageattr: Use _PAGE_GLOBAL bit for EFI page table  mappings Matt Fleming <matt@codeblueprint.co.uk> - 2016-01-29 17:30 +0100

#1321870 — Re: [PATCH] x86/mm/pageattr: Use _PAGE_GLOBAL bit for EFI page table mappings

FromMatt Fleming <matt@codeblueprint.co.uk>
Date2016-01-29 17:30 +0100
SubjectRe: [PATCH] x86/mm/pageattr: Use _PAGE_GLOBAL bit for EFI page table mappings
Message-ID<qWk5Q-5O3-29@gated-at.bofh.it>
On Wed, 27 Jan, at 10:34:56AM, Sai Praneeth Prakhya wrote:
> From: Sai Praneeth <sai.praneeth.prakhya@intel.com>
> 
> Since EFI page tables can be treated as kernel page tables they should
> be global. All the other page mapping functions in pageattr.c set the
> _PAGE_GLOBAL bit and we want to avoid inconsistencies when we map a page
> in the EFI code paths, for example when that page is split in
> __split_large_page(), etc. It also makes it easier to validate that the
> EFI region mappings have the correct attributes because there are fewer
> differences compared with regular kernel mappings.
> 
> Cc: Ricardo Neri <ricardo.neri@intel.com>
> Cc: Ravi Shankar <ravi.v.shankar@intel.com>
> Cc: Borislav Petkov <bp@alien8.de>
> Cc: Matt Fleming <matt@codeblueprint.co.uk>
> Signed-off-by: Sai Praneeth Prakhya <sai.praneeth.prakhya@intel.com>
> ---
>  arch/x86/mm/pageattr.c | 14 ++++++++++++++
>  1 file changed, 14 insertions(+)

Reducing any differences between the EFI mapping and regular kernel
mapping code in pageattr.c is a plus.

Thanks Sai, applied.

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web