Skip to contentSkip to conversation

xen: fixes for 2.6.30-rc4

PATCH In review Jeremy Fitzhardinge 1 participant 1 message May 7, 2009

lore
Share & tools
lore
#0 lore raw

cover xen: fixes for 2.6.30-rc4

Hi Linus,

This series of patches are bugfixes for Xen for 2.6.30. They are:

xen/x86-64: fix breakpoints and hardware watchpoints xen/x86-64: clean up warnings about IST-using traps
xen: deal with NMI's use of IST too

Fix breakpoints and watchpoints on x86-64. When running native, breakpoints and watchpoints use the IST mechanism to run on a separate interrupt stack. Xen doesn't support this, and just delivers the interrupts normally. These patches special-case the IST-using interrupts we care about under Xen to use a separate trap gate which expects a standard stack layout. The second patch prints warnings if any other IST-using traps arise in the future.

xen/i386: reserve Xen pagetables
xen: reserve Xen start_info rather than e820 reserving

Reserve the Xen-provided pagetables on i386. Previously this was done implicitly because they happened to be in the memory range reserved by something else, but that was cleaned up so we need to do it explicitly. Also, use reserve_early() rather than an e820 reserved region, so there's some documentation in the kernel boot log.

diff stat:

arch/x86/include/asm/traps.h |    2 ++
arch/x86/kernel/entry_64.S   |    4 ++++
arch/x86/xen/enlighten.c     |   36 +++++++++++++++++++++++++++++++++++-
arch/x86/xen/mmu.c           |    5 +++++
arch/x86/xen/setup.c         |    6 +++---
5 files changed, 49 insertions(+), 4 deletions(-)

Thanks,
J