Project

General

Profile

Actions

Submit #3264

closed

[PATCH] Clarify XSAVE features, and always use XSAVE

Added by chicken 11 months ago. Updated 10 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Kernel
Target version:
Start date:
01/15/2021
Due date:
% Done:

0%

Estimated time:

Description

1) Introduce npx_xcr0_mask, to keep track of which XCR0 features are enabled
system-wide.

2) Always use XSAVE regardless of whether AVX is supported or not. XSAVE may be
supported without AVX, on certain CPUs and also under hypervisors that expose
XSAVEOPT without AVX.


Files

1-introduce-npx_xcr0_mask.diff (3.45 KB) 1-introduce-npx_xcr0_mask.diff chicken, 01/15/2021 11:44 PM
2-always-use-XSAVE.diff (1.96 KB) 2-always-use-XSAVE.diff chicken, 01/15/2021 11:44 PM
Actions #1

Updated by dillon 10 months ago

  • Status changed from New to Resolved
  • Assignee set to dillon

Committed with minor formatting adjustments, nice!

-Matt

Actions

Also available in: Atom PDF