Re: [PATCH 00/16] Entry stuff, in decent shape now

2017-11-21 Thread Andy Lutomirski
On Tue, Nov 21, 2017 at 7:59 AM, Andy Lutomirski wrote: > On Mon, Nov 20, 2017 at 11:33 PM, Ingo Molnar wrote: >> >> * Andy Lutomirski wrote: >> >>> This sets up stack switching, including for SYSCALL. I think it's >>> in decent shape. >>> >>> Known issues: >>> - KASAN is likely to be busted.

Re: [PATCH 00/16] Entry stuff, in decent shape now

2017-11-21 Thread Andy Lutomirski
On Mon, Nov 20, 2017 at 11:33 PM, Ingo Molnar wrote: > > * Andy Lutomirski wrote: > >> This sets up stack switching, including for SYSCALL. I think it's >> in decent shape. >> >> Known issues: >> - KASAN is likely to be busted. This could be fixed either by teaching >>KASAN that cpu_entry_

Re: KASAN help, please (Re: [PATCH 00/16] Entry stuff, in decent shape now)

2017-11-21 Thread Andy Lutomirski
> On Nov 21, 2017, at 2:09 AM, Dmitry Vyukov wrote: > >> On Mon, Nov 20, 2017 at 10:44 PM, Andy Lutomirski wrote: >>> On Mon, Nov 20, 2017 at 9:07 AM, Andy Lutomirski wrote: >>> This sets up stack switching, including for SYSCALL. I think it's >>> in decent shape. >>> >>> Known issues: >>>

Re: KASAN help, please (Re: [PATCH 00/16] Entry stuff, in decent shape now)

2017-11-21 Thread Dmitry Vyukov
On Mon, Nov 20, 2017 at 10:44 PM, Andy Lutomirski wrote: > On Mon, Nov 20, 2017 at 9:07 AM, Andy Lutomirski wrote: >> This sets up stack switching, including for SYSCALL. I think it's >> in decent shape. >> >> Known issues: >> - KASAN is likely to be busted. This could be fixed either by teach

Re: [PATCH 00/16] Entry stuff, in decent shape now

2017-11-20 Thread Ingo Molnar
* Andy Lutomirski wrote: > This sets up stack switching, including for SYSCALL. I think it's > in decent shape. > > Known issues: > - KASAN is likely to be busted. This could be fixed either by teaching >KASAN that cpu_entry_area contains valid stacks (I have no clue how >to go about

KASAN help, please (Re: [PATCH 00/16] Entry stuff, in decent shape now)

2017-11-20 Thread Andy Lutomirski
On Mon, Nov 20, 2017 at 9:07 AM, Andy Lutomirski wrote: > This sets up stack switching, including for SYSCALL. I think it's > in decent shape. > > Known issues: > - KASAN is likely to be busted. This could be fixed either by teaching >KASAN that cpu_entry_area contains valid stacks (I have

Re: [PATCH 00/16] Entry stuff, in decent shape now

2017-11-20 Thread Andy Lutomirski
On Mon, Nov 20, 2017 at 9:07 AM, Andy Lutomirski wrote: > This sets up stack switching, including for SYSCALL. I think it's > in decent shape. > > - 32-bit kernels are failing the sigreturn_32 test. But they're also >failing without the patches, so I'm not sure this is a bug in the >se

[PATCH 00/16] Entry stuff, in decent shape now

2017-11-20 Thread Andy Lutomirski
This sets up stack switching, including for SYSCALL. I think it's in decent shape. Known issues: - KASAN is likely to be busted. This could be fixed either by teaching KASAN that cpu_entry_area contains valid stacks (I have no clue how to go about doing this) or by rigging up the IST entr