s390/debug: debug feature version 3
authorMikhail Zaslonko <zaslonko@linux.ibm.com>
Tue, 5 May 2020 08:34:52 +0000 (10:34 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Tue, 11 Aug 2020 16:16:43 +0000 (18:16 +0200)
commit0990d836cecb207071492f5679d5b07b26574205
tree5d5d1e770f7812b043a5bc22058dd68db86053db
parent929a343b858612100cb09443a8aaa20d4a4706d3
s390/debug: debug feature version 3

Change __debug_entry structure in the following way:
 - remove redundant union
 - Field containing cpuid is expanded to 16 bits. 8-bit width was not
   enough since we already support up to 512 cpus.
 - Field containing the timestamp is expanded to 60 bits. The timestamp
   itself is now stored in the absolute Unix time format in microseconds
   taking the Epoch Index into acount.
Adjust default header for debug entries by setting minimum width for cpuid
to 4 digits.

Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Mikhail Zaslonko <zaslonko@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/include/asm/debug.h
arch/s390/kernel/debug.c