]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: configs: at91: unselect PIT
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 9 Oct 2019 19:48:14 +0000 (21:48 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 14 Oct 2019 15:05:25 +0000 (17:05 +0200)
The PIT is not required anymore to successfully boot and may actually harm
in case preempt-rt is used because the PIT interrupt is shared.
Disable it so the TCB clocksource is used.

Link: https://lore.kernel.org/r/20191009194814.15034-1-alexandre.belloni@bootlin.com
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Acked-by: Alexander Dahl <ada@thorsis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
arch/arm/configs/at91_dt_defconfig
arch/arm/configs/sama5_defconfig

index 309c55a8d107dfe2debeed3ad73a7b6b48893a14..3729a6e0ee24c9b82a518112a38ee53ace32c4a2 100644 (file)
@@ -18,6 +18,7 @@ CONFIG_ARCH_MULTI_V5=y
 CONFIG_ARCH_AT91=y
 CONFIG_SOC_AT91RM9200=y
 CONFIG_SOC_AT91SAM9=y
+# CONFIG_ATMEL_CLOCKSOURCE_PIT is not set
 CONFIG_AEABI=y
 CONFIG_UACCESS_WITH_MEMCPY=y
 CONFIG_ZBOOT_ROM_TEXT=0x0
index ef785340e6f8de6ae4f64ffc8ecb078dd890df9b..27f6135c4ee73dc23e3b213582e426e833d5aafe 100644 (file)
@@ -20,6 +20,7 @@ CONFIG_ARCH_AT91=y
 CONFIG_SOC_SAMA5D2=y
 CONFIG_SOC_SAMA5D3=y
 CONFIG_SOC_SAMA5D4=y
+# CONFIG_ATMEL_CLOCKSOURCE_PIT is not set
 CONFIG_AEABI=y
 CONFIG_UACCESS_WITH_MEMCPY=y
 CONFIG_ZBOOT_ROM_TEXT=0x0