diff options
author | Nathan Lynch <nathanl@linux.ibm.com> | 2023-03-07 00:33:45 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2023-03-30 15:36:35 +0300 |
commit | af8bc68263b2184e63ee67ca70cecff4636f7901 (patch) | |
tree | 50d0f973be986a800fb159e30a3bd46fb62ccc03 /arch/powerpc/platforms/powermac | |
parent | 32740fce09f98d30f3c71a09ee4e9d90b3965427 (diff) | |
download | linux-af8bc68263b2184e63ee67ca70cecff4636f7901.tar.xz |
powerpc/rtas: lockdep annotations
Add lockdep annotations for the following properties that must hold:
* Any error log retrieval must be atomically coupled with the prior
RTAS call, without a window for another RTAS call to occur before the
error log can be retrieved.
* All users of the core rtas_args parameter block must hold rtas_lock.
Move the definitions of rtas_lock and rtas_args up in the file so that
__do_enter_rtas_trace() can refer to them.
Signed-off-by: Nathan Lynch <nathanl@linux.ibm.com>
Reviewed-by: Andrew Donnellan <ajd@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20230220-rtas-queue-for-6-4-v1-6-010e4416f13f@linux.ibm.com
Diffstat (limited to 'arch/powerpc/platforms/powermac')
0 files changed, 0 insertions, 0 deletions