Re: [RFC PATCH 1/6] x86/apic: Replace init_bsp_APIC() with apic_virture_wire_mode_setup()

2017-04-05 Thread Dou Liyang
Hi Thomas, At 04/05/2017 06:50 PM, Thomas Gleixner wrote: On Wed, 5 Apr 2017, Thomas Gleixner wrote: On Wed, 29 Mar 2017, Dou Liyang wrote: The init_bsp_APIC() setups the virtual wire mode through the local APIC. The function name is unsuitable which might imply that the BSP's APIC will be

Re: [RFC PATCH 1/6] x86/apic: Replace init_bsp_APIC() with apic_virture_wire_mode_setup()

2017-04-05 Thread Dou Liyang
Hi Thomas, At 04/05/2017 06:50 PM, Thomas Gleixner wrote: On Wed, 5 Apr 2017, Thomas Gleixner wrote: On Wed, 29 Mar 2017, Dou Liyang wrote: The init_bsp_APIC() setups the virtual wire mode through the local APIC. The function name is unsuitable which might imply that the BSP's APIC will be

Re: [RFC PATCH 1/6] x86/apic: Replace init_bsp_APIC() with apic_virture_wire_mode_setup()

2017-04-05 Thread Dou Liyang
Hi Thomas, Thank you very much! At 04/05/2017 06:43 PM, Thomas Gleixner wrote: On Wed, 29 Mar 2017, Dou Liyang wrote: The init_bsp_APIC() setups the virtual wire mode through the local APIC. The function name is unsuitable which might imply that the BSP's APIC will be initialized here,

Re: [RFC PATCH 1/6] x86/apic: Replace init_bsp_APIC() with apic_virture_wire_mode_setup()

2017-04-05 Thread Dou Liyang
Hi Thomas, Thank you very much! At 04/05/2017 06:43 PM, Thomas Gleixner wrote: On Wed, 29 Mar 2017, Dou Liyang wrote: The init_bsp_APIC() setups the virtual wire mode through the local APIC. The function name is unsuitable which might imply that the BSP's APIC will be initialized here,

Re: [RFC PATCH 1/6] x86/apic: Replace init_bsp_APIC() with apic_virture_wire_mode_setup()

2017-04-05 Thread Thomas Gleixner
On Wed, 5 Apr 2017, Thomas Gleixner wrote: > On Wed, 29 Mar 2017, Dou Liyang wrote: > > > The init_bsp_APIC() setups the virtual wire mode through the local > > APIC. > > > > The function name is unsuitable which might imply that the BSP's > > APIC will be initialized here, actually, where it

Re: [RFC PATCH 1/6] x86/apic: Replace init_bsp_APIC() with apic_virture_wire_mode_setup()

2017-04-05 Thread Thomas Gleixner
On Wed, 5 Apr 2017, Thomas Gleixner wrote: > On Wed, 29 Mar 2017, Dou Liyang wrote: > > > The init_bsp_APIC() setups the virtual wire mode through the local > > APIC. > > > > The function name is unsuitable which might imply that the BSP's > > APIC will be initialized here, actually, where it

Re: [RFC PATCH 1/6] x86/apic: Replace init_bsp_APIC() with apic_virture_wire_mode_setup()

2017-04-05 Thread Thomas Gleixner
On Wed, 29 Mar 2017, Dou Liyang wrote: > The init_bsp_APIC() setups the virtual wire mode through the local > APIC. > > The function name is unsuitable which might imply that the BSP's > APIC will be initialized here, actually, where it will be done is > almost at the end of start_kernel(). And

Re: [RFC PATCH 1/6] x86/apic: Replace init_bsp_APIC() with apic_virture_wire_mode_setup()

2017-04-05 Thread Thomas Gleixner
On Wed, 29 Mar 2017, Dou Liyang wrote: > The init_bsp_APIC() setups the virtual wire mode through the local > APIC. > > The function name is unsuitable which might imply that the BSP's > APIC will be initialized here, actually, where it will be done is > almost at the end of start_kernel(). And