aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorPaolo Bonzini <[email protected]>2021-10-12 10:51:55 -0400
committerPaolo Bonzini <[email protected]>2021-10-22 10:02:20 -0400
commitea724ea420aac58b41bc822d1aed6940b136b78d (patch)
tree6cdd8a52469f6fb7f9ea4bee09b3eb7c94965ade /arch/powerpc/lib/code-patching.c
parent0d33b1baeb6ca7165d5ed4fdd1a8f969985e35b9 (diff)
KVM: SEV-ES: clean up kvm_sev_es_ins/outs
A few very small cleanups to the functions, smushed together because the patch is already very small like this: - inline emulator_pio_in_emulated and emulator_pio_out_emulated, since we already have the vCPU - remove the data argument and pull setting vcpu->arch.sev_pio_data into the caller - remove unnecessary clearing of vcpu->arch.pio.count when emulation is done by the kernel (and therefore vcpu->arch.pio.count is already clear on exit from emulator_pio_in and emulator_pio_out). No functional change intended. Cc: [email protected] Fixes: 7ed9abfe8e9f ("KVM: SVM: Support string IO operations for an SEV-ES guest") Reviewed-by: Maxim Levitsky <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions