]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
LoongArch: KVM: Add sign extension with kernel MMIO read emulation
authorBibo Mao <maobibo@loongson.cn>
Tue, 23 Sep 2025 15:37:08 +0000 (23:37 +0800)
committerHuacai Chen <chenhuacai@kernel.org>
Tue, 23 Sep 2025 15:37:08 +0000 (23:37 +0800)
commit80edf90831a2c129db478b1e72b27839602b72ea
treebaa92cc13ae93c4da792b7fcd750fca14de8e969
parent7109f51bcc80b79a8f31e50fa5c96a20c54197d9
LoongArch: KVM: Add sign extension with kernel MMIO read emulation

Function kvm_complete_mmio_read() is to add sign extension with MMIO
read emulation, it is used in user space MMIO read completion now. Also
it should be used in kernel MMIO read emulation.

Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/kvm/exit.c