Re: [PATCH v3] KVM: X86: Fix softlockup when get the current kvmclock

2017-11-16 Thread Radim Krčmář
2017-11-15 09:17+0800, Wanpeng Li: > Ping, :) Ah, sorry, I got distracted while learning about the hotplug mechanism. Indeed we cannot move move the callback earlier because the cpufreq driver kvm uses on crappy hardware gets set in CPUHP_AP_ONLINE_DYN, which is way too late. > 2017-11-09 10:52

Re: [PATCH v3] KVM: X86: Fix softlockup when get the current kvmclock

2017-11-16 Thread Radim Krčmář
2017-11-15 09:17+0800, Wanpeng Li: > Ping, :) Ah, sorry, I got distracted while learning about the hotplug mechanism. Indeed we cannot move move the callback earlier because the cpufreq driver kvm uses on crappy hardware gets set in CPUHP_AP_ONLINE_DYN, which is way too late. > 2017-11-09 10:52

Re: [PATCH v3] KVM: X86: Fix softlockup when get the current kvmclock

2017-11-15 Thread David Hildenbrand
On 09.11.2017 03:52, Wanpeng Li wrote: > From: Wanpeng Li > > watchdog: BUG: soft lockup - CPU#6 stuck for 22s! [qemu-system-x86:10185] > CPU: 6 PID: 10185 Comm: qemu-system-x86 Tainted: G OE > 4.14.0-rc4+ #4 > RIP: 0010:kvm_get_time_scale+0x4e/0xa0 [kvm]

Re: [PATCH v3] KVM: X86: Fix softlockup when get the current kvmclock

2017-11-15 Thread David Hildenbrand
On 09.11.2017 03:52, Wanpeng Li wrote: > From: Wanpeng Li > > watchdog: BUG: soft lockup - CPU#6 stuck for 22s! [qemu-system-x86:10185] > CPU: 6 PID: 10185 Comm: qemu-system-x86 Tainted: G OE > 4.14.0-rc4+ #4 > RIP: 0010:kvm_get_time_scale+0x4e/0xa0 [kvm] > Call Trace: > ?

Re: [PATCH v3] KVM: X86: Fix softlockup when get the current kvmclock

2017-11-14 Thread Wanpeng Li
Ping, :) 2017-11-09 10:52 GMT+08:00 Wanpeng Li : > From: Wanpeng Li > > watchdog: BUG: soft lockup - CPU#6 stuck for 22s! [qemu-system-x86:10185] > CPU: 6 PID: 10185 Comm: qemu-system-x86 Tainted: G OE > 4.14.0-rc4+ #4 > RIP:

Re: [PATCH v3] KVM: X86: Fix softlockup when get the current kvmclock

2017-11-14 Thread Wanpeng Li
Ping, :) 2017-11-09 10:52 GMT+08:00 Wanpeng Li : > From: Wanpeng Li > > watchdog: BUG: soft lockup - CPU#6 stuck for 22s! [qemu-system-x86:10185] > CPU: 6 PID: 10185 Comm: qemu-system-x86 Tainted: G OE > 4.14.0-rc4+ #4 > RIP: 0010:kvm_get_time_scale+0x4e/0xa0 [kvm] > Call Trace:

Re: [PATCH v3] KVM: X86: Fix softlockup when get the current kvmclock

2017-11-08 Thread Wanpeng Li
2017-11-09 12:39 GMT+08:00 Konrad Rzeszutek Wilk : > On Wed, Nov 08, 2017 at 06:52:12PM -0800, Wanpeng Li wrote: >> From: Wanpeng Li >> >> watchdog: BUG: soft lockup - CPU#6 stuck for 22s! [qemu-system-x86:10185] >> CPU: 6 PID: 10185 Comm:

Re: [PATCH v3] KVM: X86: Fix softlockup when get the current kvmclock

2017-11-08 Thread Wanpeng Li
2017-11-09 12:39 GMT+08:00 Konrad Rzeszutek Wilk : > On Wed, Nov 08, 2017 at 06:52:12PM -0800, Wanpeng Li wrote: >> From: Wanpeng Li >> >> watchdog: BUG: soft lockup - CPU#6 stuck for 22s! [qemu-system-x86:10185] >> CPU: 6 PID: 10185 Comm: qemu-system-x86 Tainted: G OE >>

Re: [PATCH v3] KVM: X86: Fix softlockup when get the current kvmclock

2017-11-08 Thread Konrad Rzeszutek Wilk
On Wed, Nov 08, 2017 at 06:52:12PM -0800, Wanpeng Li wrote: > From: Wanpeng Li > > watchdog: BUG: soft lockup - CPU#6 stuck for 22s! [qemu-system-x86:10185] > CPU: 6 PID: 10185 Comm: qemu-system-x86 Tainted: G OE > 4.14.0-rc4+ #4 > RIP:

Re: [PATCH v3] KVM: X86: Fix softlockup when get the current kvmclock

2017-11-08 Thread Konrad Rzeszutek Wilk
On Wed, Nov 08, 2017 at 06:52:12PM -0800, Wanpeng Li wrote: > From: Wanpeng Li > > watchdog: BUG: soft lockup - CPU#6 stuck for 22s! [qemu-system-x86:10185] > CPU: 6 PID: 10185 Comm: qemu-system-x86 Tainted: G OE > 4.14.0-rc4+ #4 > RIP: 0010:kvm_get_time_scale+0x4e/0xa0 [kvm] >

[PATCH v3] KVM: X86: Fix softlockup when get the current kvmclock

2017-11-08 Thread Wanpeng Li
From: Wanpeng Li watchdog: BUG: soft lockup - CPU#6 stuck for 22s! [qemu-system-x86:10185] CPU: 6 PID: 10185 Comm: qemu-system-x86 Tainted: G OE 4.14.0-rc4+ #4 RIP: 0010:kvm_get_time_scale+0x4e/0xa0 [kvm] Call Trace: ? get_kvmclock_ns+0xa3/0x140 [kvm]

[PATCH v3] KVM: X86: Fix softlockup when get the current kvmclock

2017-11-08 Thread Wanpeng Li
From: Wanpeng Li watchdog: BUG: soft lockup - CPU#6 stuck for 22s! [qemu-system-x86:10185] CPU: 6 PID: 10185 Comm: qemu-system-x86 Tainted: G OE 4.14.0-rc4+ #4 RIP: 0010:kvm_get_time_scale+0x4e/0xa0 [kvm] Call Trace: ? get_kvmclock_ns+0xa3/0x140 [kvm]