aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-trace.c
diff options
context:
space:
mode:
authorChristophe Leroy <[email protected]>2021-09-16 16:52:09 +0200
committerMichael Ellerman <[email protected]>2021-10-22 15:22:05 +1100
commitcbe654c779616807e1e6823c3bdbfe07a10562b8 (patch)
tree7a31ec893037699cd60378ea609b25a2af5bd6f5 /drivers/usb/cdns3/cdns3-trace.c
parent5c810ced36ae1a8f1a7403c1635b0dc07c115086 (diff)
powerpc: warn on emulation of dcbz instruction in kernel mode
dcbz instruction shouldn't be used on non-cached memory. Using it on non-cached memory can result in alignment exception and implies a heavy handling. Instead of silentely emulating the instruction and resulting in high performance degradation, warn whenever an alignment exception is taken in kernel mode due to dcbz, so that the user is made aware that dcbz instruction has been used unexpectedly by the kernel. Reported-by: Stan Johnson <[email protected]> Signed-off-by: Christophe Leroy <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/2e3acfe63d289c6fba366e16973c9ab8369e8b75.1631803922.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions