aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/boot
diff options
context:
space:
mode:
authorJuergen Gross <jgross@suse.com>2018-10-10 08:14:54 +0200
committerIngo Molnar <mingo@kernel.org>2018-10-10 10:44:21 +0200
commit357d291ce035d1b757568058f3c9898c60d125b1 (patch)
treee0a54e0bf4d0ab6c622c80c500488f27d4dfb0b5 /arch/x86/boot
parentLinux 4.19-rc7 (diff)
downloadlinux-dev-357d291ce035d1b757568058f3c9898c60d125b1.tar.xz
linux-dev-357d291ce035d1b757568058f3c9898c60d125b1.zip
x86/xen: Fix boot loader version reported for PVH guests
The boot loader version reported via sysfs is wrong in case of the kernel being booted via the Xen PVH boot entry. it should be 2.12 (0x020c), but it is reported to be 2.18 (0x0212). As the current way to set the version is error prone use the more readable variant (2 << 8) | 12. Signed-off-by: Juergen Gross <jgross@suse.com> Cc: <stable@vger.kernel.org> # 4.12 Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: boris.ostrovsky@oracle.com Cc: bp@alien8.de Cc: corbet@lwn.net Cc: linux-doc@vger.kernel.org Cc: xen-devel@lists.xenproject.org Link: http://lkml.kernel.org/r/20181010061456.22238-2-jgross@suse.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/boot')
0 files changed, 0 insertions, 0 deletions