AArch64 Linux kernel port
Subsystems (15)
Re: [PATCH v2 30/31] arm64: Build infrastructure
In reply to Catalin MarinasQuoted 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:
Catalin Marinas
maintainerRe: [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
Catalin Marinas
maintainerPATCH v2 31/31 arm64: MAINTAINERS update
In reply to Catalin MarinasThis patch updates the MAINTAINERS file for the AArch64 Linux kernel port.
--- MAINTAINERS | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)
MAINTAINERS +6 -0
@@ -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]
Re: [PATCH v2 31/31] arm64: MAINTAINERS update
Quoted 5 lines · Catalin Marinas
This patch updates the
MAINTAINERSfile for the AArch64 Linux kernel port.Signed-off-by Catalin Marinas <[email protected]>
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: