Skip to contentSkip to conversation

hexagon: select GENERIC_IRQ_PROBE instead of redefining it

PATCH In review Masahiro Yamada 3 participants 4 messages Feb 15, 2024 – Feb 16, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hexagon: select GENERIC_IRQ_PROBE instead of redefining it

Select GENERIC_IRQ_PROBE, as the other architectures do.

---

 arch/hexagon/Kconfig | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
arch/hexagon/Kconfig +1 -3
index e922026fef09..a8dd2501f39f 100644
@@ -21,6 +21,7 @@ config HEXAGON
 	select HAVE_PERF_EVENTS
 	# GENERIC_ALLOCATOR is used by dma_alloc_coherent()
 	select GENERIC_ALLOCATOR
+	select GENERIC_IRQ_PROBE
 	select GENERIC_IRQ_SHOW
 	select HAVE_ARCH_KGDB
 	select HAVE_ARCH_TRACEHOOK
@@ -60,9 +61,6 @@ config GENERIC_CSUM
 #
 # Use the generic interrupt handling code in kernel/irq/:
 #
-config GENERIC_IRQ_PROBE
-	def_bool y
-
 config GENERIC_HWEIGHT
 	def_bool y
 
Signature · 1 line
2.40.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 3 lines · Masahiro Yamada

Select GENERIC_IRQ_PROBE, as the other architectures do.

Thanks.

Quoted 27 lines

---

 arch/hexagon/Kconfig | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
arch/hexagon/Kconfig +1 -3
index e922026fef09..a8dd2501f39f 100644
@@ -21,6 +21,7 @@ config HEXAGON
 	select HAVE_PERF_EVENTS
 	# GENERIC_ALLOCATOR is used by dma_alloc_coherent()
 	select GENERIC_ALLOCATOR
+	select GENERIC_IRQ_PROBE
 	select GENERIC_IRQ_SHOW
 	select HAVE_ARCH_KGDB
 	select HAVE_ARCH_TRACEHOOK
@@ -60,9 +61,6 @@ config GENERIC_CSUM
 #
 # Use the generic interrupt handling code in kernel/irq/:
 #
-config GENERIC_IRQ_PROBE
-	def_bool y
-
 config GENERIC_HWEIGHT
 	def_bool y
 
Signature · 1 line
#Randy
Acked-by on v1 1/1
#2 lore raw
In reply to Masahiro Yamada
Quoted 45 lines

-----Original Message-----
From: Masahiro Yamada <[email protected]>
Sent: Thursday, February 15, 2024 8:08 AM
To: [email protected]
Cc: Masahiro Yamada <[email protected]>; Brian Cain <[email protected]>; [email protected]; linux- [email protected]
Subject: [PATCH] hexagon: select GENERIC_IRQ_PROBE instead of redefining it

WARNING: This email originated from outside of Qualcomm. Please be wary of any links or attachments, and do not enable macros.

Select GENERIC_IRQ_PROBE, as the other architectures do.

---

 arch/hexagon/Kconfig | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
arch/hexagon/Kconfig +1 -4
index e922026fef09..a8dd2501f39f 100644
@@ -21,6 +21,7 @@ config HEXAGON
        select HAVE_PERF_EVENTS
        # GENERIC_ALLOCATOR is used by dma_alloc_coherent()
        select GENERIC_ALLOCATOR
+       select GENERIC_IRQ_PROBE
        select GENERIC_IRQ_SHOW
        select HAVE_ARCH_KGDB
        select HAVE_ARCH_TRACEHOOK
@@ -60,9 +61,6 @@ config GENERIC_CSUM
 #
 # Use the generic interrupt handling code in kernel/irq/:
 #
-config GENERIC_IRQ_PROBE
-       def_bool y
-
 config GENERIC_HWEIGHT
        def_bool y
 
--
Quoted 1 line

2.40.1

#3 lore raw
Quoted 45 lines · Brian Cain
Quoted 45 lines

-----Original Message-----
From: Masahiro Yamada <[email protected]>
Sent: Thursday, February 15, 2024 8:08 AM
To: [email protected]
Cc: Masahiro Yamada <[email protected]>; Brian Cain <[email protected]>; [email protected]; linux- [email protected]
Subject: [PATCH] hexagon: select GENERIC_IRQ_PROBE instead of redefining it

WARNING: This email originated from outside of Qualcomm. Please be wary of any links or attachments, and do not enable macros.

Select GENERIC_IRQ_PROBE, as the other architectures do.

---

 arch/hexagon/Kconfig | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
arch/hexagon/Kconfig +1 -3
index e922026fef09..a8dd2501f39f 100644
@@ -21,6 +21,7 @@ config HEXAGON
        select HAVE_PERF_EVENTS
        # GENERIC_ALLOCATOR is used by dma_alloc_coherent()
        select GENERIC_ALLOCATOR
+       select GENERIC_IRQ_PROBE
        select GENERIC_IRQ_SHOW
        select HAVE_ARCH_KGDB
        select HAVE_ARCH_TRACEHOOK
@@ -60,9 +61,6 @@ config GENERIC_CSUM
 #
 # Use the generic interrupt handling code in kernel/irq/:
 #
-config GENERIC_IRQ_PROBE
-       def_bool y
-
 config GENERIC_HWEIGHT
        def_bool y
 
Quoted 5 lines
Quoted 2 lines

--
2.40.1

Thanks for the ack.

I will also delete the comment lines above:

#
# Use the generic interrupt handling code in kernel/irq/:
#

BTW, the reason why I submitted this to linux-kbuild ML is I did not see any hexagon pull requests
in the past few years.

(I am doing the same for sparc, alpha as well)

Signature · 2 lines
Best Regards
Masahiro Yamada