HomeFreeBSD

Linux 5.16 compat: restore FSR and FSAVE

Description

Linux 5.16 compat: restore FSR and FSAVE

Commit 3b52ccd7d introduced a flaw where FSR and FSAVE are not restored
when using a Linux 5.16 kernel. These instructions are only used when
XSAVE is not supported by the processor meaning only some systems will
encounter this issue.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Attila Fülöp <attila@fueloep.org>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #13210
Closes #13236

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Mar 19 2022, 7:48 PM
GitHub <noreply@github.com>Committed on Mar 19 2022, 7:48 PM
Parents
rG421750672bba: module: freebsd: avoid a taking a destroyed lock in zfs_zevent bits
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rG9e3619c53552: Linux 5.16 compat: restore FSR and FSAVE (authored by Brian Behlendorf <behlendorf1@llnl.gov>).Mar 19 2022, 7:48 PM