s390/cio: export CMG value as decimal
authorPeter Oberparleiter <oberpar@linux.ibm.com>
Fri, 18 Aug 2023 13:11:18 +0000 (15:11 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Wed, 25 Oct 2023 13:08:29 +0000 (15:08 +0200)
commitf48781d220ee6bb59816383237bf0abd1c65c493
tree45919535f8e71bb9d06b89f45b986b68ee465942
parentf139a7a2f88190ef28162d3e485324bab8a4e12e
s390/cio: export CMG value as decimal

Change format of the "cmg" sysfs attribute from hex to decimal to
make it easier to consume. Note that this should not break any existing
users since only values 2 and 3 are currently exported. Also the main
user already assumes decimal notation [1].

[1] https://sourceforge.net/p/sblim/gather/ci/master/tree/plugin/metriczCH.c

Reviewed-by: Vineeth Vijayan <vneethv@linux.ibm.com>
Signed-off-by: Peter Oberparleiter <oberpar@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
drivers/s390/cio/chp.c