diff options
author | Kajol Jain <kjain@linux.ibm.com> | 2022-09-16 13:57:36 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2022-11-24 15:31:47 +0300 |
commit | 4ac9d3187cc7ccba25f76a3faef3e08a366f77b9 (patch) | |
tree | fa6056c7b1498ce592394cfea8a4957aa185f52b /arch/powerpc/xmon | |
parent | 2223552256dfc48435e0699dbe1e9b8d2cd56b06 (diff) | |
download | linux-4ac9d3187cc7ccba25f76a3faef3e08a366f77b9.tar.xz |
powerpc/kvm: Remove unused references for MMCR3/SIER2/SIER3 registers
Commit 57dc0eed73ca ("KVM: PPC: Book3S HV P9: Implement PMU save/restore
in C") removed the PMU save/restore functions from assembly code and
implemented these functions in C, for power9 and later platforms.
After the code refactoring, Performance Monitoring Unit (PMU) registers
became part of "p9_host_os_sprs" structure and now this structure is
used to save/restore pmu host registers, for power9 and later platfroms.
But we still have old unused registers references. Patch removes unused
host_mmcr references for Monitor Mode Control Register 3 (MMCR3)/
Sampled Instruction Event Register 2 (SIER2)/ SIER3 registers from
"struct kvmppc_host_state".
Fixes: 57dc0eed73ca ("KVM: PPC: Book3S HV P9: Implement PMU save/restore in C")
Signed-off-by: Kajol Jain <kjain@linux.ibm.com>
Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Reviewed-by: Athira Rajeev <atrajeev@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220916105736.268153-3-disgoel@linux.vnet.ibm.com
Diffstat (limited to 'arch/powerpc/xmon')
0 files changed, 0 insertions, 0 deletions