panic: Assertion pcb->pcb_fpusaved == NULL failed

From: Bjoern A. Zeeb <bzeeb-lists_at_lists.zabbadoz.net>
Date: Mon, 13 May 2024 18:41:49 UTC
Hi,

I think I reported this before;  this is on a 15-CURRENT from today...

It seems the code was last moved/changed in 12257233e8fd94ab24e1a84ad87126af2a7be33b
and that added the MPASS().

What to do?

db> cont
KDB: enter: Break to debugger
timeout stopping cpus
[ thread pid 11 tid 100004 ]
Stopped at      kdb_alt_break_internal+0x1a8:   str     xzr, [x19, #2048]
db> timeout stopping cpus
panic: Assertion pcb->pcb_fpusaved == NULL failed at /usr/src/bz_wifi_drv_update/sys/arm64/arm64/vfp.c:213
cpuid = 2
time = 1715625427
KDB: stack backtrace:
db_trace_self() at db_trace_self
db_trace_self_wrapper() at db_trace_self_wrapper+0x38
vpanic() at vpanic+0x1ac
panic() at panic+0x48
vfp_save_state_savectx() at vfp_save_state_savectx+0x48
savectx() at savectx+0x38
arm_gic_v3_intr() at arm_gic_v3_intr+0xe4
intr_irq_handler() at intr_irq_handler+0x88
handle_el1h_irq() at handle_el1h_irq+0x14
--- interrupt
lock_delay() at lock_delay+0x18
__mtx_lock_sleep() at __mtx_lock_sleep+0xd0
__mtx_lock_flags() at __mtx_lock_flags+0x138
ithread_loop() at ithread_loop+0x280
fork_exit() at fork_exit+0x78
fork_trampoline() at fork_trampoline+0x18
Uptime: 2m11s
Automatic reboot in 15 seconds - press a key on the console to abort
timeout stopping cpus
panic: Assertion

-- 
Bjoern A. Zeeb                                                     r15:7