Re: [PATCH] x86/entry/32: Initialize ss1 (SYSENTER_CS shadow) even on non-SEP CPUs

2015-07-23 Thread Andy Lutomirski
On Thu, Jul 23, 2015 at 12:03 PM, Brian Gerst wrote: > On Thu, Jul 23, 2015 at 2:56 PM, Andy Lutomirski wrote: >> native_load_sp0 relies on this. I'm not sure why we haven't seen >> reports of crashes. Maybe no one tests new kernels on non-SEP CPUs. > > It's already statically initialized in cp

Re: [PATCH] x86/entry/32: Initialize ss1 (SYSENTER_CS shadow) even on non-SEP CPUs

2015-07-23 Thread Brian Gerst
On Thu, Jul 23, 2015 at 2:56 PM, Andy Lutomirski wrote: > native_load_sp0 relies on this. I'm not sure why we haven't seen > reports of crashes. Maybe no one tests new kernels on non-SEP CPUs. It's already statically initialized in cpu_tss. -- Brian Gerst -- To unsubscribe from this list: send

[PATCH] x86/entry/32: Initialize ss1 (SYSENTER_CS shadow) even on non-SEP CPUs

2015-07-23 Thread Andy Lutomirski
native_load_sp0 relies on this. I'm not sure why we haven't seen reports of crashes. Maybe no one tests new kernels on non-SEP CPUs. Signed-off-by: Andy Lutomirski --- Of course, I haven't tested on a non-SEP CPU either. Where would I find one? arch/x86/kernel/cpu/common.c | 19 +++--