HomeFreeBSD

Linux 5.16 compat: restore FSR and FSAVE

Description

Linux 5.16 compat: restore FSR and FSAVE

Commit 3b52ccd 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:46 PM
GitHub <noreply@github.com>Committed on Mar 19 2022, 7:46 PM
Parents
rG565089f59242: Allow zfs send to exclude datasets
Branches
Unknown
Tags
Unknown

Event Timeline

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