x86, xsave: xsave/xrstor support
Status from this message: Applied as tip:x86/xsave.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | x86, xsave: xsave cpuid feature bitsarch/ include/ | +3 | 0 replies | |
| 2/9 | x86, xsave: enable xsave/xrstor on cpus with xsave supportarch/ arch/ arch/ +7 more | +148 | 0 replies | |
| 3/9 | x86, xsave: context switch support using xsave/xrstorarch/ arch/ arch/ +4 more | +103 | 0 replies | |
| 4/9 | x86, xsave: dynamically allocate sigframes fpstate instead of static allocationarch/ arch/ arch/ +4 more | +50 | 0 replies | |
| 5/9 | x86, xsave: reorganization of signal save/restore fpstate code layoutarch/ arch/ arch/ +3 more | +134 | 0 replies | |
| 6/9 | x86, xsave: xsave/xrstor specific routinesinclude/ | +52 | 0 replies | |
| 7/9 | x86, xsave: struct _fpstate extensions to include extended state informationinclude/ include/ include/ | +92 | 0 replies | |
| 8/9 | x86, xsave: save/restore the extended state context in sigframearch/ arch/ arch/ +5 more | +264 | 0 replies | |
| 9/9 | x86, xsave: update xsave header bits during ptrace fpregs setarch/ | +13 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [patch 0/9] x86, xsave: xsave/xrstor support
This patchset adds the support for xsave/xrstor infrastructure for x86. xsave/xrstor manages the existing and future processor extended states in x86 architecutre.
More info on xsave/xrstor can be found in the Intel SDM's located at
http://www.intel.com/products/processor/manuals/index.htm
The layout of the xsave/xrstor area extends from the 512-byte FXSAVE/FXRSTOR layout. xsave/xrstor area layout consists of:
- fxsave/fxrstor area (512 bytes)
- xsave header area (64 bytes)
- set of save areas, each corresponding to a processor extended state
The number of save areas, the offset and the size of each save area is enumerated by CPUID leaf function 0xd.
This patch includes the basic xsave/xrstor infrastructure(supporting FP/SSE), which includes:
- context switch support, extending traditional lazy restore mechanism
- signal handling support, extending(using the software reserved bytes 464..511 in the current 512byte layout of fxsave frame) the memory layout pointed out by the fpstate pointer in the sigcontext
More details in the patches to follow.
---