commit | db17160dce4ffe4d5bd70b58ee94f398ef9cabb1 | [log] [tgz] |
---|---|---|
author | Hendrik Brueckner <brueckner@linux.vnet.ibm.com> | Mon Feb 13 12:32:17 2017 +0100 |
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | Fri Mar 31 07:53:29 2017 +0200 |
tree | 8b74542d7b9a99539fc308118174660f55f979cd | |
parent | 20ba46da369e239aa454cc57d0c7e33d51a8de51 [diff] |
s390/cpum_cf: cleanup event/counter validation The validate_event() function just checked for reserved counters in particular CPU-MF counter sets. Because the number of counters in counter sets vary among different hardware models, remove the explicit check to tolerate new models. Reserved counters are not accounted and, thus, will return zero. Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>