On Tue, 4 Dec 2018 17:06:29 -0500 Collin Walling <walling@xxxxxxxxxxxxx> wrote: > The new s390x instruction, diagnose 318, sets the control program name > code (CPNC) and control program version code (CPVC) to provide useful > information regarding the OS during debugging. The CPNC is explicitly > set to 4 to indicate a Linux/KVM environment. > > The CPVC is a 7-byte value containing: > > - 3-byte Linux version code > - 3-byte unique value, currently set to 0 > - 1-byte trailing null > > Signed-off-by: Collin Walling <walling@xxxxxxxxxxxxx> > Acked-by: Janosch Frank <frankja@xxxxxxxxxxxxx> > Acked-by: Heiko Carstens <heiko.carstens@xxxxxxxxxx> > --- > arch/s390/include/asm/diag.h | 12 ++++++++++++ > arch/s390/include/asm/sclp.h | 1 + > arch/s390/kernel/diag.c | 1 + > arch/s390/kernel/setup.c | 21 +++++++++++++++++++++ > drivers/s390/char/sclp.h | 4 +++- > drivers/s390/char/sclp_early.c | 2 ++ > 6 files changed, 40 insertions(+), 1 deletion(-) Reviewed-by: Cornelia Huck <cohuck@xxxxxxxxxx>