Page MenuHomeFreeBSD

x86: initialize initial FPU state earlier
ClosedPublic

Authored by kib on May 27 2021, 4:37 PM.
Tags
None
Referenced Files
F148311609: D30512.diff
Tue, Mar 17, 3:01 AM
F148302866: D30512.id90073.diff
Tue, Mar 17, 1:50 AM
Unknown Object (File)
Tue, Mar 10, 10:49 AM
Unknown Object (File)
Mon, Mar 9, 4:46 PM
Unknown Object (File)
Mon, Mar 2, 9:38 PM
Unknown Object (File)
Mon, Mar 2, 5:09 AM
Unknown Object (File)
Sun, Mar 1, 5:49 PM
Unknown Object (File)
Thu, Feb 26, 6:31 AM
Subscribers
None

Details

Summary

Make it under SI_SUB_CPU sysinit, instead of much later SI_SUB_DRIVERS. The SI_SUB_DRIVERS survived from times when FPU used real ISA attachment, now it is only pnp stub claiming id.

PR: 255997

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

kib requested review of this revision.May 27 2021, 4:37 PM
kib created this revision.
sys/amd64/amd64/fpu.c
498

Can this be SI_ORDER_ANY? I can't recall if there is a specific order to the SI_SUB_CPU inits.

kib marked an inline comment as done.

Use SI_ORDER_ANY on amd64, same as on i386.

This revision is now accepted and ready to land.May 28 2021, 5:49 PM
This revision was automatically updated to reflect the committed changes.