Thre are some small enhancement about IPI emulation and LBT enabling in LoongArch KVM. With IPI, it supports sending command to vCPU itself. And with LBT it adds flag checking int function kvm_own_lbt() and make it robust. --- v2 ... v3: 1. Fix stack protector issue in send_ipi_data() v1 ... v2: 1. Add sending IPI command to vCPU itself 2. Avoid duplicated LBT enabling in kvm_own_lbt() --- Bibo Mao (4): LoongArch: KVM: Fix stack protector issue in send_ipi_data() LoongArch: KVM: Access mailbox directly in mail_send() LoongArch: KVM: Add implementation with IOCSR_IPI_SET LoongArch: KVM: Make function kvm_own_lbt() robust arch/loongarch/kvm/intc/ipi.c | 57 ++++++++++++++++++++++------------- arch/loongarch/kvm/vcpu.c | 8 +++-- 2 files changed, 41 insertions(+), 24 deletions(-) base-commit: dfc0f6373094dd88e1eaf76c44f2ff01b65db851 -- 2.39.3