[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250603094606.1053622-1-maobibo@loongson.cn>
Date: Tue, 3 Jun 2025 17:45:59 +0800
From: Bibo Mao <maobibo@...ngson.cn>
To: Tianrui Zhao <zhaotianrui@...ngson.cn>,
Huacai Chen <chenhuacai@...nel.org>,
Xianglai Li <lixianglai@...ngson.cn>
Cc: kvm@...r.kernel.org,
loongarch@...ts.linux.dev,
linux-kernel@...r.kernel.org
Subject: [PATCH v2 0/7] LoongArch: KVM: Enhancement about eiointc emulation
This series fix four issues about kernel eiointc emulation list as
follows:
1. The first patch fixes type forced assignment issue.
2. The second patch fixes interrupt route with physical cpu.
3. The third patch disables update property num_cpu and feature
4. The fourth patch adds validation check about num_cpu from user
space.
Also there is code cleanup with kernel eiointc emulation.
---
v1 ... v2:
1. Add extra fix in patch 3 and patch 4, add num_cpu validation check
2. Name of stat information keeps unchanged, only move it from VM stat
to vCPU stat.
---
Bibo Mao (7):
LoongArch: KVM: Fix interrupt route update with eiointc
LoongArch: KVM: Check interrupt route from physical cpu with eiointc
LoongArch: KVM: Disable update property num_cpu and feature with
eiointc
LoongArch: KVM: Check validation of num_cpu from user space
LoongArch: KVM: Use standard bitops API with eiointc
LoongArch: KVM: Remove unused parameter len
LoongArch: KVM: Add stat information with kernel irqchip
arch/loongarch/include/asm/kvm_host.h | 12 +--
arch/loongarch/kvm/intc/eiointc.c | 129 ++++++++++++++++----------
arch/loongarch/kvm/intc/ipi.c | 28 +-----
arch/loongarch/kvm/intc/pch_pic.c | 4 +-
arch/loongarch/kvm/vcpu.c | 8 +-
5 files changed, 97 insertions(+), 84 deletions(-)
base-commit: fe4281644c62ce9385d3b9165e27d6c86ae0a845
--
2.39.3
Powered by blists - more mailing lists