Re: [kbuild-all] [PATCH 5/6] KVM: PPC: Book3S HV: Send IPI to host core to wake VCPU

2015-11-01 Thread Fengguang Wu
Hi Suresh, Sorry for the noise! Do you have a git tree that the robot can monitor and test? In this case of one patchset depending on another, there is no chance for the robot to do valid testing based on emailed patches. Thanks, Fengguang On Fri, Oct 30, 2015 at 10:16:06AM -0500, Suresh E.

Re: [kbuild-all] [kvm:queue 27/38] arch/x86/kvm/hyperv.c:186:41: sparse: incorrect type in argument 2 (different modifiers)

2015-09-18 Thread Fengguang Wu
[CC sparse people] On Fri, Sep 18, 2015 at 04:41:56PM +0200, Paolo Bonzini wrote: > > > On 18/09/2015 16:40, Roman Kagan wrote: > > typedef unsigned long __nocast cputime_t; > > > > extern void task_cputime_adjusted(cputime_t *); > > extern void current_task_runtime_100ns(void); > > > > void

[x86, kvm] WARNING: at arch/x86/kernel/pvclock.c:182 pvclock_init_vsyscall()

2014-09-30 Thread Fengguang Wu
Greetings, 0day kernel testing robot got the below dmesg and the first bad commit is commit 3dc4f7cfb7441e5e0fed3a02fc81cdaabd28300a Author: Marcelo Tosatti mtosa...@redhat.com AuthorDate: Tue Nov 27 23:28:56 2012 -0200 Commit: Marcelo Tosatti mtosa...@redhat.com CommitDate: Tue Nov 27

Re: [x86, kvm] WARNING: at arch/x86/kernel/pvclock.c:182 pvclock_init_vsyscall()

2014-09-30 Thread Fengguang Wu
On Tue, Sep 30, 2014 at 02:05:09PM +0200, Paolo Bonzini wrote: Il 30/09/2014 09:59, Fengguang Wu ha scritto: +--++++ | | 71056ae22d

Re: [kbuild] [vfio:vfio-vga 4/5] drivers/vfio/pci/vfio_pci_rdwr.c:191 vfio_pci_legacy_mem_rw() warn: consider using resource_size() here

2013-01-21 Thread Fengguang Wu
Hi Dan and Alex, On Mon, Jan 21, 2013 at 09:17:51PM +0300, Dan Carpenter wrote: Hi Fengguang, I already forwarded these on Thursday. You should have got a mail about it because I CC'd the kbuild list. Yes it is! Sorry for the duplicated report! Fengguang -- To unsubscribe from this list:

Re: [kbuild] [vfio:vfio-vga 3/5] drivers/vfio/pci/vfio_pci_rdwr.c:169 vfio_pci_bar_rw() warn: always true condition '(done = 0) = (0-u32max = 0)'

2013-01-17 Thread Fengguang Wu
On Wed, Jan 16, 2013 at 08:47:57PM -0700, Alex Williamson wrote: On Thu, 2013-01-17 at 09:21 +0800, Fengguang Wu wrote: Hi Alex, FYI, there are new smatch warnings show up in tree: git://github.com/awilliam/linux-vfio.git vfio-vga Thanks for the bug report. I never would have

[kbuild] [vfio:vfio-vga 4/5] drivers/vfio/pci/vfio_pci_rdwr.c:191 vfio_pci_legacy_mem_rw() warn: consider using resource_size() here

2013-01-16 Thread Fengguang Wu
Hi Alex, FYI, there are new smatch warnings show up in tree: git://github.com/awilliam/linux-vfio.git vfio-vga head: 2c2e21fa66c40ed7b8e434c86a9f2ab0c879f21d commit: c5b7a5a85fa477e70497c513f2acda50eea73bf7 [4/5] vfio-pci: Add support for legacy MMIO I/O port towards VGA support New

[kbuild] [vfio:vfio-vga 3/5] drivers/vfio/pci/vfio_pci_rdwr.c:169 vfio_pci_bar_rw() warn: always true condition '(done = 0) = (0-u32max = 0)'

2013-01-16 Thread Fengguang Wu
Hi Alex, FYI, there are new smatch warnings show up in tree: git://github.com/awilliam/linux-vfio.git vfio-vga head: 2c2e21fa66c40ed7b8e434c86a9f2ab0c879f21d commit: f4d38f216ef420595d12f74b256b3961eb4c3c14 [3/5] vfio-pci: Cleanup BAR access New smatch warnings:

Re: [kvm:queue 23/25] arch/s390/kvm/kvm-s390.c:358:6: error: conflicting types for 'kvm_arch_vcpu_postcreate'

2012-11-28 Thread Fengguang Wu
On Tue, Nov 27, 2012 at 11:51:19PM -0200, Marcelo Tosatti wrote: On Tue, Nov 27, 2012 at 10:56:50AM +0800, Fengguang Wu wrote: Hi Marcelo, FYI, kernel build failed on tree: git://git.kernel.org/pub/scm/virt/kvm/kvm.git queue head: fc1ddea318fa2c1ac3d496d8653ca4bc9b66e679

[kvm:queue 23/25] arch/s390/kvm/kvm-s390.c:358:6: error: conflicting types for 'kvm_arch_vcpu_postcreate'

2012-11-26 Thread Fengguang Wu
Open Source Technology Center Fengguang Wu, Yuanhan Liu Intel Corporation -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [3.5.0 BUG] vmx_handle_exit: unexpected, valid vectoring info (0x80000b0e)

2012-10-17 Thread Fengguang Wu
On Wed, Oct 17, 2012 at 02:26:22PM +0800, Xiao Guangrong wrote: On 09/14/2012 01:57 PM, Xiao Guangrong wrote: On 09/12/2012 04:15 PM, Avi Kivity wrote: On 09/12/2012 07:40 AM, Fengguang Wu wrote: Hi, 3 of my test boxes running v3.5 kernel become unaccessible and I find two of them

Re: [3.5.0 BUG] vmx_handle_exit: unexpected, valid vectoring info (0x80000b0e)

2012-10-17 Thread Fengguang Wu
On Wed, Oct 17, 2012 at 03:04:49PM +0800, Xiao Guangrong wrote: On 10/17/2012 02:43 PM, Fengguang Wu wrote: On Wed, Oct 17, 2012 at 02:26:22PM +0800, Xiao Guangrong wrote: On 09/14/2012 01:57 PM, Xiao Guangrong wrote: On 09/12/2012 04:15 PM, Avi Kivity wrote: On 09/12/2012 07:40 AM

Re: INFO: rcu_preempt detected stalls on CPUs/tasks: { 1} (detected by 0, t=10002 jiffies)

2012-09-30 Thread Fengguang Wu
On Sun, Sep 30, 2012 at 01:10:55PM +0200, Avi Kivity wrote: On 09/28/2012 05:35 AM, Paul E. McKenney wrote: On Thu, Sep 27, 2012 at 12:40:44PM +0800, Fengguang Wu wrote: On Wed, Sep 26, 2012 at 09:28:50PM -0700, Paul E. McKenney wrote: On Thu, Sep 27, 2012 at 10:54:00AM +0800, Fengguang Wu

Re: INFO: rcu_preempt detected stalls on CPUs/tasks: { 1} (detected by 0, t=10002 jiffies)

2012-09-30 Thread Fengguang Wu
On Sun, Sep 30, 2012 at 01:32:46PM +0200, Avi Kivity wrote: On 09/30/2012 01:23 PM, Fengguang Wu wrote: On Sun, Sep 30, 2012 at 01:10:55PM +0200, Avi Kivity wrote: On 09/28/2012 05:35 AM, Paul E. McKenney wrote: On Thu, Sep 27, 2012 at 12:40:44PM +0800, Fengguang Wu wrote: On Wed, Sep

[kvm:queue 41/42] arch/s390/kvm/interrupt.c:428:12: warning: ignoring return value of 'vcpu_load', declared with attribute warn_unused_result

2012-09-19 Thread Fengguang Wu
); 435 spin_unlock_bh(vcpu-arch.local_int.lock); 436 spin_unlock(vcpu-arch.local_int.float_int-lock); 437 hrtimer_try_to_cancel(vcpu-arch.ckc_timer); 438 return 0; --- 0-DAY kernel build testing backend Open Source Technology Centre Fengguang Wu

Re: [kvm:next 1/1] arch/x86/kvm/emulate.c:232 writeback_registers() error: buffer overflow 'ctxt-_regs' 9 = 15

2012-09-12 Thread Fengguang Wu
On Wed, Sep 12, 2012 at 01:58:22PM +0800, Amos Kong wrote: On 11/09/12 22:31, Fengguang Wu wrote: Hi Avi, In the kvm/next branch, sparse warns about arch/x86/kvm/emulate.c:232 writeback_registers() error: buffer overflow 'ctxt-_regs' 9 = 15 This is because the array definition is ctxt

Re: [3.5.0 BUG] vmx_handle_exit: unexpected, valid vectoring info (0x80000b0e)

2012-09-12 Thread Fengguang Wu
On Wed, Sep 12, 2012 at 11:15:40AM +0300, Avi Kivity wrote: On 09/12/2012 07:40 AM, Fengguang Wu wrote: Hi, 3 of my test boxes running v3.5 kernel become unaccessible and I find two of them kept emitting this dmesg: vmx_handle_exit: unexpected, valid vectoring info (0x8b0e

[kvm:next 1/1] arch/x86/kvm/emulate.c:232 writeback_registers() error: buffer overflow 'ctxt-_regs' 9 = 15

2012-09-11 Thread Fengguang Wu
Hi Avi, In the kvm/next branch, sparse warns about arch/x86/kvm/emulate.c:232 writeback_registers() error: buffer overflow 'ctxt-_regs' 9 = 15 This is because the array definition is ctxt._regs[NR_VCPU_REGS] where NR_VCPU_REGS=9 for i386 and 17 for x86_64. It could be fixed by changing the

Re: [PATCH 1/2] PCI: Use local parameter pci_device_id for pci_get_subsys/class()

2012-09-08 Thread Fengguang Wu
a local parameter instead will fix it and make it eligible for calling forom atomic context. Do the same change for the pci_get_class() as suggested by Bjorn Helgaas [bhelgaas: changelog] Bisected-by: Fengguang Wu fengguang...@intel.com Signed-off-by: Feng Tang

Re: [kvm:next 1/1] (.text+0x2ac8): undefined reference to `.gfn_to_hva_memslot'

2012-08-26 Thread Fengguang Wu
On Mon, Aug 27, 2012 at 10:33:12AM +0800, Xiao Guangrong wrote: On 08/24/2012 11:11 PM, Fengguang Wu wrote: Hi Xiao, FYI, kernel build failed on tree: git://git.kernel.org/pub/scm/virt/kvm/kvm.git next head: 4d8b81abc47b83a1939e59df2fdb0e98dfe0eedd commit

Re: pci_get_subsys: GFP_KERNEL allocations with IRQs disabled

2012-08-22 Thread Fengguang Wu
On Wed, Aug 22, 2012 at 03:49:08PM +0800, Tang, Feng wrote: Hi Fengguang, On Wed, 22 Aug 2012 10:50:08 +0800 Fengguang Wu fengguang...@intel.com wrote: Feng, I think it's pci_get_subsys() triggered this assert: /* * Oi! Can't be having __GFP_FS

Re: pci_get_subsys: GFP_KERNEL allocations with IRQs disabled

2012-08-21 Thread Fengguang Wu
Feng, I think it's pci_get_subsys() triggered this assert: /* * Oi! Can't be having __GFP_FS allocations with IRQs disabled. */ if (DEBUG_LOCKS_WARN_ON(irqs_disabled_flags(flags))) return; It's bisected down to this commit: commit

Re: Testing tracer wakeup_rt: .. no entries found ..FAILED!

2012-08-07 Thread Fengguang Wu
On Tue, Aug 07, 2012 at 09:29:33AM -0400, Steven Rostedt wrote: On Wed, 2012-08-01 at 07:57 +0800, Fengguang Wu wrote: What was the next lines? I bet you it was PASSED. Which means it did not fail. This is the second bug you found that has to do with RCU being called in 'idle

Re: Testing tracer wakeup_rt: .. no entries found ..FAILED!

2012-07-31 Thread Fengguang Wu
[CC kvm developers] On Mon, Jul 30, 2012 at 11:45:05AM -0400, Steven Rostedt wrote: On Tue, 2012-07-24 at 17:07 +0800, Fengguang Wu wrote: On Tue, Jul 24, 2012 at 05:03:30PM +0800, Fengguang Wu wrote: And this warning shows up in one of the dozens of boots, for the same kconfig

Re: Testing tracer wakeup_rt: .. no entries found ..FAILED!

2012-07-31 Thread Fengguang Wu
On Tue, Jul 31, 2012 at 09:13:39AM -0400, Steven Rostedt wrote: On Tue, 2012-07-31 at 15:50 +0300, Avi Kivity wrote: On 07/31/2012 03:43 PM, Steven Rostedt wrote: That would be better. A hypervisor might be real-time capable (with some effort kvm can do this), so we don't want to turn

Re: Testing tracer wakeup_rt: .. no entries found ..FAILED!

2012-07-31 Thread Fengguang Wu
On Tue, Jul 31, 2012 at 07:51:39PM -0400, Steven Rostedt wrote: On Wed, 2012-08-01 at 07:43 +0800, Fengguang Wu wrote: On Tue, Jul 31, 2012 at 09:13:39AM -0400, Steven Rostedt wrote: On Tue, 2012-07-31 at 15:50 +0300, Avi Kivity wrote: On 07/31/2012 03:43 PM, Steven Rostedt wrote

pci_get_subsys: GFP_KERNEL allocations with IRQs disabled

2012-07-31 Thread Fengguang Wu
On Tue, Jul 31, 2012 at 05:18:11PM -0700, Paul E. McKenney wrote: On Tue, Jul 31, 2012 at 08:09:38PM -0400, Steven Rostedt wrote: On Tue, 2012-07-31 at 16:57 -0700, Paul E. McKenney wrote: What was the next lines? I bet you it was PASSED. Which means it did not fail. This is the

[kvm:auto-next 24/39] (.init.rodata+0x830): undefined reference to `x86_hyper_kvm'

2012-07-26 Thread Fengguang Wu
(attached as .config) All related error/warning messages: arch/x86/built-in.o: In function `interrupt': (.init.rodata+0x830): undefined reference to `x86_hyper_kvm' --- 0-DAY kernel build testing backend Open Source Technology Centre Fengguang Wu w...@linux.intel.com

Re: [kvm:auto-next 24/39] (.init.rodata+0x830): undefined reference to `x86_hyper_kvm'

2012-07-26 Thread Fengguang Wu
Hi Avi, On Thu, Jul 26, 2012 at 04:58:35PM +0300, Avi Kivity wrote: On 07/26/2012 04:26 PM, Fengguang Wu wrote: Hi Raghavendra, Kernel build failed on tree: git://git.kernel.org/pub/scm/virt/kvm/kvm.git auto-next head: 12938728e8145ecd49dce97c52f10b713bcdfc94 commit

Re: [kvm:auto-next 24/39] (.init.rodata+0x830): undefined reference to `x86_hyper_kvm'

2012-07-26 Thread Fengguang Wu
On Thu, Jul 26, 2012 at 05:13:45PM +0300, Avi Kivity wrote: On 07/26/2012 05:03 PM, Fengguang Wu wrote: Hi Avi, On Thu, Jul 26, 2012 at 04:58:35PM +0300, Avi Kivity wrote: On 07/26/2012 04:26 PM, Fengguang Wu wrote: Hi Raghavendra, Kernel build failed on tree: git

Re: kvm segfaults and bad page state in 3.4.0

2012-07-03 Thread Fengguang Wu
glad to try it out in my compile servers. Note that I've not encountered the bug since then (seems not very reproducible). So the feedback would be kind of the patch works well rather than confirming that it fixed the bug for me. Sorry for that. Thanks, Fengguang On 06/04/2012 07:46 PM, Fengguang

kvm segfaults and bad page state in 3.4.0

2012-06-04 Thread Fengguang Wu
Hi, I'm running lots of kvm instances for doing kernel boot tests. Unfortunately the test system itself is not stable enough, I got scary errors in both kvm and the host kernel. Like this. [294025.795382] kvm used greatest stack depth: 2896 bytes left [310388.622083] kvm[1864]: segfault at c ip

Re: kvm segfaults and bad page state in 3.4.0

2012-06-04 Thread Fengguang Wu
On Mon, Jun 04, 2012 at 08:35:30PM +0800, Fengguang Wu wrote: Hi Gleb, On Mon, Jun 04, 2012 at 02:56:50PM +0300, Gleb Natapov wrote: On Mon, Jun 04, 2012 at 07:46:03PM +0800, Fengguang Wu wrote: Hi, I'm running lots of kvm instances for doing kernel boot tests. Unfortunately