Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp1226882pxv; Fri, 25 Jun 2021 08:08:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxkp2m9DsCBQVNPCm6sQqz/sysO9aY0t84M1W6Cte7oVyCaP909ZdrooPE4j+ngTqv+pgBy X-Received: by 2002:a02:8790:: with SMTP id t16mr9912172jai.81.1624633733197; Fri, 25 Jun 2021 08:08:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624633733; cv=none; d=google.com; s=arc-20160816; b=kNHcow4N31Z8+DQXJgzqPSfrQOHBxG9WIsO2Y2JO1JXeckFvzeQx6eXAUOcndXzox7 sXtGS4lbkDqXH6SQGafCgXXHJKlFjbpJELfyFJAQz4o1fnUqqszZBV/lDMWzTsAOkQbM 5P3VQYtIQ4i1bCN13/0vDk8qnULQeMSKavL5uX+ykqbRGdGLHTcPfgjFv0xLCBqv2QCy Y8P8CCMi0NoqvOwdXvPaw7CaJ/wfsEWDIYoMv47HMP1ZfMwB6h6L6mxhZA1LKmB7DBoj FsztLR8Z/+aCpF3MD75kD0Vu2TXzVzepNFScGKOCwTTxXKWXTFEyuIrO3pxltZDdNEYw rECg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=70I67UUR2l1l5ABDLMfPTcfAZE4s0dqLocdRtDDYYyg=; b=Jfaq9JVhs0VGBJewjE1IzOTDy9p0E6/797IhGjsxFnbsQwtOZSU/Y6vPSf5doE4FDP 4VdcTxYa/FhRk6kYHMvUe0j4eCHThtKfu45GRagBYHRQhQ/ouktyEN0F9HYSOBhDt2ez W9vA9Cdnm6g1aj8CQRMv20N3Rv+njuSFUxoaaEKIqV6Nxe1XBDQvPMChYw8yuDkp6nvK C8E/hu3NHgzcosA9eRi9qcy64xH/2uONYOHAb8dBLWdXlYmEE6+W/QcqR6ZRRcQcZcGY iTbXXuQmuL6whCMQRGB4PvVxAgH3v8IuwaobrNaccnp732NwMdCtTYEAvfOzQLNgFF/h eBZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=WTP5nbX0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a1si5919392ioe.96.2021.06.25.08.08.38; Fri, 25 Jun 2021 08:08:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=WTP5nbX0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231964AbhFYPKD (ORCPT + 99 others); Fri, 25 Jun 2021 11:10:03 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:54266 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230235AbhFYPKC (ORCPT ); Fri, 25 Jun 2021 11:10:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1624633661; 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=70I67UUR2l1l5ABDLMfPTcfAZE4s0dqLocdRtDDYYyg=; b=WTP5nbX03MqLBRxU3lm1C/spQAj5MNrwD1J3U9DxXtQfSDVbwyfeWTyRk5iQGVTrxsMBTQ VFBU5jNq3oSbCdr2Q8ChYK8jmMtB7rG9rZdFKuvoLfmOstQE7JGrNL/cvxNi1j1YPrPoqr zonZsY4YWeQbWqwoiph1ZTy8zNOMMnE= Received: from mail-io1-f71.google.com (mail-io1-f71.google.com [209.85.166.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-50-gVuc4jNMNtCrX9ib_xjOCw-1; Fri, 25 Jun 2021 11:07:39 -0400 X-MC-Unique: gVuc4jNMNtCrX9ib_xjOCw-1 Received: by mail-io1-f71.google.com with SMTP id x4-20020a5eda040000b02904a91aa10037so7204322ioj.17 for ; Fri, 25 Jun 2021 08:07:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:organization:mime-version:content-transfer-encoding; bh=70I67UUR2l1l5ABDLMfPTcfAZE4s0dqLocdRtDDYYyg=; b=AjQCirrtUEU6thxmXOouFmfdX8tv2T5//FGTN5ZEfWJFJSZbZyWDYFx0zOSTpfVdE0 AWPOcdS/+mbHj90lLNuadP578H7wOtOLTqIhmZEXRKWOR0pbzvke9XkO3l8u0N2xbTJ8 MaeCmYF43idnbc+lhzM4RnHEvZqYQDrjUUoN85CbKByVI0BRF653mdfK/DTdruBfCT3K JOMdZGSsCcfJH0WoSDx+gfCYOeKUt3gobSGBWj5byQBSo+/RHuCZZvy6NJrjrmFmlSKj e8SViKKRKC8qpypXsl9R2BtkjbhQi2BgliqoiIGG3ORUAbF4ektyjfdzWPgmv+3AU+hF 0FoA== X-Gm-Message-State: AOAM530eYgKOzTcTbd3LnLPiPnOHkuFFJvyIf0fbhfUQCJfI3RTNt2co OtYmP09a6Vm9w44H4gt9xPo67gVtaI9XFFBw5cKPL93gWYFGiMjZykggxzcE54pm35/FRUOyaia 4QIodR4WfigWV4JNBO8S/Q6h9 X-Received: by 2002:a92:dc48:: with SMTP id x8mr8064592ilq.213.1624633659377; Fri, 25 Jun 2021 08:07:39 -0700 (PDT) X-Received: by 2002:a92:dc48:: with SMTP id x8mr8064559ilq.213.1624633659232; Fri, 25 Jun 2021 08:07:39 -0700 (PDT) Received: from redhat.com (c-73-14-100-188.hsd1.co.comcast.net. [73.14.100.188]) by smtp.gmail.com with ESMTPSA id m13sm3367237iob.35.2021.06.25.08.07.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Jun 2021 08:07:38 -0700 (PDT) Date: Fri, 25 Jun 2021 09:07:37 -0600 From: Alex Williamson To: Luis Chamberlain Cc: bhelgaas@google.com, cohuck@redhat.com, jgg@ziepe.ca, kevin.tian@intel.com, eric.auger@redhat.com, giovanni.cabiddu@intel.com, mjrosato@linux.ibm.com, jannh@google.com, kvm@vger.kernel.org, linux-pci@vger.kernel.org, schnelle@linux.ibm.com, minchan@kernel.org, gregkh@linuxfoundation.org, rafael@kernel.org, jeyu@kernel.org, ngupta@vflare.org, sergey.senozhatsky.work@gmail.com, axboe@kernel.dk, mbenes@suse.com, jpoimboe@redhat.com, tglx@linutronix.de, keescook@chromium.org, jikos@kernel.org, rostedt@goodmis.org, peterz@infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 0/2] vfio: export and make use of pci_dev_trylock() Message-ID: <20210625090737.5a7549b3.alex.williamson@redhat.com> In-Reply-To: <20210625090452.65474656.alex.williamson@redhat.com> References: <20210623022824.308041-1-mcgrof@kernel.org> <20210625090452.65474656.alex.williamson@redhat.com> Organization: Red Hat X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 25 Jun 2021 09:04:51 -0600 Alex Williamson wrote: > On Tue, 22 Jun 2021 19:28:22 -0700 > Luis Chamberlain wrote: > > > This v2 series addreses the changes requested by Bjorn, namely: > > > > - moved the new forward declarations next to pci_cfg_access_lock() > > as requested > > - modify the subject patch for the first PCI patch > > > > Luis Chamberlain (2): > > PCI: Export pci_dev_trylock() and pci_dev_unlock() > > vfio: use the new pci_dev_trylock() helper to simplify try lock > > > > drivers/pci/pci.c | 6 ++++-- > > drivers/vfio/pci/vfio_pci.c | 11 ++++------- > > include/linux/pci.h | 3 +++ > > 3 files changed, 11 insertions(+), 9 deletions(-) > > > > Applied to vfio next branch for v5.14 with Bjorn's Ack, thanks! (and Jason & Conny's R-b)