summaryrefslogtreecommitdiff
path: root/target/arm
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2025-01-06 00:47:10 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2025-01-07 10:37:12 +0100
commitf64b525f4f654ef0f41f45c3af2d6ee1ffcc8b63 (patch)
tree2d57bd0c54b40cc1866d04d4eebe86069a79079d /target/arm
parentbe735c88debdd1e3207af9c403e3c594798a3944 (diff)
target: linux: config: Set COMPAT_32BIT_TIME on 32bit architectures
Without it, on these architectures 'lvm pvscan' will busy-loop printing: | io_getevents failed: No such file or directory The symbol is defined in kernel's arch/Kconfig with 'default !64BIT || COMPAT'. Introduce Config.in.compat which has the symbol default to y unless a known 64bit ADK_TARGET_ARCH is enabled. Drop the symbol from all target/*/kernel/* for which the default applies. On 64bit systems, enabling this symbol is probably useful to provide comaptibility towards 32bit user space. Not sure if this is a possible choice in OpenADK, but just in case the symbol was not removed from: - target/aarch64/kernel/raspberry-pi4-64 - target/mips64/kernel/qemu-mips64 - target/riscv64/kernel/qemu-riscv64 Another case is targets explicitly having the symbol disabled, namely kvx. Given that the two kernel configs in question are full copies of the kernel-generated one, they are likely not a deliberate choice and thus removed as well. Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'target/arm')
-rw-r--r--target/arm/kernel/banana-p2-zero1
-rw-r--r--target/arm/kernel/qemu-arm-realview-eb-mpcore1
-rw-r--r--target/arm/kernel/qemu-arm-spitz1
-rw-r--r--target/arm/kernel/qemu-arm-terrier1
-rw-r--r--target/arm/kernel/qemu-arm-versatilepb1
-rw-r--r--target/arm/kernel/qemu-arm-vexpress-a91
-rw-r--r--target/arm/kernel/raspberry-pi41
-rw-r--r--target/arm/kernel/solidrun-imx61
-rw-r--r--target/arm/kernel/st-stm32f746g1
9 files changed, 0 insertions, 9 deletions
diff --git a/target/arm/kernel/banana-p2-zero b/target/arm/kernel/banana-p2-zero
index 586bc605a..acd35737e 100644
--- a/target/arm/kernel/banana-p2-zero
+++ b/target/arm/kernel/banana-p2-zero
@@ -37,7 +37,6 @@ CONFIG_ARCH_WANT_DEFAULT_TOPDOWN_MMAP_LAYOUT=y
CONFIG_CLONE_BACKWARDS=y
CONFIG_OLD_SIGSUSPEND3=y
CONFIG_OLD_SIGACTION=y
-CONFIG_COMPAT_32BIT_TIME=y
CONFIG_HAVE_ARCH_VMAP_STACK=y
CONFIG_VMAP_STACK=y
CONFIG_ARCH_OPTIONAL_KERNEL_RWX=y
diff --git a/target/arm/kernel/qemu-arm-realview-eb-mpcore b/target/arm/kernel/qemu-arm-realview-eb-mpcore
index acd059cc8..9f967f4f2 100644
--- a/target/arm/kernel/qemu-arm-realview-eb-mpcore
+++ b/target/arm/kernel/qemu-arm-realview-eb-mpcore
@@ -16,4 +16,3 @@ CONFIG_KUSER_HELPERS=y
CONFIG_ATAGS=y
CONFIG_CMDLINE="console=ttyAMA0 mem=128M"
CONFIG_CMDLINE_FROM_BOOTLOADER=y
-CONFIG_COMPAT_32BIT_TIME=y
diff --git a/target/arm/kernel/qemu-arm-spitz b/target/arm/kernel/qemu-arm-spitz
index 259028d95..09a1d76ff 100644
--- a/target/arm/kernel/qemu-arm-spitz
+++ b/target/arm/kernel/qemu-arm-spitz
@@ -44,4 +44,3 @@ CONFIG_SERIAL_PXA_NON8250=y
CONFIG_SERIAL_PXA_CONSOLE=y
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
-CONFIG_COMPAT_32BIT_TIME=y
diff --git a/target/arm/kernel/qemu-arm-terrier b/target/arm/kernel/qemu-arm-terrier
index 4a947ea14..e8a01e232 100644
--- a/target/arm/kernel/qemu-arm-terrier
+++ b/target/arm/kernel/qemu-arm-terrier
@@ -44,4 +44,3 @@ CONFIG_SERIAL_PXA_NON8250=y
CONFIG_SERIAL_PXA_CONSOLE=y
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
-CONFIG_COMPAT_32BIT_TIME=y
diff --git a/target/arm/kernel/qemu-arm-versatilepb b/target/arm/kernel/qemu-arm-versatilepb
index 148fda569..8c08abdc7 100644
--- a/target/arm/kernel/qemu-arm-versatilepb
+++ b/target/arm/kernel/qemu-arm-versatilepb
@@ -15,4 +15,3 @@ CONFIG_PLAT_VERSATILE_SCHED_CLOCK=y
CONFIG_PLAT_VERSATILE=y
CONFIG_VECTORS_BASE=0x00000000
CONFIG_PHYS_OFFSET=0x00000000
-CONFIG_COMPAT_32BIT_TIME=y
diff --git a/target/arm/kernel/qemu-arm-vexpress-a9 b/target/arm/kernel/qemu-arm-vexpress-a9
index b3953ad10..170965e9b 100644
--- a/target/arm/kernel/qemu-arm-vexpress-a9
+++ b/target/arm/kernel/qemu-arm-vexpress-a9
@@ -13,7 +13,6 @@ CONFIG_ARM_THUMB=y
CONFIG_ARM_VIRT_EXT=y
CONFIG_SWP_EMULATE=y
CONFIG_KUSER_HELPERS=y
-CONFIG_COMPAT_32BIT_TIME=y
CONFIG_ARM_AMBA=y
CONFIG_MFD_CORE=y
CONFIG_MFD_SYSCON=y
diff --git a/target/arm/kernel/raspberry-pi4 b/target/arm/kernel/raspberry-pi4
index 77c23a997..04b7aadff 100644
--- a/target/arm/kernel/raspberry-pi4
+++ b/target/arm/kernel/raspberry-pi4
@@ -25,7 +25,6 @@ CONFIG_RASPBERRYPI_FIRMWARE=y
CONFIG_CLK_BCM2711_DVP=y
CONFIG_CLK_BCM2835=y
CONFIG_CLK_RASPBERRYPI=y
-CONFIG_COMPAT_32BIT_TIME=y
CONFIG_SERIAL_DEV_BUS=y
CONFIG_GPIO_CDEV=y
CONFIG_GPIO_CDEV_V1=y
diff --git a/target/arm/kernel/solidrun-imx6 b/target/arm/kernel/solidrun-imx6
index 801f1d1b7..3289ef4e7 100644
--- a/target/arm/kernel/solidrun-imx6
+++ b/target/arm/kernel/solidrun-imx6
@@ -21,7 +21,6 @@ CONFIG_ZBOOT_ROM_TEXT=0x0
CONFIG_ZBOOT_ROM_BSS=0x0
CONFIG_ATAGS_PROC=y
CONFIG_AUTO_ZRELADDR=y
-CONFIG_COMPAT_32BIT_TIME=y
CONFIG_MXC_TZIC=y
CONFIG_MXC_AVIC=y
diff --git a/target/arm/kernel/st-stm32f746g b/target/arm/kernel/st-stm32f746g
index 7c8375059..a156d2bff 100644
--- a/target/arm/kernel/st-stm32f746g
+++ b/target/arm/kernel/st-stm32f746g
@@ -25,4 +25,3 @@ CONFIG_DMADEVICES=y
CONFIG_STM32_DMA=y
CONFIG_STM32_DMAMUX=y
CONFIG_STM32_MDMA=y
-CONFIG_COMPAT_32BIT_TIME=y