Skip to contentSkip to conversation

AArch64 Linux kernel port

PATCH Superseded Catalin Marinas 19 participants 170 messages Aug 14, 2012 – Sep 16, 2012 Page 2 of 2

Subsystems (15)

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
Acked-by on v2 30/31
#165 lore raw

Re: [PATCH v2 30/31] arm64: Build infrastructure

In reply to Catalin Marinas
Quoted 21 lines · Catalin Marinas
arch/arm64/Kconfig new file +18 -0
@@ -0,0 +1,261 @@
+config ARM64
+	def_bool y
+	select OF
+	select OF_EARLY_FLATTREE
+	select IRQ_DOMAIN
+	select HAVE_AOUT
+	select HAVE_DMA_ATTRS
+	select HAVE_DMA_API_DEBUG
+	select HAVE_IDE
+	select HAVE_MEMBLOCK
+	select RTC_LIB
+	select SYS_SUPPORTS_APM_EMULATION
+	select HAVE_GENERIC_DMA_COHERENT
+	select GENERIC_IOMAP
+	select HAVE_IRQ_WORK
+	select HAVE_PERF_EVENTS
+	select HAVE_ARCH_TRACEHOOK
+	select PERF_USE_VMALLOC

arch/arm64/Kconfig line 28

Quoted 10 lines
arch/arm64/Kconfig new file +10 -0
+	select HAVE_HW_BREAKPOINT if PERF_EVENTS
+	select HAVE_GENERIC_HARDIRQS
+	select GENERIC_HARDIRQS_NO_DEPRECATED
+	select HAVE_SPARSE_IRQ
+	select SPARSE_IRQ
+	select GENERIC_IRQ_SHOW
+	select GENERIC_SMP_IDLE_THREAD
+	select NO_BOOTMEM
+	help
+	  ARM 64-bit (AArch64) Linux support.

Anything we should select here for ARM generic timers and interrupts assuming we can always expect to boot using those?

Other than that:

author maintainer
#166 lore raw

Re: [PATCH v2 30/31] arm64: Build infrastructure

Quoted 27 lines · Tony Lindgren
Quoted 26 lines · Catalin Marinas
arch/arm64/Kconfig new file +23 -0
@@ -0,0 +1,261 @@
+config ARM64
+	def_bool y
+	select OF
+	select OF_EARLY_FLATTREE
+	select IRQ_DOMAIN
+	select HAVE_AOUT
+	select HAVE_DMA_ATTRS
+	select HAVE_DMA_API_DEBUG
+	select HAVE_IDE
+	select HAVE_MEMBLOCK
+	select RTC_LIB
+	select SYS_SUPPORTS_APM_EMULATION
+	select HAVE_GENERIC_DMA_COHERENT
+	select GENERIC_IOMAP
+	select HAVE_IRQ_WORK
+	select HAVE_PERF_EVENTS
+	select HAVE_ARCH_TRACEHOOK
+	select PERF_USE_VMALLOC
+	select HAVE_HW_BREAKPOINT if PERF_EVENTS
+	select HAVE_GENERIC_HARDIRQS
+	select GENERIC_HARDIRQS_NO_DEPRECATED
+	select HAVE_SPARSE_IRQ
+	select SPARSE_IRQ
Quoted 8 lines

arch/arm64/Kconfig line 28

Quoted 5 lines
arch/arm64/Kconfig new file +5 -0
+	select GENERIC_IRQ_SHOW
+	select GENERIC_SMP_IDLE_THREAD
+	select NO_BOOTMEM
+	help
+	  ARM 64-bit (AArch64) Linux support.

Anything we should select here for ARM generic timers and interrupts assuming we can always expect to boot using those?

There is an entry in drivers/clocksource/Kconfig:

config CLKSRC_ARM_GENERIC
def_bool y if ARM64

I will have something similar for the GIC but the model does not currently support GICv3 to be able to test. I'll publish a branch with example SoC code (for the model) and that adds GIC support into drivers/irqchip/ with the address information from FDT. The per-CPU GIC initialisation is done via a CPU notifier to decouple this from the SoC code (I think even on 32-bit ARM it could be done in the same way, gic_secondary_init() always takes 0 as argument.

Signature · 1 line
Catalin
author maintainer
#167 lore raw

PATCH v2 31/31 arm64: MAINTAINERS update

In reply to Catalin Marinas

This patch updates the MAINTAINERS file for the AArch64 Linux kernel port.

---
 MAINTAINERS |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
MAINTAINERS +6 -0
index 94b823f..6d7c5f4 100644
@@ -1204,6 +1204,12 @@ S:	Maintained
 F:	arch/arm/mach-pxa/z2.c
 F:	arch/arm/mach-pxa/include/mach/z2.h
 
+ARM64 PORT (AARCH64 ARCHITECTURE)
+M:	Catalin Marinas <[email protected]>
+L:	[email protected] (moderated for non-subscribers)
+S:	Maintained
+F:	arch/arm64/
+
 ASC7621 HARDWARE MONITOR DRIVER
 M:	George Joseph <[email protected]>
 L:	[email protected]
Acked-by on the v2 series
#169 lore raw
In reply to Catalin Marinas
Quoted 3 lines · Catalin Marinas

This is the 2nd version of the set of patches implementing Linux kernel support for the 64-bit ARM architecture (AArch64). Thanks to all who provided feedback on the previous version.

I've looked at these patches mostly from supporting SoCs point of view and made few minor comments. It's nice to see that at least so far I did not spot mutually exlusive #ifdef else stuff that's been causing major issues supporting multiple SoCs with the current ARMs :) So all these patches, feel free to add: