Re: Kernel page fault in vmalloc_fault() after a preempted ioremap

2018-03-08 Thread Kani, Toshi
On Thu, 2018-03-08 at 22:38 +, Andy Lutomirski wrote: > On Thu, Mar 8, 2018 at 9:43 PM, Kani, Toshi wrote: > > On Thu, 2018-03-08 at 14:34 -0600, Gratian Crisan wrote: : > > > > Thanks for the report and analysis! I believe pud_large() and > > pmd_large() should have

Re: Kernel page fault in vmalloc_fault() after a preempted ioremap

2018-03-08 Thread Kani, Toshi
On Thu, 2018-03-08 at 22:38 +, Andy Lutomirski wrote: > On Thu, Mar 8, 2018 at 9:43 PM, Kani, Toshi wrote: > > On Thu, 2018-03-08 at 14:34 -0600, Gratian Crisan wrote: : > > > > Thanks for the report and analysis! I believe pud_large() and > > pmd_large() should have been used here. I

Re: Kernel page fault in vmalloc_fault() after a preempted ioremap

2018-03-08 Thread Andy Lutomirski
On Thu, Mar 8, 2018 at 9:43 PM, Kani, Toshi wrote: > On Thu, 2018-03-08 at 14:34 -0600, Gratian Crisan wrote: >> Hi all, >> >> We are seeing kernel page faults happening on module loads with certain >> drivers like the i915 video driver[1]. This was initially discovered on >>

Re: Kernel page fault in vmalloc_fault() after a preempted ioremap

2018-03-08 Thread Andy Lutomirski
On Thu, Mar 8, 2018 at 9:43 PM, Kani, Toshi wrote: > On Thu, 2018-03-08 at 14:34 -0600, Gratian Crisan wrote: >> Hi all, >> >> We are seeing kernel page faults happening on module loads with certain >> drivers like the i915 video driver[1]. This was initially discovered on >> a 4.9 PREEMPT_RT

Re: Kernel page fault in vmalloc_fault() after a preempted ioremap

2018-03-08 Thread Kani, Toshi
On Thu, 2018-03-08 at 14:34 -0600, Gratian Crisan wrote: > Hi all, > > We are seeing kernel page faults happening on module loads with certain > drivers like the i915 video driver[1]. This was initially discovered on > a 4.9 PREEMPT_RT kernel. It takes 5 days on average to reproduce using a >

Re: Kernel page fault in vmalloc_fault() after a preempted ioremap

2018-03-08 Thread Kani, Toshi
On Thu, 2018-03-08 at 14:34 -0600, Gratian Crisan wrote: > Hi all, > > We are seeing kernel page faults happening on module loads with certain > drivers like the i915 video driver[1]. This was initially discovered on > a 4.9 PREEMPT_RT kernel. It takes 5 days on average to reproduce using a >

Kernel page fault in vmalloc_fault() after a preempted ioremap

2018-03-08 Thread Gratian Crisan
Hi all, We are seeing kernel page faults happening on module loads with certain drivers like the i915 video driver[1]. This was initially discovered on a 4.9 PREEMPT_RT kernel. It takes 5 days on average to reproduce using a simple reboot loop test. Looking at the code paths involved I believe

Kernel page fault in vmalloc_fault() after a preempted ioremap

2018-03-08 Thread Gratian Crisan
Hi all, We are seeing kernel page faults happening on module loads with certain drivers like the i915 video driver[1]. This was initially discovered on a 4.9 PREEMPT_RT kernel. It takes 5 days on average to reproduce using a simple reboot loop test. Looking at the code paths involved I believe