Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp1225616pxv; Fri, 25 Jun 2021 08:07:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyI1e3DtmSCcWeZhjC1dP6lxyPkskdeItN062MjA8jW9eUU9VV0z0iK2RVll56FR/tYr5/X X-Received: by 2002:a05:6402:2317:: with SMTP id l23mr15519340eda.265.1624633650983; Fri, 25 Jun 2021 08:07:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624633650; cv=none; d=google.com; s=arc-20160816; b=nKxiZYcG0ggf0maCavonIQ/Q7nuclNSLXIr2PPhEfJhfEUm6rQh3De+Fhr5VEFY46w QaRQLTVUX9mdTbKlDvGqPCHi5c0wwULy18eFLagmHFINXgnHyLHTHPMrNChMaX8o1tgk R997u3myd7co34caPDIS3BmpBFylcp7epWCwcTGJWg3fmoQzSEQBlrFVDCSkcNTHmXRh QFG/p3YrNDNr2ejoKQbbN1/YZhr4UqCgNwsfvKYda+O/xeMAXPjAPcDLn7euGpBYobFU 0EBLgZ5Kc2i95MmlS/gsf0F/ZmE90ClGdpQL1IA/7ZXTGTKKh0bk3AC7zPB4JRHz4HUQ 6HWw== 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=orhFcVG1MGfwHWjH/fTT6Go2RQIksRFTwjLRhmT/3hw=; b=DBucM7OnKKcmrjgbLTMxSi+/RMudbJM/tuskX9xx+Lvh1+Rh/V8QGICrpT3pStn/8M hWw66glkVCfbG4xsMVC4fSf7jqycrm1914unH96HPFvqkY/5D1dRGbnitfQj7wBQlOjJ thv5yuyiSRRQqHFIguyLXdT9bxoNCyLNBJq337gQ8RyWnA/k/hZksDJi9Ks/khdoETNX YwS3JlOUzKujZh/j8h6y6e7AQXgh1DacaSxqw1wBAWkChfvcZVC7uPsOVqmCPB+Gu16k Gi1vHzlg9uirzLq6zdllUvaTseDZB/rN922FfnKqghbq3JwbqaIq0MLjkaJFl2G5QujF Ns/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=QtWWQOiA; 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 w1si6489192edu.473.2021.06.25.08.07.06; Fri, 25 Jun 2021 08:07:30 -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=QtWWQOiA; 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 S231977AbhFYPHS (ORCPT + 99 others); Fri, 25 Jun 2021 11:07:18 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:35577 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231772AbhFYPHR (ORCPT ); Fri, 25 Jun 2021 11:07:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1624633496; 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=orhFcVG1MGfwHWjH/fTT6Go2RQIksRFTwjLRhmT/3hw=; b=QtWWQOiAtyDbjjWDZFg+xoCyXM8jaN3dpbdL30rBdySyranjjprftfvwCYQYYvQyBf3aZX 3k0mh4CfgjzvGIIBXJM2oaSVz48k+r7fTOUuMPtdmWre2YRtVSoW3mf7x+19KFNceqSHN6 SjKpsU5yBrIZmrdUl2lhuhRBksZxw2s= 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-571-weF-dVimNVGjEEkoZSHhZw-1; Fri, 25 Jun 2021 11:04:55 -0400 X-MC-Unique: weF-dVimNVGjEEkoZSHhZw-1 Received: by mail-io1-f71.google.com with SMTP id w22-20020a5ed6160000b02904f28b1d759dso141074iom.8 for ; Fri, 25 Jun 2021 08:04:55 -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=orhFcVG1MGfwHWjH/fTT6Go2RQIksRFTwjLRhmT/3hw=; b=QZNgj8eGYJY6rZ+YEIovY7QxzqMx/KmiivKClUuCrxwhxu7CgGOm1qeaxPJ5z0Y5Ul +q2upeAjHge+H7l03VKieK13KJbfVBnBzLPQicuyIyS+gqsuv4HyYJdQoLwPwOMZzfIs ctp1lpMMKOpENB7yZFz8ahnb67JWouwl8+26QldjvBLW31CFiJoG4hi2F01nthvgF3LD w1w9yGqMdWYjavvNUWE5I594c5riJXZ0Nzf/XJ8K74ZuvYqAfEND6L0tlMay7A6KO2vV BR71j3Bcyn53vBNNyMpeXL3O2EMiGEQQMHKI3irARTciQAGAMfUomcSWSxDSM3zM+3XK uY4w== X-Gm-Message-State: AOAM532UcUohlc0lZQJMiMA1ulqYXANoWgMajZHx7dBDUwpDNwZei537 /Z1a8+7dxnRKF88Xx7zUsFlyBf3ybaK3TWrN1sZS6ALRAIPOB9V4CijUNOo9JS2jt4LSQqEEd5A UE5bOM/RzsbcvSeZaIWeqvac4 X-Received: by 2002:a02:a99e:: with SMTP id q30mr9857374jam.69.1624633494316; Fri, 25 Jun 2021 08:04:54 -0700 (PDT) X-Received: by 2002:a02:a99e:: with SMTP id q30mr9857343jam.69.1624633494192; Fri, 25 Jun 2021 08:04:54 -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 b23sm3437974ior.4.2021.06.25.08.04.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Jun 2021 08:04:53 -0700 (PDT) Date: Fri, 25 Jun 2021 09:04:51 -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: <20210625090452.65474656.alex.williamson@redhat.com> In-Reply-To: <20210623022824.308041-1-mcgrof@kernel.org> References: <20210623022824.308041-1-mcgrof@kernel.org> 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 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! Alex