aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-starfive.c
diff options
context:
space:
mode:
authorClément Léger <[email protected]>2025-04-22 16:23:09 +0000
committerAlexandre Ghiti <[email protected]>2025-05-08 12:00:36 +0000
commit453805f0a28fc5091e46145e6560c776f7c7a611 (patch)
tree4d7a788d411b15219ee1d1ee09b457ccb773a7c6 /drivers/usb/cdns3/cdns3-starfive.c
parentriscv: misaligned: factorize trap handling (diff)
downloadkernel-453805f0a28fc5091e46145e6560c776f7c7a611.tar.gz
kernel-453805f0a28fc5091e46145e6560c776f7c7a611.zip
riscv: misaligned: enable IRQs while handling misaligned accesses
We can safely reenable IRQs if coming from userspace. This allows to access user memory that could potentially trigger a page fault. Fixes: b686ecdeacf6 ("riscv: misaligned: Restrict user access to kernel memory") Signed-off-by: Clément Léger <[email protected]> Reviewed-by: Alexandre Ghiti <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexandre Ghiti <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-starfive.c')
0 files changed, 0 insertions, 0 deletions