Re: [PATCH] x86: EFI_PAGE_SHIFT fix

From: H. Peter Anvin
Date: Mon Feb 25 2008 - 13:27:32 EST


Ingo Molnar wrote:
* Huang, Ying <ying.huang@xxxxxxxxx> wrote:

Make x86 EFI code works when EFI_PAGE_SHIFT != PAGE_SHIFT. The memrage_efi_to_native() provided in this patch can be used on other EFI platform such as IA64 too.

This patch has been tested on Intel x86_64 platform with EFI 64/32 firmware.

this is mostly cosmetic, isnt it - because currently nobody expects EFI_PAGE_SHIFT and PAGE_SHIFT to ever change on x86, right? I've queued up your patch for 2.6.26, ok?


There keeps being a lot of talk about a larger x86 pagesize, either involving future hardware support or via page clustering in the kernel.

Going beyond a 48-bit address space (in long mode) may mean increasing the page size.

-hpa
--
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/