Re: [GIT PULL] EFI urgent fix

2015-10-16 Thread Ingo Molnar
* Matt Fleming wrote: > From: Matt Fleming > > Folks, the below fix from Paolo addresses an issue causing 32-bit > non-PAE kernels to triple fault on EFI boot. The issue is that the > physical address of the GDT that gets used in

[GIT PULL] EFI urgent fix

2015-10-16 Thread Matt Fleming
From: Matt Fleming Folks, the below fix from Paolo addresses an issue causing 32-bit non-PAE kernels to triple fault on EFI boot. The issue is that the physical address of the GDT that gets used in efi_call_phys_prolog() won't be covered by the identitty mapping in

[PATCH] x86/setup: Extend low identity map to cover whole kernel range

2015-10-16 Thread Matt Fleming
From: Paolo Bonzini On 32-bit systems, the initial_page_table is reused by efi_call_phys_prolog as an identity map to call SetVirtualAddressMap. efi_call_phys_prolog takes care of converting the current CPU's GDT to a physical address too. For PAE kernels the identity

[PATCH V2] x86/efi: Fix kernel panic when CONFIG_DEBUG_VIRTUAL is enabled

2015-10-16 Thread Sai Praneeth Prakhya
From: Sai Praneeth When CONFIG_DEBUG_VIRTUAL is enabled, all accesses to __pa(address) are monitored to see whether address falls in direct mapping or kernel text mapping (see Documentation/x86/x86_64/mm.txt for details), if it does not kernel panics. During 1:1