diff options
author | Suzuki K Poulose <suzuki.poulose@arm.com> | 2017-10-06 16:16:52 +0300 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2017-10-06 18:35:21 +0300 |
commit | c0d8832e78cbfd4a64b7112e34920af4b0b0e60e (patch) | |
tree | 88956debba4dc1034e63313220c53d0399560242 /arch/arm/boot/dts/spear3xx.dtsi | |
parent | b02faed15d86f846b0f23f47b92e0782baa873ed (diff) | |
download | linux-c0d8832e78cbfd4a64b7112e34920af4b0b0e60e.tar.xz |
arm64: Ensure the instruction emulation is ready for userspace
We trap and emulate some instructions (e.g, mrs, deprecated instructions)
for the userspace. However the handlers for these are registered as
late_initcalls and the userspace could be up and running from the initramfs
by that time (with populate_rootfs, which is a rootfs_initcall()). This
could cause problems for the early applications ending up in failure
like :
[ 11.152061] modprobe[93]: undefined instruction: pc=0000ffff8ca48ff4
This patch promotes the specific calls to core_initcalls, which are
guaranteed to be completed before we hit userspace.
Cc: stable@vger.kernel.org
Cc: Dave Martin <dave.martin@arm.com>
Cc: Matthias Brugger <mbrugger@suse.com>
Cc: James Morse <james.morse@arm.com>
Reported-by: Matwey V. Kornilov <matwey.kornilov@gmail.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm/boot/dts/spear3xx.dtsi')
0 files changed, 0 insertions, 0 deletions