Re: [Xen-devel] [locking/paravirt] static_key_disable_cpuslocked(): static key 'virt_spin_lock_key+0x0/0x20' used before call to jump_label_init()

2017-10-30 Thread Dou Liyang
Hi Fengguang, There are two different warning. At 10/30/2017 03:35 PM, Fengguang Wu wrote: On Sun, Oct 29, 2017 at 11:51:55PM +0100, Fengguang Wu wrote: Hi Linus, Up to now we see the below boot error/warnings when testing v4.14-rc6. The original warning:

[Xen-devel] [PATCH tip v2] x86/paravirt: Make the virt_spin_lock_key setup after jump_label_init()

2017-10-28 Thread Dou Liyang
), and set the value in xen_init_lock_cpu() to make the setup later and avoid the WARN(). Reported-by: Juergen Gross <jgr...@suse.com> Suggested-by: Juergen Gross <jgr...@suse.com> Signed-off-by: Dou Liyang <douly.f...@cn.fujitsu.com> Reviewed-by: Juergen Gross <jgr...@sus

[Xen-devel] [PATCH][tip] x86/paravirt: Make the virt_spin_lock_key setup after jump_label_init()

2017-10-27 Thread Dou Liyang
us(). Make the setup later to avoid the WARN(). Reported-by: Juergen Gross <jgr...@suse.com> Suggested-by: Juergen Gross <jgr...@suse.com> Signed-off-by: Dou Liyang <douly.f...@cn.fujitsu.com> --- arch/x86/kernel/smpboot.c | 3 ++- arch/x86/xen/smp_pv.c | 2 ++ arch/x86/xen/spin

[Xen-devel] [PATCH v10 10/12] x86/xen: Bypass intr mode setup in enlighten_pv system

2017-09-13 Thread Dou Liyang
with a noop(). [Rewritten by Thomas Gleixner <t...@linutronix.de>] Signed-off-by: Dou Liyang <douly.f...@cn.fujitsu.com> Acked-by: Juergen Gross <jgr...@suse.com> Cc: xen-de...@lists.xenproject.org Cc: boris.ostrov...@oracle.com Cc: Juergen Gross <jgr...@suse.com> --- V10 -->

Re: [Xen-devel] [PATCH v9 10/12] x86/xen: Bypass intr mode setup in enlighten_pv system

2017-09-13 Thread Dou Liyang
Hi Juergen, At 09/13/2017 05:45 PM, Juergen Gross wrote: On 13/09/17 11:12, Dou Liyang wrote: XEN PV overrides smp_prepare_cpus(). xen_pv_smp_prepare_cpus() initializes interrupts in the XEN PV specific way and does not invoke native_smp_prepare_cpus(). As a consequence

[Xen-devel] [PATCH v9 00/12] Unify the interrupt delivery mode and do its setup in advance

2017-09-13 Thread Dou Liyang
- Fix some typos - Rewrite the changelog Cc: xen-de...@lists.xenproject.org Cc: boris.ostrov...@oracle.com Cc: Juergen Gross <jgr...@suse.com> Cc: linux-a...@vger.kernel.org Cc: Rafael J. Wysocki <r...@rjwysocki.net> Cc: Zheng, Lv <lv.zh...@intel.com> Dou Liyang (12): x86/apic: Constru

[Xen-devel] [PATCH v9 10/12] x86/xen: Bypass intr mode setup in enlighten_pv system

2017-09-13 Thread Dou Liyang
native_smp_prepare_cpus() in a follow up patch to solve . That move would cause the invocation of x86_init.intr_mode_init() for XEN PV platforms. To prevent that, override the default x86_init.intr_mode_init() callback with a noop(). [Rewrited by Thomas Gleixner <t...@linutronix.de>] Signed-off-b

Re: [Xen-devel] [PATCH v8 00/13] Unify the interrupt delivery mode and do its setup in advance

2017-08-27 Thread Dou Liyang
Hi, Follow Juergen's advice, +CC xen-devel and linux-acpi In case a single patch of a series isn't stand alone it would be nice to receive at least the cover letter of the series in order to know what its all about. Thanks, dou. At 08/28/2017 11:20 AM, Dou Liyang wrote: Changes V7

Re: [Xen-devel] [PATCH v8 10/13] x86/xen: Bypass intr mode setup in enlighten_pv system

2017-08-27 Thread Dou Liyang
Hi Juergen, At 08/28/2017 12:32 PM, Juergen Gross wrote: On 28/08/17 06:25, Juergen Gross wrote: On 28/08/17 05:20, Dou Liyang wrote: XEN PV overrides smp_prepare_cpus(). xen_pv_smp_prepare_cpus() initializes interrupts in the XEN PV specific way and does not invoke native_smp_prepare_cpus

[Xen-devel] [PATCH v8 10/13] x86/xen: Bypass intr mode setup in enlighten_pv system

2017-08-27 Thread Dou Liyang
native_smp_prepare_cpus() in a follow up patch to solve . That move would cause the invocation of x86_init.intr_mode_init() for XEN PV platforms. To prevent that, override the default x86_init. intr_mode_init() callback with a noop(). [Rewrited by Thomas Gleixner <t...@linutronix.de>] Signed-off-b

[Xen-devel] [PATCH v7 10/13] x86/xen: Bypass intr mode setup in enlighten_pv system

2017-07-13 Thread Dou Liyang
native_smp_prepare_cpus() in a follow up patch to solve . That move would cause the invocation of x86_init.intr_mode_init() for XEN PV platforms. To prevent that, override the default x86_init.intr_mode_init() callback with a noop(). [Rewrited by Thomas Gleixner <t...@linutronix.de>] Signed-off-b

Re: [Xen-devel] [PATCH v8 1/5] x86: add simple udelay calibration

2017-07-13 Thread Dou Liyang
Hi, Lu At 07/13/2017 11:00 AM, Lu Baolu wrote: Hi, On 07/13/2017 09:39 AM, Dou Liyang wrote: Hi, Lu At 07/13/2017 09:17 AM, Lu Baolu wrote: Hi, On 07/12/2017 04:02 PM, Dou Liyang wrote: Hi, Lu At 05/05/2017 08:50 PM, Boris Ostrovsky wrote: On 05/05/2017 01:41 AM, Lu Baolu wrote: Hi

Re: [Xen-devel] [PATCH v8 1/5] x86: add simple udelay calibration

2017-07-12 Thread Dou Liyang
Hi, Lu At 07/13/2017 09:17 AM, Lu Baolu wrote: Hi, On 07/12/2017 04:02 PM, Dou Liyang wrote: Hi, Lu At 05/05/2017 08:50 PM, Boris Ostrovsky wrote: On 05/05/2017 01:41 AM, Lu Baolu wrote: Hi, On 05/03/2017 06:38 AM, Boris Ostrovsky wrote: On 03/21/2017 04:01 AM, Lu Baolu wrote: Add

Re: [Xen-devel] [PATCH v8 1/5] x86: add simple udelay calibration

2017-07-12 Thread Dou Liyang
Hi, Lu At 05/05/2017 08:50 PM, Boris Ostrovsky wrote: On 05/05/2017 01:41 AM, Lu Baolu wrote: Hi, On 05/03/2017 06:38 AM, Boris Ostrovsky wrote: On 03/21/2017 04:01 AM, Lu Baolu wrote: Add a simple udelay calibration in x86 architecture-specific boot-time initializations. This will get a

Re: [Xen-devel] [x86/time] f61a8e12b5: ACPI_Error:Table[DMAR]is_not_invalidated_during_early_boot_stage(#/tbxface-#)

2017-07-11 Thread Dou Liyang
("x86/time: Initialize interrupt mode behind timer init") url: https://github.com/0day-ci/linux/commits/Dou-Liyang/Unify-the-interrupt-delivery-mode-and-do-its-setup-in-advance/20170705-124610 in testcase: will-it-scale with following parameters: nr_task: 50% mod

Re: [Xen-devel] [x86/time] 03fa63cc96: ACPI_Error:Table[DMAR]is_not_invalidated_during_early_boot_stage(#/tbxface -#)

2017-07-06 Thread Dou Liyang
Hi Thomas, At 07/07/2017 11:04 AM, Ye Xiaolong wrote: On 07/07, Dou Liyang wrote: Hi xiaolong, Really thanks for your testing. At 07/07/2017 09:54 AM, Ye Xiaolong wrote: On 07/06, Thomas Gleixner wrote: On Thu, 6 Jul 2017, kernel test robot wrote: commit

Re: [Xen-devel] [x86/time] 03fa63cc96: ACPI_Error:Table[DMAR]is_not_invalidated_during_early_boot_stage(#/tbxface -#)

2017-07-06 Thread Dou Liyang
Hi xiaolong, Really thanks for your testing. At 07/07/2017 09:54 AM, Ye Xiaolong wrote: On 07/06, Thomas Gleixner wrote: On Thu, 6 Jul 2017, kernel test robot wrote: commit: 03fa63cc96ab35592e0a7d522b8edbc1e6b02d22 ("x86/time: Initialize interrupt mode behind timer init")

[Xen-devel] [PATCH v6 03/12] x86/apic: Split local APIC timer setup from the APIC setup

2017-07-03 Thread Dou Liyang
the APIC setup, keep it in the original position for SMP and UP kernel for preparation. Signed-off-by: Dou Liyang <douly.f...@cn.fujitsu.com> --- arch/x86/kernel/apic/apic.c | 4 ++-- arch/x86/kernel/smpboot.c | 5 + 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ar

[Xen-devel] [PATCH v6 07/12] x86/apic: Unify interrupt mode setup for UP system

2017-07-03 Thread Dou Liyang
In UniProcessor kernel with UP_LATE_INIT=y, it enables and setups interrupt delivery mode in up_late_init(). Unify it to apic_intr_mode_init(), remove APIC_init_uniprocessor(). Signed-off-by: Dou Liyang <douly.f...@cn.fujitsu.com> --- arch/x86/include/asm/apic.h | 1 - arch/x86/kerne

[Xen-devel] [PATCH v6 11/12] x86/time: Initialize interrupt mode behind timer init

2017-07-03 Thread Dou Liyang
the mode should be earlier than calibrating TSC as soon as possible and needs testing whether the timer interrupt works at the same time. call it behind timers init, which meets the above conditions. Signed-off-by: Dou Liyang <douly.f...@cn.fujitsu.com> --- arch/x86/kernel/apic/apic.c | 2 -- ar

[Xen-devel] [PATCH v6 12/12] x86/apic: Remove the init_bsp_APIC()

2017-07-03 Thread Dou Liyang
init_bsp_APIC() is redundant. Remove the init_bsp_APIC() function. Signed-off-by: Dou Liyang <douly.f...@cn.fujitsu.com> --- arch/x86/include/asm/apic.h | 1 - arch/x86/kernel/apic/apic.c | 49 - arch/x86/kernel/irqinit.c | 3 --- 3 files chang

[Xen-devel] [PATCH v6 10/12] x86/xen: Bypass intr mode setup in enlighten_pv system

2017-07-03 Thread Dou Liyang
native_smp_prepare_cpus() in a follow up patch to solve . That move would cause the invocation of x86_init.intr_mode_init() for XEN PV platforms. To prevent that, override the default x86_init.intr_mode_init() callback with a noop(). Signed-off-by: Dou Liyang <douly.f...@cn.fujitsu.com> --- arch/x

[Xen-devel] [PATCH v6 09/12] x86/init: add intr_mode_init to x86_init_ops

2017-07-03 Thread Dou Liyang
X86 and XEN initialize interrupt delivery mode in different way. Ordinary conditional function calls will make the code mess. Add an unconditional x86_init_ops function which defaults to the standard function and can be overridden by the early platform code. Signed-off-by: Dou Liyang <doul

[Xen-devel] [PATCH v6 01/12] x86/apic: Construct a selector for the interrupt delivery mode

2017-07-03 Thread Dou Liyang
this selector to get an interrupt delivery mode directly. Signed-off-by: Dou Liyang <douly.f...@cn.fujitsu.com> --- arch/x86/kernel/apic/apic.c | 59 + 1 file changed, 59 insertions(+) diff --git a/arch/x86/kernel/apic/apic.c b/arch/x86/kernel/apic/apic.c

[Xen-devel] [PATCH v6 00/12] Unify the interrupt delivery mode and do its setup in advance

2017-07-03 Thread Dou Liyang
st to rewrite some changelog again Changes since V1: - Move the initialization from init_IRQ() to x86_late_time_init() - Use a threshold to refactor the check logic in timer_irq_works() - Rename the framework to a selector - Split two patches - Consistently start sentences with upper case letter

[Xen-devel] [PATCH v6 05/12] x86/apic: Unify interrupt mode setup for SMP-capable system

2017-07-03 Thread Dou Liyang
. Signed-off-by: Dou Liyang <douly.f...@cn.fujitsu.com> --- arch/x86/kernel/apic/apic.c | 41 ++--- arch/x86/kernel/smpboot.c | 14 ++ 2 files changed, 40 insertions(+), 15 deletions(-) diff --git a/arch/x86/kernel/apic/apic.c b/arch/x86/kerne

[Xen-devel] [PATCH v6 08/12] x86/ioapic: Refactor the delay logic in timer_irq_works()

2017-07-03 Thread Dou Liyang
. Signed-off-by: Dou Liyang <douly.f...@cn.fujitsu.com> --- arch/x86/kernel/apic/io_apic.c | 45 -- 1 file changed, 43 insertions(+), 2 deletions(-) diff --git a/arch/x86/kernel/apic/io_apic.c b/arch/x86/kernel/apic/io_apic.c index 347bb9f..3087f0a

[Xen-devel] [PATCH v6 04/12] x86/apic: Move logical APIC ID away from apic_bsp_setup()

2017-07-03 Thread Dou Liyang
helper function for cleanup and mark apic_bsp_setup() void. Signed-off-by: Dou Liyang <douly.f...@cn.fujitsu.com> --- arch/x86/include/asm/apic.h | 2 +- arch/x86/kernel/apic/apic.c | 10 +- arch/x86/kernel/smpboot.c | 12 +++- 3 files changed, 13 insertions(+), 11 del

[Xen-devel] [PATCH v6 06/12] x86/apic: Mark the apic_intr_mode extern for sanity check cleanup

2017-07-03 Thread Dou Liyang
the switch and remove the redundant sanity check. Signed-off-by: Dou Liyang <douly.f...@cn.fujitsu.com> --- arch/x86/include/asm/apic.h | 9 +++ arch/x86/kernel/apic/apic.c | 12 -- arch/x86/kernel/smpboot.c | 57 +++-- 3 files chang

[Xen-devel] [PATCH v6 02/12] x86/apic: Prepare for unifying the interrupt delivery modes setup

2017-07-03 Thread Dou Liyang
. Provide a new function to unify that three positions. Preparatory patch to initialize an interrupt mode directly. Signed-off-by: Dou Liyang <douly.f...@cn.fujitsu.com> --- arch/x86/include/asm/apic.h | 2 ++ arch/x86/kernel/apic/apic.c | 16 2 files changed, 18 insertions(+)

Re: [Xen-devel] [PATCH v5 10/12] x86/xen: Bypass intr mode setup in enlighten_pv system

2017-07-03 Thread Dou Liyang
Hi Thomas, At 07/03/2017 02:56 PM, Thomas Gleixner wrote: On Mon, 3 Jul 2017, Dou Liyang wrote: At 07/03/2017 03:18 AM, Thomas Gleixner wrote: On Fri, 30 Jun 2017, Dou Liyang wrote: xen_smp_ops overwrites smp_prepare_cpus to xen_pv_smp_prepare_cpus which initializes interrupt itself

Re: [Xen-devel] [PATCH v5 02/12] x86/apic: Prepare for unifying the interrupt delivery modes setup

2017-07-03 Thread Dou Liyang
Hi Thomas, At 07/03/2017 02:41 PM, Thomas Gleixner wrote: On Mon, 3 Jul 2017, Dou Liyang wrote: At 07/03/2017 01:47 AM, Thomas Gleixner wrote: On Fri, 30 Jun 2017, Dou Liyang wrote: +/* Init the interrupt delivery mode for the BSP */ +void __init apic_intr_mode_init(void) +{ + switch

Re: [Xen-devel] [PATCH v5 10/12] x86/xen: Bypass intr mode setup in enlighten_pv system

2017-07-02 Thread Dou Liyang
Hi Thomas, At 07/03/2017 03:18 AM, Thomas Gleixner wrote: On Fri, 30 Jun 2017, Dou Liyang wrote: xen_smp_ops overwrites smp_prepare_cpus to xen_pv_smp_prepare_cpus which initializes interrupt itself. Touching the intr_mode_init causes unexpected results on the system. Bypass

Re: [Xen-devel] [PATCH v5 09/12] x86/init: add intr_mode_init to x86_init_ops

2017-07-02 Thread Dou Liyang
Hi Thomas, At 07/03/2017 03:16 AM, Thomas Gleixner wrote: On Fri, 30 Jun 2017, Dou Liyang wrote: Add an unconditional x86_init_ops function which defaults to the standard function and can be overridden by the early platform code. That changelog describes WHAT the patch does, but not WHY

Re: [Xen-devel] [PATCH v5 08/12] x86/ioapic: Refactor the delay logic in timer_irq_works()

2017-07-02 Thread Dou Liyang
Hi Thomas, At 07/03/2017 03:15 AM, Thomas Gleixner wrote: On Fri, 30 Jun 2017, Dou Liyang wrote: +static void __init delay_with_tsc(void) +{ + unsigned long long start, now; + unsigned long ticks = jiffies; Please make that unsigned long end = jiffies + 4; ticks really

Re: [Xen-devel] [PATCH v5 07/12] x86/apic: Unify interrupt mode setup for UP system

2017-07-02 Thread Dou Liyang
Hi Thomas, At 07/03/2017 02:19 AM, Thomas Gleixner wrote: On Fri, 30 Jun 2017, Dou Liyang wrote: static inline int apic_force_enable(unsigned long addr) diff --git a/arch/x86/kernel/apic/apic.c b/arch/x86/kernel/apic/apic.c index 0601054..9bf7e95 100644 --- a/arch/x86/kernel/apic/apic.c +++ b

Re: [Xen-devel] [PATCH v5 05/12] x86/apic: Unify interrupt mode setup for SMP-capable system

2017-07-02 Thread Dou Liyang
Hi Thomas, At 07/03/2017 02:07 AM, Thomas Gleixner wrote: On Fri, 30 Jun 2017, Dou Liyang wrote: -static int __init apic_intr_mode_select(void) +static int __init apic_intr_mode_select(int *upmode) { /* Check kernel option */ if (disable_apic) { @@ -1206,12 +1208,30 @@ static

Re: [Xen-devel] [PATCH v5 04/12] x86/apic: Move logical APIC ID away from apic_bsp_setup()

2017-07-02 Thread Dou Liyang
Hi, Thomas At 07/03/2017 01:54 AM, Thomas Gleixner wrote: On Fri, 30 Jun 2017, Dou Liyang wrote: /* diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c index 93f0cda..d6721f0 100644 --- a/arch/x86/kernel/smpboot.c +++ b/arch/x86/kernel/smpboot.c @@ -1347,8 +1347,11 @@ void

Re: [Xen-devel] [PATCH v5 02/12] x86/apic: Prepare for unifying the interrupt delivery modes setup

2017-07-02 Thread Dou Liyang
Hi Thomas, At 07/03/2017 01:47 AM, Thomas Gleixner wrote: On Fri, 30 Jun 2017, Dou Liyang wrote: +/* Init the interrupt delivery mode for the BSP */ +void __init apic_intr_mode_init(void) +{ + switch (apic_intr_mode_select()) { + case APIC_PIC: + apic_printk

Re: [Xen-devel] [PATCH v5 01/12] x86/apic: Construct a selector for the interrupt delivery mode

2017-07-02 Thread Dou Liyang
Hi Thomas, At 07/03/2017 01:37 AM, Thomas Gleixner wrote: On Fri, 30 Jun 2017, Dou Liyang wrote: +static int __init apic_intr_mode_select(void) +{ + /* Check kernel option */ + if (disable_apic) { + pr_info("APIC disabled via kernel command l

[Xen-devel] [PATCH v5 09/12] x86/init: add intr_mode_init to x86_init_ops

2017-06-30 Thread Dou Liyang
Add an unconditional x86_init_ops function which defaults to the standard function and can be overridden by the early platform code. Signed-off-by: Dou Liyang <douly.f...@cn.fujitsu.com> --- arch/x86/include/asm/x86_init.h | 2 ++ arch/x86/kernel/apic/apic.c | 2 +- arch/x86/kernel/smp

[Xen-devel] [PATCH v5 02/12] x86/apic: Prepare for unifying the interrupt delivery modes setup

2017-06-30 Thread Dou Liyang
. Provide a new function to unify that three positions. Preparatory patch to initialize an interrupt mode directly. Signed-off-by: Dou Liyang <douly.f...@cn.fujitsu.com> --- arch/x86/include/asm/apic.h | 2 ++ arch/x86/kernel/apic/apic.c | 19 +++ 2 files changed, 21 inse

[Xen-devel] [PATCH v5 03/12] x86/apic: Split local APIC timer setup from the APIC setup

2017-06-30 Thread Dou Liyang
the APIC setup, keep it in the original position for SMP and UP kernel for preparation. Signed-off-by: Dou Liyang <douly.f...@cn.fujitsu.com> --- arch/x86/kernel/apic/apic.c | 4 ++-- arch/x86/kernel/smpboot.c | 5 + 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ar

[Xen-devel] [PATCH v5 12/12] x86/apic: Remove the init_bsp_APIC()

2017-06-30 Thread Dou Liyang
init_bsp_APIC() is redundant. Remove the init_bsp_APIC() function. Signed-off-by: Dou Liyang <douly.f...@cn.fujitsu.com> --- arch/x86/include/asm/apic.h | 1 - arch/x86/kernel/apic/apic.c | 49 - arch/x86/kernel/irqinit.c | 3 --- 3 files chang

[Xen-devel] [PATCH v5 01/12] x86/apic: Construct a selector for the interrupt delivery mode

2017-06-30 Thread Dou Liyang
this selector to get an interrupt delivery mode directly. Signed-off-by: Dou Liyang <douly.f...@cn.fujitsu.com> --- arch/x86/kernel/apic/apic.c | 60 + 1 file changed, 60 insertions(+) diff --git a/arch/x86/kernel/apic/apic.c b/arch/x86/kernel/apic/apic.c

[Xen-devel] [PATCH v5 07/12] x86/apic: Unify interrupt mode setup for UP system

2017-06-30 Thread Dou Liyang
In UniProcessor kernel with UP_LATE_INIT=y, it enables and setups interrupt delivery mode in up_late_init(). Unify it to apic_intr_mode_init(), remove APIC_init_uniprocessor(). Signed-off-by: Dou Liyang <douly.f...@cn.fujitsu.com> --- arch/x86/include/asm/apic.h | 1 - arch/x86/kerne

[Xen-devel] [PATCH v5 10/12] x86/xen: Bypass intr mode setup in enlighten_pv system

2017-06-30 Thread Dou Liyang
xen_smp_ops overwrites smp_prepare_cpus to xen_pv_smp_prepare_cpus which initializes interrupt itself. Touching the intr_mode_init causes unexpected results on the system. Bypass it in enlighten_pv system. Signed-off-by: Dou Liyang <douly.f...@cn.fujitsu.com> --- arch/x86/xen/enlighte

[Xen-devel] [PATCH v5 05/12] x86/apic: Unify interrupt mode setup for SMP-capable system

2017-06-30 Thread Dou Liyang
. Signed-off-by: Dou Liyang <douly.f...@cn.fujitsu.com> --- arch/x86/kernel/apic/apic.c | 41 - arch/x86/kernel/smpboot.c | 13 ++--- 2 files changed, 38 insertions(+), 16 deletions(-) diff --git a/arch/x86/kernel/apic/apic.c b/arch/x86/kerne

[Xen-devel] [PATCH v5 06/12] x86/apic: Mark the apic_intr_mode extern for sanity check cleanup

2017-06-30 Thread Dou Liyang
the switch and remove the redundant sanity check. Signed-off-by: Dou Liyang <douly.f...@cn.fujitsu.com> --- arch/x86/include/asm/apic.h | 9 arch/x86/kernel/apic/apic.c | 11 +++--- arch/x86/kernel/smpboot.c | 50 - 3 files chang

[Xen-devel] [PATCH v5 04/12] x86/apic: Move logical APIC ID away from apic_bsp_setup()

2017-06-30 Thread Dou Liyang
to native_smp_prepare_cpus() for cleanup and mark apic_bsp_setup() void. Signed-off-by: Dou Liyang <douly.f...@cn.fujitsu.com> --- arch/x86/include/asm/apic.h | 2 +- arch/x86/kernel/apic/apic.c | 10 +- arch/x86/kernel/smpboot.c | 7 +-- 3 files changed, 7 insertions(+), 12 deletions(-) diff

[Xen-devel] [PATCH v5 08/12] x86/ioapic: Refactor the delay logic in timer_irq_works()

2017-06-30 Thread Dou Liyang
. Signed-off-by: Dou Liyang <douly.f...@cn.fujitsu.com> --- arch/x86/kernel/apic/io_apic.c | 45 -- 1 file changed, 43 insertions(+), 2 deletions(-) diff --git a/arch/x86/kernel/apic/io_apic.c b/arch/x86/kernel/apic/io_apic.c index 347bb9f..f710077

[Xen-devel] [PATCH v5 00/12] Unify the interrupt delivery mode and do its setup in advance

2017-06-30 Thread Dou Liyang
- Rename the framework to a selector - Split two patches - Consistently start sentences with upper case letters - Fix some typos - Rewrite the changelog Dou Liyang (12): x86/apic: Construct a selector for the interrupt delivery mode x86/apic: Prepare for unifying the interrupt deli

[Xen-devel] [PATCH v5 11/12] x86/time: Initialize interrupt mode behind timer init

2017-06-30 Thread Dou Liyang
the mode should be earlier than calibrating TSC as soon as possible and needs testing whether the timer interrupt works at the same time. call it behind timers init, which meets the above conditions. Signed-off-by: Dou Liyang <douly.f...@cn.fujitsu.com> --- arch/x86/kernel/apic/apic.c | 2 -- ar