RE: [PATCH V4 0/3] Add efi page fault handler to recover from page

2018-09-07 Thread Prakhya, Sai Praneeth
> Thanks Sai for this work. I think this a step in the right direction. > I tested this on qemu x86_64 with OVMF firmware modified to access some > random address in the EFI_Reserved_Region. I was able to reboot the qemu > instance successfully with the patches (see logs below) while without the >

Re: [PATCH V4 0/3] Add efi page fault handler to recover from page

2018-09-07 Thread Bhupesh Sharma
On Fri, Sep 7, 2018 at 4:57 AM, Sai Praneeth Prakhya wrote: > From: Sai Praneeth > > There may exist some buggy UEFI firmware implementations that access efi > memory regions other than EFI_RUNTIME_SERVICES_ even after > the kernel has assumed control of the platform. This violates UEFI >

RE: [PATCH V4 0/3] Add efi page fault handler to recover from page

2018-09-07 Thread Prakhya, Sai Praneeth
> > The efi page fault handler will check if the access is by > > efi_reset_system(). > > 1. If so, then the efi page fault handler will reboot the machine > >through BIOS and not through efi_reset_system(). > > 2. If not, then the efi page fault handler will freeze efi_rts_wq and > >

Re: [PATCH V4 0/3] Add efi page fault handler to recover from page

2018-09-07 Thread Ard Biesheuvel
On 7 September 2018 at 01:27, Sai Praneeth Prakhya wrote: > From: Sai Praneeth > > There may exist some buggy UEFI firmware implementations that access efi > memory regions other than EFI_RUNTIME_SERVICES_ even after > the kernel has assumed control of the platform. This violates UEFI >