Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5497282pxj; Wed, 23 Jun 2021 02:32:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxA1zFzGsfdjTa91Vn+Pf4H2lh0QmSPoHrPddVhtTJgU64GJAUdTZsX2pQ21cj90jbiWF9p X-Received: by 2002:a92:4a01:: with SMTP id m1mr2182815ilf.96.1624440740772; Wed, 23 Jun 2021 02:32:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624440740; cv=none; d=google.com; s=arc-20160816; b=idyJM4fF7ddE3QbX9nfxEacW/wmWAMtOkFakHScelDACTzXL2c2XHgEaQbQrT5fe9S 8ZJYyEy3fzvIJFbuOl8/eFDnMJAFnyHASh259n1AIQvTVAwcqzh9VJ2O8nxLATt9nUoY hm+jOrmgZpJBPgiTAlQOqfBnpSdhDld306jcHLWRXzhftD+goPnXDjFpGrnraeUkIl3W pnvB3IpVoduIaqeIrHWbbWM26wZ5y8oLQ4WvN3kR9rUpcF863CaRuEZHjiKiysItqmBt af12NEUgOJqWuDSXrDHC8Je9MQCB3NyeGepH+tjsRMvFuXZ+3+9sRoTnmDvMDtez47LN BV/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:user-agent :references:organization:in-reply-to:subject:cc:to:from :dkim-signature; bh=kAxjtAMgAgnQc3g+VJW6cHqmyhoDwUFxxzEOFIhyLsg=; b=w/sGRlVT8fYpfenLjBEyV3MKKv3JlLHlYOpzIk3dgSvboLigRz/wlLV40MkUgU7pwQ tQ/xC89VXEGLYXnQOTb1hZNllXntWh9wbFhrXGEhBL2sBUta6kwiW/zZFg57ieNC27g4 MNnokRp2YH9jahgal9mSbLpbwSMapfJNXBVdMMlAbHL9yvSzPKjVmopScsbZ8yEnszx6 eultiHpvzvk+KFNQ5a9r7RWMX5QqVZek19aIcT+ey4/6vuArzkSzyaljq4k7qp1DYDYu MLuKG1aNw0Q12ZabYcNPbNzOXnpgbJjS9lGr1UIaSy2l7Bq2EgyOjgiawlfdms6gAN/3 ZEbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=eA+x8zHS; 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 j17si2141079jam.76.2021.06.23.02.32.08; Wed, 23 Jun 2021 02:32:20 -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=eA+x8zHS; 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 S230268AbhFWJdH (ORCPT + 99 others); Wed, 23 Jun 2021 05:33:07 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:50498 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230136AbhFWJc7 (ORCPT ); Wed, 23 Jun 2021 05:32:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1624440642; 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: in-reply-to:in-reply-to:references:references; bh=kAxjtAMgAgnQc3g+VJW6cHqmyhoDwUFxxzEOFIhyLsg=; b=eA+x8zHSbuASvyEngVxHmODSmEwpHzNsJmobHcN9H7EXyKUi/nqiFDwTH9EFRHLEt7DTP4 0sDrQu6soQgD6Lnt73cGBjLX+FGJCPOXMOyEtNGkF6ZHbywD50Jrd7SFDETczwGCBNhQEC Wf3DyfUaj9u2dhT6YRo/o3eS/oiyics= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-219-pOP5RYI6NWGGf7tuvIJtUQ-1; Wed, 23 Jun 2021 05:30:38 -0400 X-MC-Unique: pOP5RYI6NWGGf7tuvIJtUQ-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 58985100CF6E; Wed, 23 Jun 2021 09:30:35 +0000 (UTC) Received: from localhost (ovpn-113-66.ams2.redhat.com [10.36.113.66]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 884CF5D6D7; Wed, 23 Jun 2021 09:30:27 +0000 (UTC) From: Cornelia Huck To: Luis Chamberlain , bhelgaas@google.com, alex.williamson@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 Cc: minchan@kernel.org, gregkh@linuxfoundation.org, rafael@kernel.org, jeyu@kernel.org, ngupta@vflare.org, sergey.senozhatsky.work@gmail.com, mcgrof@kernel.org, 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 1/2] PCI: Export pci_dev_trylock() and pci_dev_unlock() In-Reply-To: <20210623022824.308041-2-mcgrof@kernel.org> Organization: Red Hat GmbH References: <20210623022824.308041-1-mcgrof@kernel.org> <20210623022824.308041-2-mcgrof@kernel.org> User-Agent: Notmuch/0.32.1 (https://notmuchmail.org) Date: Wed, 23 Jun 2021 11:30:25 +0200 Message-ID: <87sg19lyha.fsf@redhat.com> MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 22 2021, Luis Chamberlain wrote: > Other places in the kernel use this form, and so just > provide a common path for it. > > Acked-by: Bjorn Helgaas > Signed-off-by: Luis Chamberlain > --- > drivers/pci/pci.c | 6 ++++-- > include/linux/pci.h | 3 +++ > 2 files changed, 7 insertions(+), 2 deletions(-) Reviewed-by: Cornelia Huck