Skip to content
Commit ca29cfcc authored by Russell King (Oracle)'s avatar Russell King (Oracle)
Browse files

ARM: fix cacheflush with PAN



It seems that the cacheflush syscall got broken when PAN for LPAE was
implemented. User access was not enabled around the cache maintenance
instructions, causing them to fault.

Fixes: 7af5b901 ("ARM: 9358/2: Implement PAN for LPAE by TTBR0 page table walks disablement")
Reported-by: default avatarMichał Pecio <michal.pecio@gmail.com>
Tested-by: default avatarMichał Pecio <michal.pecio@gmail.com>
Signed-off-by: default avatarRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
parent fb5af7d5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment