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 61623C433F5 for ; Thu, 29 Sep 2022 18:24:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235749AbiI2SYk (ORCPT ); Thu, 29 Sep 2022 14:24:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45880 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232380AbiI2SYh (ORCPT ); Thu, 29 Sep 2022 14:24:37 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C14D463FB for ; Thu, 29 Sep 2022 11:24:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1664475874; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=BoITIusWH1pgiQYYyYgg2aTCkDBnXRgVNx9UWZzrGmA=; b=OqcMvHd+HH89EI8UXhMCTpgc95JY4q2oPDPDMHN+rG+xKoIKL6KQo3Q1ABrYRtnFvu41+l JiJvhpYBHgd7ITHa6cpubjXPTQdb3dxfutlcJURTUvmseF9waOP0/Zdcov0RCPcG3FaM2e gjF7RIegpRW3AWLNPVEbMpYzSyCj2xY= Received: from mail-il1-f200.google.com (mail-il1-f200.google.com [209.85.166.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-595-VDKMwLFJPgKG14acipS2hw-1; Thu, 29 Sep 2022 14:24:33 -0400 X-MC-Unique: VDKMwLFJPgKG14acipS2hw-1 Received: by mail-il1-f200.google.com with SMTP id x3-20020a056e021ca300b002f855cd264cso1704471ill.7 for ; Thu, 29 Sep 2022 11:24:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:organization:references :in-reply-to:message-id:subject:cc:to:from:date:x-gm-message-state :from:to:cc:subject:date; bh=BoITIusWH1pgiQYYyYgg2aTCkDBnXRgVNx9UWZzrGmA=; b=rpCbGEU0hLCO5X9GPNF2Ash1n3M4SgeStbyXOuhQbgt/ey8rjPNiUd8kctU7ATfaq5 Fe3HXizsBAiIUEYzqXN07dwkwcT5UXX04FPVNfPYybvGYqcf1bnua6JvijgI8A/nr1xT 8IuXbPPoSl86locGvV9xUxSCYqakzKSGVds2RF7slgaK/UWJK9Cp6gkQ8m9zWOjxsxOr k0ozGBZyCTK7501/kgsOvYrA1VXbuzeDo0askiSFsadcNpv+8nMz/8NNELdYpkTVjoew OVVn4QGKu37p7b5H7O/VbZ07V+bgum4mmg2epa0+OJxNXrbsKqZlCPn4V/Vnuy1QvXyR 7Zgg== X-Gm-Message-State: ACrzQf0r3gA2ylUM1JSIeX1AHDxQr49+3Kjs+X0jdnw5S2AP/12sSZQ2 yCR7I1r8S3Te9GPs46CQrbjkMfbutxZIVuueyBynTkLE7rKZ5o0EUJM4rq2jyJF+vq5GXBYLc7e AAzo+81FfRycT X-Received: by 2002:a05:6e02:19ce:b0:2f1:68a6:3bec with SMTP id r14-20020a056e0219ce00b002f168a63becmr2392085ill.78.1664475872945; Thu, 29 Sep 2022 11:24:32 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7KUOQo8AbbarGobEgnbxdcS5bS2mn744LEcpjpU+rvkCIe35jyhAfEJ5Pm5FWlRH0iLBHEPg== X-Received: by 2002:a05:6e02:19ce:b0:2f1:68a6:3bec with SMTP id r14-20020a056e0219ce00b002f168a63becmr2392060ill.78.1664475872712; Thu, 29 Sep 2022 11:24:32 -0700 (PDT) Received: from redhat.com ([38.15.36.239]) by smtp.gmail.com with ESMTPSA id f13-20020a05660215cd00b006a1fed36549sm96051iow.10.2022.09.29.11.24.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Sep 2022 11:24:31 -0700 (PDT) Date: Thu, 29 Sep 2022 12:24:27 -0600 From: Alex Williamson To: Jason Gunthorpe Cc: Kevin Tian , Zhenyu Wang , Zhi Wang , Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , Tvrtko Ursulin , David Airlie , Daniel Vetter , Eric Farman , Matthew Rosato , Halil Pasic , Vineeth Vijayan , Peter Oberparleiter , Heiko Carstens , Vasily Gorbik , Alexander Gordeev , Christian Borntraeger , Sven Schnelle , Tony Krowiak , Jason Herne , Harald Freudenberger , Diana Craciun , Cornelia Huck , Longfang Liu , Shameer Kolothum , Yishai Hadas , Eric Auger , Kirti Wankhede , Leon Romanovsky , Abhishek Sahu , Christoph Hellwig , intel-gvt-dev@lists.freedesktop.org, intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org, kvm@vger.kernel.org, Yi Liu Subject: Re: [PATCH v4 15/15] vfio: Add struct device to vfio_device Message-ID: <20220929122427.3a3bca9a.alex.williamson@redhat.com> In-Reply-To: References: <20220921104401.38898-1-kevin.tian@intel.com> <20220921104401.38898-16-kevin.tian@intel.com> <20220929105519.5c9ae1d8.alex.williamson@redhat.com> Organization: Red Hat MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org On Thu, 29 Sep 2022 14:49:56 -0300 Jason Gunthorpe wrote: > On Thu, Sep 29, 2022 at 10:55:19AM -0600, Alex Williamson wrote: > > Hi Kevin, > > > > This introduced the regression discovered here: > > > > https://lore.kernel.org/all/20220928125650.0a2ea297.alex.williamson@redhat.com/ > > > > Seems we're not releasing the resources when removing an mdev. This is > > a regression, so it needs to be fixed or reverted before the merge > > window. Thanks, > > My guess at the fix for this: > > https://lore.kernel.org/r/0-v1-013609965fe8+9d-vfio_gvt_unregister_jgg@nvidia.com Indeed this seems to work I'll look for acks and further reviews from Intel folks. Thanks! Alex