diff mbox series

powerpc/irq: Mark check_return_regs_valid() notrace

Message ID 20230406122118.3760344-1-mpe@ellerman.id.au (mailing list archive)
State Accepted
Commit e5b6634aa1bcbd43120b2fd6f15780f00e9e7f66
Headers show
Series powerpc/irq: Mark check_return_regs_valid() notrace | expand

Checks

Context Check Description
snowpatch_ozlabs/github-powerpc_ppctests success Successfully ran 8 jobs.
snowpatch_ozlabs/github-powerpc_selftests success Successfully ran 8 jobs.
snowpatch_ozlabs/github-powerpc_sparse success Successfully ran 4 jobs.
snowpatch_ozlabs/github-powerpc_kernel_qemu success Successfully ran 24 jobs.
snowpatch_ozlabs/github-powerpc_clang success Successfully ran 6 jobs.

Commit Message

Michael Ellerman April 6, 2023, 12:21 p.m. UTC
check_return_regs_valid() is called from the middle of the irq exit
handling, which is all notrace, so mark it notrace also.

Rerported-by: Sachin Sant <sachinp@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
---
 arch/powerpc/kernel/interrupt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Michael Ellerman April 26, 2023, 12:01 p.m. UTC | #1
On Thu, 06 Apr 2023 22:21:18 +1000, Michael Ellerman wrote:
> check_return_regs_valid() is called from the middle of the irq exit
> handling, which is all notrace, so mark it notrace also.
> 
> 

Applied to powerpc/next.

[1/1] powerpc/irq: Mark check_return_regs_valid() notrace
      https://git.kernel.org/powerpc/c/e5b6634aa1bcbd43120b2fd6f15780f00e9e7f66

cheers
diff mbox series

Patch

diff --git a/arch/powerpc/kernel/interrupt.c b/arch/powerpc/kernel/interrupt.c
index 0ec1581619db..e34c72285b4e 100644
--- a/arch/powerpc/kernel/interrupt.c
+++ b/arch/powerpc/kernel/interrupt.c
@@ -95,7 +95,7 @@  static notrace void booke_load_dbcr0(void)
 #endif
 }
 
-static void check_return_regs_valid(struct pt_regs *regs)
+static notrace void check_return_regs_valid(struct pt_regs *regs)
 {
 #ifdef CONFIG_PPC_BOOK3S_64
 	unsigned long trap, srr0, srr1;