Skip to content

Commit a34d398

Browse files
chenhuacaiThomas Gleixner
authored andcommitted
irqchip: Allow LoongArch irqchip drivers on both 32BIT/64BIT
All LoongArch irqchip drivers are adjusted, allow them to be built on both 32BIT and 64BIT platforms. Co-developed-by: Jiaxun Yang <jiaxun.yang@flygoat.com> Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn> Signed-off-by: Thomas Gleixner <tglx@kernel.org> Link: https://patch.msgid.link/20260113085940.3344837-8-chenhuacai@loongson.cn
1 parent 0370a5e commit a34d398

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

drivers/irqchip/Kconfig

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -706,7 +706,7 @@ config IRQ_LOONGARCH_CPU
706706

707707
config LOONGSON_LIOINTC
708708
bool "Loongson Local I/O Interrupt Controller"
709-
depends on MACH_LOONGSON64
709+
depends on MACH_LOONGSON64 || LOONGARCH
710710
default y
711711
select IRQ_DOMAIN
712712
select GENERIC_IRQ_CHIP
@@ -716,7 +716,6 @@ config LOONGSON_LIOINTC
716716
config LOONGSON_EIOINTC
717717
bool "Loongson Extend I/O Interrupt Controller"
718718
depends on LOONGARCH
719-
depends on MACH_LOONGSON64
720719
default MACH_LOONGSON64
721720
select IRQ_DOMAIN_HIERARCHY
722721
select GENERIC_IRQ_CHIP
@@ -734,15 +733,15 @@ config LOONGSON_HTPIC
734733

735734
config LOONGSON_HTVEC
736735
bool "Loongson HyperTransport Interrupt Vector Controller"
737-
depends on MACH_LOONGSON64
736+
depends on MACH_LOONGSON64 || LOONGARCH
738737
default MACH_LOONGSON64
739738
select IRQ_DOMAIN_HIERARCHY
740739
help
741740
Support for the Loongson HyperTransport Interrupt Vector Controller.
742741

743742
config LOONGSON_PCH_PIC
744743
bool "Loongson PCH PIC Controller"
745-
depends on MACH_LOONGSON64
744+
depends on MACH_LOONGSON64 || LOONGARCH
746745
default MACH_LOONGSON64
747746
select IRQ_DOMAIN_HIERARCHY
748747
select IRQ_FASTEOI_HIERARCHY_HANDLERS
@@ -751,7 +750,7 @@ config LOONGSON_PCH_PIC
751750

752751
config LOONGSON_PCH_MSI
753752
bool "Loongson PCH MSI Controller"
754-
depends on MACH_LOONGSON64
753+
depends on MACH_LOONGSON64 || LOONGARCH
755754
depends on PCI
756755
default MACH_LOONGSON64
757756
select IRQ_DOMAIN_HIERARCHY
@@ -763,7 +762,7 @@ config LOONGSON_PCH_MSI
763762
config LOONGSON_PCH_LPC
764763
bool "Loongson PCH LPC Controller"
765764
depends on LOONGARCH
766-
depends on MACH_LOONGSON64
765+
depends on MACH_LOONGSON64 || LOONGARCH
767766
default MACH_LOONGSON64
768767
select IRQ_DOMAIN_HIERARCHY
769768
help

0 commit comments

Comments
 (0)