plat: imx8m: Fix the race condition during cpu hotplug
CPU hotplug & cpuidle have some race condition when doing CPU hotplug
stress test. different CPU cores have the chance to access the same
GPC register(A53_AD), so lock is necessary to do exlusive access.

Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Change-Id: I1296592e05fa78429c3f0fac066951521db755e3
1 parent 15e54af commit fe5e1c145a43f4a07c306535e3f295d88f5a5ec9
@Jacky Bai Jacky Bai authored on 6 Jan 2020
Manish Pandey committed on 20 Aug 2020
Showing 3 changed files
View
plat/imx/imx8m/gpc_common.c
View
plat/imx/imx8m/imx8mq/gpc.c
View
plat/imx/imx8m/include/gpc.h