arm64: entry: remove test_irqs_unmasked macro
Mark Rutland
reviewerPATCH 1/1 arm64: entry: remove test_irqs_unmasked macro
We haven't needed the test_irqs_unmasked macro since commit:
105fc3352077bba5 ("arm64: entry: move el1 irq/nmi logic to C")
... and as we convert more of the entry logic to C it is decreasingly likely we'll need it in future, so let's remove the unused macro.
There should be no functional change as a result of this patch.
--- arch/arm64/kernel/entry.S | 14 -------------- 1 file changed, 14 deletions(-)
arch/arm64/kernel/entry.S +0 -14
@@ -499,20 +499,6 @@ tsk .req x28 // current thread_info irq_stack_exit .endm -#ifdef CONFIG_ARM64_PSEUDO_NMI - /* - * Set res to 0 if irqs were unmasked in interrupted context. - * Otherwise set res to non-0 value. - */ - .macro test_irqs_unmasked res:req, pmr:req -alternative_if ARM64_HAS_IRQ_PRIO_MASKING - sub \res, \pmr, #GIC_PRIO_IRQON -alternative_else - mov \res, xzr -alternative_endif - .endm -#endif - .macro gic_prio_kentry_setup, tmp:req #ifdef CONFIG_ARM64_PSEUDO_NMI alternative_if ARM64_HAS_IRQ_PRIO_MASKING
Signature · 7 lines
2.11.0 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Quoted 8 lines · Mark Rutland
We haven't needed the
test_irqs_unmaskedmacro since commit:
105fc3352077bba5("arm64: entry: move el1 irq/nmi logic to C")... and as we convert more of the entry logic to C it is decreasingly likely we'll need it in future, so let's remove the unused macro.
Quoted 7 lines
There should be no functional change as a result of this patch.
Signed-off-by Mark Rutland <[email protected]>Cc Catalin marinas <[email protected]>Cc James Morse <[email protected]>Cc Marc Zyngier <[email protected]>Cc Will Deacon <[email protected]>
M.
Signature · 6 lines
Without deviation from the norm, progress is not possible. _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Quoted 9 lines · Mark Rutland
We haven't needed the
test_irqs_unmaskedmacro since commit:
105fc3352077bba5("arm64: entry: move el1 irq/nmi logic to C")... and as we convert more of the entry logic to C it is decreasingly likely we'll need it in future, so let's remove the unused macro.
There should be no functional change as a result of this patch.
Quoted 8 lines
Signed-off-by Mark Rutland <[email protected]>Cc Catalin marinas <[email protected]>Cc James Morse <[email protected]>Cc Marc Zyngier <[email protected]>Cc Will Deacon <[email protected]>--- arch/arm64/kernel/entry.S | 14 -------------- 1 file changed, 14 deletions(-)
Will
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Quoted 8 lines · Mark Rutland
We haven't needed the
test_irqs_unmaskedmacro since commit:
105fc3352077bba5("arm64: entry: move el1 irq/nmi logic to C")... and as we convert more of the entry logic to C it is decreasingly likely we'll need it in future, so let's remove the unused macro.
[...]
Applied to arm64 (for-next/misc), thanks!
[1/1] arm64: entry: remove test_irqs_unmasked macro
https://git.kernel.org/arm64/c/9eef29d8c31b
Signature · 7 lines
Catalin _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel