Skip to content

RFC ARM: DT cpu bindings updates

Arnd Bergmann linux-arm-kernel linux-devicetree 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 RFC Latest0 of 13 patches 0 repliesNew

Patches in v2 No applies recorded yet

None of the 13 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [RFC PATCH v2 00/13] ARM: DT cpu bindings updates
Quoted 9 lines · Lorenzo Pieralisi
Quoted 3 lines

Thoughts? I notice Catalin has some patches queued for arm64 which unconditionally use of_property_read_u64, but I have a patch to honour the #address-cells property instead.

Basically you want me to rule out passing a dtb with cpus node having #address-cells == 2 to a 32-bit kernel, correct ? Or put it another way:

- a 32-bit kernel must always get passed a dtb with cpus node #address-cells == 1.

Why that? For other registers, we allow leading zeroes. This is already required for MMIO registers on LPAE capable machines.

Quoted 3 lines

If the system is ARMv8 with CPUs having MPIDR_EL1[63:32] != 0x0, well, running 32-bit kernel on it is not the safest thing to do anyway.

I would assume the hypervisor to provide a virtual MPIDR_EL1 for a 32 bit kernel in that case.

Arnd