Re: [PATCH 3/3] arm64/fpsimd: Fix FPSIMD context handling vs PREEMPT_RT

From: Mark Brown
Date: Thu Jul 22 2021 - 14:32:23 EST


On Thu, Jul 22, 2021 at 06:51:57PM +0100, Valentin Schneider wrote:
> Running v5.13-rt1 on my arm64 Juno board triggers:

Acked-by: Mark Brown <broonie@xxxxxxxxxx>

> [ 11.337654] WARNING: CPU: 4 PID: 1 at arch/arm64/kernel/fpsimd.c:296 task_fpsimd_load (arch/arm64/kernel/fpsimd.c:296 (discriminator 1))
> [ 11.337692] Modules linked in:
> [ 11.337705] CPU: 4 PID: 1 Comm: init Not tainted 5.13.0-rt1 #52
> [ 11.337719] Hardware name: ARM Juno development board (r0) (DT)
> [ 11.337727] pstate: 40000005 (nZcv daif -PAN -UAO -TCO BTYPE=--)
> [ 11.337740] pc : task_fpsimd_load (arch/arm64/kernel/fpsimd.c:296 (discriminator 1))
> [ 11.337755] lr : task_fpsimd_load (arch/arm64/kernel/fpsimd.c:296 (discriminator 3))
> [ 11.337769] sp : ffff800012f4bdd0
> [ 11.337775] x29: ffff800012f4bdd0 x28: ffff000800160000 x27: 0000000000000000
> [ 11.337797] x26: 0000000000000000 x25: 0000000000000000 x24: ffff0008001606f0
> [ 11.337816] x23: ffff000800160000 x22: ffff000800160700 x21: ffff000800160000

For readability it's probably better to not include the entire register
contents here - the backtrace ends up about as large as the actual
changelog, a good chunk of which is just the register contents.

Attachment: signature.asc
Description: PGP signature