Skip to content

xen/x86: PVH Dom0 fixes and fallout adjustments

Jan Beulich linuxppc-dev lkml xen-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest9 patches 3 repliesIn review
  2. v19 patches 25 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9xen/x86: prevent PVH type from getting clobberedarch/x86/xen/enlighten.c+4 -50 replies
2/9xen/x86: allow PVH Dom0 without XEN_PV=yarch/x86/include/asm/xen/pci.h arch/x86/pci/xen.c arch/x86/xen/Kconfig +5 more+49 -370 replies
3/9xen/x86: make "earlyprintk=xen" work better for PVH Dom0drivers/tty/hvc/hvc_xen.c+4 -50 replies
4/9xen/x86: allow "earlyprintk=xen" to work for PV Dom0arch/x86/xen/enlighten_pv.c+1 -10 replies
5/9xen/x86: make "earlyprintk=xen" work for HVM/PVH DomUDocumentation/admin-guide/kernel-parameters.txt drivers/tty/hvc/hvc_xen.c+2 -40 replies
6/9xen/x86: generalize preferred console model from PV to PVH Dom0arch/x86/xen/enlighten.c arch/x86/xen/enlighten_pv.c arch/x86/xen/enlighten_pvh.c +1 more+18 -70 replies
7/9xen/x86: hook up xen_banner() also for PVHarch/x86/xen/enlighten.c arch/x86/xen/enlighten_pv.c arch/x86/xen/enlighten_pvh.c +1 more+16 -111 reply
8/9x86/PVH: adjust function/data placementarch/x86/platform/pvh/enlighten.c+6 -60 replies
9/9xen/x86: adjust data placementarch/x86/xen/enlighten.c arch/x86/xen/enlighten_pvh.c+5 -31 reply

Reviews trailers per patch

All 9 patches have a Reviewed-by or Acked-by.

PatchJuergen Gross
1/9R-b
2/9R-b
3/9R-b
4/9R-b
5/9R-b
6/9R-b
7/9R-b
8/9R-b
9/9R-b

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/9] xen/x86: PVH Dom0 fixes and fallout adjustments

In order to try to debug hypervisor side breakage from XSA-378 I found myself urged to finally give PVH Dom0 a try. Sadly things didn't work quite as expected. In the course of investigating these issues I actually spotted one piece of PV Dom0 breakage as well, a fix for which is also included here.

There are one immediate remaining issues: Dom0, unlike in the PV case, cannot access the screen (to use as a console) when in a non-default mode (i.e. not 80x25 text), as the necessary information (in particular about VESA-bases LFB modes) is not communicated. On the hypervisor side this looks like deliberate behavior, but it is unclear to me what the intentions were towards an alternative model. (X may be able to access the screen depending on whether it has a suitable driver besides the presently unusable /dev/fb<N> based one.)

v2 merely addresses small review comments in patches 7 and 9 (see there).

1: xen/x86: prevent PVH type from getting clobbered
2: xen/x86: allow PVH Dom0 without XEN_PV=y
3: xen/x86: make "earlyprintk=xen" work better for PVH Dom0 4: xen/x86: allow "earlyprintk=xen" to work for PV Dom0 5: xen/x86: make "earlyprintk=xen" work for HVM/PVH DomU 6: xen/x86: generalize preferred console model from PV to PVH Dom0 7: xen/x86: hook up xen_banner() also for PVH
8: x86/PVH: adjust function/data placement
9: xen/x86: adjust data placement

Jan