Suresh Siddha
04944b793e
x86: xsave: set FP, SSE bits in the xsave header in the user sigcontext
...
If a processor implementation discern that a processor state component is in
its initialized state, it may modify the corresponding bit in the
xsave header.xstate_bv as '0'. State in the memory layout setup by 'xsave'
will be consistent with the bit values in the header.
During signal handling, legacy applications may change the FP/SSE bits
in the sigcontext memory layout without touching the FP/SSE header bits
in the xsave header. So always set FP/SSE bits in the xsave header
while saving the sigcontext state to the user space. During signal return,
this will enable the kernel to capture any changes to the FP/SSE bits by the
legacy applications which don't touch xsave headers.
xsave aware apps can change the xstate_bv in the xsave header aswell
as change any contents in the memory layout. xrestor as part of sigreturn
will capture all the changes.
Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2008-10-07 14:36:08 -07:00
..
2008-09-04 09:04:45 -07:00
2008-09-04 09:04:45 -07:00
2008-07-10 10:13:51 -07:00
2008-08-18 18:22:18 -07:00
2008-08-15 13:56:56 +02:00
2008-08-19 02:16:24 +02:00
2008-07-11 11:00:54 +02:00
2008-09-04 09:04:45 -07:00
2008-09-04 09:04:45 -07:00
2008-07-24 10:47:22 -07:00
2008-07-08 13:13:15 +02:00
2008-07-22 21:53:53 +02:00
2007-10-11 11:17:24 +02:00
2008-07-18 14:35:14 +02:00
2008-01-30 13:32:31 +01:00
2008-08-25 17:46:12 -07:00
2007-10-19 11:53:33 -07:00
2007-10-13 10:01:23 -07:00
2008-04-27 12:00:29 +03:00
2008-01-30 13:31:31 +01:00
2008-04-17 17:41:34 +02:00
2008-07-20 09:18:17 +02:00
2008-06-18 13:11:01 +02:00
Merge branches 'x86/urgent', 'x86/amd-iommu', 'x86/apic', 'x86/cleanups', 'x86/core', 'x86/cpu', 'x86/fixmap', 'x86/gart', 'x86/kprobes', 'x86/memtest', 'x86/modules', 'x86/nmi', 'x86/pat', 'x86/reboot', 'x86/setup', 'x86/step', 'x86/unify-pci', 'x86/uv', 'x86/xen' and 'xen-64bit' into x86/for-linus
2008-07-21 16:37:17 +02:00
2008-08-18 08:50:19 +02:00
2008-07-08 11:49:49 +02:00
2008-01-30 13:31:19 +01:00
2008-07-11 10:24:04 +02:00
2008-07-23 18:00:30 -07:00
2008-07-23 17:55:22 -07:00
2008-06-23 22:10:56 +02:00
2008-07-30 09:41:48 -07:00
2008-07-25 13:08:16 +02:00
2008-07-27 06:28:16 +02:00
2008-07-27 06:28:16 +02:00
2008-09-04 09:04:45 -07:00
2008-06-19 14:19:03 +02:00
2008-06-05 15:10:02 +02:00
2008-08-15 17:31:50 +02:00
2008-07-27 21:43:11 +02:00
2008-07-16 11:07:30 +02:00
2008-07-08 13:16:14 +02:00
2008-08-14 13:23:45 +02:00
2008-06-23 22:10:56 +02:00
2008-10-07 14:36:08 -07:00
2008-01-24 20:40:40 -08:00
2008-04-26 17:35:47 +02:00
2008-07-12 08:44:55 +02:00
2008-05-16 17:22:20 -04:00
2008-08-14 10:55:26 +02:00
2008-08-14 10:55:26 +02:00
2008-07-09 13:57:54 +02:00
2008-01-30 13:33:10 +01:00
2008-07-18 12:51:21 +02:00
2008-07-16 10:54:39 +02:00
2008-05-25 07:11:49 +02:00
2008-05-24 16:47:39 +02:00
2008-07-24 12:49:26 -07:00
2007-10-11 11:17:24 +02:00
2008-07-18 17:22:04 -07:00
2008-04-19 19:19:54 +02:00
2008-07-25 10:53:30 -07:00
2008-04-27 12:00:28 +03:00
2008-07-20 12:42:37 +03:00
2008-07-26 16:40:33 +02:00
2008-08-15 08:35:43 -07:00
2008-07-26 12:00:04 -07:00
2008-07-30 19:49:24 +02:00
2008-04-17 17:40:49 +02:00
2008-08-15 17:12:32 +02:00
2008-07-26 16:40:33 +02:00
2008-08-18 07:49:06 +02:00
2008-07-24 10:47:21 -07:00
2008-09-04 09:04:45 -07:00
2008-08-25 17:46:12 -07:00
2008-08-15 15:35:31 +02:00
2008-09-04 09:04:45 -07:00
2008-04-29 08:06:07 -07:00
2008-07-08 13:13:15 +02:00
2008-07-08 13:15:52 +02:00
2008-09-04 09:04:45 -07:00
2008-08-21 10:01:52 +02:00
2008-07-29 12:12:48 +02:00
2008-07-28 14:31:10 -07:00
2008-07-26 12:00:03 -07:00
2008-07-26 12:00:03 -07:00
2008-01-30 13:30:18 +01:00
2008-07-08 12:50:05 +02:00
2008-08-15 14:04:30 +02:00
2008-08-15 14:04:30 +02:00
Merge branches 'x86/urgent', 'x86/amd-iommu', 'x86/apic', 'x86/cleanups', 'x86/core', 'x86/cpu', 'x86/fixmap', 'x86/gart', 'x86/kprobes', 'x86/memtest', 'x86/modules', 'x86/nmi', 'x86/pat', 'x86/reboot', 'x86/setup', 'x86/step', 'x86/unify-pci', 'x86/uv', 'x86/xen' and 'xen-64bit' into x86/for-linus
2008-07-21 16:37:17 +02:00
2008-07-16 12:15:17 -07:00
2008-06-24 21:02:31 +03:00
2008-07-15 10:39:57 -07:00
2008-05-25 08:58:30 +02:00
2008-07-26 16:40:33 +02:00
2008-08-15 08:35:42 -07:00
2008-04-17 17:41:29 +02:00
2008-06-12 18:05:42 -07:00
2008-01-31 22:05:45 +01:00
2008-07-28 22:20:41 +02:00
2008-09-04 09:04:45 -07:00
2008-07-30 19:49:25 +02:00
2008-07-30 19:49:27 +02:00
2008-08-14 10:56:06 +02:00
2008-07-06 14:01:50 +02:00
2008-09-04 09:04:45 -07:00
2008-08-15 19:16:05 +02:00
2008-06-30 09:20:55 +02:00
2008-07-16 12:15:17 -07:00
2008-07-26 16:31:35 +02:00
2008-06-10 12:34:54 +02:00
2008-05-03 13:50:33 -07:00
2008-07-22 21:53:53 +02:00
2008-07-24 10:47:29 -07:00
2007-10-17 20:16:12 +02:00
2008-04-17 17:41:15 +02:00
2008-02-14 23:30:20 +01:00
2008-07-20 09:25:52 +02:00
2008-07-09 07:43:27 +02:00
2008-06-26 11:24:38 +02:00
2008-07-15 21:55:59 +02:00
2008-08-20 12:36:03 +02:00
2008-04-10 17:28:26 -07:00
2008-01-30 13:31:52 +01:00
2008-02-19 16:18:30 +01:00
2008-04-26 17:35:47 +02:00
2008-04-17 17:41:37 +02:00
2008-05-25 10:55:11 +02:00
2008-07-30 19:49:24 +02:00
2008-07-30 19:49:24 +02:00
2008-08-21 10:01:52 +02:00
2008-08-25 14:39:19 +02:00
2007-10-11 11:17:24 +02:00
2008-08-14 11:18:08 +02:00
2008-04-17 17:41:33 +02:00
2008-08-14 10:55:26 +02:00
2008-07-09 07:43:28 +02:00
2008-08-15 08:35:42 -07:00
2008-07-14 15:28:10 -07:00
2008-05-25 08:58:24 +02:00
2008-07-15 21:55:59 +02:00
2008-07-14 16:11:52 +02:00
2008-10-07 14:36:08 -07:00