Re: SR-IOV problem with Intel 82599EB (not enough MMIO resources for SR-IOV)

2012-11-13 Thread Yinghai Lu
On Tue, Nov 13, 2012 at 10:25 AM, Li, Sibai wrote: > > Never append "pci=realloc" for both kernel 2.6.32.279 and kernel 3.5.0 above. well, can you both post boot log with "debug ignore_loglevel" ? -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to major

Re: SR-IOV problem with Intel 82599EB (not enough MMIO resources for SR-IOV)

2012-11-13 Thread Yinghai Lu
On Tue, Nov 13, 2012 at 8:04 AM, Li, Sibai wrote: > >> >> Thank you very much,I try "pci=realloc" in Centos 6.3,and now it works for >> me. >> >> thank you Sibai,Our server "Dell R710",its BIOS version is just >> v.6.3.0 and release date is 07/24/2012,and I also configured intel_iommu=on >> in >

Re: SR-IOV problem with Intel 82599EB (not enough MMIO resources for SR-IOV)

2012-11-09 Thread Yinghai Lu
l will enable realloc automatically if it finds some SRIOV BAR is not assigned. related logic is in pci_realloc_detect(). BTW, we may need another patch about realloc. http://git.kernel.org/?p=linux/kernel/git/yinghai/linux-yinghai.git;a=patch;h=afb9975bddd92b17c2f9859676ce521e2e014997 >From af

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

2012-09-08 Thread Yinghai Lu
On Sat, Sep 8, 2012 at 8:34 AM, Feng Tang wrote: >> This makes lspci work again on my side. The caveat is, kzalloc() will >> zero out all data while the new local variable leaves some data >> uninitialized. > > Yes, thanks for the quick root cause and fix to the bug in my code. Can you resubmit y

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

2012-09-08 Thread Yinghai Lu
On Sat, Sep 8, 2012 at 6:42 AM, Fengguang Wu wrote: > On Fri, Sep 07, 2012 at 06:32:48PM -0700, Yinghai Lu wrote: > >> > with this one in pci/next pci config in /sys are not created. >> > >> > 10:~ # lspci -tv >> > pcilib: Cannot open /sys/bus/pci/devices

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

2012-09-07 Thread Yinghai Lu
On Fri, Sep 7, 2012 at 6:00 PM, Yinghai Lu wrote: > On Thu, Aug 23, 2012 at 12:45 AM, Feng Tang wrote: >> From 57a28ee5e7662ca28ba4c793aa037d64bd082dee Mon Sep 17 00:00:00 2001 >> From: Feng Tang >> Date: Wed, 22 Aug 2012 15:41:51 +0800 >> Subject: [PATCH 1/

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

2012-09-07 Thread Yinghai Lu
On Thu, Aug 23, 2012 at 12:45 AM, Feng Tang wrote: > From 57a28ee5e7662ca28ba4c793aa037d64bd082dee Mon Sep 17 00:00:00 2001 > From: Feng Tang > Date: Wed, 22 Aug 2012 15:41:51 +0800 > Subject: [PATCH 1/2] PCI: Use local parameter pci_device_id for > pci_get_subsys/class() > > This fixes a kernel

Re: Early boot panic on machine with lots of memory

2012-06-14 Thread Yinghai Lu
On Thu, Jun 14, 2012 at 5:59 PM, Sasha Levin wrote: > On Thu, 2012-06-14 at 16:57 -0700, Yinghai Lu wrote: >> can you please boot with "memtest" to see if there is any memory problem? > > The host got a memtest treatment, nothing found. can you try to boot guest with

Re: [PATCH] x86/apic: Map the local apic when parsing the MP table.

2010-08-04 Thread Yinghai Lu
T_APIC_VERSION(apic_read(APIC_LVR)); > + } > +} > + > static int __init smp_read_mpc(struct mpc_table *mpc, unsigned early) > { > char str[16]; > @@ -295,6 +307,10 @@ static int __init smp_read_mpc(struct mpc_table *mpc, > unsigned early) > if (early) >

Re: 2.6.35 hangs on early boot in KVM

2010-08-04 Thread Yinghai Lu
On 08/04/2010 02:16 AM, Tvrtko Ursulin wrote: > On Wednesday 04 Aug 2010 10:05:36 Yinghai Lu wrote: >> On 08/04/2010 01:18 AM, Tvrtko Ursulin wrote: >>> On Tuesday 03 Aug 2010 21:57:48 Yinghai Lu wrote: >>>> On Tue, Aug 3, 2010 at 8:59 AM, Tvrtko Ursulin >>>

Re: 2.6.35 hangs on early boot in KVM

2010-08-04 Thread Yinghai Lu
On 08/04/2010 01:18 AM, Tvrtko Ursulin wrote: > On Tuesday 03 Aug 2010 21:57:48 Yinghai Lu wrote: >> On Tue, Aug 3, 2010 at 8:59 AM, Tvrtko Ursulin >> >> wrote: >>> On Tuesday 03 Aug 2010 16:17:20 Tvrtko Ursulin wrote: >>>> On Tuesday 03 Aug 2010 15:57:03

Re: 2.6.35 hangs on early boot in KVM

2010-08-03 Thread Yinghai Lu
INT_SRC_OVR (bus 0 bus_irq 13 global_irq 16 dfl dfl) <6>ACPI: INT_SRC_OVR (bus 0 bus_irq 14 global_irq 17 low edge) <6>ACPI: INT_SRC_OVR (bus 0 bus_irq 15 global_irq 18 dfl dfl) after this patch will get apic0, pin0, GSI 0: irq 0+75 apic0, pin1, GSI 1: irq 1+75 apic0, pin2, GSI 2: i

Re: pci_stub and kvm

2009-07-01 Thread Yinghai Lu
On Wed, Jul 1, 2009 at 12:49 AM, Avi Kivity wrote: > On 07/01/2009 07:18 AM, Yinghai Lu wrote: >> >> [ 1966.343286] >> [ 1966.343288] === >> [ 1966.356756] [ INFO: possible circular locking dependency detected ] >&

Re: [PATCH v4] enable x2APIC without interrupt remapping under KVM

2009-06-30 Thread Yinghai Lu
2009/6/30 Gleb Natapov : >> >> how about kexec second kernel in KVM ? >> >> x2apic_preenabled will be set in second kernel. >> > Yes, bummer. But the similar problem exist now and without KVM. After > running x2apic enabled kernel you can't kexec kernel without x2apic > support. if the first kern

Re: [PATCH v4] enable x2APIC without interrupt remapping under KVM

2009-06-30 Thread Yinghai Lu
On Mon, Jun 29, 2009 at 11:45 PM, Gleb Natapov wrote: > KVM would like to provide x2APIC interface to a guest without emulating > interrupt remapping device. The reason KVM prefers guest to use x2APIC > is that x2APIC interface is better virtualizable and provides better > performance than mmio xAP

Re: [PATCH 7/16 v6] PCI: cleanup pcibios_allocate_resources()

2008-10-23 Thread Yinghai Lu
On Wed, Oct 22, 2008 at 1:42 AM, Yu Zhao <[EMAIL PROTECTED]> wrote: > This cleanup makes pcibios_allocate_resources() easier to read. > > Cc: Alex Chiang <[EMAIL PROTECTED]> > Cc: Grant Grundler <[EMAIL PROTECTED]> > Cc: Greg KH <[EMAIL PROTECTED]> > Cc: Ingo Molnar <[EMAIL PROTECTED]> > Cc: Jesse