Re: [PATCH -v2 4/4] x86, efi: Map runtime services 1:1

2013-07-02 Thread joeyli
於 一,2013-06-17 於 19:50 +0200,Borislav Petkov 提到: > +#ifdef CONFIG_X86_64 > + efi_scratch.pgt11 = (pgd_t *)(unsigned > long)real_mode_header->trampoline_pgd; > +#endif > + efi_use_11_map = true; > + I think "efi_use_11_map = true" should moved to before "#endif", other

Re: [PATCH -v2 4/4] x86, efi: Map runtime services 1:1

2013-06-21 Thread Matt Fleming
On Mon, 17 Jun, at 07:50:16PM, Borislav Petkov wrote: > From: Borislav Petkov > > Due to the braindead design of EFI, we cannot map runtime services more > than once for the duration of a booted system. Thus, if we want to use > EFI runtime services in a kexec'ed kernel, maybe the only possible a

[PATCH -v2 4/4] x86, efi: Map runtime services 1:1

2013-06-17 Thread Borislav Petkov
From: Borislav Petkov Due to the braindead design of EFI, we cannot map runtime services more than once for the duration of a booted system. Thus, if we want to use EFI runtime services in a kexec'ed kernel, maybe the only possible and sensible approach would be to map them 1:1 so that when the k