Skip to content

Commit

Permalink
arch: arm64: disable ARM_GIC_PHYTIUM_2500 due to build failure
Browse files Browse the repository at this point in the history
The following error occurs despite previous code fixes:

ld: drivers/irqchip/irq-gic-phytium-2500.o: in function
`gic_enable_nmi_support':
./drivers/irqchip/irq-gic-phytium-2500.c:1870:(.init.text+0xf1c):
undefined reference to `gic_nonsecure_priorities'
ld: drivers/irqchip/irq-gic-phytium-2500.o: relocation
R_AARCH64_ADR_PREL_PG_HI21 against symbol `gic_nonsecure_priorities' which
may bind externally can not be used when making a shared object; recompile
with -fPIC
./drivers/irqchip/irq-gic-phytium-2500.c:1870:(.init.text+0xf1c):
dangerous relocation: unsupported relocation
ld: drivers/irqchip/irq-gic-phytium-2500.c:1870:(.init.text+0xf20):
undefined reference to `gic_nonsecure_priorities'
ld: drivers/irqchip/irq-gic-phytium-2500.o:(__jump_table+0x68): undefined
reference to `gic_nonsecure_priorities'
ld: drivers/irqchip/irq-gic-phytium-2500.o:(__jump_table+0xa8): undefined
reference to `gic_nonsecure_priorities'

Disable this driver for now as we would like to ship 6.12 for AArch64 and
this piece of support code is probably seldom used by community users.

Signed-off-by: Mingcong Bai <[email protected]>
  • Loading branch information
MingcongBai committed Jan 2, 2025
1 parent cc7626b commit 74a62d2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion arch/arm64/Kconfig.platforms
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,6 @@ config ARCH_PENSANDO

config ARCH_PHYTIUM
bool "Phytium SoC Family"
select ARM_GIC_PHYTIUM_2500
help
This enables support for Phytium ARMv8 SoC family, including:
- Phytium Server SoC Family
Expand Down

0 comments on commit 74a62d2

Please sign in to comment.