All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Sascha Bischoff" <Sascha.Bischoff@arm.com>
Cc: "Oliver Upton" <oupton@kernel.org>,
	kvmarm@lists.linux.dev, "Marc Zyngier" <maz@kernel.org>,
	kvm@vger.kernel.org
Subject: Re: [PATCH v5 09/49] KVM: arm64: gic-v5: Create and manage VM and VPE tables
Date: Fri, 07 Aug 2026 12:50:15 +0000	[thread overview]
Message-ID: <20260807125016.D0E7C1F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260807111159.429128-10-sascha.bischoff@arm.com>

Thank you for your contribution! Sashiko AI review found 6 potential issue(s) to consider:
- [Critical] Initializing the VGICv5 with 0 vCPUs triggers a NULL pointer dereference and a cache maintenance fault on ZERO_SIZE_PTR.
- [High] VMT tables and associated structures allocated via kzalloc lack required cacheline and hardware alignment, risking memory corruption and address truncation.
- [High] vgic_v5_db_set_vcpu_affinity intercepts and drops all IRS commands, breaking L2 VMT allocation.
- [High] VPET and L1 VMT entries are populated in memory without setting their architecturally required Valid bits.
- [High] The VM info structure (`vmi`) is inserted into the global `vm_info` XArray before it is fully initialized, creating a TOCTOU race.
- [High] Lockless XArray lookups of `vmi` lack `rcu_read_lock()` protection and race with synchronous `kfree()`.
--

--- Patch [9]: [PATCH v5 09/49] KVM: arm64: gic-v5: Create and manage VM and VPE tables ---
commit dc3f99568625ef5a0f577860cb4099269b170ef2
Author: Sascha Bischoff <Sascha.Bischoff@arm.com>
Date:   Fri Aug 7 11:17:11 2026 +0000

    KVM: arm64: gic-v5: Create and manage VM and VPE tables
    
    GICv5 uses a set of in-memory tables to track and manage VM state.
    These must be allocated by the hypervisor and provided to the IRS.

> diff --git a/arch/arm64/kvm/vgic/vgic-v5-tables.c b/arch/arm64/kvm/vgic/vgic-v5-tables.c
> new file mode 100644
> index 0000000000000..7252d48431a5a
> --- /dev/null
> +++ b/arch/arm64/kvm/vgic/vgic-v5-tables.c
[ ... ]
> +static void vgic_v5_clean_inval(void *va, size_t size)
> +{
> +	unsigned long base = (unsigned long)va;
> +
> +	dsb(ishst);
> +
> +	if (kvm_vgic_global_state.vgic_v5_irs_caps.non_coherent)
> +		dcache_clean_inval_poc(base, base + size);
> +}

[Severity: High]
Does dcache_clean_inval_poc() operate on cacheline-aligned base pointers here?

While vpet and vped_base allocations round their size up to
dma_get_cache_alignment(), kzalloc() does not guarantee that the base pointer
itself will be cacheline-aligned.

Performing cacheline-granular invalidation on unaligned buffers evicts shared
cachelines, which could corrupt unrelated slab objects sharing the cacheline.

[ ... ]
> +static int vgic_v5_alloc_l2_vmt(struct kvm *kvm)
> +{
> +	struct kvm_vcpu *vcpu0 = kvm_get_vcpu(kvm, 0);
> +	u32 vm_id = vgic_v5_vm_id(kvm);
> +	enum gicv5_vcpu_cmd cmd = VMT_L2_MAP;
> +	struct vmtl2_entry *l2_table;
> +	unsigned int l1_index;
> +	int ret;
> +
> +	/* Nothing to do if we have linear tables! */
> +	if (!vmt_info->two_level)
> +		return 0;
> +
> +	if (vm_id == VGIC_V5_VM_ID_INVAL)
> +		return -EINVAL;
> +
> +	/*
> +	 * We have 4k-sized L2 tables - this is mandated by the spec for
> +	 * two-level VMTs (GICv5 EAC0 Specification rule D_LSPBK). This means
> +	 * that we have 128 entries per L1 VMTE.
> +	 */
> +	l1_index = vm_id / GICV5_VMT_L2_TABLE_ENTRIES;
> +
> +	guard(mutex)(&vmt_l2_lock);
> +
> +	/* Already valid? Great! */
> +	if (vmt_info->l2.l2ptrs[l1_index])
> +		return 0;
> +
> +	l2_table = kzalloc_objs(*l2_table, GICV5_VMT_L2_TABLE_ENTRIES);

[Severity: High]
Does the L2 table allocation meet the hardware's 4K alignment requirement?

l2_table is allocated using kzalloc_objs(). Hardware extracts the L2 physical
address using GICV5_VMTEL1E_L2_ADDR (bits 51:12), which requires 4K alignment.

SLUB does not guarantee 4K base alignment for kmalloc allocations, which could
cause silent address truncation when the physical address is written to the L1
entry.

> +	if (!l2_table)
> +		return -ENOMEM;
> +
> +	/* The VMT is shared between all VMs. */
> +	scoped_guard(raw_spinlock_irqsave, &vgic_v5_irs_lock) {
> +		vgic_v5_clean_inval(l2_table, GICV5_VMT_L2_TABLE_SIZE);
> +		vgic_v5_clean_inval(vmt_info->l2.vmt_base + l1_index,
> +				    sizeof(vmtl1_entry));
> +
> +		WRITE_ONCE(vmt_info->l2.vmt_base[l1_index],
> +			   cpu_to_le64(virt_to_phys(l2_table)));

[Severity: High]
Is the GICV5_VMTEL1E_VALID bit missing here?

The L1 VMT entry is populated with the physical address of the L2 table, but it
doesn't look like the GICV5_VMTEL1E_VALID bit is ever set, which might cause
the hardware to treat the table as invalid.

> +
> +		vgic_v5_clean_inval(vmt_info->l2.vmt_base + l1_index,
> +				    sizeof(vmtl1_entry));
> +
> +	}
> +
> +	/*
> +	 * VMAP in the L2 VMT via the IRS. We use any of the VM's CPUs as a
> +	 * conduit for interacting with the host's IRS. In the current case,
> +	 * this lets us resolve the VM ID to pass to the hardware.
> +	 */
> +	ret = irq_set_vcpu_affinity(vgic_v5_vpe_db(vcpu0), &cmd);

[Severity: Critical]
What happens if this is called when no vCPUs have been created yet?

If atomic_read(&kvm->online_vcpus) is 0 during vgic_v5_vmte_init(),
kvm_get_vcpu(kvm, 0) returns NULL, which would cause a NULL pointer
dereference when it is passed to vgic_v5_vpe_db() here.

[ ... ]
> +int vgic_v5_vmte_init(struct kvm *kvm)
> +{
> +	size_t vmd_alloc_size, vpet_alloc_size, vped_alloc_size;
> +	void *vped_base = NULL, *vmd = NULL;
> +	struct vgic_v5_vm_info *vmi = NULL;
> +	u64 tmp, vmte_val0 = 0, vmte_val1;
> +	u32 vm_id = vgic_v5_vm_id(kvm);
> +	int ret, nr_cpus, nr_vcpus;
> +	bool vmi_inserted = false;
> +	struct vmtl2_entry *vmte;
> +	vpe_entry *vpet = NULL;
> +	struct kvm_vcpu *vcpu;
> +	u16 max_vpe_id = 0;
> +	unsigned long i;
> +
> +	nr_vcpus = atomic_read(&kvm->online_vcpus);
> +	if (nr_vcpus > vmt_info->max_vpes)
> +		return -E2BIG;
> +
> +	/*
> +	 * If we're using two-level VMTs, L2 is allocated on demand. For linear
> +	 * VMTs, this is a NOP.
> +	 */
> +	ret = vgic_v5_alloc_l2_vmt(kvm);
> +	if (ret)
> +		return ret;
> +
> +	vmte = vgic_v5_get_l2_vmte(vm_id);
> +	if (IS_ERR(vmte))
> +		return PTR_ERR(vmte);
> +
> +	/* If the entry is already valid, something went wrong */
> +	scoped_guard(raw_spinlock_irqsave, &vgic_v5_irs_lock) {
> +		vgic_v5_clean_inval(vmte, sizeof(*vmte));
> +		if (le64_to_cpu(READ_ONCE(vmte->val[0])) & GICV5_VMTEL2E_VALID)
> +			return -EINVAL;
> +	}
> +
> +	ret = vgic_v5_reset_vmte(kvm);
> +	if (ret)
> +		return ret;
> +
> +	vmi = kzalloc_obj(*vmi);
> +	if (!vmi) {
> +		ret = -ENOMEM;
> +		goto out_fail;
> +	}
> +
> +	ret = xa_insert(&vm_info, vm_id, vmi, GFP_KERNEL);

[Severity: High]
Is it safe to publish vmi before its fields are initialized?

vmi is published to the global vm_info XArray here, but sleepable allocations
for vmi->vmd_base, vmi->vpet_base, and vmi->vped_base occur after this point.

Could a concurrent thread executing vgic_v5_vmte_alloc_vpe() retrieve the
partially constructed vmi and dereference its NULL pointers?

> +	if (ret)
> +		goto out_fail;
> +	vmi_inserted = true;
> +
> +	/* Allocate and assign the VM Descriptor, if required. */
> +	if (vmt_info->vmd_size != 0) {
> +		vmd_alloc_size = round_up(vmt_info->vmd_size,
> +					  dma_get_cache_alignment());
> +		vmd = kzalloc(vmd_alloc_size, GFP_KERNEL);
> +		if (!vmd) {
> +			ret = -ENOMEM;
> +			goto out_fail;
> +		}
> +
> +		/* Stash the VA so we can free it later */
> +		vmi->vmd_base = vmd;
> +
> +		tmp = FIELD_PREP(GICV5_VMTEL2E_VMD_ADDR,
> +				 virt_to_phys(vmd) >> GICV5_VMTEL2E_VMD_ADDR_SHIFT);
> +		vmte_val0 = tmp;
> +	}
> +
> +	/*
> +	 * Allocate and assign the VPE Table.
> +	 *
> +	 * First of all, iterate over all vcpus to find the highest VPE ID we
> +	 * require - we need to ensure that we have enough storage for all
> +	 * vcpu_id values that userspace has picked and not just the total
> +	 * number of vcpus. This gives us the number of VPEs required for the
> +	 * VM.
> +	 *
> +	 * Round up the number of VPEs to a whole power of two as we cannot
> +	 * describe non-powers-of-two in the VMTE field as it conveys the number
> +	 * of ID bits used and not the number of vPEs. IRS_IDR1.IAFFID_BITS is
> +	 * encoded as N - 1, so expose at least one VPE ID bit even for a
> +	 * single-vCPU VM to keep the views consistent.
> +	 */
> +	kvm_for_each_vcpu(i, vcpu, kvm) {
> +		u16 vpe_id = vgic_v5_vpe_id(vcpu);
> +
> +		if (vpe_id > max_vpe_id)
> +			max_vpe_id = vpe_id;
> +	}
> +
> +	nr_cpus = max(2UL, roundup_pow_of_two(max_vpe_id + 1));
> +	vmi->vpe_id_bits = fls(nr_cpus) - 1;
> +
> +	vpet_alloc_size = round_up((size_t)nr_cpus * sizeof(*vpet),
> +				   dma_get_cache_alignment());
> +	vpet = kzalloc(vpet_alloc_size, GFP_KERNEL);
> +	if (!vpet) {
> +		ret = -ENOMEM;
> +		goto out_fail;
> +	}
> +
> +	/* Stash the VA so we can free it later */
> +	vmi->vpet_base = vpet;
> +
> +	tmp = FIELD_PREP(GICV5_VMTEL2E_VPET_ADDR,
> +			 virt_to_phys(vpet) >> GICV5_VMTEL2E_VPET_ADDR_SHIFT);
> +	tmp |= FIELD_PREP(GICV5_VMTEL2E_VPE_ID_BITS, vmi->vpe_id_bits);
> +	vmte_val1 = tmp;
> +
> +	/*
> +	 * Allocate a dense VPED array indexed by vcpu_idx. The VPET is indexed
> +	 * by the potentially sparse vcpu_id, but using that ID here would waste
> +	 * memory. Given that this is not userspace visible, we can cheat a bit
> +	 * and use the dense index instead. This is the ONLY place that we do
> +	 * this.
> +	 *
> +	 * Round the requested size up to a whole cacheline. kzalloc() gurantees
> +	 * natural alignment, so we ensure that the cachelines cannot be shared
> +	 * with unrelated slab objects. VPED and cacheline sizes are powers of
> +	 * two, so this also preserves the required VPED alignment when a VPED
> +	 * is larger than a cacheline.
> +	 */
> +	vped_alloc_size = round_up((size_t)nr_vcpus * vmt_info->vped_size,
> +				   dma_get_cache_alignment());
> +	vped_base = kzalloc(vped_alloc_size, GFP_KERNEL);

[Severity: Critical]
Can nr_vcpus be 0 here?

If no vCPUs are online, vped_alloc_size evaluates to 0. Calling
kzalloc(0, GFP_KERNEL) returns the ZERO_SIZE_PTR (0x10).

> +	if (!vped_base) {
> +		ret = -ENOMEM;
> +		goto out_fail;
> +	}
> +	vmi->vped_base = vped_base;
> +
> +	if (vmd)
> +		vgic_v5_clean_inval(vmd, vmd_alloc_size);
> +	vgic_v5_clean_inval(vpet, vpet_alloc_size);
> +	vgic_v5_clean_inval(vped_base, vped_alloc_size);

Passing the ZERO_SIZE_PTR to vgic_v5_clean_inval() will execute a cache
invalidation on address 0x10, which would cause a fatal translation fault
and crash the kernel.

[ ... ]
> +int vgic_v5_vmte_release(struct kvm *kvm)
> +{
> +	u32 vm_id = vgic_v5_vm_id(kvm);
> +	struct vgic_v5_vm_info *vmi;
> +	struct vmtl2_entry *vmte;
> +	int ret;
> +
> +	vmte = vgic_v5_get_l2_vmte(vm_id);
> +	if (IS_ERR(vmte))
> +		return PTR_ERR(vmte);
> +
> +	/* Reject if the VMTE has not been marked as invalid! */
> +	scoped_guard(raw_spinlock_irqsave, &vgic_v5_irs_lock) {
> +		vgic_v5_clean_inval(vmte, sizeof(*vmte));
> +		if (le64_to_cpu(READ_ONCE(vmte->val[0])) & GICV5_VMTEL2E_VALID)
> +			return -EINVAL;
> +	}
> +
> +	vmi = xa_load(&vm_info, vm_id);
> +	if (!vmi)
> +		goto no_vmi;
> +
> +	kfree(vmi->vped_base);
> +	kfree(vmi->vpet_base);
> +	kfree(vmi->vmd_base);
> +
> +	xa_erase(&vm_info, vm_id);
> +	kfree(vmi);

[Severity: High]
Could this synchronously free a vmi object that is currently in use?

This path synchronously calls kfree(vmi) after erasing it from the XArray,
but readers like vgic_v5_vmte_alloc_vpe() load from the XArray without RCU
protection.

Will this cause a use-after-free for any lockless readers that have preempted?

[ ... ]
> +int vgic_v5_vmte_alloc_vpe(struct kvm_vcpu *vcpu)
> +{
> +	u32 vm_id = vgic_v5_vm_id(vcpu->kvm);
> +	u16 vpe_id = vgic_v5_vpe_id(vcpu);
> +	struct vgic_v5_vm_info *vmi;
> +	vpe_entry tmp, *vpet_base;
> +	void *vped;
> +
> +	/* Make sure we're not over what the hardware supports */
> +	if (vpe_id >= vmt_info->max_vpes)
> +		return -E2BIG;
> +
> +	vmi = xa_load(&vm_info, vm_id);

[Severity: High]
Does this xa_load() need rcu_read_lock() protection?

The vmi object is retrieved without RCU read-side protection, and
vgic_v5_vmte_release() synchronously calls kfree(vmi).

Could a preempted reader here dereference a freed vmi object?

> +	if (!vmi)
> +		return -EINVAL;
> +
> +	if (vpe_id >= 1 << vmi->vpe_id_bits)
> +		return -E2BIG;
> +
> +	vpet_base = vmi->vpet_base;
> +
> +	/* If the VPETE for this CPU is already valid we've gone wrong */
> +	scoped_guard(raw_spinlock_irqsave, &vgic_v5_irs_lock) {
> +		vgic_v5_clean_inval(&vpet_base[vpe_id], sizeof(*vpet_base));
> +		if (le64_to_cpu(READ_ONCE(vpet_base[vpe_id])) & GICV5_VPE_VALID)
> +			return -EBUSY;
> +	}
> +
> +	vped = (u8 *)vmi->vped_base +
> +		(size_t)vcpu->vcpu_idx * vmt_info->vped_size;
> +
> +	tmp = FIELD_PREP(GICV5_VPED_ADDR, virt_to_phys(vped) >> GICV5_VPED_ADDR_SHIFT);
> +
> +	scoped_guard(raw_spinlock_irqsave, &vgic_v5_irs_lock) {
> +		WRITE_ONCE(vpet_base[vpe_id], cpu_to_le64(tmp));

[Severity: High]
Is the GICV5_VPE_VALID bit missing here?

The VPET entry is written to memory, but the GICV5_VPE_VALID bit is not set,
which might cause the hardware to treat the entry as invalid.

> +		vgic_v5_clean_inval(vpet_base + vpe_id, sizeof(vpe_entry));
> +	}
> +
> +	return 0;
> +}

> diff --git a/arch/arm64/kvm/vgic/vgic-v5.c b/arch/arm64/kvm/vgic/vgic-v5.c
> index 752329fc3d566..4d1d7701ef71d 100644
> --- a/arch/arm64/kvm/vgic/vgic-v5.c
> +++ b/arch/arm64/kvm/vgic/vgic-v5.c
[ ... ]
> +static int vgic_v5_db_set_vcpu_affinity(struct irq_data *data, void *vcpu_info)
> +{
> +	enum gicv5_vcpu_cmd *cmd = vcpu_info;
> +
> +	guard(raw_spinlock_irqsave)(&vgic_v5_irs_lock);
> +
> +	switch (*cmd) {
> +	case VMT_L2_MAP:
> +	case VMTE_MAKE_VALID:
> +	case VMTE_MAKE_INVALID:
> +		/* Not yet implemented */
> +	default:
> +		return -EINVAL;
> +	}
> +}

[Severity: High]
Should this function forward valid commands to the parent irqchip?

By returning -EINVAL for commands like VMT_L2_MAP, it intercepts and drops
them without calling irq_chip_set_vcpu_affinity_parent().

This causes the VMT_L2_MAP command issued by vgic_v5_alloc_l2_vmt() to always
fail, preventing VMs from booting.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260807111159.429128-1-sascha.bischoff@arm.com?part=9

  reply	other threads:[~2026-08-07 12:50 UTC|newest]

Thread overview: 84+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-07 11:12 [PATCH v5 00/49] KVM: arm64: Add GICv5 IRS support Sascha Bischoff
2026-08-07 11:13 ` [PATCH v5 01/49] irqchip/gic-v5: Allow KVM setup without a maintenance IRQ Sascha Bischoff
2026-08-07 11:13 ` [PATCH v5 02/49] irqchip/gic-v5: Provide OF IRS config frame attrs to KVM Sascha Bischoff
2026-08-07 11:53   ` sashiko-bot
2026-08-07 11:14 ` [PATCH v5 03/49] irqchip/gic-v5: Set up gic_kvm_info on ACPI hosts Sascha Bischoff
2026-08-07 12:01   ` sashiko-bot
2026-08-07 13:44   ` Lorenzo Pieralisi
2026-08-07 11:14 ` [PATCH v5 04/49] KVM: arm64: gic-v5: Define remaining IRS MMIO registers Sascha Bischoff
2026-08-07 12:05   ` sashiko-bot
2026-08-07 11:15 ` [PATCH v5 05/49] arm64/sysreg: Add GICv5 GIC VDPEND encoding Sascha Bischoff
2026-08-07 11:15 ` [PATCH v5 06/49] arm64/sysreg: Update ICC_CR0_EL1 with LINK and LINK_IDLE fields Sascha Bischoff
2026-08-07 12:17   ` sashiko-bot
2026-08-07 11:16 ` [PATCH v5 07/49] KVM: arm64: gic-v5: Cache host IRS ID registers Sascha Bischoff
2026-08-07 12:27   ` sashiko-bot
2026-08-07 11:16 ` [PATCH v5 08/49] KVM: arm64: gic-v5: Add VPE doorbell domain Sascha Bischoff
2026-08-07 12:45   ` sashiko-bot
2026-08-07 11:17 ` [PATCH v5 09/49] KVM: arm64: gic-v5: Create and manage VM and VPE tables Sascha Bischoff
2026-08-07 12:50   ` sashiko-bot [this message]
2026-08-07 11:17 ` [PATCH v5 10/49] KVM: arm64: gic-v5: Introduce guest IST alloc and management Sascha Bischoff
2026-08-07 13:07   ` sashiko-bot
2026-08-07 11:18 ` [PATCH v5 11/49] KVM: arm64: gic-v5: Implement VMT/vIST IRS MMIO Ops Sascha Bischoff
2026-08-07 13:13   ` sashiko-bot
2026-08-07 11:18 ` [PATCH v5 12/49] KVM: arm64: gic-v5: Keep GICv5 vCPU limit model-specific Sascha Bischoff
2026-08-07 13:30   ` sashiko-bot
2026-08-07 11:19 ` [PATCH v5 13/49] KVM: arm64: gic-v5: Implement VPE IRS MMIO Ops Sascha Bischoff
2026-08-07 11:19 ` [PATCH v5 14/49] KVM: arm64: gic-v5: Set up VMTEs and VPE doorbells Sascha Bischoff
2026-08-07 13:42   ` sashiko-bot
2026-08-07 11:20 ` [PATCH v5 15/49] KVM: arm64: gic-v5: Add resident/non-resident hyp calls Sascha Bischoff
2026-08-07 11:20 ` [PATCH v5 16/49] KVM: arm64: gic-v5: Request doorbells when VPEs enter WFI Sascha Bischoff
2026-08-07 14:17   ` sashiko-bot
2026-08-07 11:21 ` [PATCH v5 17/49] KVM: arm64: gic-v5: Introduce struct vgic_v5_irs and IRS base address Sascha Bischoff
2026-08-07 11:21 ` [PATCH v5 18/49] KVM: arm64: gic-v5: Add IRS IODEV support to MMIO handlers Sascha Bischoff
2026-08-07 11:22 ` [PATCH v5 19/49] KVM: arm64: gic-v5: Add KVM_VGIC_V5_ADDR_TYPE_IRS to UAPI Sascha Bischoff
2026-08-07 14:27   ` sashiko-bot
2026-08-07 11:22 ` [PATCH v5 20/49] KVM: arm64: gic-v5: Add GICv5 IRS IODEV and MMIO emulation Sascha Bischoff
2026-08-07 14:34   ` sashiko-bot
2026-08-07 11:23 ` [PATCH v5 21/49] KVM: arm64: gic-v5: Initialise per-VM IRS state Sascha Bischoff
2026-08-07 14:49   ` sashiko-bot
2026-08-07 11:23 ` [PATCH v5 22/49] KVM: arm64: gic-v5: Register the IRS IODEV Sascha Bischoff
2026-08-07 14:52   ` sashiko-bot
2026-08-07 11:24 ` [PATCH v5 23/49] KVM: arm64: gic-v5: Set IRICHPPIDIS based on IRS enable state Sascha Bischoff
2026-08-07 11:24 ` [PATCH v5 24/49] KVM: arm64: selftests: Update vGICv5 selftest to set IRS address Sascha Bischoff
2026-08-07 15:04   ` sashiko-bot
2026-08-07 11:25 ` [PATCH v5 25/49] KVM: arm64: gic-v5: Add GIC VDPEND hyp call Sascha Bischoff
2026-08-07 11:25 ` [PATCH v5 26/49] KVM: arm64: gic: Introduce set_pending_state() to irq_ops Sascha Bischoff
2026-08-07 15:14   ` sashiko-bot
2026-08-07 11:26 ` [PATCH v5 27/49] KVM: arm64: gic-v5: Support SPI injection Sascha Bischoff
2026-08-07 15:23   ` sashiko-bot
2026-08-07 11:26 ` [PATCH v5 28/49] Documentation: KVM: Extend VGICv5 device attribute docs Sascha Bischoff
2026-08-07 15:29   ` sashiko-bot
2026-08-07 11:27 ` [PATCH v5 29/49] KVM: arm64: gic-v5: Add GICv5 SPI injection to irqfd Sascha Bischoff
2026-08-07 15:40   ` sashiko-bot
2026-08-07 11:27 ` [PATCH v5 30/49] KVM: arm64: gic-v5: Mask per-vCPU PPI state in vgic_v5_finalize_ppi_state() Sascha Bischoff
2026-08-07 11:28 ` [PATCH v5 31/49] KVM: arm64: gic-v5: Add GICv5 EL1 sysreg userspace accessors Sascha Bischoff
2026-08-07 16:27   ` sashiko-bot
2026-08-07 11:28 ` [PATCH v5 32/49] KVM: arm64: gic-v5: Handle userspace accesses to IRS MMIO region Sascha Bischoff
2026-08-07 16:20   ` sashiko-bot
2026-08-07 11:29 ` [PATCH v5 33/49] KVM: arm64: gic-v5: Add CoreSight MMIO regs to IRS Sascha Bischoff
2026-08-07 11:29 ` [PATCH v5 34/49] KVM: arm64: gic-v5: Add VGICv5 IST save/restore UAPI Sascha Bischoff
2026-08-07 16:30   ` sashiko-bot
2026-08-07 11:30 ` [PATCH v5 35/49] KVM: arm64: gic-v5: Implement save/restore mechanisms for ISTs Sascha Bischoff
2026-08-07 16:48   ` sashiko-bot
2026-08-07 11:30 ` [PATCH v5 36/49] Documentation: KVM: Document KVM_DEV_ARM_VGIC_GRP_CPU_SYSREGS for VGICv5 Sascha Bischoff
2026-08-07 16:55   ` sashiko-bot
2026-08-07 11:31 ` [PATCH v5 37/49] Documentation: KVM: Add KVM_DEV_ARM_VGIC_GRP_IRS_REGS to VGICv5 docs Sascha Bischoff
2026-08-07 16:52   ` sashiko-bot
2026-08-07 11:31 ` [PATCH v5 38/49] Documentation: KVM: Add docs for KVM_DEV_ARM_VGIC_GRP_IST Sascha Bischoff
2026-08-07 11:32 ` [PATCH v5 39/49] Documentation: KVM: Add the VGICv5 IRS save/restore sequences Sascha Bischoff
2026-08-07 11:32 ` [PATCH v5 40/49] KVM: selftests: Add VGICv5 IRS address attribute tests Sascha Bischoff
2026-08-07 11:33 ` [PATCH v5 41/49] KVM: selftests: Add VGICv5 NR_IRQS " Sascha Bischoff
2026-08-07 17:12   ` sashiko-bot
2026-08-07 11:33 ` [PATCH v5 42/49] KVM: selftests: Add VGICv5 IRS_REGS " Sascha Bischoff
2026-08-07 17:17   ` sashiko-bot
2026-08-07 11:34 ` [PATCH v5 43/49] KVM: selftests: Add VGICv5 IST " Sascha Bischoff
2026-08-07 17:21   ` sashiko-bot
2026-08-07 11:35 ` [PATCH v5 44/49] KVM: selftests: Add VGICv5 USERSPACE_PPIS tests Sascha Bischoff
2026-08-07 11:35 ` [PATCH v5 45/49] KVM: selftests: Add VGICv5 CPU sysreg attribute tests Sascha Bischoff
2026-08-07 11:36 ` [PATCH v5 46/49] KVM: selftests: Add VGICv5 SPI injection tests Sascha Bischoff
2026-08-07 11:36 ` [PATCH v5 47/49] KVM: selftests: Add VGICv5 LPI delivery tests Sascha Bischoff
2026-08-07 17:39   ` sashiko-bot
2026-08-07 11:37 ` [PATCH v5 48/49] KVM: selftests: Add VGICv5 IST save/restore coverage Sascha Bischoff
2026-08-07 17:50   ` sashiko-bot
2026-08-07 11:37 ` [PATCH v5 49/49] KVM: selftests: Add VGICv5 sparse vCPU IDs test Sascha Bischoff
2026-08-07 17:56   ` sashiko-bot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260807125016.D0E7C1F000E9@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=Sascha.Bischoff@arm.com \
    --cc=kvm@vger.kernel.org \
    --cc=kvmarm@lists.linux.dev \
    --cc=maz@kernel.org \
    --cc=oupton@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.