]> www.infradead.org Git - users/jedix/linux-maple.git/commit
s390/pai: rework paiXXX_start and paiXXX_stop functions
authorThomas Richter <tmricht@linux.ibm.com>
Wed, 15 Nov 2023 10:04:25 +0000 (11:04 +0100)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Fri, 12 Jan 2024 13:23:26 +0000 (14:23 +0100)
commitcb1259b7b574bd90ef22dac2c6282327cdae31c6
tree64f23331e816fa5262e1c8f14fdebfde2f0dd481
parent0578a54110ff28dc2b3830e90ad2dd9c1e065e90
s390/pai: rework paiXXX_start and paiXXX_stop functions

The PAI crypto counter and PAI NNPA counters start and stop functions
are streamlined. Move the conditions to invoke start and stop functions
to its respective function body and call them unconditionally.
The start and stop functions now determine how to proceed.
No functional change.

Signed-off-by: Thomas Richter <tmricht@linux.ibm.com>
Acked-by: Mete Durlu <meted@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
arch/s390/kernel/perf_pai_crypto.c
arch/s390/kernel/perf_pai_ext.c