]> git.baikalelectronics.ru Git - kernel.git/commit
xen/x86: hook up xen_banner() also for PVH
authorJan Beulich <jbeulich@suse.com>
Thu, 30 Sep 2021 12:19:48 +0000 (14:19 +0200)
committerJuergen Gross <jgross@suse.com>
Tue, 5 Oct 2021 06:36:14 +0000 (08:36 +0200)
commit3167ad93a11894c978ce76a87b3acaa1b3f3f2b2
tree41634f3a9a81c645d1cf8d2ec45268e314e6ec02
parentc75e1740735c5dbcb6a3b25df851c9ed08f7eea2
xen/x86: hook up xen_banner() also for PVH

This was effectively lost while dropping PVHv1 code. Move the function
and arrange for it to be called the same way as done in PV mode. Clearly
this then needs re-introducing the XENFEAT_mmu_pt_update_preserve_ad
check that was recently removed, as that's a PV-only feature.

Since the string pointed at by pv_info.name describes the mode, drop
"paravirtualized" from the log message while moving the code.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Link: https://lore.kernel.org/r/de03054d-a20d-2114-bb86-eec28e17b3b8@suse.com
Signed-off-by: Juergen Gross <jgross@suse.com>
arch/x86/xen/enlighten.c
arch/x86/xen/enlighten_pv.c
arch/x86/xen/enlighten_pvh.c
arch/x86/xen/xen-ops.h