Skip to content

Commit

Permalink
dts: bcm2711: Don't mark timer regs unconfigured
Browse files Browse the repository at this point in the history
The DT property arm,cpu-registers-not-fw-configured tells the kernel
that the ARM architectural timer has not been configured by the
firmware. This prevents the use of a vDSO - a faster alternative to a
syscall for some common kernel operations.

However, on Pi 4 the firmware does configure the timer, so this property
is unnecessary. Delete it.

Also remove it from the bcm2712.dtsi where it should never have been,
since it is only relevant to 32-bit ARM kernels.

Signed-off-by: Phil Elwell <[email protected]>
  • Loading branch information
pelwell committed Jan 10, 2025
1 parent cf3ae69 commit ef95f68
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions arch/arm/boot/dts/broadcom/bcm2711.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -451,8 +451,6 @@
IRQ_TYPE_LEVEL_LOW)>,
<GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) |
IRQ_TYPE_LEVEL_LOW)>;
/* This only applies to the ARMv7 stub */
arm,cpu-registers-not-fw-configured;
};

cpus: cpus {
Expand Down
2 changes: 0 additions & 2 deletions arch/arm64/boot/dts/broadcom/bcm2712.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -741,8 +741,6 @@
IRQ_TYPE_LEVEL_LOW)>,
<GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) |
IRQ_TYPE_LEVEL_LOW)>;
/* This only applies to the ARMv7 stub */
arm,cpu-registers-not-fw-configured;
};

cpus: cpus {
Expand Down

0 comments on commit ef95f68

Please sign in to comment.