Re: [PATCH] ix86: really make user_mode() work correctly for VM86 mode

From: Andy Lutomirski
Date: Thu May 28 2015 - 13:34:26 EST


On May 28, 2015 1:16 AM, "Jan Beulich" <JBeulich@xxxxxxxx> wrote:
>
> While commit efa7045103 ("x86/asm/entry: Make user_mode() work
> correctly if regs came from VM86 mode") claims that "user_mode() is now
> identical to user_mode_vm()", this wasn't actually the case - no prior
> commit made it so.

That's embarrassing! I'm not sure how I screwed that up.

Acked-by: Andy Lutomirski <luto@xxxxxxxxxx>

This is needed for x86/urgent. I'll see if I can write a simple test
case, too. My old do_bounds test should be a good start.

--Andy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/