--- zzzz-none-000/linux-4.1.52/arch/arm/Kconfig 2018-05-28 02:26:45.000000000 +0000 +++ bcm63-7530ax-731/linux-4.1.52/arch/arm/Kconfig 2022-03-02 11:37:12.000000000 +0000 @@ -60,7 +60,7 @@ select HAVE_KPROBES if !XIP_KERNEL select HAVE_KRETPROBES if (HAVE_KPROBES) select HAVE_MEMBLOCK - select HAVE_MOD_ARCH_SPECIFIC if ARM_UNWIND + select HAVE_MOD_ARCH_SPECIFIC if ARM_UNWIND || BCM_KF_MISC_BACKPORTS select HAVE_OPROFILE if (HAVE_PERF_EVENTS) select HAVE_OPTPROBES if !THUMB2_KERNEL select HAVE_PERF_EVENTS @@ -758,8 +758,49 @@ help Support for older TI OMAP1 (omap7xx, omap15xx or omap16xx) +config ARCH_BCM63XX + bool "Broadcom 63XX Architecture" + depends on BCM_KF_ARM_BCM963XX + select NO_GENERIC_PCI_IOPORT_MAP + select USE_OF + help + Support for Broadcome 63XX series architecture + endchoice +if BCM_KF_ARM_BCM963XX + +config CPU_LITTLE_ENDIAN + bool "Build little-endian kernel" + +config CPU_BIG_ENDIAN + bool "Build big-endian kernel" + +config BUZZZ + bool "Broadcom BUZZZ Tool Framework" + default n + help + Enable kernel tools framework: event/performance/function call tracing + +config BUZZZ_FUNC + bool "Broadcom BUZZZ Func Tool" + default n + help + Enable Function tracing tool + +config BUZZZ_PMON + bool "Broadcom BUZZZ PMON Tool" + default n + help + Enable performance monitoring tool + +config BUZZZ_KEVT + bool "Broadcom BUZZZ Kernel Event Tracing Tool" + default n + help + Enable Kernel Event Tracing tool +endif + menu "Multiple platform selection" depends on ARCH_MULTIPLATFORM @@ -836,6 +877,10 @@ source "arch/arm/mach-bcm/Kconfig" +if BCM_KF_ARM_BCM963XX +source "arch/arm/plat-bcm63xx/Kconfig" +endif + source "arch/arm/mach-berlin/Kconfig" source "arch/arm/mach-clps711x/Kconfig" @@ -1682,6 +1727,23 @@ config ARCH_WANT_GENERAL_HUGETLB def_bool y +if BCM_KF_MISC_BACKPORTS +config ARM_MODULE_PLTS + bool "Use PLTs to allow module memory to spill over into vmalloc area" + depends on MODULES + help + Allocate PLTs when loading modules so that jumps and calls whose + targets are too far away for their relative offsets to be encoded + in the instructions themselves can be bounced via veneers in the + module's PLT. This allows modules to be allocated in the generic + vmalloc area after the dedicated module memory area has been + exhausted. The modules will use slightly more memory, but after + rounding up to page size, the actual memory footprint is usually + the same. + + Say y if you are getting out of memory errors while loading modules + +endif source "mm/Kconfig" config FORCE_MAX_ZONEORDER @@ -1767,6 +1829,41 @@ help Say Y if you want to run Linux in a Virtual Machine on Xen on ARM. +config AVM_FASTIRQ + bool "embedded fastirq support" + default n + help + This options enables embedded support of fastirq in linux with some restrictions + +config AVM_FASTIRQ_ARCH_ARM_COMMON + bool "fastirq not arm machine dependent" + depends on AVM_FASTIRQ + default n + help + This option chooses the more generic arm architecture implementation instead + of a certain arm plattform implementation + +config AVM_FASTIRQ_DEBUG + bool "protection checking" + depends on AVM_FASTIRQ + default n + help + Some protection checks by fastirq-usage versus linux-os + +config AVM_FASTIRQ_TZ + bool "trustzone" + depends on AVM_FASTIRQ + default n + help + Trustzone support + +config AVM_FASTIRQ_OPTEE + bool "trustzone optee" + depends on AVM_FASTIRQ_TZ + default n + help + Trustzone OPTEE support + endmenu menu "Boot options"