Commit 16dcf922 authored by Wang Yinfeng's avatar Wang Yinfeng Committed by Zheng Zengkai
Browse files

irqchip/gic-phytium-2500: Add support for GIC of Phytium S2500

hulk inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I41AUQ


CVE: NA

-------------------------------------------------

Phytium S2500 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: default avatarWang Yinfeng <wangyinfeng@phytium.com.cn>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
Reviewed-by: default avatarXiongfeng Wang <wangxiongfeng2@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 04890c03
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -199,6 +199,12 @@ config ARCH_MXC
	  This enables support for the ARMv8 based SoCs in the
	  NXP i.MX family.

config ARCH_PHYTIUM
    bool "Phytium SoC Family"
    help
      This enables support for Phytium ARMv8 SoC family.
    select ARM_GIC_PHYTIUM_2500

config ARCH_QCOM
	bool "Qualcomm Platforms"
	select GPIOLIB
+9 −0
Original line number Diff line number Diff line
@@ -56,6 +56,15 @@ config ARM_GIC_V3_ITS_FSL_MC
	depends on FSL_MC_BUS
	default ARM_GIC_V3_ITS

config ARM_GIC_PHYTIUM_2500
    bool
    select IRQ_DOMAIN
    select GENERIC_IRQ_MULTI_HANDLER
    select IRQ_DOMAIN_HIERARCHY
    select PARTITION_PERCPU
    select GENERIC_IRQ_EFFECTIVE_AFF_MASK
    select GENERIC_MSI_IRQ_DOMAIN

config ARM_NVIC
	bool
	select IRQ_DOMAIN_HIERARCHY
+1 −0
Original line number Diff line number Diff line
@@ -34,6 +34,7 @@ obj-$(CONFIG_ARM_GIC_V3) += irq-gic-v3.o irq-gic-v3-mbi.o irq-gic-common.o
obj-$(CONFIG_ARM_GIC_V3_ITS)		+= irq-gic-v3-its.o irq-gic-v3-its-platform-msi.o irq-gic-v4.o
obj-$(CONFIG_ARM_GIC_V3_ITS_PCI)	+= irq-gic-v3-its-pci-msi.o
obj-$(CONFIG_ARM_GIC_V3_ITS_FSL_MC)	+= irq-gic-v3-its-fsl-mc-msi.o
obj-$(CONFIG_ARM_GIC_PHYTIUM_2500) += irq-gic-phytium-2500.o irq-gic-phytium-2500-its.o
obj-$(CONFIG_PARTITION_PERCPU)		+= irq-partition-percpu.o
obj-$(CONFIG_HISILICON_IRQ_MBIGEN)	+= irq-mbigen.o
obj-$(CONFIG_ARM_NVIC)			+= irq-nvic.o
+5524 −0

File added.

Preview size limit exceeded, changes collapsed.

+2503 −0

File added.

Preview size limit exceeded, changes collapsed.

Loading