Huang, Ying a2172e2586 x86: fix some bugs about EFI runtime code mapping
This patch fixes some bugs of making EFI runtime code executable.

- Use change_page_attr in i386 too. Because the runtime code may be
  mapped not through ioremap.

- If there is no _PAGE_NX in __supported_pte_mask, the change_page_attr
  is not called.

- Make efi_ioremap map pages as PAGE_KERNEL_EXEC_NOCACHE, because EFI runtime
  code may be mapped through efi_ioremap.

Signed-off-by: Huang Ying <ying.huang@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2008-01-30 13:33:55 +01:00
..
2008-01-30 13:33:14 +01:00
2008-01-30 13:31:12 +01:00
2008-01-30 13:33:23 +01:00
2008-01-30 13:31:31 +01:00
2008-01-30 13:33:32 +01:00
2008-01-30 13:31:19 +01:00
2008-01-30 13:31:23 +01:00
2008-01-30 13:33:54 +01:00
2008-01-30 13:31:55 +01:00
2008-01-30 13:33:14 +01:00
2008-01-30 13:33:14 +01:00
2008-01-30 13:30:28 +01:00
2008-01-30 13:33:10 +01:00
2008-01-30 13:33:23 +01:00
2008-01-30 13:33:14 +01:00
2008-01-30 13:31:12 +01:00
2008-01-30 13:33:23 +01:00
2008-01-24 20:40:04 -08:00
2008-01-30 13:30:33 +01:00
2008-01-30 13:30:33 +01:00
2008-01-30 13:33:19 +01:00
2008-01-30 13:30:31 +01:00
2008-01-30 13:33:25 +01:00
2008-01-30 13:32:40 +01:00
2008-01-30 13:33:24 +01:00
2008-01-30 13:33:23 +01:00
2008-01-30 13:33:53 +01:00
2008-01-30 13:33:23 +01:00
2008-01-30 13:31:52 +01:00
2008-01-30 13:31:52 +01:00
2008-01-30 13:33:49 +01:00
2008-01-30 13:33:33 +01:00
2008-01-30 13:33:24 +01:00
2008-01-30 13:31:42 +01:00
2008-01-30 13:32:39 +01:00
2008-01-30 13:31:10 +01:00