ARM: imx: add smp support for imx7d
authorAnson Huang <b20788@freescale.com>
Wed, 26 May 2021 00:14:16 +0000 (21:14 -0300)
committerShawn Guo <shawnguo@kernel.org>
Sat, 12 Jun 2021 04:02:57 +0000 (12:02 +0800)
commite34645f45805d8308866de7b69f117f554605bb6
tree728088350539c203ab9e19c38de9feac943cacc5
parentcc8870bf4c3ab0af385538460500a9d342ed945f
ARM: imx: add smp support for imx7d

Add SMP support for i.MX7D, including CPU hotplug support, for
systems where TFA is not present.

The motivation for bringing up the second i.MX7D core inside the kernel
is that legacy vendor bootloaders usually do not implement PSCI support.

This is a significant blocker for systems in the field that are running old
bootloader versions to upgrade to a modern mainline kernel version, as only
one CPU of the i.MX7D would be brought up.

Bring up the second i.MX7D core inside the kernel to make the migration
path to mainline kernel easier for the existing iMX7D users.

Signed-off-by: Anson Huang <b20788@freescale.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com> # Fix merge conflicts
Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
Signed-off-by: Marek Vasut <marex@denx.de> # heavy cleanup
Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/mach-imx/Makefile
arch/arm/mach-imx/common.h
arch/arm/mach-imx/headsmp.S
arch/arm/mach-imx/hotplug.c
arch/arm/mach-imx/mach-imx7d.c
arch/arm/mach-imx/platsmp.c
arch/arm/mach-imx/src.c