LoongArch: KVM: Fix multiple typos of KVM code

Fix multiple typos inside arch/loongarch/kvm.

Cc: stable@vger.kernel.org
Reviewed-by: Yuli Wang <wangyuli@uniontech.com>
Reviewed-by: Bibo Mao <maobibo@loongson.cn>
Signed-off-by: Yulong Han <wheatfox17@icloud.com>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>

authored by Yulong Han and committed by Huacai Chen 8b2d01fe bd51834d

+4 -4
+2 -2
arch/loongarch/kvm/intc/ipi.c
··· 111 111 ret = kvm_io_bus_read(vcpu, KVM_IOCSR_BUS, addr, sizeof(val), &val); 112 112 srcu_read_unlock(&vcpu->kvm->srcu, idx); 113 113 if (unlikely(ret)) { 114 - kvm_err("%s: : read date from addr %llx failed\n", __func__, addr); 114 + kvm_err("%s: : read data from addr %llx failed\n", __func__, addr); 115 115 return ret; 116 116 } 117 117 /* Construct the mask by scanning the bit 27-30 */ ··· 127 127 ret = kvm_io_bus_write(vcpu, KVM_IOCSR_BUS, addr, sizeof(val), &val); 128 128 srcu_read_unlock(&vcpu->kvm->srcu, idx); 129 129 if (unlikely(ret)) 130 - kvm_err("%s: : write date to addr %llx failed\n", __func__, addr); 130 + kvm_err("%s: : write data to addr %llx failed\n", __func__, addr); 131 131 132 132 return ret; 133 133 }
+2 -2
arch/loongarch/kvm/main.c
··· 296 296 /* 297 297 * Enable virtualization features granting guest direct control of 298 298 * certain features: 299 - * GCI=2: Trap on init or unimplement cache instruction. 299 + * GCI=2: Trap on init or unimplemented cache instruction. 300 300 * TORU=0: Trap on Root Unimplement. 301 301 * CACTRL=1: Root control cache. 302 - * TOP=0: Trap on Previlege. 302 + * TOP=0: Trap on Privilege. 303 303 * TOE=0: Trap on Exception. 304 304 * TIT=0: Trap on Timer. 305 305 */