aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2021-09-23 00:54:52 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2021-12-16 21:31:45 +1100
commitaf47d79b041deccc31e0dddc6310a654c13d04b6 (patch)
tree7ddf83dfd83571676671880e88ea29ecdd8f6bc1 /arch/powerpc/lib/code-patching.c
parentecb1057c0f9a0f3f052294de6cc2eb43ecf7547b (diff)
downloadlinux-af47d79b041deccc31e0dddc6310a654c13d04b6.tar.gz
linux-af47d79b041deccc31e0dddc6310a654c13d04b6.tar.bz2
linux-af47d79b041deccc31e0dddc6310a654c13d04b6.zip
powerpc/64s/interrupt: avoid saving CFAR in some asynchronous interrupts
Reading the CFAR register is quite costly (~20 cycles on POWER9). It is a good idea to have for most synchronous interrupts, but for async ones it is much less important. Doorbell, external, and decrementer interrupts are the important asynchronous ones. HV interrupts can't skip CFAR if KVM HV is possible, because it might be a guest exit that requires CFAR preserved. But the important pseries interrupts can avoid loading CFAR. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20210922145452.352571-7-npiggin@gmail.com
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions