[linux-6.6.y]LoongArch: KVM: Remove redundant CSR clearing in kvm_set_one_reg - #2114
Conversation
The clearing of LOONGARCH_CSR_GINTC and LOONGARCH_CSR_ESTAT in kvm_set_one_reg is redundant, Both commit 97d5e7b ("LoongArch: KVM: Repair the restart pressure test virtual machine hang dead problem") and commit 869523f ("LoongArch: KVM: Fully clear some CSRs when VM reboot") have addressed similar concerns. Remove them to align with the upstream codebase. Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn>
Reviewer's guide (collapsed on small PRs)Reviewer's GuideAligns LoongArch KVM vCPU register reset handling with upstream by removing duplicate GINTC and ESTAT clearing already covered by established CSR reset logic. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Hi @AaronDot. Thanks for your PR. I'm waiting for a deepin-community member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
The clearing of LOONGARCH_CSR_GINTC and LOONGARCH_CSR_ESTAT in kvm_set_one_reg is redundant, Both commit 97d5e7b ("LoongArch: KVM: Repair the restart pressure test virtual machine hang dead problem") and commit 869523f ("LoongArch: KVM: Fully clear some CSRs when VM reboot") have addressed similar concerns. Remove them to align with the upstream codebase.
Summary by Sourcery
Enhancements: