From patchwork Mon Nov 14 19:42:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Williamson X-Patchwork-Id: 13042758 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 C4089C4332F for ; Mon, 14 Nov 2022 19:43:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237224AbiKNTnP (ORCPT ); Mon, 14 Nov 2022 14:43:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44782 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236784AbiKNTnM (ORCPT ); Mon, 14 Nov 2022 14:43:12 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5828F1A235 for ; Mon, 14 Nov 2022 11:42:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1668454941; 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; bh=etTcQk1F266hdIupm5+ic9SPXuOnJ0Fp357DOYO5OPY=; b=ATY8Yn66yw1B+AFrgJyq+7dDsaCvV9vxIrw3tT2Jk3klzGZTkBCOsHNdkb9gkPgYscURqN elP1hE0ZolBMBrqC6VDF9zeGkN0F67J71ujOUcYAQEtaY9SwsxITRNNWXDH7LHNL6a/xOm C76RT2/vQUEyUZbDhK5b6v39Ety3X8c= Received: from mail-il1-f198.google.com (mail-il1-f198.google.com [209.85.166.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-382-8fi5wgK2MAiRuesLBb0wmA-1; Mon, 14 Nov 2022 14:42:20 -0500 X-MC-Unique: 8fi5wgK2MAiRuesLBb0wmA-1 Received: by mail-il1-f198.google.com with SMTP id q10-20020a056e0220ea00b00300f474693aso10011250ilv.23 for ; Mon, 14 Nov 2022 11:42:20 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:subject:cc:to :from:date:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=etTcQk1F266hdIupm5+ic9SPXuOnJ0Fp357DOYO5OPY=; b=hgsOPgvXUSGTP3lAOij7+Jjd8W55sa6T+eoAUZNOOK90Jp8yNHvExQkRYUf4Bbxb1O yvmSLzVkTI0qNYcVMnnJMEEHRFWoHGxYobnSXSBJMSQypEWJaOznelySAq7SQoKFt60q Nrv5rpLHy0dZBM6654L7uEBFWKkpAp9YcagP5kiwNAj3TnTn83f3mfUYY3pkqX2Mqli2 z1ENaOgJjm/ri2pAvU0IUDGDijJn/5UIWjmQEI7LeiY5PXV7Jsd9XI+N1eqJU1+yx4qr tw+BpU3Awqe7cjX4UDPgYsaU4brkoDl6TjM1ELgDAY9D9R8bCU6dtZZeTaVYxK2A37FM RuxA== X-Gm-Message-State: ANoB5pnBGyWXWGqV2OEGHPRxIjMQ43yoijqHYPRrdiCLoHpE3IA8yphw YQjR+kc8KqlDsGrz1RwZgwBjCpoch2prPcB98StPZPs5CAEQwg4NvZ0Rbm63r9SIvATgWe2Vhmn wc/S7/EvQtYnB X-Received: by 2002:a05:6638:4194:b0:376:21c3:23fe with SMTP id az20-20020a056638419400b0037621c323femr16258jab.192.1668454939199; Mon, 14 Nov 2022 11:42:19 -0800 (PST) X-Google-Smtp-Source: AA0mqf6aSXy25nWpUG2W6rJAgx5bO97582f6XlysUPpT15W+rIiYbkl3WMAJZr6Sm9NDiyVebzOgTQ== X-Received: by 2002:a05:6638:4194:b0:376:21c3:23fe with SMTP id az20-20020a056638419400b0037621c323femr16249jab.192.1668454938983; Mon, 14 Nov 2022 11:42:18 -0800 (PST) Received: from redhat.com ([38.15.36.239]) by smtp.gmail.com with ESMTPSA id a59-20020a029441000000b003712c881d67sm3868751jai.164.2022.11.14.11.42.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Nov 2022 11:42:18 -0800 (PST) Date: Mon, 14 Nov 2022 12:42:17 -0700 From: Alex Williamson To: Linus Torvalds Cc: , "kvm@vger.kernel.org" , ajderossi@gmail.com Subject: [GIT PULL] VFIO fixes for v6.1-rc6 Message-ID: <20221114124217.784a2d3f.alex.williamson@redhat.com> X-Mailer: Claws Mail 4.1.0 (GTK 3.24.34; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org The following changes since commit f0c4d9fc9cc9462659728d168387191387e903cc: Linux 6.1-rc4 (2022-11-06 15:07:11 -0800) are available in the Git repository at: https://github.com/awilliam/linux-vfio.git tags/vfio-v6.1-rc6 for you to fetch changes up to e806e223621e4f5105170df69d7311dc3fb4bbb4: vfio/pci: Check the device set open count on reset (2022-11-10 12:03:36 -0700) ---------------------------------------------------------------- VFIO fixes for v6.1-rc6 - Fixes for potential container registration leak for drivers not implementing a close callback, duplicate container de-registrations, and a regression in support for bus reset on last device close from a device set. (Anthony DeRossi) ---------------------------------------------------------------- Anthony DeRossi (3): vfio: Fix container device registration life cycle vfio: Export the device set open count vfio/pci: Check the device set open count on reset drivers/vfio/pci/vfio_pci_core.c | 10 +++++----- drivers/vfio/vfio_main.c | 26 +++++++++++++++++++++----- include/linux/vfio.h | 1 + 3 files changed, 27 insertions(+), 10 deletions(-)