Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753368Ab2HEIF1 (ORCPT ); Sun, 5 Aug 2012 04:05:27 -0400 Received: from minas.ics.muni.cz ([147.251.4.40]:39053 "EHLO minas.ics.muni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752373Ab2HEIFR (ORCPT ); Sun, 5 Aug 2012 04:05:17 -0400 Date: Sun, 5 Aug 2012 10:05:00 +0200 From: Lukas Hejtmanek To: Konrad Wilk Cc: yinghai@kernel.org, linux-pci@vger.kernel.org, roland@kernel.org, linux-kernel@vger.kernel.org Subject: Re: mellanox mlx4_core and SR-IOV Message-ID: <20120805080500.GH25979@ics.muni.cz> References: <9f903175-4080-4016-b9f8-83e8615c110e@default> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <9f903175-4080-4016-b9f8-83e8615c110e@default> X-echelon: NSA, CIA, CI5, MI5, FBI, KGB, BIS, Plutonium, Bin Laden, bomb User-Agent: Mutt/1.5.21 (2010-09-15) X-Muni-Spam-TestIP: 94.112.253.31 X-Muni-Envelope-From: xhejtman@ics.muni.cz X-Muni-Virus-Test: Clean X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (minas.ics.muni.cz [147.251.4.35]); Sun, 05 Aug 2012 10:05:07 +0200 (CEST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1395 Lines: 32 Hi, On Fri, Aug 03, 2012 at 06:49:59AM -0700, Konrad Wilk wrote: > This looks like you are using PV PCI passthrough? If so, did you > remember to use 'iommu=soft' to enable the Xen-SWIOTLB in your guest? > And are you booting with more than 4GB? Or is less than 3GB (so that you have > a nice gap in E820). good catch. I forgot to pass swiotl=force for DomU in Xen. So now, it seems that mlx4_core works, mlx4_en (ethernet part) works as well. Unfortunately, the IB part does not. IB layer complains that SR-IOV is currently unsupported (kernel 3.5.0). So no luck here so far. There is OFED stack directly from Mellanox, that seems to support SR-IOV even for IB layer, but they have buildable sources only for RHEL/SLES kernels (2.6.32) and even correcting the sources to get it compile with 3.5.0 does not make things work. The driver complains about interrupts not working in Dom0 or even without Xen hypervisor at all. The only good point is, that I managed to convice Supermicro (board manufacturer), that enabling SR-IOV in BIOS leads to BIOS lockup, they confirmed it and maybe they provide BIOS upgrade. Thanks all. -- Luk?? Hejtm?nek -- 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/