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

2015-10-17 Thread Borislav Petkov
On Fri, Oct 16, 2015 at 04:20:27PM -0700, Sai Praneeth Prakhya wrote: > 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

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

2015-10-17 Thread Matt Fleming
On Sat, 17 Oct, at 11:47:38AM, Borislav Petkov wrote: > > Looks ok to me, these minor nitpicks can be adjusted when applying, no > need to send another version. > > Which brings me to the next question: Matt, are you picking this up or > should I? I'll pick it up and make your suggested

[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