powerpc/fadump: invoke ibm,os-term with rtas_call_unlocked()
authorHari Bathini <hbathini@linux.ibm.com>
Fri, 9 Jun 2023 07:14:04 +0000 (12:44 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 18 Aug 2023 10:25:52 +0000 (20:25 +1000)
commitb949ee6801f4a47ae0e02845242c99af351c4d26
treefd0f729ec47e24ac363ec9696ccf83741bd8eaee
parent701ca3657d5d489add2bedce0c31938e521c7913
powerpc/fadump: invoke ibm,os-term with rtas_call_unlocked()

Invoke ibm,os-term call with rtas_call_unlocked(), without using the
RTAS spinlock, to avoid deadlock in the unlikely event of a machine
crash while making an RTAS call.

Signed-off-by: Hari Bathini <hbathini@linux.ibm.com>
Reviewed-by: Mahesh Salgaonkar <mahesh@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20230609071404.425529-1-hbathini@linux.ibm.com
arch/powerpc/kernel/rtas.c