From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E5322C47090 for ; Thu, 27 May 2021 15:13:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CC8A1613C9 for ; Thu, 27 May 2021 15:13:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236912AbhE0PPC (ORCPT ); Thu, 27 May 2021 11:15:02 -0400 Received: from verein.lst.de ([213.95.11.211]:39565 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236932AbhE0POw (ORCPT ); Thu, 27 May 2021 11:14:52 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id 5DEF36736F; Thu, 27 May 2021 17:13:14 +0200 (CEST) Date: Thu, 27 May 2021 17:13:13 +0200 From: Christoph Hellwig To: Jason Gunthorpe Cc: Christoph Hellwig , Dan Williams , Alex Williamson , Cornelia Huck , kvm@vger.kernel.org, Kirti Wankhede , "Raj, Ashok" , Daniel Vetter , Leon Romanovsky , Max Gurtovoy , Tarun Gupta , dave.jiang@intel.com Subject: Re: [PATCH v2 02/13] vfio/mdev: Allow the mdev_parent_ops to specify the device driver to bind Message-ID: <20210527151313.GA2733@lst.de> References: <0-v2-7667f42c9bad+935-vfio3_jgg@nvidia.com> <2-v2-7667f42c9bad+935-vfio3_jgg@nvidia.com> <20210428060300.GA4092@lst.de> <20210428124153.GA28566@lst.de> <20210428140005.GS1370958@nvidia.com> <20210526004230.GA3563025@nvidia.com> <20210527114452.GB18214@lst.de> <20210527145342.GE1002214@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210527145342.GE1002214@nvidia.com> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org On Thu, May 27, 2021 at 11:53:42AM -0300, Jason Gunthorpe wrote: > > This looks great. Please get it out to Greg ASAP! > > Thanks, I need to test it all carefully it is pretty tricky. You are > OK with the funky in/out flag? That was the most ick part It is a little ugly, but what are the alternatives? Would an input flag to never return EPROBE_DEFER work instead?