diff options
| author | Radim Krčmář <[email protected]> | 2025-04-03 11:25:22 +0000 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2025-05-21 04:04:52 +0000 |
| commit | 9f0e6b98c1a13ac1f38d559b548b8f122572ae18 (patch) | |
| tree | 28f16fbac05bdb8d8fa586455d821136b2ad0115 /rust/helpers/security.c | |
| parent | KVM: RISC-V: refactor sbi reset request (diff) | |
| download | kernel-9f0e6b98c1a13ac1f38d559b548b8f122572ae18.tar.gz kernel-9f0e6b98c1a13ac1f38d559b548b8f122572ae18.zip | |
KVM: RISC-V: remove unnecessary SBI reset state
The SBI reset state has only two variables -- pc and a1.
The rest is known, so keep only the necessary information.
The reset structures make sense if we want userspace to control the
reset state (which we do), but I'd still remove them now and reintroduce
with the userspace interface later -- we could probably have just a
single reset state per VM, instead of a reset state for each VCPU.
Reviewed-by: Andrew Jones <[email protected]>
Signed-off-by: Radim Krčmář <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'rust/helpers/security.c')
0 files changed, 0 insertions, 0 deletions
