linux-stable/drivers/soc/bcm
Florian Fainelli 5dc441fbef soc: bcm: brcmstb: Fix re-entry point with a THUMB2_KERNEL
[ Upstream commit fb14ada11d ]

When the kernel is built with CONFIG_THUMB2_KERNEL we would set the
kernel's resume entry point to be a function that is already built as
Thumb-2 code while the boot agent doing the resume is in ARM mode, so
this does not work. There is a header label defined: cpu_resume_arm
which we can use to do the switching for us.

Fixes: 0b741b8234 ("soc: bcm: brcmstb: Add support for S2/S3/S5 suspend states (ARM)")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-12-01 09:17:17 +01:00
..
brcmstb soc: bcm: brcmstb: Fix re-entry point with a THUMB2_KERNEL 2019-12-01 09:17:17 +01:00
Kconfig
Makefile
raspberrypi-power.c treewide: devm_kzalloc() -> devm_kcalloc() 2018-06-12 16:19:22 -07:00