Skip to content

x86_32: Construct 32 bit boot time page tables in native format.

Ian Campbell lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 3 patches 0 repliesNew

Changes since v1 from the cover letter

- Grabbed Eric's patches for enabling PAE in head_32.S -- I think they are cleaner than what I had.
- Use native_* accessors instead of #undef CONFIG_PARAVIRT. This approach seem cleaner and also allows the code to live in init_32.c instead of creating a new file.
- Ensure we map enough pages to create a full 4G mapping of lowmem. This now includes the space for the initial page tables rather than being in addition too.
- Continue to map extra pages for CONFIG_DEBUG_PAGEALLOC and some extra pages for slack, per the original assembly code.

Patches in v1 No applies recorded yet

None of the 3 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [0/3] x86_32: Construct 32 bit boot time page tables in native format.

The following patches change x86_32 to use native format for the boot time page tables. The first two are taken directly from Eric Biederman's older patch series
http://marc.info/?l=linux-kernel&m=117794868309910&w=2 and
http://marc.info/?l=linux-kernel&m=117794868819193&w=2 while the final patch is http://marc.info/?l=linux-kernel&m=117795243926186&w=2
updated for the current tree (much of it was already in, the rest has been extensively modified).

Changes since v1:
- Grabbed Eric's patches for enabling PAE in head_32.S -- I think they are cleaner than what I had.
- Use native_* accessors instead of #undef CONFIG_PARAVIRT. This approach seem cleaner and also allows the code to live in init_32.c instead of creating a new file.
- Ensure we map enough pages to create a full 4G mapping of lowmem. This now includes the space for the initial page tables rather than being in addition too.
- Continue to map extra pages for CONFIG_DEBUG_PAGEALLOC and some extra pages for slack, per the original assembly code.

Cheers,
Ian.

Cc Thomas Gleixner <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc H. Peter Anvin <[email protected]>
Cc Eric W. Biederman <[email protected]>
Cc Andi Kleen <[email protected]>
Cc Mika Penttilä <[email protected]>