Re: [PATCH]x86 efi: do not export efi runtime map in case old map

2014-06-02 Thread Matt Fleming
On 30 May 2014 04:20, Dave Young dyo...@redhat.com wrote: For ioremapped efi memory aka old_map the virt addresses are not persistant across kexec reboot. kexec-tools will read the runtime maps from sysfs then pass them to 2nd kernel and assuming kexec efi boot is ok. This will cause kexec

Re: [PATCH]x86 efi: do not export efi runtime map in case old map

2014-05-30 Thread Simon Horman
On Fri, May 30, 2014 at 01:54:47PM +0800, Dave Young wrote: Ccing Simon. Simon, appologize for not ccing you about this kernel patch. I see you have applied the userspace patch for checking sysfs runtime existance. The userspace patch depends on this patch but it is not harmful even

Re: [PATCH]x86 efi: do not export efi runtime map in case old map

2014-05-30 Thread Borislav Petkov
On Fri, May 30, 2014 at 11:20:10AM +0800, Dave Young wrote: For ioremapped efi memory aka old_map the virt addresses are not persistant across kexec reboot. kexec-tools will read the runtime maps from sysfs then pass them to 2nd kernel and assuming kexec efi boot is ok. This will cause kexec

Re: [PATCH]x86 efi: do not export efi runtime map in case old map

2014-05-30 Thread Vivek Goyal
On Fri, May 30, 2014 at 11:20:10AM +0800, Dave Young wrote: For ioremapped efi memory aka old_map the virt addresses are not persistant across kexec reboot. kexec-tools will read the runtime maps from sysfs then pass them to 2nd kernel and assuming kexec efi boot is ok. This will cause kexec

[PATCH]x86 efi: do not export efi runtime map in case old map

2014-05-29 Thread Dave Young
For ioremapped efi memory aka old_map the virt addresses are not persistant across kexec reboot. kexec-tools will read the runtime maps from sysfs then pass them to 2nd kernel and assuming kexec efi boot is ok. This will cause kexec boot failure. To address this issue do not export runtime maps

Re: [PATCH]x86 efi: do not export efi runtime map in case old map

2014-05-29 Thread Dave Young
Ccing Simon. Simon, appologize for not ccing you about this kernel patch. I see you have applied the userspace patch for checking sysfs runtime existance. The userspace patch depends on this patch but it is not harmful even without this kernel patch. So applying the userspace patch before this