linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/2] ARM: DT cpu bindings updates
@ 2013-04-15 16:13 Lorenzo Pieralisi
  2013-04-15 16:13 ` [RFC PATCH 1/2] ARM: DT: kernel: move temporary cpu map stack array to static data Lorenzo Pieralisi
  2013-04-15 16:13 ` [RFC PATCH 2/2] ARM: DT: kernel: DT cpu node bindings update Lorenzo Pieralisi
  0 siblings, 2 replies; 22+ messages in thread
From: Lorenzo Pieralisi @ 2013-04-15 16:13 UTC (permalink / raw)
  To: linux-arm-kernel

The introduction of DT cpus/cpu bindings for ARM requires well established
rules to enforce the reg property definition for 32-bit and 64-bit ARM
processors, inclusive of legacy and current uniprocessor/SMP systems.

ARM 64 bit architecture also requires dtb compiled for 64-bit configurations
to be reused for kernels running in 32 bit mode, so the cpus/cpu bindings
specification must be made compliant to cope with this configuration.

Patch #1 of this series is a fix and is included to have a clean patch
series and should get reviewed and merged separately.

Patch #2, along with some kernel fixes related to DT parsing function,
updates the cpu node bindings to cope with legacy, current and upcoming
ARM systems.

In-kernel device tree source files are updated to comply with the latest
specification, so thorough testing is required in order to validate all
changes on all affected ARM systems, in particular systems with exotic
MPIDR configurations that are likely to break with the changes provided.

Code relying on the reg property size to be 4-bytes will break when
dtb compiled for 64-bit kernels are used to boot a 32-bit system so
kernel code relying on that (bogus) assumption must be updated properly.

Lorenzo Pieralisi (2):
  ARM: DT: kernel: move temporary cpu map stack array to static data
  ARM: DT: kernel: DT cpu node bindings update

 Documentation/devicetree/bindings/arm/cpus.txt | 335 +++++++++++++++++++++----
 arch/arm/boot/dts/exynos5440.dtsi              |   7 +
 arch/arm/boot/dts/omap3.dtsi                   |   4 +
 arch/arm/boot/dts/omap4.dtsi                   |   5 +
 arch/arm/boot/dts/omap5.dtsi                   |   5 +
 arch/arm/boot/dts/r8a7740.dtsi                 |   3 +
 arch/arm/boot/dts/sh7372.dtsi                  |   4 +
 arch/arm/boot/dts/sunxi.dtsi                   |   4 +
 arch/arm/kernel/devtree.c                      |  85 ++++---
 9 files changed, 379 insertions(+), 73 deletions(-)

-- 
1.7.12

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2013-04-18 12:40 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-15 16:13 [RFC PATCH 0/2] ARM: DT cpu bindings updates Lorenzo Pieralisi
2013-04-15 16:13 ` [RFC PATCH 1/2] ARM: DT: kernel: move temporary cpu map stack array to static data Lorenzo Pieralisi
2013-04-15 16:13 ` [RFC PATCH 2/2] ARM: DT: kernel: DT cpu node bindings update Lorenzo Pieralisi
2013-04-15 19:26   ` Stephen Warren
2013-04-16 10:45     ` Lorenzo Pieralisi
2013-04-16 15:57       ` Stephen Warren
2013-04-16 16:21         ` Benjamin Herrenschmidt
2013-04-16 14:30     ` Dave Martin
2013-04-17  9:14     ` Mark Rutland
2013-04-17 15:14       ` Stephen Warren
2013-04-17 16:02         ` Nicolas Pitre
2013-04-17 16:23           ` Stephen Warren
2013-04-17 16:36             ` Nicolas Pitre
2013-04-17 16:56               ` Dave Martin
2013-04-17 16:24         ` Benjamin Herrenschmidt
2013-04-18 12:40         ` Grant Likely
2013-04-16  2:41   ` Simon Horman
2013-04-16 11:00     ` Lorenzo Pieralisi
2013-04-17  9:35   ` Nicolas Ferre
2013-04-17 11:44     ` Lorenzo Pieralisi
2013-04-17  9:48   ` Arnd Bergmann
2013-04-17 11:02     ` Lorenzo Pieralisi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).