Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753068AbcCQFFQ (ORCPT ); Thu, 17 Mar 2016 01:05:16 -0400 Received: from mail-ig0-f180.google.com ([209.85.213.180]:34069 "EHLO mail-ig0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751698AbcCQFFN (ORCPT ); Thu, 17 Mar 2016 01:05:13 -0400 MIME-Version: 1.0 In-Reply-To: <56EA0B12.3070901@ozlabs.ru> References: <1458037148-4475-1-git-send-email-aik@ozlabs.ru> <56E8BFFE.9000803@ozlabs.ru> <20160316051021.GC66645@x-vnc01.mtx.labs.mlnx> <56E8F3CC.3070203@ozlabs.ru> <20160316060947.GD66645@x-vnc01.mtx.labs.mlnx> <56E91A78.5000700@ozlabs.ru> <56EA0B12.3070901@ozlabs.ru> Date: Thu, 17 Mar 2016 07:05:12 +0200 Message-ID: Subject: Re: [RFC PATCH kernel] Revert "net/mlx4_core: Set UAR page size to 4KB regardless of system page size" From: Or Gerlitz To: Alexey Kardashevskiy Cc: Eli Cohen , Huy Nguyen , Doug Ledford , Eugenia Emantayev , Hal Rosenstock , Sean Hefty , Yishai Hadas , Linux Kernel , "linux-rdma@vger.kernel.org" , Linux Netdev List , Paul Mackerras , Carol L Soto , Yevgeny Petrilin , Brian J King Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 948 Lines: 21 On Thu, Mar 17, 2016 at 3:40 AM, Alexey Kardashevskiy wrote: > On 03/16/2016 08:45 PM, Or Gerlitz wrote: >> On Wed, Mar 16, 2016 at 10:34 AM, Alexey Kardashevskiy >> wrote: >> >>> Oh. ok. It also looks like even with the reverted patch, mlx4 VF does not >>> work in a guest: >> >> >> So where is the breakage point for you? does 4.4 works? if not, what? > Ah, my bad. It is unrelated to the kernel version. > I tried passing a PF to a guest while its VFs are already passed to another > guest and see how exactly it blows up (AER/EEH were thrown but the host > recovered => good) but this left the device in a weird state when I could > not use VF in a guest anymore but it seemed to keep working on the host. > It seems like the actual adapter does not reset completely when the machine > is rebooted, I had unplug/replug power cables to fix this. So to make sure, now things works fine with the patch reverted?