Skip to content

Commit 85db73d

Browse files
lyt31WangYuli
authored andcommitted
irqchip/gic-phytium-2500: Add support for GIC of Phytium PS20064
Phytium Ps20064 adjusts the GIC's implementation to support multi-socket system designs. This patch adds the driver of this new implementation while keeping the kernel binary compatible with other ARM servers in the ecosystem. Signed-off-by: Li Yuting <liyuting2071@phytium.com.cn> Signed-off-by: Wang Yinfeng <wangyinfeng@phytium.com.cn> Signed-off-by: Chen Baozi <chenbaozi@phytium.com.cn>
1 parent 7b3c9b3 commit 85db73d

File tree

6 files changed

+8949
-0
lines changed

6 files changed

+8949
-0
lines changed

arch/arm64/Kconfig.platforms

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ config ARCH_NPCM
246246

247247
config ARCH_PHYTIUM
248248
bool "Phytium SoC Family"
249+
select ARM_GIC_PHYTIUM_2500
249250
help
250251
This enables support for Phytium ARMv8 SoC family, including:
251252
- Phytium Server SoC Family

drivers/irqchip/Kconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,12 @@ config ARM_GIC_V3_ITS_FSL_MC
5656
depends on FSL_MC_BUS
5757
default ARM_GIC_V3_ITS
5858

59+
config ARM_GIC_PHYTIUM_2500
60+
bool
61+
select IRQ_DOMAIN_HIERARCHY
62+
select PARTITION_PERCPU
63+
select GENERIC_IRQ_EFFECTIVE_AFF_MASK
64+
5965
config ARM_NVIC
6066
bool
6167
select IRQ_DOMAIN_HIERARCHY

drivers/irqchip/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ obj-$(CONFIG_ARM_GIC_V3) += irq-gic-v3.o irq-gic-v3-mbi.o irq-gic-common.o
3434
obj-$(CONFIG_ARM_GIC_V3_ITS) += irq-gic-v3-its.o irq-gic-v3-its-platform-msi.o irq-gic-v4.o
3535
obj-$(CONFIG_ARM_GIC_V3_ITS_PCI) += irq-gic-v3-its-pci-msi.o
3636
obj-$(CONFIG_ARM_GIC_V3_ITS_FSL_MC) += irq-gic-v3-its-fsl-mc-msi.o
37+
obj-$(CONFIG_ARM_GIC_PHYTIUM_2500) += irq-gic-phytium-2500.o irq-gic-phytium-2500-its.o
3738
obj-$(CONFIG_PARTITION_PERCPU) += irq-partition-percpu.o
3839
obj-$(CONFIG_HISILICON_IRQ_MBIGEN) += irq-mbigen.o
3940
obj-$(CONFIG_ARM_NVIC) += irq-nvic.o

0 commit comments

Comments
 (0)