aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/trigger/stm32-timer-trigger.c
diff options
context:
space:
mode:
authorSuzuki K Poulose <[email protected]>2017-10-06 13:16:52 +0000
committerCatalin Marinas <[email protected]>2017-10-06 15:35:21 +0000
commitc0d8832e78cbfd4a64b7112e34920af4b0b0e60e (patch)
tree88956debba4dc1034e63313220c53d0399560242 /drivers/iio/trigger/stm32-timer-trigger.c
parentarm64: Use larger stacks when KASAN is selected (diff)
downloadkernel-c0d8832e78cbfd4a64b7112e34920af4b0b0e60e.tar.gz
kernel-c0d8832e78cbfd4a64b7112e34920af4b0b0e60e.zip
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: [email protected] Cc: Dave Martin <[email protected]> Cc: Matthias Brugger <[email protected]> Cc: James Morse <[email protected]> Reported-by: Matwey V. Kornilov <[email protected]> Signed-off-by: Suzuki K Poulose <[email protected]> Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'drivers/iio/trigger/stm32-timer-trigger.c')
0 files changed, 0 insertions, 0 deletions