[PATCH] x86/efi: Always map first physical page into EFI pagetables

2017-01-27 Thread Matt Fleming
From: Jiri Kosina Commit 129766708 ("x86/efi: Only map RAM into EFI page tables if in mixed-mode") stopped creating 1:1 mapping for all RAM in case of running in native 64bit mode. It turns out though that there are 64bit EFI implementations in the wild (this particular problem

[PATCH] x86/efi: Always map first physical page into EFI pagetables

2017-01-27 Thread Matt Fleming
From: Jiri Kosina Commit 129766708 ("x86/efi: Only map RAM into EFI page tables if in mixed-mode") stopped creating 1:1 mapping for all RAM in case of running in native 64bit mode. It turns out though that there are 64bit EFI implementations in the wild (this particular problem has been

Re: [PATCH] x86/efi: always map first physical page into EFI pagetables

2017-01-27 Thread Matt Fleming
On Wed, 25 Jan, at 09:31:53PM, Jiri Kosina wrote: > > [ CCing mailinglists that got eaten by my newly configured mail setup, > sorry for that ] > > On Wed, 25 Jan 2017, Jiri Kosina wrote: > > > From: Jiri Kosina > > > > Commit 129766708 ("x86/efi: Only map RAM into EFI

Re: [PATCH] x86/efi: always map first physical page into EFI pagetables

2017-01-27 Thread Matt Fleming
On Wed, 25 Jan, at 09:31:53PM, Jiri Kosina wrote: > > [ CCing mailinglists that got eaten by my newly configured mail setup, > sorry for that ] > > On Wed, 25 Jan 2017, Jiri Kosina wrote: > > > From: Jiri Kosina > > > > Commit 129766708 ("x86/efi: Only map RAM into EFI page tables if in >

Re: [PATCH] x86/efi: always map first physical page into EFI pagetables

2017-01-25 Thread Borislav Petkov
On Wed, Jan 25, 2017 at 09:31:53PM +0100, Jiri Kosina wrote: > > [ CCing mailinglists that got eaten by my newly configured mail setup, > sorry for that ] > > On Wed, 25 Jan 2017, Jiri Kosina wrote: > > > From: Jiri Kosina > > > > Commit 129766708 ("x86/efi: Only map RAM

Re: [PATCH] x86/efi: always map first physical page into EFI pagetables

2017-01-25 Thread Borislav Petkov
On Wed, Jan 25, 2017 at 09:31:53PM +0100, Jiri Kosina wrote: > > [ CCing mailinglists that got eaten by my newly configured mail setup, > sorry for that ] > > On Wed, 25 Jan 2017, Jiri Kosina wrote: > > > From: Jiri Kosina > > > > Commit 129766708 ("x86/efi: Only map RAM into EFI page

Re: [PATCH] x86/efi: always map first physical page into EFI pagetables

2017-01-25 Thread Jiri Kosina
[ CCing mailinglists that got eaten by my newly configured mail setup, sorry for that ] On Wed, 25 Jan 2017, Jiri Kosina wrote: > From: Jiri Kosina > > Commit 129766708 ("x86/efi: Only map RAM into EFI page tables if in > mixed-mode") stopped creating 1:1 mapping for all

Re: [PATCH] x86/efi: always map first physical page into EFI pagetables

2017-01-25 Thread Jiri Kosina
[ CCing mailinglists that got eaten by my newly configured mail setup, sorry for that ] On Wed, 25 Jan 2017, Jiri Kosina wrote: > From: Jiri Kosina > > Commit 129766708 ("x86/efi: Only map RAM into EFI page tables if in > mixed-mode") stopped creating 1:1 mapping for all RAM in case of