--- - branch: MAIN date: Fri Apr 1 19:57:22 UTC 2022 files: - new: '1.12' old: '1.11' path: src/sys/arch/aarch64/aarch64/fpu.c pathrev: src/sys/arch/aarch64/aarch64/fpu.c@1.12 type: modified - new: '1.77' old: '1.76' path: src/sys/arch/arm/vfp/vfp_init.c pathrev: src/sys/arch/arm/vfp/vfp_init.c@1.77 type: modified - new: '1.203' old: '1.202' path: src/sys/arch/x86/x86/cpu.c pathrev: src/sys/arch/x86/x86/cpu.c@1.203 type: modified - new: '1.77' old: '1.76' path: src/sys/arch/x86/x86/fpu.c pathrev: src/sys/arch/x86/x86/fpu.c@1.77 type: modified id: 20220401T195722Z.a11259ff9dfb054baf53f2318a92bfb9c25b70db log: | x86, arm: Allow fpu_kern_enter/leave while cold. Normally these are forbidden above IPL_VM, so that FPU usage doesn't block IPL_SCHED or IPL_HIGH interrupts. But while cold, e.g. during builtin module initialization at boot, all interrupts are blocked anyway so it's a moot point. Also initialize x86 cpu_info_primary.ci_kfpu_spl to -1 so we don't trip over an assertion about it while cold -- the assertion is meant to detect reentrance into fpu_kern_enter/leave, which is prohibited. Also initialize cpu0's ci_kfpu_spl. module: src subject: 'CVS commit: src/sys/arch' unixtime: '1648843042' user: riastradh