[PATCH] KVM: arm64: Fix smp_processor_id() call in preemptible context
Sean Christopherson
seanjc at google.com
Tue Jun 6 10:04:13 PDT 2023
On Tue, Jun 06, 2023, Oliver Upton wrote:
> On Tue, Jun 06, 2023 at 03:46:09PM +0000, Sean Christopherson wrote:
> > I.e. can't you just do?
>
> No, this would break the 'old' ABI, but if we decide to deliberately
> break it I prefer your suggestion over using CPU0.
Ah, if userspace pins the task when doing KVM_ARM_VCPU_PMU_V3_CTRL, then factoring
in the pCPU matters.
More information about the linux-arm-kernel
mailing list