perf: fix invalid bit in diagnostic entry
authorThomas Richter <tmricht@linux.ibm.com>
Tue, 8 May 2018 05:53:39 +0000 (07:53 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 9 May 2018 08:55:00 +0000 (10:55 +0200)
commit3c0a83b14ea71fef5ccc93a3bd2de5f892be3194
treee1e9ed63195f3fe3e8cea05bc8e49ffe68c9a949
parent4bbaf2584b86b0772413edeac22ff448f36351b1
perf: fix invalid bit in diagnostic entry

The s390 CPU measurement facility sampling mode supports basic entries
and diagnostic entries. Each entry has a valid bit to indicate the
status of the entry as valid or invalid.

This bit is bit 31 in the diagnostic entry, but the bit mask definition
refers to bit 30.

Fix this by making the reserved field one bit larger.

Fixes: 7e75fc3ff4cf ("s390/cpum_sf: Add raw data sampling to support the diagnostic-sampling function")
Signed-off-by: Thomas Richter <tmricht@linux.ibm.com>
Reviewed-by: Hendrik Brueckner <brueckner@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/cpu_mf.h