[lkml]   [2012]   [Feb]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH 0/5] i387: stable kernel backport

This is a reasonably minimal backport of the i387 state save/restore bug.

A few of the commits are just minimal "make it easier to backport" commits
that don't necessarily fix anything on their own. And a few of the others
are combinations of what is two commits in the development tree, because
it turned out to be easier and cleaner that way.

The last one is the one that fixes the x86-32 bug, but the preemption
fixes are real fixes too, although they are probably not something that
anybody has necessarily ever hit in reality because the race window is so
small. Even so, if the fix itself isn't that important, the "make it
easier to backport the main one" would still be a big argument for it.

I *really* hope that the people who could reproduce this bug will test the
back-port series too, since I never actually saw the bug personally to
begin with. And again, big thanks to Raphael who helped pinpoint and debug


Linus Torvalds (5):
i387: math_state_restore() isn't called from asm
i387: make irq_fpu_usable() tests more robust
i387: fix x86-64 preemption-unsafe user stack save/restore
i387: move TS_USEDFPU clearing out of __save_init_fpu and into callers
i387: move TS_USEDFPU flag from thread_info to task_struct

arch/x86/include/asm/i387.h | 158 +++++++++++++++++++++++++++++++-----
arch/x86/include/asm/processor.h | 1 +
arch/x86/include/asm/thread_info.h | 2 -
arch/x86/kernel/traps.c | 14 ++--
arch/x86/kernel/xsave.c | 12 +--
arch/x86/kvm/vmx.c | 2 +-
6 files changed, 150 insertions(+), 39 deletions(-)


 \ /
  Last update: 2012-02-22 21:57    [W:0.083 / U:9.740 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site