Linux Perf Users
 help / color / mirror / Atom feed
From: "Lorenzo Stoakes (ARM)" <ljs@kernel.org>
To: Alexandru Elisei <alexandru.elisei@arm.com>
Cc: maz@kernel.org, oupton@kernel.org, fuad.tabba@linux.dev,
	 joey.gouly@arm.com, seiden@linux.ibm.com,
	suzuki.poulose@arm.com,  yuzenghui@huawei.com,
	linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev,
	 will@kernel.org, mark.rutland@arm.com,
	linux-perf-users@vger.kernel.org,  catalin.marinas@arm.com,
	james.clark@linaro.org
Subject: Re: [RFC PATCH v7 13/28] KVM: arm64: Add SPE VCPU device attribute to set the SPE device
Date: Fri, 4 Dec 2026 18:14:40 +0000	[thread overview]
Message-ID: <axL4rayGF54n9Wpf@pazuzu> (raw)
In-Reply-To: <awmdZLXCSa8fBtJw@raptor>

On Fri, Nov 27, 2026 at 03:10:28PM +0000, Alexandru Elisei wrote:
> Hi Lorenzo,
>
> On Wed, Oct 28, 2026 at 01:11:54PM +0000, Lorenzo Stoakes (ARM) wrote:
> > On Thu, Sep 03, 2026 at 05:06:08PM +0100, Alexandru Elisei wrote:
> > > To support systems where there is more than one SPE instance, or where not
> > > all the PEs have SPE, add KVM_ARM_VCPU_SPE_CTRL(KVM_ARM_VCPU_SPE_ID) for
> > > userspace to set the SPE instance it wants the virtual machine to use.
> > > Similar to the PMU, it is entirely up to userspace to make sure the VCPUs
> > > are run only on the physical CPUs which share this SPE instance.
> >
> > OK but this is enforced by KVM right? So while it's up to userspace to
> > ensure affinity, this is checked for and if the user gets it wrong KVM will
> > bail AFAICT?
>
> Yes.
>
> >
> > So I'd probably add something here about what happens if you don't do this
> > - i.e. 'this is checked on vCPU load via kvm_arch_vcpu_load(), and if the
> > CPU does not share the SPE instance specified, KVM will eventually error
> > out to userspace.'
>
> Ok.
>
> >
> > >
> > > If the ioctl is called for multiple VCPUs, userspace must use the same
> > > SPE identifier for each of the VCPUs.
> > >
> > > Signed-off-by: Alexandru Elisei <alexandru.elisei@arm.com>
> > > ---
> > >  Documentation/virt/kvm/devices/vcpu.rst | 32 +++++++++
> > >  arch/arm64/include/asm/kvm_host.h       |  4 ++
> > >  arch/arm64/include/asm/kvm_spe.h        | 19 ++++++
> > >  arch/arm64/include/uapi/asm/kvm.h       |  1 +
> > >  arch/arm64/kvm/arm.c                    | 43 ++++++++++++
> > >  arch/arm64/kvm/pmu-emul.c               | 11 ++-
> > >  arch/arm64/kvm/spe.c                    | 90 +++++++++++++++++++++++++
> > >  7 files changed, 198 insertions(+), 2 deletions(-)
> > >
> > > diff --git a/Documentation/virt/kvm/devices/vcpu.rst b/Documentation/virt/kvm/devices/vcpu.rst
> > > index d30b2f7fec9a..d60dd1daa67f 100644
> > > --- a/Documentation/virt/kvm/devices/vcpu.rst
> > > +++ b/Documentation/virt/kvm/devices/vcpu.rst
> > > @@ -329,3 +329,35 @@ Specifies the Profiling Buffer management interrupt number. The interrupt number
> > >  must be a PPI and the interrupt number must be the same for each VCPU. Arm
> > >  recommends 21 as the interrupt number. SPE virtualization requires an in-kernel
> > >  vGIC implementation.
> > > +
> > > +5.2 ATTRIBUTE: KVM_ARM_VCPU_SPE_ID
> > > +------------------------------------------
> > > +
> > > +:Parameters: in kvm_device_attr.addr the address to an int representing the SPE
> > > +             identifier.
> > > +
> > > +:Returns:
> >
> > Hmm this is a nit obviously but this is inconsistent from the previous doc
> > edit which uses 'Returns:' so I think better to choose one and stick with
> > it :)
>
> I have chosen 'Returns:'.
>
> >
> > > +
> > > +	 =======  =========================================================
> > > +	 -EBUSY   Virtual machine has already run
> > > +	 -EFAULT  Error accessing the SPE identifier
> > > +	 -EINVAL  A different SPE instance already assigned, or no physical
> > > +                  CPUs found
> >
> > With the introduction of kvm_update_supported_cpus() and PMU also using
> > that, I think you need to add an -EINVAL line to the PMU doc entry too.
>
> Will do.

Thanks for all the above!

>
> >
> > > +	 -ENXIO   SPE not supported or not properly configured, or the SPE
> > > +                  module not loaded
> > > +	 -ENODEV  KVM_ARM_VCPU_HAS_SPE VCPU feature not set
> >
> > Should be KVM_ARM_VCPU_SPE? Looking back I think you also typo'd this in
> > the previous commit? Very easily done obviously :P
>
> Yeah, I kept going back and forth on the names.

Thanks, yeah it's very understandable! :)

>
> >
> > > +	 =======  =========================================================
> > > +
> > > +Required.
> > > +
> > > +Request that the VCPU uses the specified SPE instance. The SPE identifier can be
> > > +read from the 'type' file for the desired SPE instance under /sys/devices (or,
> > > +equivalent, /sys/bus/event_source). Must be set for at least one VCPU, in which
> > > +case all the other VCPUs will use the same SPE instance. Once a SPE instance has
> > > +been set, attempting to set a different one will result in an error.
> > > +
> >
> > I think you need a paragraph here to explain that you must ensure that
> > physical CPUs assigned to vCPUs must share the same SPE instance, and
> > failing to do so will result in KVM returning an error when the vCPU is
> > attempted to be run.
>
> Ok.
>
> >
> > > +Similar to KVM_ARM_VCPU_PMU_V3_CTRL(KVM_ARM_VCPU_PMU_SET_PMU), userspace is
> > > +responsible for making sure that the VCPU is run only on physical CPUs which
> > > +share the specified SPE instance. If the VCPU has a PMU assigned, and there are
> >
> > I think the 'userspace is responsible for making sure that the VCPU is run
> > only on physical CPUs which share the specified SPE instance' bit can be
> > hoisted into the suggested paragraph above, leaving this one to focus on
> > SPE/PMU interactions.
> >
> > And I think the SPE-specific bit shouldn't mention a similarity to PMU, I
> > think that's confusing in itself.
>
> Ok.
>
> >
> > > +no physical CPUs which share the same SPE and PMU instance, an error is
> > > +returned.
> >
> > This is overall unclear I think. It starts with 'similar to PMU' then
> > mentions an actual interaction between PMU/SPE. So, as above, I suggest
> > separating these two out.
> >
> > And here I think you should be a lot clearer about that PMU/SPE
> > interaction, something like:
> >
> > "Both SPE and PMU restrict supported physical CPUs to the subset which
> > share the selected SPE or PMU instance.
> >
> > If both are selected, the subsets must overlap, otherwise there would be no
> > physical CPU on which the vCPUs could run.
> >
> > If this happens, whichever of KVM_ARM_VCPU_SPE_ID or
> > KVM_ARM_VCPU_PMU_V3_SET_PMU specified it returns -EINVAL.
> >
> > Note that the default PMU selected by KVM is not taken into account by this
> > check, it only applies when a specific PMU instance has been selected via
> > KVM_ARM_VCPU_PMU_V3_SET_PMU."
>
> Ok.

Thanks for this + the above!

>
> >
> > > diff --git a/arch/arm64/include/asm/kvm_host.h b/arch/arm64/include/asm/kvm_host.h
> > > index e7332bd82bf3..10fa223bdbda 100644
> > > --- a/arch/arm64/include/asm/kvm_host.h
> > > +++ b/arch/arm64/include/asm/kvm_host.h
> > > @@ -382,6 +382,7 @@ struct kvm_arch {
> > >  	 */
> > >  	unsigned long *pmu_filter;
> > >  	struct arm_pmu *arm_pmu;
> > > +	struct kvm_spe kvm_spe;
> >
> > I think we can do away with the kvm_ prefix on the value name?
>
> I don't see a reason to change it.

It's a nit really, kvm->arch.kvm_spe.spe_dev seems like a mouthful.

>
> This is an **RFC**, and I would rather we focus on the general approach and on
> correctness, and leave variable name changes that propagate to almost all
> remaining patches for when the series stabilizes.

The intent of me reviewing this thoroughly is to get it into non-RFC shape as
per the cover letter thread :)

I am hoping to save you work in reiterations by dedicating a lot of time to at
least one really pedantic run-through.

But as above, that's a nit and not the most important thing in the world :)


>
> >
> > > +};
> >
> > This looks a little silly as a one field struct, but presumably because you
> > add more later. I think worth saying so in the commit message?
>
> I don't think it's worth it.

OK!

>
> >
> > > +
> > >  struct kvm_vcpu_spe {
> > >  	int irq_num;		/* Buffer management interrupt number */
> > >  };
> > > @@ -20,10 +25,17 @@ bool kvm_supports_spe(void);
> > >  #define vcpu_has_spe(vcpu)					\
> > >  	(vcpu_has_feature(vcpu, KVM_ARM_VCPU_SPE))
> > >
> > > +void kvm_spe_destroy_vm(struct kvm *kvm);
> >
> > This naming feels weird, reads to me like 'spe, destroy the vm' which is
> > probably not the intent :P
>
> I see your point.
>
> >
> > Maybe just kvm_spe_destroy()?
>
> I have changed it to kvm_destroy_vm_spe(kvm).

Thanks!

> > > diff --git a/arch/arm64/include/uapi/asm/kvm.h b/arch/arm64/include/uapi/asm/kvm.h
> > > index b9e5019181eb..8ffa3e89d38c 100644
> > > --- a/arch/arm64/include/uapi/asm/kvm.h
> > > +++ b/arch/arm64/include/uapi/asm/kvm.h
> > > @@ -448,6 +448,7 @@ enum {
> > >  #define   KVM_ARM_VCPU_PVTIME_IPA	0
> > >  #define KVM_ARM_VCPU_SPE_CTRL		3
> > >  #define   KVM_ARM_VCPU_SPE_IRQ		0
> > > +#define   KVM_ARM_VCPU_SPE_ID		1
> > >
> > >  /* KVM_IRQ_LINE irq field index values */
> > >  #define KVM_ARM_IRQ_VCPU2_SHIFT		28
> > > diff --git a/arch/arm64/kvm/arm.c b/arch/arm64/kvm/arm.c
> > > index 763b102dc51f..132df44c3088 100644
> > > --- a/arch/arm64/kvm/arm.c
> > > +++ b/arch/arm64/kvm/arm.c
> > > @@ -336,6 +336,8 @@ void kvm_arch_destroy_vm(struct kvm *kvm)
> > >  	kfree(kvm->arch.sysreg_masks);
> > >  	kvm_destroy_vcpus(kvm);
> > >
> > > +	kvm_spe_destroy_vm(kvm);
> > > +
> > >  	kvm_unshare_hyp(kvm, kvm + 1);
> > >
> > >  	kvm_arm_teardown_hypercalls(kvm);
> > > @@ -612,6 +614,47 @@ void kvm_arch_vcpu_unblocking(struct kvm_vcpu *vcpu)
> > >
> > >  }
> > >
> > > +int kvm_update_supported_cpus(struct kvm *kvm, cpumask_t *pmu_cpus,
> > > +			      cpumask_t *spe_cpus)
> >
> > This interface is really awkward - it's unclear whether you need to pass
> > one + other NULL, or both, and what happens in each situation.
>
> Yeah, it's not great, I'll try to make it better.

Thanks!

>
> >
> > And it turns out that actually you should only specify one of them with the
> > other NULL as it stands.
> >
> > It seems to me SPE vs. PMU is just immaterial here, and you should simply
> > have:
> >
> > int kvm_restrict_supported_cpus(struct kvm *kvm, const cpumask_t *mask)
> > {
> > 	lockdep_assert_held(&kvm->arch.config_lock);
> >
> > 	if (!cpumask_intersects(kvm->arch.supported_cpus, mask))
> > 		return -EINVAL;
> >
> > 	cpumask_and(kvm->arch.supported_cpus, kvm->arch.supported_cpus, mask);
> > 	return 0;
> > }
> >
> > Then all the complexity goes away.
> >
> > I think it's then simplest to simply disallow re-selection for both SPE and
> > PMU, returning -EBUSY if they're already selected.
> >
> > That way it's very clear-cut - you set these once and only once.
>
> I don't think it's a good idea to introduce a potentially userspace breaking
> change because you don't like the code.

Ack on the uAPI bit, perhaps not worth fiddling about with something that
might be relied upon.

>
> If you feel strongly about it, you can send a patch right now to forbid
> userspace from changing the PMU.

:)))

But I think we can still do better than an allocation/goto/etc. etc.

So adapting the above something like:

int kvm_set_supported_cpus(struct kvm *kvm, const struct cpumask *cpus,
                           const struct cpumask *other)
{
	lockdep_assert_held(&kvm->arch.config_lock);

	if (!other) {
		cpumask_copy(kvm->arch.supported_cpus, cpus);
		return 0;
	}

	if (!cpumask_intersects(cpus, other))
		return -EINVAL;

	cpumask_and(kvm->arch.supported_cpus, cpus, other);
	return 0;
}

...

/* PMU: recompute, so selecting a new PMU keeps working */
ret = kvm_set_supported_cpus(kvm, &arm_pmu->supported_cpus,
		kvm_spe_cpus(kvm));	/* NULL if no SPE device */

...

/* SPE: set once so subset whatever is there */
ret = kvm_set_supported_cpus(kvm, &spe_pmu->supported_cpus,
		kvm->arch.supported_cpus);

Which I think should cover everything off?

And also it means there's no longer an -ENOMEM to worry about or document
here which is nice :) and I think the sashiko cpumask_var_t issue is
resolved by it too.

>
> [..]
> >
> > > +
> > >  static int kvm_arm_pmu_v3_set_pmu(struct kvm_vcpu *vcpu, int pmu_id)
> > >  {
> > >  	struct kvm *kvm = vcpu->kvm;
> > > @@ -1104,8 +1109,11 @@ static int kvm_arm_pmu_v3_set_pmu(struct kvm_vcpu *vcpu, int pmu_id)
> > >  				break;
> > >  			}
> > >
> > > +			ret = kvm_pmu_update_supported_cpus(kvm, &arm_pmu->supported_cpus);
> > > +			if (ret)
> > > +				break;
> > >  			kvm_arm_set_pmu(kvm, arm_pmu);
> > > -			cpumask_copy(kvm->arch.supported_cpus, &arm_pmu->supported_cpus);
> > > +
> >
> > Looks like a stray extra line here?
>
> Fixed.
>
> >
> > >
> > >  			/*
> > >  			 * Since a specific PMU is explicitly selected,
> > > @@ -1117,7 +1125,6 @@ static int kvm_arm_pmu_v3_set_pmu(struct kvm_vcpu *vcpu, int pmu_id)
> > >  				kvm->arch.pmmir_slots =
> > >  					FIELD_GET(ARMV8_PMU_SLOTS,
> > >  						  arm_pmu->reg_pmmir);
> > > -			ret = 0;
> >
> > I guess because you assign ret above (and if non-zero bail) you don't need
> > to reset here, but probably worth keeping just to be really clear as to
> > intent?
>
> Ok.

Thanks for above bits! :)

> > > +{
> > > +	struct arm_spe_pmu *spe_pmu;
> > > +
> > > +	guard(mutex)(&spe_pmus_lock);
> > > +
> > > +	spe_pmu = kvm->arch.kvm_spe.spe_pmu;
> > > +	if (!spe_pmu)
> > > +		return;
> > > +
> > > +	module_put(spe_pmu->pmu.module);
> >
> > Does spe_pmus_lock (hopefully spe_instances_lock in future :P) need to be
> > held over module_put()? Seems unnecessary.
>
> Looks alright to me.

What is the lock protecting over module_put()? I thought only the spe_pmus list
which isn't touched there is it?

>
> >
> > > +}
> > > +
> > > +bool kvm_spe_pmu_set(struct kvm *kvm)
> >
> > See comments above re: naming.
> >
> > > +{
> > > +	return !!kvm->arch.kvm_spe.spe_pmu;
> >
> > This !! is unnecessary. The conversion to bool handles it for you.
>
> Ok.

Thanks!

> > > +	struct spe_pmu_entry *entry;
> > > +
> > > +	if (kvm_vm_has_ran_once(kvm))
> > > +		return -EBUSY;
> > > +
> > > +	guard(mutex)(&spe_pmus_lock);
> > > +
> > > +	list_for_each_entry(entry, &spe_pmus, link) {
> > > +		if (entry->spe_pmu->pmu.type == spe_id) {
> > > +			spe_pmu = entry->spe_pmu;
> > > +			break;
> > > +		}
> > > +	}
> > > +
> > > +	if (!spe_pmu)
> > > +		return -ENXIO;
> > > +
> > > +	existing_spe_pmu = kvm_spe->spe_pmu;
> > > +	if (existing_spe_pmu) {
> > > +		if (existing_spe_pmu != spe_pmu)
> > > +			return -EINVAL;
> >
> > This really should be -EBUSY for consistency I think.
>
> Consistency with what?

With how 'already configured, can't change it' errors are reported
elsewhere. SET_PMU returns -EBUSY when a filter has been set for a
different PMU, and this attribute itself returns -EBUSY once the VM has
run, so this is inconsistent.

It also matters for userspace to differentiate between failure states -
EINVAL means both 'a different SPE device is already assigned' and 'no
physical CPUs in common', returning -EBUSY for the first one solves that.

> >
> > Assuming you are on board with the suggested rework, I feel like this patch
> > needs splitting up into:
>
> I'm not going to risk breaking userspace, and without that I don't see the need
> to create a separate patch to introduce a one line helper.

The suggested helper is >1 line and eliminates a bunch of code including
allocation and a goto.

With the suggested code above adapted to your uAPI comment it reduces ~48
lines down to 16 and also eliminates an unnecessary allocation, and tricky
failure paths as a result.

Sorry if I didn't make it clear that this was the point of that!

--
Cheers, Lorenzo

  parent reply	other threads:[~2026-12-04 18:14 UTC|newest]

Thread overview: 130+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-03 16:05 [RFC PATCH v7 00/28] KVM: arm64: Add Statistical Profiling Extension (SPE) support Alexandru Elisei
2026-09-03 16:05 ` [RFC PATCH v7 01/28] arm64/sysreg: Add the nVM field to PMBLIMITR_EL1 Alexandru Elisei
2026-09-03 16:14   ` sashiko-bot
2026-10-15 13:23   ` Lorenzo Stoakes (ARM)
2026-09-03 16:05 ` [RFC PATCH v7 02/28] arm64/sysreg: Define MDCR_EL2.E2PB values Alexandru Elisei
2026-09-03 16:12   ` sashiko-bot
2026-10-15 13:52   ` Lorenzo Stoakes (ARM)
2026-11-11 17:14     ` Alexandru Elisei
2026-11-16 18:00       ` Lorenzo Stoakes (ARM)
2026-09-03 16:05 ` [RFC PATCH v7 03/28] KVM: arm64: Add CONFIG_KVM_ARM_SPE Kconfig option Alexandru Elisei
2026-09-03 16:13   ` sashiko-bot
2026-10-15 14:15   ` Lorenzo Stoakes (ARM)
2026-11-11 17:16     ` Alexandru Elisei
2026-11-16 18:00       ` Lorenzo Stoakes (ARM)
2026-09-03 16:05 ` [RFC PATCH v7 04/28] perf: arm_spe_pmu: Move struct arm_spe_pmu to a separate header file Alexandru Elisei
2026-09-03 16:11   ` sashiko-bot
2026-10-15 14:40   ` Lorenzo Stoakes (ARM)
2026-11-11 17:17     ` Alexandru Elisei
2026-11-16 18:03       ` Lorenzo Stoakes (ARM)
2026-09-03 16:06 ` [RFC PATCH v7 05/28] perf: arm_spe_pmu: Add PMBIDR_EL1 and PMSIDR_EL1 to struct arm_spe_pmu Alexandru Elisei
2026-09-03 16:11   ` sashiko-bot
2026-10-15 15:12   ` Lorenzo Stoakes (ARM)
2026-11-11 17:20     ` Alexandru Elisei
2026-11-16 17:56       ` Lorenzo Stoakes (ARM)
2026-11-27 14:59         ` Alexandru Elisei
2026-09-03 16:06 ` [RFC PATCH v7 06/28] KVM: arm64: Add KVM_CAP_ARM_SPE capability Alexandru Elisei
2026-09-03 16:15   ` sashiko-bot
2026-10-15 16:51   ` Lorenzo Stoakes (ARM)
2026-11-12 15:34     ` Alexandru Elisei
2026-11-12 16:13       ` Alexandru Elisei
2026-11-16 18:31         ` Lorenzo Stoakes (ARM)
2026-11-16 18:29       ` Lorenzo Stoakes (ARM)
2026-11-27 14:58         ` Alexandru Elisei
2026-09-03 16:06 ` [RFC PATCH v7 07/28] KVM: arm64: Add KVM_ARM_VCPU_SPE VCPU feature Alexandru Elisei
2026-09-03 16:21   ` sashiko-bot
2026-10-16 14:23   ` Lorenzo Stoakes (ARM)
2026-11-12 17:18     ` Alexandru Elisei
2026-11-16 17:59       ` Lorenzo Stoakes (ARM)
2026-11-27 15:02         ` Alexandru Elisei
2026-09-03 16:06 ` [RFC PATCH v7 08/28] HACK! KVM: arm64: Disable SPE virtualization if protected KVM is enabled Alexandru Elisei
2026-09-03 16:21   ` sashiko-bot
2026-10-16 14:30   ` Lorenzo Stoakes (ARM)
2026-11-27 15:04     ` Alexandru Elisei
2026-09-03 16:06 ` [RFC PATCH v7 09/28] HACK! KVM: arm64: Enable SPE virtualization only in VHE mode Alexandru Elisei
2026-09-03 16:15   ` sashiko-bot
2026-09-03 16:06 ` [RFC PATCH v7 10/28] HACK! KVM: arm64: Disable SPE virtualization if nested virt is enabled Alexandru Elisei
2026-09-03 16:20   ` sashiko-bot
2026-09-03 16:06 ` [RFC PATCH v7 11/28] KVM: arm64: Add a new VCPU device control group for SPE Alexandru Elisei
2026-09-03 16:22   ` sashiko-bot
2026-10-16 14:44   ` Lorenzo Stoakes (ARM)
2026-11-27 15:05     ` Alexandru Elisei
2026-09-03 16:06 ` [RFC PATCH v7 12/28] KVM: arm64: Add SPE VCPU device attribute to set the interrupt number Alexandru Elisei
2026-09-03 16:27   ` sashiko-bot
2026-10-20 17:20   ` Lorenzo Stoakes (ARM)
2026-11-27 15:06     ` Alexandru Elisei
2026-12-04 18:33       ` Lorenzo Stoakes (ARM)
2026-10-28 16:52   ` Suzuki K Poulose
2026-11-27 15:07     ` Alexandru Elisei
2026-09-03 16:06 ` [RFC PATCH v7 13/28] KVM: arm64: Add SPE VCPU device attribute to set the SPE device Alexandru Elisei
2026-09-03 16:39   ` sashiko-bot
2026-09-04  9:32     ` Alexandru Elisei
2026-10-28 13:11   ` Lorenzo Stoakes (ARM)
2026-11-27 15:10     ` Alexandru Elisei
2026-12-01 17:36       ` Alexandru Elisei
2026-12-04 18:21         ` Lorenzo Stoakes (ARM)
2026-12-04 18:14       ` Lorenzo Stoakes (ARM) [this message]
2026-09-03 16:06 ` [RFC PATCH v7 14/28] KVM: arm64: Add SPE VCPU device attribute to initialize SPE Alexandru Elisei
2026-09-03 16:28   ` sashiko-bot
2026-10-28 13:45   ` Lorenzo Stoakes (ARM)
2026-10-29 18:03   ` Lorenzo Stoakes (ARM)
2026-09-03 16:06 ` [RFC PATCH v7 15/28] KVM: arm64: Use PMSVer from the assigned SPE instance Alexandru Elisei
2026-09-03 16:41   ` sashiko-bot
2026-09-04 10:26     ` Alexandru Elisei
2026-10-28 16:41   ` Lorenzo Stoakes (ARM)
2026-09-03 16:06 ` [RFC PATCH v7 16/28] KVM: arm64: Add SPE system registers to VCPU context Alexandru Elisei
2026-09-03 16:32   ` sashiko-bot
2026-09-04 10:28     ` Alexandru Elisei
2026-10-29 15:42   ` Lorenzo Stoakes (ARM)
2026-09-03 16:06 ` [RFC PATCH v7 17/28] KVM: arm64: Apply a RES0 mask to PMBLIMITR_EL1 writes Alexandru Elisei
2026-09-03 16:37   ` sashiko-bot
2026-09-04 10:41     ` Alexandru Elisei
2026-10-29 17:23   ` Lorenzo Stoakes (ARM)
2026-09-03 16:06 ` [RFC PATCH v7 18/28] KVM: arm64: config: Use functions from spe.c to test FEAT_SPE_{FnE,FDS} Alexandru Elisei
2026-09-03 16:40   ` sashiko-bot
2026-10-29 17:47   ` Lorenzo Stoakes (ARM)
2026-09-03 16:06 ` [RFC PATCH v7 19/28] KVM: arm64: VHE: Context switch SPE state Alexandru Elisei
2026-09-03 16:43   ` sashiko-bot
2026-09-04 11:35     ` Alexandru Elisei
2026-11-03 14:10       ` Lorenzo Stoakes (ARM)
2026-11-03 16:00   ` Lorenzo Stoakes (ARM)
2026-09-03 16:06 ` [RFC PATCH v7 20/28] KVM: arm64: Allow guest SPE physical timestamps only if kernel allows it Alexandru Elisei
2026-09-03 16:48   ` sashiko-bot
2026-09-04 13:45     ` Alexandru Elisei
2026-11-03 17:04   ` Lorenzo Stoakes (ARM)
2026-09-03 16:06 ` [RFC PATCH v7 21/28] KVM: arm64: Handle SPE maintenance interrupts Alexandru Elisei
2026-09-03 16:58   ` sashiko-bot
2026-09-04 14:04     ` Alexandru Elisei
2026-11-05 16:05   ` Lorenzo Stoakes (ARM)
2026-09-03 16:06 ` [RFC PATCH v7 22/28] arm64: errata: Disable SPE in KVM Alexandru Elisei
2026-09-03 16:50   ` sashiko-bot
2026-11-03 20:12   ` Lorenzo Stoakes (ARM)
2026-09-03 16:06 ` [RFC PATCH v7 23/28] KVM: arm64: Add kvm-arm.ignore_spe_errata kernel parameter Alexandru Elisei
2026-09-03 16:46   ` sashiko-bot
2026-11-03 19:37   ` Lorenzo Stoakes (ARM)
2026-09-03 16:06 ` [RFC PATCH v7 24/28] arm64: errata: Don't enable guest buffer if misprogrammed Alexandru Elisei
2026-09-03 17:00   ` sashiko-bot
2026-11-05 16:51   ` Lorenzo Stoakes (ARM)
2026-09-03 16:06 ` [RFC PATCH v7 25/28] KVM: arm64: at: Use callback for reading descriptor Alexandru Elisei
2026-09-03 16:51   ` sashiko-bot
2026-11-03 19:55   ` Lorenzo Stoakes (ARM)
2026-09-03 16:06 ` [RFC PATCH v7 26/28] KVM: arm64: Map memory on a SPE stage 2 fault Alexandru Elisei
2026-09-03 17:08   ` sashiko-bot
2026-11-05 17:10   ` Lorenzo Stoakes (ARM)
2026-09-03 16:06 ` [RFC PATCH v7 27/28] KVM: arm64: Handle dirty page logging when SPE feature is set Alexandru Elisei
2026-09-03 17:06   ` sashiko-bot
2026-09-04 14:41     ` Alexandru Elisei
2026-11-05 17:35   ` Lorenzo Stoakes (ARM)
2026-09-03 16:06 ` [RFC PATCH v7 28/28] KVM: arm64: Allow the creation of a SPE enabled VM Alexandru Elisei
2026-09-03 16:59   ` sashiko-bot
2026-09-04 14:09     ` Alexandru Elisei
2026-11-03 19:49   ` Lorenzo Stoakes (ARM)
2026-10-15 10:25 ` [RFC PATCH v7 00/28] KVM: arm64: Add Statistical Profiling Extension (SPE) support Alexandru Elisei
2026-10-15 12:50   ` Lorenzo Stoakes (ARM)
2026-10-15 13:22     ` Alexandru Elisei
2026-11-05 17:47 ` Lorenzo Stoakes (ARM)
2026-11-05 19:28   ` Lorenzo Stoakes (ARM)
2026-11-06 11:41   ` Alexandru Elisei
2026-11-16 17:51     ` Lorenzo Stoakes (ARM)
2026-11-19 15:24       ` Alexandru Elisei
2026-12-04 17:00         ` Lorenzo Stoakes (ARM)

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=axL4rayGF54n9Wpf@pazuzu \
    --to=ljs@kernel.org \
    --cc=alexandru.elisei@arm.com \
    --cc=catalin.marinas@arm.com \
    --cc=fuad.tabba@linux.dev \
    --cc=james.clark@linaro.org \
    --cc=joey.gouly@arm.com \
    --cc=kvmarm@lists.linux.dev \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-perf-users@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=maz@kernel.org \
    --cc=oupton@kernel.org \
    --cc=seiden@linux.ibm.com \
    --cc=suzuki.poulose@arm.com \
    --cc=will@kernel.org \
    --cc=yuzenghui@huawei.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox