Skip to content

x86: Use BRK to pre mapping page table to make xen happy

Yinghai Lu lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 22 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10x86, mm: align start address to correct big page sizearch/x86/mm/init_32.c arch/x86/mm/init_64.c+4 -20 replies
2/10x86, mm: Use big page size for small memory rangearch/x86/mm/init.c+32 -00 replies
3/10x86, mm: get early page table from BRKarch/x86/include/asm/pgtable.h arch/x86/kernel/setup.c arch/x86/mm/init.c+28 -17 replies
4/10x86, mm: Don't clear page table if next range is ramarch/x86/mm/init_64.c+16 -212 replies
5/10x86, mm: Remove early_memremap workaround for page table accessingarch/x86/mm/init_64.c+4 -340 replies
6/10x86, mm: only keep initial mapping for ramarch/x86/mm/init_64.c+6 -30 replies
7/10x86, xen, mm: Do not need to check if page table is ioremaparch/x86/xen/mmu.c+2 -61 reply
8/10x86, xen, mm: fix mapping_pagetable_reserve logicarch/x86/include/asm/pgtable_types.h arch/x86/include/asm/x86_init.h arch/x86/kernel/x86_init.c +2 more+18 -225 replies
9/10x86, mm: Hide pgt_buf_* into internal to xenarch/x86/include/asm/init.h arch/x86/mm/init.c arch/x86/xen/mmu.c+8 -10 replies
10/10x86, mm: Add early_pgt_buf_*arch/x86/include/asm/init.h arch/x86/mm/init.c arch/x86/mm/init_32.c +1 more+26 -170 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH -v2 00/10] x86: Use BRK to pre mapping page table to make xen happy

on top of tip/x86/mm2

1. use brk to mapping final page table
2. remove early_ioremap in page table accessing.

v1-v2: changes, update xen interface about pagetable_reserve, so not
use pgt_buf_* in xen code directly.

could be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/yinghai/linux-yinghai.git for-x86-mm

Yinghai Lu (10):
x86, mm: align start address to correct big page size x86, mm: Use big page size for small memory range
x86, mm: get early page table from BRK
x86, mm: Don't clear page table if next range is ram x86, mm: Remove early_memremap workaround for page table accessing x86, mm: only keep initial mapping for ram
x86, xen, mm: Do not need to check if page table is ioremap x86, xen, mm: fix mapping_pagetable_reserve logic
x86, mm: Hide pgt_buf_* into internal to xen
x86, mm: Add early_pgt_buf_*

 arch/x86/include/asm/init.h          |    5 ++
 arch/x86/include/asm/pgtable.h       |    1 +
 arch/x86/include/asm/pgtable_types.h |    1 -
 arch/x86/include/asm/x86_init.h      |    2 +-
 arch/x86/kernel/setup.c              |    2 +
 arch/x86/kernel/x86_init.c           |    3 +-
 arch/x86/mm/init.c                   |   73 ++++++++++++++++++++++++---
 arch/x86/mm/init_32.c                |    9 +++-
 arch/x86/mm/init_64.c                |   91 ++++++++++++----------------------
 arch/x86/xen/mmu.c                   |   26 +++------
 10 files changed, 125 insertions(+), 88 deletions(-)
Signature · 1 line
1.7.7