linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] Fixup Broadcom CPU enable method
@ 2016-04-28 17:59 Chris Brand
  2016-04-28 17:59 ` [PATCH 1/3] Documentation: Binding docs for bcm11351 " Chris Brand
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Chris Brand @ 2016-04-28 17:59 UTC (permalink / raw)
  To: linux-arm-kernel

This is preparation for supporting the quad-core BCM23550 chip.

Documentation/devicetree/bindings/arm/cpus.txt states that "enable-method"
should be a property of the "cpu" node rather than the "cpus" node.

Commit 84320e1a635fcf90cff4185f029ce9e31bf1d4a7
("ARM: BCM: Clean up SMP support for Broadcom Kona") moved the 
"secondary-boot-reg" property from the "cpus" node to the individual "cpu"
nodes but negelected to actually support multiple "secondary-boot-reg"
properties.

This patchset moves the enable-method property to the correct place,
adds the missing enable-method to the binding documentation, and actually
supports setting the "enable-method" property on multiple CPU nodes.

Without this change, "secondary-boot-reg" on even-numbered CPUs is ignored,
and the value specified on the last odd-numbered CPU to be processed
overrides any earlier values.

Behaviour is slightly changed by this patchset, in that the
"secondary-boot-reg" property is only examined when the CPU is being enabled.
This means that the omission of that property will be reported slightly later,
or never if the CPU in question is never brought online. It also means that
the omission in one CPU has no effect on other CPUs, whereas previously
omitting it from one CPU would force the system into single-core mode.

Chris Brand (3):
  Documentation: Binding docs for bcm11351 enable method
  arm: dts: fix use of bcm11351 enable method
  arm: modify Broadcom CPU enable method

 .../bindings/arm/bcm/brcm,bcm11351-cpu-method.txt  |   6 +-
 Documentation/devicetree/bindings/arm/cpus.txt     |   1 +
 arch/arm/boot/dts/bcm11351.dtsi                    |   2 +-
 arch/arm/boot/dts/bcm21664.dtsi                    |   2 +-
 arch/arm/mach-bcm/platsmp.c                        | 116 +++++++--------------
 5 files changed, 43 insertions(+), 84 deletions(-)

-- 
1.9.1

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

end of thread, other threads:[~2016-05-03 21:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-28 17:59 [PATCH 0/3] Fixup Broadcom CPU enable method Chris Brand
2016-04-28 17:59 ` [PATCH 1/3] Documentation: Binding docs for bcm11351 " Chris Brand
2016-04-28 17:59 ` [PATCH 2/3] arm: dts: fix use of " Chris Brand
2016-04-28 17:59 ` [PATCH 3/3] arm: modify Broadcom CPU " Chris Brand
2016-05-03 21:45 ` [PATCH 0/3] Fixup " Florian Fainelli

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).