Re: [PATCH -v2] EFI: Runtime services virtual mapping

2013-10-02 Thread H. Peter Anvin
On 10/02/2013 10:05 AM, Borislav Petkov wrote: Btw, Matt just found another issue with the bottom-up approach - due to different alignment of VA and PA addresses, this messes up the pagetable in terms of the order in which we're using 4K, 2M, etc pages. What can happen is that, you can get

Re: [PATCH -v2] EFI: Runtime services virtual mapping

2013-10-02 Thread H. Peter Anvin
On 10/02/2013 11:42 AM, Borislav Petkov wrote: Yes, so the alignment has to be such that both PA and VA are the same amount of 4K pages away from the next 2M boundary, to put it bluntly. I have a couple of ideas on how to do that. It's pretty straightforward - just drop the starting

Re: EFI stub boots only with setup_efi_pc() commented

2013-10-02 Thread Clea F. Rees
Please ignore my previous message. I did not realise that gmail's new interface was mangling the patch. Compiling now... 2013/9/30 Clea F. Rees ree...@gmail.com: 2013/9/16 Matt Fleming m...@console-pimps.org: On Mon, 09 Sep, at 12:45:00PM, Clea F. Rees wrote: 2013/9/5 Matt Fleming