[B][SRU][PATCH 0/1] s390/early: improve machine detection

Po-Hsu Lin po-hsu.lin at canonical.com
Mon May 27 06:39:30 UTC 2019

== Justification ==
The s390x early machine detection code check will set all the uknown
hypervisors to z/VM, this will cause crash for any non KVM, z/VM

== Fixes ==
03aa047e (s390/early: improve machine detection)
Patch can be cherry-picked into Bionic kernel.

Instead of setting all the other hypervisors to z/VM, it will only set
MACHINE_FLAG_VM if it matches the case.

== Tests ==
A test kernel could be found here:

Boot tested on a s390x KVM node and verified by IBM as well.

== Regression Potential ==
Low, this just improves the detection logic and the changes are
specific to s390x.

Christian Borntraeger (1):
  s390/early: improve machine detection

 arch/s390/kernel/early.c | 4 ++--
 arch/s390/kernel/setup.c | 2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)


More information about the kernel-team mailing list