2018-08-27 14:32:32 +00:00
|
|
|
From: Alexandre Belloni <alexandre.belloni@bootlin.com>
|
|
|
|
Date: Wed, 18 Apr 2018 12:51:43 +0200
|
|
|
|
Subject: [PATCH 6/6] ARM: configs: at91: unselect PIT
|
2018-08-31 15:16:36 +00:00
|
|
|
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.18/older/patches-4.18.5-rt3.tar.xz
|
2018-08-27 14:32:32 +00:00
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
|
|
|
|
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
|
|
|
|
---
|
|
|
|
arch/arm/configs/at91_dt_defconfig | 1 +
|
|
|
|
arch/arm/configs/sama5_defconfig | 1 +
|
|
|
|
2 files changed, 2 insertions(+)
|
|
|
|
|
|
|
|
--- a/arch/arm/configs/at91_dt_defconfig
|
|
|
|
+++ b/arch/arm/configs/at91_dt_defconfig
|
|
|
|
@@ -19,6 +19,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
|
|
|
|
--- a/arch/arm/configs/sama5_defconfig
|
|
|
|
+++ b/arch/arm/configs/sama5_defconfig
|
|
|
|
@@ -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
|