Re: Linux 4.17-rc1 - kernel paging errors running x86 selftests

2018-04-17 Thread Shuah Khan
On 04/16/2018 12:34 PM, Linus Torvalds wrote: > On Mon, Apr 16, 2018 at 11:15 AM, Linus Torvalds > wrote: >> >> Ingo/Thomas: I will be just taking this directly, since it's so >> trivial and obvious and I got cc'd on the discussion. > > .. and I also verified that it actually fixes the problem Sh

Re: Linux 4.17-rc1 - kernel paging errors running x86 selftests

2018-04-16 Thread Ingo Molnar
* Linus Torvalds wrote: > On Mon, Apr 16, 2018 at 11:04 AM, Linus Torvalds > wrote: > > > > I was going through the bisection, with just a couple more rounds to > > go, but I guess I don't even need it. > > Ingo/Thomas: I will be just taking this directly, since it's so > trivial and obvious a

Re: Linux 4.17-rc1 - kernel paging errors running x86 selftests

2018-04-16 Thread Linus Torvalds
On Mon, Apr 16, 2018 at 11:15 AM, Linus Torvalds wrote: > > Ingo/Thomas: I will be just taking this directly, since it's so > trivial and obvious and I got cc'd on the discussion. .. and I also verified that it actually fixes the problem Shuah reported. Not that there really was any question abou

Re: Linux 4.17-rc1 - kernel paging errors running x86 selftests

2018-04-16 Thread Linus Torvalds
On Mon, Apr 16, 2018 at 11:04 AM, Linus Torvalds wrote: > > I was going through the bisection, with just a couple more rounds to > go, but I guess I don't even need it. Ingo/Thomas: I will be just taking this directly, since it's so trivial and obvious and I got cc'd on the discussion.

Re: Linux 4.17-rc1 - kernel paging errors running x86 selftests

2018-04-16 Thread Linus Torvalds
On Mon, Apr 16, 2018 at 10:58 AM, Dave Hansen wrote: > > Joerg just found and fixed something that would be poked by the x86 > selftests: > > https://lkml.org/lkml/2018/4/16/230 Yup. And that silly bug explains the all-ones PTE. I was going through the bisection, with just a couple more rounds

Re: Linux 4.17-rc1 - kernel paging errors running x86 selftests

2018-04-16 Thread Dave Hansen
On 04/16/2018 10:56 AM, Linus Torvalds wrote: > On Mon, Apr 16, 2018 at 10:43 AM, Linus Torvalds > wrote: >> >> I don't see *why* it would be badly set up, and that test works fine >> for me, though. > > AHHAH! > > I'm wrong. I can see it too. My desktop was running 18b7fd1c93e5 (my > kernel fro

Re: Linux 4.17-rc1 - kernel paging errors running x86 selftests

2018-04-16 Thread Linus Torvalds
On Mon, Apr 16, 2018 at 10:43 AM, Linus Torvalds wrote: > > I don't see *why* it would be badly set up, and that test works fine > for me, though. AHHAH! I'm wrong. I can see it too. My desktop was running 18b7fd1c93e5 (my kernel from Saturday, I hadn't rebooted it since), but I had 4.17-rc1 in

Re: Linux 4.17-rc1 - kernel paging errors running x86 selftests

2018-04-16 Thread Linus Torvalds
On Mon, Apr 16, 2018 at 10:01 AM, Shuah Khan wrote: > > [ 884.496588] BUG: unable to handle kernel paging request at fe810030 This is the LDT remap area. > [ 884.496614] Oops: 0009 [#1] SMP KASAN PTI This is RSVD + P, so it's a system read access that got a protection fault due to res