mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/3] ARM: socfpga: enable SMP for Arria10
@ 2015-05-23  4:28 dinguyen
  2015-05-23  4:28 ` [PATCH 1/3] ARM: socfpga: use CPU_METHOD_OF_DECLARE for socfpga_cyclone5 dinguyen
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: dinguyen @ 2015-05-23  4:28 UTC (permalink / raw)
  To: linux; +Cc: dinh.linux, arnd, linux-arm-kernel, linux-kernel, Dinh Nguyen

From: Dinh Nguyen <dinguyen@opensource.altera.com>

Hi,

The goal of these 3 patches is to enable SMP on the Arria10 platform. During
the process, I found it would be much cleaner to convert the Cyclone5/Arria5
platform to use CPU_METHOD_OF_DECLARE instead of the machine descriptor.

The procedure to enable SMP on the Arria10 platform is similar to the Cyclone5/
Arria5 with the exception of a few differences in the register offset of the
reset manager designed to bring the secondary core out of reset. So instead of
littering the code with machine lookups, just use CPU_METHOD_OF_DECLARE.

Thanks,

Dinh Nguyen (3):
  ARM: socfpga: use CPU_METHOD_OF_DECLARE for socfpga_cyclone5
  ARM: socfpga: add CPU_METHOD_OF_DECLARE for Arria 10
  ARM: socfpga: dts: add enable-method property for cpu nodes

 arch/arm/boot/dts/socfpga.dtsi         |  1 +
 arch/arm/boot/dts/socfpga_arria10.dtsi |  1 +
 arch/arm/mach-socfpga/core.h           |  2 ++
 arch/arm/mach-socfpga/platsmp.c        | 32 ++++++++++++++++++++++++++++++++
 arch/arm/mach-socfpga/socfpga.c        |  1 -
 5 files changed, 36 insertions(+), 1 deletion(-)

-- 
2.2.1


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

end of thread, other threads:[~2015-05-23  4:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-23  4:28 [PATCH 0/3] ARM: socfpga: enable SMP for Arria10 dinguyen
2015-05-23  4:28 ` [PATCH 1/3] ARM: socfpga: use CPU_METHOD_OF_DECLARE for socfpga_cyclone5 dinguyen
2015-05-23  4:28 ` [PATCH 2/3] ARM: socfpga: add CPU_METHOD_OF_DECLARE for Arria 10 dinguyen
2015-05-23  4:28 ` [PATCH 3/3] ARM: socfpga: dts: add enable-method property for cpu nodes dinguyen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®