950-1512-dts-bcm2711-Don-t-mark-timer-regs-unconfigured.patch 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. From d06cb3534b6553a1f76bef2ddaf833e23dc12a4c Mon Sep 17 00:00:00 2001
  2. From: Phil Elwell <[email protected]>
  3. Date: Fri, 10 Jan 2025 15:45:11 +0000
  4. Subject: [PATCH] dts: bcm2711: Don't mark timer regs unconfigured
  5. The DT property arm,cpu-registers-not-fw-configured tells the kernel
  6. that the ARM architectural timer has not been configured by the
  7. firmware. This prevents the use of a vDSO - a faster alternative to a
  8. syscall for some common kernel operations.
  9. However, on Pi 4 the firmware does configure the timer, so this property
  10. is unnecessary. Delete it.
  11. Also remove it from the bcm2712.dtsi where it should never have been,
  12. since it is only relevant to 32-bit ARM kernels.
  13. Signed-off-by: Phil Elwell <[email protected]>
  14. ---
  15. arch/arm/boot/dts/broadcom/bcm2711.dtsi | 2 --
  16. arch/arm64/boot/dts/broadcom/bcm2712.dtsi | 2 --
  17. 2 files changed, 4 deletions(-)
  18. --- a/arch/arm64/boot/dts/broadcom/bcm2712.dtsi
  19. +++ b/arch/arm64/boot/dts/broadcom/bcm2712.dtsi
  20. @@ -741,8 +741,6 @@
  21. IRQ_TYPE_LEVEL_LOW)>,
  22. <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) |
  23. IRQ_TYPE_LEVEL_LOW)>;
  24. - /* This only applies to the ARMv7 stub */
  25. - arm,cpu-registers-not-fw-configured;
  26. };
  27. cpus: cpus {