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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E8E68C43334 for ; Thu, 7 Jul 2022 13:40:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235156AbiGGNkY (ORCPT ); Thu, 7 Jul 2022 09:40:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33958 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235577AbiGGNkW (ORCPT ); Thu, 7 Jul 2022 09:40:22 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 07CAF2AC50; Thu, 7 Jul 2022 06:40:21 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id 2855068AA6; Thu, 7 Jul 2022 15:40:18 +0200 (CEST) Date: Thu, 7 Jul 2022 15:40:17 +0200 From: Christoph Hellwig To: Vineeth Vijayan Cc: Eric Farman , Christoph Hellwig , Kirti Wankhede , Tony Krowiak , Halil Pasic , Jason Herne , Matthew Rosato , Zhenyu Wang , Zhi Wang , Alex Williamson , Peter Oberparleiter , Jason Gunthorpe , kvm@vger.kernel.org, linux-s390@vger.kernel.org, intel-gvt-dev@lists.freedesktop.org, Kevin Tian Subject: Re: [PATCH 04/15] vfio/mdev: embedd struct mdev_parent in the parent data structure Message-ID: <20220707134017.GB19060@lst.de> References: <20220706074219.3614-1-hch@lst.de> <20220706074219.3614-5-hch@lst.de> <27e9ef873a00dde07373155e76615437136106c4.camel@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-s390@vger.kernel.org On Thu, Jul 07, 2022 at 09:22:21AM +0200, Vineeth Vijayan wrote: > Thank you Eric for pointing it out. You are right. I think the struct > subchannel is obviously the wrong place. > Also, in this case, the mdev_parent should be in one of the vfio-ccw > io-subchannel structure, which as you mentioned should be in vfio-ccw*. It is where the parent dev is embedded into, so it sticks to the spirit of the old code. I'm totally fine with you guys moving it to another structure of your choice, but for making progress on this series it should be good enough.