Re: [PATCH v7 00/27] x86, boot, 64bit: Add support for loading ramdiskand bzImage above 4G

From: H. Peter Anvin
Date: Tue Jan 08 2013 - 18:18:07 EST


On 01/08/2013 01:19 PM, Borislav Petkov wrote:
On Tue, Jan 08, 2013 at 01:15:41PM -0800, H. Peter Anvin wrote:
Yes, but why bother...

I suspected something like that to be the reason after reading into that
section of the APM of how one needs to jump through hoops to do one
lousy far jump.


The only thing that started this was that I got tempted into a microoptimization that happens to be valid and documented on Intel, but not AMD. Given that it doesn't actually work lretq is probably the least insane option.

-hpa

--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/