From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexey Kardashevskiy Subject: Re: [RFC PATCH kernel] Revert "net/mlx4_core: Set UAR page size to 4KB regardless of system page size" Date: Thu, 17 Mar 2016 12:40:34 +1100 Message-ID: <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> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Or Gerlitz Cc: Eli Cohen , Huy Nguyen , Doug Ledford , Eugenia Emantayev , Hal Rosenstock , Sean Hefty , Yishai Hadas , Linux Kernel , "linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Linux Netdev List , Paul Mackerras , Carol L Soto , Yevgeny Petrilin , Brian J King List-Id: linux-rdma@vger.kernel.org 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. -- Alexey -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html