linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/9] ARM: BCM63xx: SMP support (v2)
@ 2015-04-23 23:09 Florian Fainelli
  2015-04-23 23:09 ` [PATCH v2 1/9] Documentation: DT: Add Broadcom BCM63138 PMB binding Florian Fainelli
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Florian Fainelli @ 2015-04-23 23:09 UTC (permalink / raw)
  To: linux-arm-kernel

Hi all,

This patch series implements SMP support on the Broadcom BCM63138 DSL platform.

There is a number of decisions being made here to simplify things:

- the power on sequence for the secondary CPU is a bit of low-level code that
  uses the on-chip PMB bus, which will later be supported as a proper reset
  controller driver, it was considered first to use a reset controller for
  that, but this was later dropped because:
	- reset controllers cannot be utilized at SMP init time (too early)
	- moving reset controllers init earlier has been rejected
	- the second CPU power on sequence is fairly specific, even within
	  the context of the BCM63138 SoC, no other peripheral has that
	  level of detail

- VFP needs to be disabled when SMP is used because the second CPU does not
  have any VFP unit and will just hang doing a VFP/NEON operation

Changes in v2:

- introduced a helper function: vfp_disable() as recommended by Russell
- fixed the DT binding for the PMB controllers to account for the number
  of zones as a second cell, and drop the bus identifier since it is
  implicit with the phandle already


Let me know how you would want to approach the merge of the ARM VFP parts
if that is okay to get them merged via my tree and submitted as a Broadcom
pull request later on.

Florian Fainelli (9):
  Documentation: DT: Add Broadcom BCM63138 PMB binding
  ARM: dts: BCM63xx: Add PMB busses nodes
  Documentation: DT: Document SMP DT nodes and properties for BCM63138
  ARM: dts: BCM63xx: Add SMP nodes and required properties
  ARM: BCM63xx: Add Broadcom BCM63xx PMB controller helpers
  ARM: BCM63xx: Add secondary CPU PMB initialization sequence
  ARM: vfp: Add include guards
  ARM: vfp: Add vfp_disable for problematic platforms
  ARM: BCM63xx: Add SMP support for BCM63138

 .../devicetree/bindings/arm/bcm/brcm,bcm63138.txt  |  42 ++++
 .../bindings/reset/brcm,bcm63138-pmb.txt           |  19 ++
 arch/arm/boot/dts/bcm63138.dtsi                    |  20 ++
 arch/arm/include/asm/vfp.h                         |   9 +
 arch/arm/mach-bcm/Makefile                         |   7 +-
 arch/arm/mach-bcm/bcm63xx_headsmp.S                |  23 +++
 arch/arm/mach-bcm/bcm63xx_pmb.c                    | 221 +++++++++++++++++++++
 arch/arm/mach-bcm/bcm63xx_smp.c                    | 170 ++++++++++++++++
 arch/arm/mach-bcm/bcm63xx_smp.h                    |   9 +
 arch/arm/vfp/vfpmodule.c                           |  13 ++
 include/linux/bcm63xx_pmb.h                        |  76 +++++++
 11 files changed, 608 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/devicetree/bindings/reset/brcm,bcm63138-pmb.txt
 create mode 100644 arch/arm/mach-bcm/bcm63xx_headsmp.S
 create mode 100644 arch/arm/mach-bcm/bcm63xx_pmb.c
 create mode 100644 arch/arm/mach-bcm/bcm63xx_smp.c
 create mode 100644 arch/arm/mach-bcm/bcm63xx_smp.h
 create mode 100644 include/linux/bcm63xx_pmb.h

-- 
2.1.0

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

end of thread, other threads:[~2015-04-23 23:10 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-23 23:09 [PATCH v2 0/9] ARM: BCM63xx: SMP support (v2) Florian Fainelli
2015-04-23 23:09 ` [PATCH v2 1/9] Documentation: DT: Add Broadcom BCM63138 PMB binding Florian Fainelli
2015-04-23 23:09 ` [PATCH v2 2/9] ARM: dts: BCM63xx: Add PMB busses nodes Florian Fainelli
2015-04-23 23:09 ` [PATCH v2 3/9] Documentation: DT: Document SMP DT nodes and properties for BCM63138 Florian Fainelli
2015-04-23 23:09 ` [PATCH v2 4/9] ARM: dts: BCM63xx: Add SMP nodes and required properties Florian Fainelli
2015-04-23 23:09 ` [PATCH v2 5/9] ARM: BCM63xx: Add Broadcom BCM63xx PMB controller helpers Florian Fainelli
2015-04-23 23:09 ` [PATCH v2 6/9] ARM: BCM63xx: Add secondary CPU PMB initialization sequence Florian Fainelli
2015-04-23 23:10 ` [PATCH v2 7/9] ARM: vfp: Add include guards Florian Fainelli
2015-04-23 23:10 ` [PATCH v2 8/9] ARM: vfp: Add vfp_disable for problematic platforms Florian Fainelli
2015-04-23 23:10 ` [PATCH v2 9/9] ARM: BCM63xx: Add SMP support for BCM63138 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).