Skip to contentSkip to conversation

ARM: configs: at91: unselect PIT

PATCH In review Alexandre Belloni 3 participants 3 messages Oct 9, 2019 – Oct 10, 2019

Subsystems (2)
lore
Share & tools
lore

Alexandre Belloni

author maintainer
#0 lore raw

PATCH 1/1 ARM: configs: at91: unselect PIT

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.

---
 arch/arm/configs/at91_dt_defconfig | 1 +
 arch/arm/configs/sama5_defconfig   | 1 +
 2 files changed, 2 insertions(+)
arch/arm/configs/at91_dt_defconfig +1 -0
index 63d09e61b6dc..7e5ffdab47da 100644
@@ -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
arch/arm/configs/sama5_defconfig +1 -0
index 7255709d46ea..ee7db6cedaa6 100644
@@ -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
Signature · 1 line
2.21.0
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 5 lines · Alexandre Belloni

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.

Quoted 30 lines
---
  arch/arm/configs/at91_dt_defconfig | 1 +
  arch/arm/configs/sama5_defconfig   | 1 +
  2 files changed, 2 insertions(+)
arch/arm/configs/at91_dt_defconfig +1 -0
index 63d09e61b6dc..7e5ffdab47da 100644
@@ -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
arch/arm/configs/sama5_defconfig +1 -0
index 7255709d46ea..ee7db6cedaa6 100644
@@ -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
Signature · 1 line
Nicolas Ferre
Acked-by on v1 1/1
#2 lore raw
In reply to Alexandre Belloni

Am Mittwoch, 9. Oktober 2019, 21:48:14 CEST schrieb Alexandre Belloni:

Quoted 5 lines

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.

Quoted 30 lines
---
 arch/arm/configs/at91_dt_defconfig | 1 +
 arch/arm/configs/sama5_defconfig   | 1 +
 2 files changed, 2 insertions(+)
(quoted diff) +0 -0

b/arch/arm/configs/at91_dt_defconfig index 63d09e61b6dc..7e5ffdab47da 100644

arch/arm/configs/at91_dt_defconfig +1 -0
@@ -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
(quoted diff) +0 -0

b/arch/arm/configs/sama5_defconfig index 7255709d46ea..ee7db6cedaa6 100644

arch/arm/configs/sama5_defconfig +1 -0
@@ -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