Re: [lkp-robot] [x86] 69218e4799: BUG:kernel_hang_in_boot_stage

2017-03-22 Thread Andy Lutomirski
On Wed, Mar 22, 2017 at 9:38 AM, Thomas Garnier wrote: > On Wed, Mar 22, 2017 at 9:33 AM, Andy Lutomirski wrote: >> On Wed, Mar 22, 2017 at 12:36 AM, Ingo Molnar wrote: >>> >>> * Thomas Garnier wrote: >>> >

Re: [lkp-robot] [x86] 69218e4799: BUG:kernel_hang_in_boot_stage

2017-03-22 Thread Andy Lutomirski
On Wed, Mar 22, 2017 at 9:38 AM, Thomas Garnier wrote: > On Wed, Mar 22, 2017 at 9:33 AM, Andy Lutomirski wrote: >> On Wed, Mar 22, 2017 at 12:36 AM, Ingo Molnar wrote: >>> >>> * Thomas Garnier wrote: >>> > static inline void setup_fixmap_gdt(int cpu) > { >

Re: [lkp-robot] [x86] 69218e4799: BUG:kernel_hang_in_boot_stage

2017-03-22 Thread Thomas Garnier
On Wed, Mar 22, 2017 at 9:33 AM, Andy Lutomirski wrote: > On Wed, Mar 22, 2017 at 12:36 AM, Ingo Molnar wrote: >> >> * Thomas Garnier wrote: >> >>> > static inline void setup_fixmap_gdt(int cpu) >>> > { >>> >

Re: [lkp-robot] [x86] 69218e4799: BUG:kernel_hang_in_boot_stage

2017-03-22 Thread Thomas Garnier
On Wed, Mar 22, 2017 at 9:33 AM, Andy Lutomirski wrote: > On Wed, Mar 22, 2017 at 12:36 AM, Ingo Molnar wrote: >> >> * Thomas Garnier wrote: >> >>> > static inline void setup_fixmap_gdt(int cpu) >>> > { >>> > __set_fixmap(get_cpu_gdt_ro_index(cpu), >>> > -

Re: [lkp-robot] [x86] 69218e4799: BUG:kernel_hang_in_boot_stage

2017-03-22 Thread Andy Lutomirski
On Wed, Mar 22, 2017 at 12:36 AM, Ingo Molnar wrote: > > * Thomas Garnier wrote: > >> > static inline void setup_fixmap_gdt(int cpu) >> > { >> > __set_fixmap(get_cpu_gdt_ro_index(cpu), >> > -__pa(get_cpu_gdt_rw(cpu)),

Re: [lkp-robot] [x86] 69218e4799: BUG:kernel_hang_in_boot_stage

2017-03-22 Thread Andy Lutomirski
On Wed, Mar 22, 2017 at 12:36 AM, Ingo Molnar wrote: > > * Thomas Garnier wrote: > >> > static inline void setup_fixmap_gdt(int cpu) >> > { >> > __set_fixmap(get_cpu_gdt_ro_index(cpu), >> > -__pa(get_cpu_gdt_rw(cpu)), pg_fixmap_gdt_flags); >> > +

Re: [lkp-robot] [x86] 69218e4799: BUG:kernel_hang_in_boot_stage

2017-03-22 Thread Ingo Molnar
* Thomas Garnier wrote: > > static inline void setup_fixmap_gdt(int cpu) > > { > > __set_fixmap(get_cpu_gdt_ro_index(cpu), > > -__pa(get_cpu_gdt_rw(cpu)), pg_fixmap_gdt_flags); > > +slow_virt_to_phys(get_cpu_gdt_rw(cpu)), >

Re: [lkp-robot] [x86] 69218e4799: BUG:kernel_hang_in_boot_stage

2017-03-22 Thread Ingo Molnar
* Thomas Garnier wrote: > > static inline void setup_fixmap_gdt(int cpu) > > { > > __set_fixmap(get_cpu_gdt_ro_index(cpu), > > -__pa(get_cpu_gdt_rw(cpu)), pg_fixmap_gdt_flags); > > +slow_virt_to_phys(get_cpu_gdt_rw(cpu)), > > +

Re: [lkp-robot] [x86] 69218e4799: BUG:kernel_hang_in_boot_stage

2017-03-21 Thread Thomas Garnier
On Tue, Mar 21, 2017 at 9:27 PM, Andy Lutomirski wrote: > On Tue, Mar 21, 2017 at 5:41 PM, Thomas Garnier wrote: >> On Tue, Mar 21, 2017 at 4:51 PM, Andy Lutomirski wrote: >>> On Tue, Mar 21, 2017 at 3:32 PM, Andy Lutomirski

Re: [lkp-robot] [x86] 69218e4799: BUG:kernel_hang_in_boot_stage

2017-03-21 Thread Thomas Garnier
On Tue, Mar 21, 2017 at 9:27 PM, Andy Lutomirski wrote: > On Tue, Mar 21, 2017 at 5:41 PM, Thomas Garnier wrote: >> On Tue, Mar 21, 2017 at 4:51 PM, Andy Lutomirski wrote: >>> On Tue, Mar 21, 2017 at 3:32 PM, Andy Lutomirski >>> wrote: On Tue, Mar 21, 2017 at 2:11 PM, Linus Torvalds

Re: [lkp-robot] [x86] 69218e4799: BUG:kernel_hang_in_boot_stage

2017-03-21 Thread Andy Lutomirski
On Tue, Mar 21, 2017 at 5:41 PM, Thomas Garnier wrote: > On Tue, Mar 21, 2017 at 4:51 PM, Andy Lutomirski wrote: >> On Tue, Mar 21, 2017 at 3:32 PM, Andy Lutomirski wrote: >>> On Tue, Mar 21, 2017 at 2:11 PM, Linus Torvalds >>>

Re: [lkp-robot] [x86] 69218e4799: BUG:kernel_hang_in_boot_stage

2017-03-21 Thread Andy Lutomirski
On Tue, Mar 21, 2017 at 5:41 PM, Thomas Garnier wrote: > On Tue, Mar 21, 2017 at 4:51 PM, Andy Lutomirski wrote: >> On Tue, Mar 21, 2017 at 3:32 PM, Andy Lutomirski wrote: >>> On Tue, Mar 21, 2017 at 2:11 PM, Linus Torvalds >>> wrote: On Tue, Mar 21, 2017 at 1:25 PM, Thomas Garnier

Re: [lkp-robot] [x86] 69218e4799: BUG:kernel_hang_in_boot_stage

2017-03-21 Thread Thomas Garnier
On Tue, Mar 21, 2017 at 4:51 PM, Andy Lutomirski wrote: > On Tue, Mar 21, 2017 at 3:32 PM, Andy Lutomirski wrote: >> On Tue, Mar 21, 2017 at 2:11 PM, Linus Torvalds >> wrote: >>> On Tue, Mar 21, 2017 at 1:25 PM, Thomas Garnier

Re: [lkp-robot] [x86] 69218e4799: BUG:kernel_hang_in_boot_stage

2017-03-21 Thread Thomas Garnier
On Tue, Mar 21, 2017 at 4:51 PM, Andy Lutomirski wrote: > On Tue, Mar 21, 2017 at 3:32 PM, Andy Lutomirski wrote: >> On Tue, Mar 21, 2017 at 2:11 PM, Linus Torvalds >> wrote: >>> On Tue, Mar 21, 2017 at 1:25 PM, Thomas Garnier wrote: The issue seems to be related to exceptions happening

Re: [lkp-robot] [x86] 69218e4799: BUG:kernel_hang_in_boot_stage

2017-03-21 Thread Andy Lutomirski
On Tue, Mar 21, 2017 at 3:32 PM, Andy Lutomirski wrote: > On Tue, Mar 21, 2017 at 2:11 PM, Linus Torvalds > wrote: >> On Tue, Mar 21, 2017 at 1:25 PM, Thomas Garnier wrote: >>> The issue seems to be related to exceptions

Re: [lkp-robot] [x86] 69218e4799: BUG:kernel_hang_in_boot_stage

2017-03-21 Thread Andy Lutomirski
On Tue, Mar 21, 2017 at 3:32 PM, Andy Lutomirski wrote: > On Tue, Mar 21, 2017 at 2:11 PM, Linus Torvalds > wrote: >> On Tue, Mar 21, 2017 at 1:25 PM, Thomas Garnier wrote: >>> The issue seems to be related to exceptions happening in close pages >>> to the fixmap GDT remapping. >>> >>> The

Re: [lkp-robot] [x86] 69218e4799: BUG:kernel_hang_in_boot_stage

2017-03-21 Thread Andy Lutomirski
On Tue, Mar 21, 2017 at 2:11 PM, Linus Torvalds wrote: > On Tue, Mar 21, 2017 at 1:25 PM, Thomas Garnier wrote: >> The issue seems to be related to exceptions happening in close pages >> to the fixmap GDT remapping. >> >> The original page

Re: [lkp-robot] [x86] 69218e4799: BUG:kernel_hang_in_boot_stage

2017-03-21 Thread Andy Lutomirski
On Tue, Mar 21, 2017 at 2:11 PM, Linus Torvalds wrote: > On Tue, Mar 21, 2017 at 1:25 PM, Thomas Garnier wrote: >> The issue seems to be related to exceptions happening in close pages >> to the fixmap GDT remapping. >> >> The original page fault happen in do_test_wp_bit which set a fixmap >>

Re: [lkp-robot] [x86] 69218e4799: BUG:kernel_hang_in_boot_stage

2017-03-21 Thread Linus Torvalds
On Tue, Mar 21, 2017 at 1:25 PM, Thomas Garnier wrote: > The issue seems to be related to exceptions happening in close pages > to the fixmap GDT remapping. > > The original page fault happen in do_test_wp_bit which set a fixmap > entry to test WP flag. If I grow the number

Re: [lkp-robot] [x86] 69218e4799: BUG:kernel_hang_in_boot_stage

2017-03-21 Thread Linus Torvalds
On Tue, Mar 21, 2017 at 1:25 PM, Thomas Garnier wrote: > The issue seems to be related to exceptions happening in close pages > to the fixmap GDT remapping. > > The original page fault happen in do_test_wp_bit which set a fixmap > entry to test WP flag. If I grow the number of processors

Re: [lkp-robot] [x86] 69218e4799: BUG:kernel_hang_in_boot_stage

2017-03-21 Thread Thomas Garnier
The issue seems to be related to exceptions happening in close pages to the fixmap GDT remapping. The original page fault happen in do_test_wp_bit which set a fixmap entry to test WP flag. If I grow the number of processors supported increasing the distance between the remapped GDT page and the

Re: [lkp-robot] [x86] 69218e4799: BUG:kernel_hang_in_boot_stage

2017-03-21 Thread Thomas Garnier
The issue seems to be related to exceptions happening in close pages to the fixmap GDT remapping. The original page fault happen in do_test_wp_bit which set a fixmap entry to test WP flag. If I grow the number of processors supported increasing the distance between the remapped GDT page and the

Re: [lkp-robot] [x86] 69218e4799: BUG:kernel_hang_in_boot_stage

2017-03-21 Thread Thomas Garnier
On Tue, Mar 21, 2017 at 12:20 PM, Linus Torvalds wrote: > > On Tue, Mar 21, 2017 at 11:16 AM, Thomas Garnier wrote: > > This error happens even with Andy TLS fix on 32-bit (GDT is on fixmap > > but not readonly). I am looking into it. > > > >

Re: [lkp-robot] [x86] 69218e4799: BUG:kernel_hang_in_boot_stage

2017-03-21 Thread Thomas Garnier
On Tue, Mar 21, 2017 at 12:20 PM, Linus Torvalds wrote: > > On Tue, Mar 21, 2017 at 11:16 AM, Thomas Garnier wrote: > > This error happens even with Andy TLS fix on 32-bit (GDT is on fixmap > > but not readonly). I am looking into it. > > > > KVM internal error. Suberror: 3 > > extra data[0]:

Re: [lkp-robot] [x86] 69218e4799: BUG:kernel_hang_in_boot_stage

2017-03-21 Thread Linus Torvalds
On Tue, Mar 21, 2017 at 11:16 AM, Thomas Garnier wrote: > This error happens even with Andy TLS fix on 32-bit (GDT is on fixmap > but not readonly). I am looking into it. > > KVM internal error. Suberror: 3 > extra data[0]: 8b0e > extra data[1]: 31 If I read that right,

Re: [lkp-robot] [x86] 69218e4799: BUG:kernel_hang_in_boot_stage

2017-03-21 Thread Linus Torvalds
On Tue, Mar 21, 2017 at 11:16 AM, Thomas Garnier wrote: > This error happens even with Andy TLS fix on 32-bit (GDT is on fixmap > but not readonly). I am looking into it. > > KVM internal error. Suberror: 3 > extra data[0]: 8b0e > extra data[1]: 31 If I read that right, it's extra data[1]

Re: [lkp-robot] [x86] 69218e4799: BUG:kernel_hang_in_boot_stage

2017-03-21 Thread Thomas Garnier
This error happens even with Andy TLS fix on 32-bit (GDT is on fixmap but not readonly). I am looking into it. KVM internal error. Suberror: 3 extra data[0]: 8b0e extra data[1]: 31 EAX=0001 EBX=9f9121f3 ECX=4330b100 EDX=f000 ESI=547e EDI=ffa74000 EBP=42273ef8 ESP=42273ef8

Re: [lkp-robot] [x86] 69218e4799: BUG:kernel_hang_in_boot_stage

2017-03-21 Thread Thomas Garnier
This error happens even with Andy TLS fix on 32-bit (GDT is on fixmap but not readonly). I am looking into it. KVM internal error. Suberror: 3 extra data[0]: 8b0e extra data[1]: 31 EAX=0001 EBX=9f9121f3 ECX=4330b100 EDX=f000 ESI=547e EDI=ffa74000 EBP=42273ef8 ESP=42273ef8