Skip to content

fix xen hvm guest with kaslr enabled

Juergen Gross lkml xen-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/23 patches 9 repliesIn review
  2. v2 posting 1/20 of 3 patches 0 repliesSuperseded
  3. v13 patches 8 repliesSuperseded

Changes in v2 from the cover letter

- patch 1: test for x86_hyper being not NULL

Patches in v2 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3x86: provide an init_mem_mapping hypervisor hookarch/x86/include/asm/hypervisor.h arch/x86/mm/init.c+13 -00 replies
1/3x86: provide an init_mem_mapping hypervisor hookarch/x86/include/asm/hypervisor.h arch/x86/mm/init.c+13 -00 replies
2/3xen: split up xen_hvm_init_shared_info()arch/x86/xen/enlighten_hvm.c+24 -210 replies
2/3xen: split up xen_hvm_init_shared_info()arch/x86/xen/enlighten_hvm.c+24 -210 replies
3/3xen: fix hvm guest with kaslr enabledarch/x86/xen/enlighten_hvm.c+14 -20 replies
3/3xen: fix hvm guest with kaslr enabledarch/x86/xen/enlighten_hvm.c+14 -22 replies

Reviews trailers per patch

None of the 6 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchBoris OstrovskyIngo Molnar
SeriesR-b A-b A-b
1/3
1/3
2/3
2/3
3/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] fix xen hvm guest with kaslr enabled

This patch series fixes a regression introduced in 4.13-rc1: A Xen HVM guest with KASLR enabled wouldn't boot any longer due to the usage of __va() before kernel_randomize_memory() was called.

Changes in V2:
- patch 1: test for x86_hyper being not NULL

Juergen Gross (3):
x86: provide an init_mem_mapping hypervisor hook
xen: split up xen_hvm_init_shared_info()
xen: fix hvm guest with kaslr enabled

 arch/x86/include/asm/hypervisor.h | 10 +++++++
 arch/x86/mm/init.c                |  3 ++
 arch/x86/xen/enlighten_hvm.c      | 59 ++++++++++++++++++++++++---------------
 3 files changed, 50 insertions(+), 22 deletions(-)
Signature · 1 line
2.12.3