x86, xsave: Track the offset, size of state in the xsave layout
commita1488f8bf4d72ad724700f6e982469a1240e4264
authorSuresh Siddha <suresh.b.siddha@intel.com>
Mon, 19 Jul 2010 23:05:48 +0000 (19 16:05 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 20 Jul 2010 00:51:17 +0000 (19 17:51 -0700)
tree44d88423b1e9ad3756f1b58ab6cc2768abc46777
parent5734f62b6601d88fd8ec720cb56b93fd3a030557
x86, xsave: Track the offset, size of state in the xsave layout

Subleaves of the cpuid vector 0xd provides the offset and size of different
feature state that are managed by the xsave/xrstor. Track this for the upcoming
usage during signal handling.

Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
LKML-Reference: <20100719230205.262987929@sbs-t61.sc.intel.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/kernel/xsave.c