Re: [patch 1/6] Add function efi_remap_region for remapping to saved virt address

2013-10-27 Thread Dave Young
Hi, Thanks for review On 10/27/13 at 12:50pm, Borislav Petkov wrote: > On Sun, Oct 27, 2013 at 11:47:14AM +0800, dyo...@redhat.com wrote: > > Kexec kernel will use saved runtime virtual mapping, so add a > > new function efi_remap_region to remapping it directly without > > calculate the virt addr

Re: [patch 2/6] x86 efi: reserve boot service fix

2013-10-27 Thread Dave Young
On 10/27/13 at 08:30pm, Matt Fleming wrote: > On Sun, 27 Oct, at 11:50:09AM, Borislav Petkov wrote: > > On Sun, Oct 27, 2013 at 11:47:15AM +0800, dyo...@redhat.com wrote: > > > Current code check boot service region with kernel text region by: > > > start+size >= __pa_symbol(_text) > > > The end o

[GIT PULL] EFI changes

2013-10-27 Thread Matt Fleming
Guys, do you think we could get the EFI earlyprintk support into the 'x86/efi' branch for the upcoming merge window? I know it's quite late in the game but since it's a new feature it shouldn't introduce any kind of regression and is a much needed feature. The following changes since commit c158c3

Re: [PATCH 1/2] efi: Add asm-generic/efi.h for non-x86

2013-10-27 Thread Matt Fleming
On Thu, 17 Oct, at 03:16:53PM, Matt Fleming wrote: > After reading Leif's arm runtime patches this patch obviously doesn't > make much sense. I'll work on something better. OK, since Leif's stuff needs to go through another revision, I'm gonna leave these patches as-is and merge them into the 'nex

Re: [patch 2/6] x86 efi: reserve boot service fix

2013-10-27 Thread Matt Fleming
On Sun, 27 Oct, at 11:50:09AM, Borislav Petkov wrote: > On Sun, Oct 27, 2013 at 11:47:15AM +0800, dyo...@redhat.com wrote: > > Current code check boot service region with kernel text region by: > > start+size >= __pa_symbol(_text) > > The end of the above region should be start + size - 1 instead.

Re: [patch 1/6] Add function efi_remap_region for remapping to saved virt address

2013-10-27 Thread Borislav Petkov
On Sun, Oct 27, 2013 at 11:47:14AM +0800, dyo...@redhat.com wrote: > Kexec kernel will use saved runtime virtual mapping, so add a > new function efi_remap_region to remapping it directly without > calculate the virt addr from efi_va. > > The md is passed in from 1st kernel, the virtual addr is >

Re: [patch 2/6] x86 efi: reserve boot service fix

2013-10-27 Thread Borislav Petkov
On Sun, Oct 27, 2013 at 11:47:15AM +0800, dyo...@redhat.com wrote: > Current code check boot service region with kernel text region by: > start+size >= __pa_symbol(_text) > The end of the above region should be start + size - 1 instead. > > I see this problem in ovmf + Fedora 19 grub boot: > text