Re: [PATCH v3] virt: arm-cca-guest: use migrate_disable() for attestation token requests

From: Will Deacon

Date: Wed Jul 22 2026 - 04:35:58 EST


On Fri, 12 Jun 2026 20:09:21 +0900, Kohei Enju wrote:
> The RSI attestation token init and continue calls must be issued from
> the same CPU. arm_cca_report_new() currently snapshots the CPU number
> and uses smp_call_function_single() to issue those calls on that CPU.
>
> With CONFIG_DEBUG_PREEMPT=y, the smp_processor_id() call used for the
> snapshot triggers a debug splat [0] because it runs in preemptible
> context. The snapshot does not pin the task to that CPU; it is only used
> to choose the target CPU for smp_call_function_single(), which can fail
> if that CPU is no longer available.
>
> [...]

Applied to arm64 (for-next/coco), thanks!

[1/1] virt: arm-cca-guest: use migrate_disable() for attestation token requests
https://git.kernel.org/arm64/c/24f55f511b9e

Cheers,
--
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev