Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5897921pxj; Wed, 23 Jun 2021 11:18:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxtcu0ud7zmsxFrZaCWQAga6ScoKt3ECqAksmAmJldxwc6valuoqwB9Yzd4KVjO2Qr9Maje X-Received: by 2002:a05:6e02:b4a:: with SMTP id f10mr539110ilu.280.1624472293328; Wed, 23 Jun 2021 11:18:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624472293; cv=none; d=google.com; s=arc-20160816; b=Ihpl4nX4ickSXNMaevcYz/1QA6l5ZLc0Cu0IrxYwMa4LM0nocQen0PXt5K1WSMN1D0 VHD/TWmFJfRN3EYT089J5yDyyGP7aDQFj2uFTPfJ+Gy7vNSr3EMZWyg4nxxvSculBRHt mfCZHVPB7h//h+a/aBE4LZeL2ADLgZW+OExmPI5O+dEP8a/JmUuR6BAvTspqddwp4Lfx t/JXf/bgmNBTqGcDTMVm+zSG59fzfPXaoM6w7p6dUm2HmAJrpBlmGr4YyAmGJhW9ueEI CPjem+xq0xjjmo5jYeVjscieQqzy/xHbP/RCUF8BKklnOCPzMDSbnqk1PuyBdQMroV3M 779w== 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 :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=zsnnWPBw158ioKHOEvs2KKkgeu539ulBwP58qKPdjxw=; b=ZhlpSiPx+E2YoQzIhGWhpeGzVGLd9fmUgBtDLiwaReYki57mxTWkBdJD/rmM01VOte ujCdBJIa5tyqh2R+E1y7oLAl+INfWr5rRjJZ3pYBrhUWjsLpjLdRpyw5u7zUIFQRMwxV NXqtDuO/KaRJbzzBzTu9qv1Zhm8IZlz3CpwRMmK54LItIH87S7HFk4Ij0UKmOvc1p1I3 P+ZDA+h6hlYjhHgpgVkoMN6v2PXqGaKb0HbVHqRcMyTawTRVUnB5CUVn4BIsPa+QFBDk gHG6hV8M7UIc9plRILIpkxva2B6pKLiVIy1fmxCf5izYbE+Fm05uYdc+0A5qAm1tGGpD FYDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=ZXLaZ5Fs; 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 u4si712983jak.4.2021.06.23.11.17.59; Wed, 23 Jun 2021 11:18:13 -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=ZXLaZ5Fs; 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 S229831AbhFWSTY (ORCPT + 99 others); Wed, 23 Jun 2021 14:19:24 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:38628 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229523AbhFWSTW (ORCPT ); Wed, 23 Jun 2021 14:19:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1624472224; 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=zsnnWPBw158ioKHOEvs2KKkgeu539ulBwP58qKPdjxw=; b=ZXLaZ5Fsmga8OximBd+2rCCTqY/6vcsJ4hqegM4Fna1X3tYB1goe+zrA4OP9xhlLqahvZC +x/VGFlId7tBr8dSLmlJHBZb1J3nZvRiylBh+k7bomidXRSmUzqHrZwMlGd9nalz1aKopv DrG+qXJFiT3legUgmzfczbmyF8QML/0= Received: from mail-ot1-f72.google.com (mail-ot1-f72.google.com [209.85.210.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-484-OwC0maTIOvm2aheo29OiNg-1; Wed, 23 Jun 2021 14:17:03 -0400 X-MC-Unique: OwC0maTIOvm2aheo29OiNg-1 Received: by mail-ot1-f72.google.com with SMTP id y21-20020a0568301d95b029044f7b7f3047so1803752oti.5 for ; Wed, 23 Jun 2021 11:17:03 -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:mime-version:content-transfer-encoding; bh=zsnnWPBw158ioKHOEvs2KKkgeu539ulBwP58qKPdjxw=; b=uDfUvvktYR6kfjvdo5egQ8CqM+B87BGo+N/z9IJbjEtRkEQk2lvLE6O/kb9uH4+HnK 0roHx3iWrPuPT3x9CONX7bjrordmoKEegL1Tv/Ku7L1or8MpV6YTRtdKsmymy+ye/2jZ WgITvWL6nR1H8IEibRlSAexrey6Q1cVL/9a4WRz16JQFmZ5Nqo9ehN+CBwvGIp/55SeJ 0o10MfNuB8RRPnJ2bR0DnbQfpAfWzI9OXZvwXmWt6zngQivDRLu2Okgh0+KJtY1fxSSU WP8bZt/NucbW3Y+RFE8HaS6mLJXVo1RZIUFnc215MpdgUBWHcvQFrNsvz0/HFjKubWFk 6D5A== X-Gm-Message-State: AOAM530zuP53V0vey3oWwBAGS58cIfqoizxi9OflWiWypBiSoonmeNpq TDYZZsmFlKYWxTW3uFOLQji44x7BD6M/YaLAxz9hEDY/2zU++D5jWItiZ7vExkbTOxWeP0bw3Ba Tv97S+gK0Wrnzs1UI6abvMok6 X-Received: by 2002:a54:4706:: with SMTP id k6mr888669oik.61.1624472222518; Wed, 23 Jun 2021 11:17:02 -0700 (PDT) X-Received: by 2002:a54:4706:: with SMTP id k6mr888659oik.61.1624472222401; Wed, 23 Jun 2021 11:17:02 -0700 (PDT) Received: from redhat.com ([198.99.80.109]) by smtp.gmail.com with ESMTPSA id e5sm102607oou.27.2021.06.23.11.17.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Jun 2021 11:17:02 -0700 (PDT) Date: Wed, 23 Jun 2021 12:17:00 -0600 From: Alex Williamson To: Luis Chamberlain , bhelgaas@google.com Cc: 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: <20210623121700.4725e22f.alex.williamson@redhat.com> In-Reply-To: <20210623022824.308041-1-mcgrof@kernel.org> References: <20210623022824.308041-1-mcgrof@kernel.org> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; 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 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 Looks ok to me and I assume by Bjorn's Ack that he's expecting it to go through my tree. I'll give a bit of time to note otherwise if that's not the case. Thanks, Alex > 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(-) >