[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250403161143.361461-3-marco.crivellari@suse.com>
Date: Thu, 3 Apr 2025 18:11:43 +0200
From: Marco Crivellari <marco.crivellari@...e.com>
To: linux-mips@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: Thomas Bogendoerfer <tsbogend@...ha.franken.de>,
Marco Crivellari <marco.crivellari@...e.com>,
Frederic Weisbecker <frederic@...nel.org>,
Anna-Maria Behnsen <anna-maria@...utronix.de>,
Thomas Gleixner <tglx@...utronix.de>,
Peter Zijlstra <peterz@...radead.org>,
Huacai Chen <chenhuacai@...nel.org>,
"Maciej W . Rozycki" <macro@...am.me.uk>
Subject: [PATCH v7 2/2] MIPS: Move r4k_wait() to .cpuidle.text section
Fix missing .cpuidle.text section assignment for r4k_wait() to correct
backtracing with nmi_backtrace().
Fixes: 97c8580e85cf ("MIPS: Annotate cpu_wait implementations with __cpuidle")
Signed-off-by: Marco Crivellari <marco.crivellari@...e.com>
Signed-off-by: Maciej W. Rozycki <macro@...am.me.uk>
Acked-by: Frederic Weisbecker <frederic@...nel.org>
---
arch/mips/kernel/genex.S | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/mips/kernel/genex.S b/arch/mips/kernel/genex.S
index 46d975d00298..2cf312d9a3b0 100644
--- a/arch/mips/kernel/genex.S
+++ b/arch/mips/kernel/genex.S
@@ -104,6 +104,7 @@ handle_vcei:
__FINIT
+ .section .cpuidle.text,"ax"
/* Align to 32 bytes for the maximum idle interrupt region size. */
.align 5
LEAF(r4k_wait)
--
2.49.0
Powered by blists - more mailing lists