Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755573Ab2HAS3H (ORCPT ); Wed, 1 Aug 2012 14:29:07 -0400 Received: from mail-vb0-f46.google.com ([209.85.212.46]:60194 "EHLO mail-vb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754843Ab2HAS3D (ORCPT ); Wed, 1 Aug 2012 14:29:03 -0400 MIME-Version: 1.0 In-Reply-To: References: <20120801133835.GH5470@ics.muni.cz> Date: Wed, 1 Aug 2012 11:29:02 -0700 X-Google-Sender-Auth: mJt3zBY8i-Dqepg-vxjgMeQTwVo Message-ID: Subject: Re: mellanox mlx4_core and SR-IOV From: Yinghai Lu To: Roland Dreier Cc: Lukas Hejtmanek , linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1398 Lines: 35 On Wed, Aug 1, 2012 at 10:37 AM, Roland Dreier wrote: > On Wed, Aug 1, 2012 at 6:38 AM, Lukas Hejtmanek wrote: >> [ 3.558296] mlx4_core 0000:02:00.0: not enough MMIO resources for SR-IOV (nres: 0, iov->nres: 1) > > This comes from the core sriov_enable() function, not anything in mlx4. > (although my kernel doesn't have the print of nres in that message) > > Not sure what it means. On Wed, Aug 1, 2012 at 10:37 AM, Roland Dreier wrote: > On Wed, Aug 1, 2012 at 6:38 AM, Lukas Hejtmanek wrote: >> [ 3.558296] mlx4_core 0000:02:00.0: not enough MMIO resources for SR-IOV (nres: 0, iov->nres: 1) > > This comes from the core sriov_enable() function, not anything in mlx4. > (although my kernel doesn't have the print of nres in that message) > > Not sure what it means. iov bar is not assigned by BIOS, and kernel can not find range for it too. Lukas, can you post whole boot log with PCI_DEBUG enabled? That will tell exact why kernel does not assign them. Recent kernel from 3.4... should enable realloc when SRIOV bar is not assigned. Thanks Yinghai -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/