Skip to content

Basic infrastructure patches for a paravirtualized kernel

Jeremy Fitzhardinge lkml virtualization xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 34 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8Remove locally-defined ldt structure in favour of standard type.arch/i386/kernel/reboot.c+4 -80 replies
2/8Implement always-locked bit ops, for memory shared with an SMP hypervisor.include/asm-i386/sync_bitops.h include/asm-i386/system.h+192 -021 replies
3/8Allow a kernel to not be in ring 0.arch/i386/kernel/entry.S arch/i386/kernel/process.c arch/i386/mm/extable.c +3 more+22 -130 replies
4/8Replace sensitive instructions with macros.arch/i386/kernel/entry.S include/asm-i386/spinlock.h+27 -180 replies
5/8Roll all the cpuid asm into one __cpuid call.include/asm-i386/processor.h+34 -400 replies
6/8Make __FIXADDR_TOP variable to allow it to make space for a hypervisor.arch/i386/Kconfig arch/i386/mm/init.c arch/i386/mm/pgtable.c +1 more+75 -10 replies
7/8Add a bootparameter to reserve high linear address space.Documentation/kernel-parameters.txt arch/i386/kernel/setup.c+24 -013 replies
8/8Put .note.* sections into a PT_NOTE segment in vmlinux.arch/i386/kernel/vmlinux.lds.S include/asm-generic/vmlinux.lds.h include/linux/elfnote.h+101 -20 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [patch 0/8] Basic infrastructure patches for a paravirtualized kernel

Hi Andrew,

This series of patches lays the basic ground work for the paravirtualized kernel patches coming later on. I think this lot is ready for the rough-and-tumble world of the -mm tree.

The main change from the last posting is that all the page-table related patches have been moved out, and will be posted separately.

Also, the off-by-one in reserving the top of address space has been fixed.

For the most part, these patches do nothing or very little. The patches should be self explanatory, but the overview is:

Helper functions for later use:
2/8: Implement always-locked bit ops...
8/8: Put .note.* sections into a PT_NOTE segment in vmlinux

Cleanups:
1/8: Remove locally-defined ldt structure in favour of standard type 3/8: Allow a kernel to not be in ring 0
5/8: Roll all the cpuid asm into one __cpuid call

Hooks:
4/8: Replace sensitive instructions with macros 6/8: Make __FIXADDR_TOP variable to allow it to make space... 7/8: Add a bootparameter to reserve high linear address...

8/8 "Put .note.* sections into a PT_NOTE segment in vmlinux" is mostly here to shake out problems early. It slightly changes the way the vmlinux image is linked together, and it uses the somewhat esoteric PHDRS command in vmlinux.lds. I want to make sure that this doesn't provoke any problems in the various binutils people are using.

Thanks,
J