Received: by 2002:a05:6a10:c7c6:0:0:0:0 with SMTP id h6csp1978804pxy; Mon, 2 Aug 2021 15:46:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxJtWA0zjHogZFNqpamn2tafE4VXjj3ZNw9gNKTi0Fj/0yPuZg7iu2Wc3xJrP+xOmRCZA6E X-Received: by 2002:a17:906:fa12:: with SMTP id lo18mr18522229ejb.288.1627944383043; Mon, 02 Aug 2021 15:46:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627944383; cv=none; d=google.com; s=arc-20160816; b=W/foPcCt6SL1mOrIi5fyPfbo2zr0bzuom0hbeuVF3jLAyXyqA+AwWLFQa8Ug8/CqOH 0i0UOlD4Z348sANwMR8igSi0Uxn/PK2kQtMICLhxq3vgbPkSzultbGH+DJYwi/n9Yncp QY1y3GP8VN/s/jA73AE1P01XUP1sANA0ipQi4csV2lW0WBumiizMLXAra94pNaofu4MO 4tX3xnOJPtF2XhkjSexMGe/5dU3vtvWRd7/ZSjbFEeE2i1aGANtq98O88wM1aK+9yU7I JI0Ik+YhPhS41NmnN6EFujWUh2eIai12uJy5vDLqaqtEwxbka/YvVnr6zaQMdh2z+o5p /yBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :message-id:subject:cc:to:from:date:dkim-signature; bh=5Gt0avbBvwYctrQ6ZO6pb2L+An5k8TOeP/zMsnGYVW8=; b=C4abRaHWlTpLc18YOCp71kNK2QWHwwZUKnhRnKYPwVcpVeK7SemvG77Hqwv/weXD7F dZCZUEiaPzhlrlywjGohLX0l6jN0fv1nd3L3EJ8O6p4c9CMk5Gzd+sVAB+3vRo3wpSYN lNkn01C5rYismPgUAXpA81dsW7erIq1zMVly/NU0OXZ0cLWQIdNGgq1+TbhnVJczrm2t rcL4T58SlUk48FP+ZsomXQbMWHJA7i0BD8XRlpBko2rX4x1Ez7SY+QxHL16vAmLPMBRF AkUNkenDoOXen/CwAkxryaWYpL+fXQGNnVdc8yAknir1V7/EemouaXhPPIiMHyme9X5c tRMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qOi5FqbQ; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ga37si11563084ejc.742.2021.08.02.15.45.59; Mon, 02 Aug 2021 15:46:23 -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=@kernel.org header.s=k20201202 header.b=qOi5FqbQ; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232614AbhHBWod (ORCPT + 99 others); Mon, 2 Aug 2021 18:44:33 -0400 Received: from mail.kernel.org ([198.145.29.99]:44008 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231126AbhHBWob (ORCPT ); Mon, 2 Aug 2021 18:44:31 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 5AE136056B; Mon, 2 Aug 2021 22:44:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1627944261; bh=ixlUMBCIAggutsyEK8Ic/YdBz61qA8VdIJ4Ym14prFk=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=qOi5FqbQiCOTI6GyZ1iGkhMPk7fsh9NFS5X95az/2ekjoL5Vz83fdD3NRFyV/gBld GXavDKf5qRfXRS+j4Uod+6E4r+65BZe7fuJgg4/tpAhoiQ9466Fg3wImBLT7nA+FTz ify0WAkIwK1tCQmXD8+IA2hL8CgrKwuTy+swfs1yvPbptsFuWh0iyCc4cJHnGyfTre dofqydTZmkemOm4Hr42q8EDd7BcgvjX5xmHDHgLjvVtTwSzOu3flVCO/ekvrRBQWKJ K/IqHSasoFdtDgWULn5Fe7VjEFAVTsxwQ9ngNqJejJTyAbQe9QfK//G8AvXLDhf3bU gAuyHSt4ge8Kg== Date: Mon, 2 Aug 2021 17:44:20 -0500 From: Bjorn Helgaas To: Amey Narkhede Cc: Bjorn Helgaas , alex.williamson@redhat.com, Raphael Norwitz , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, kw@linux.com, Shanker Donthineni , Sinan Kaya , Len Brown , "Rafael J . Wysocki" Subject: Re: [PATCH v13 2/9] PCI: Add pcie_reset_flr to follow calling convention of other reset methods Message-ID: <20210802224420.GA1472058@bjorn-Precision-5520> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210801142518.1224-3-ameynarkhede03@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Aug 01, 2021 at 07:55:11PM +0530, Amey Narkhede wrote: > Currently there is separate function pcie_has_flr() to probe if PCIe FLR > is supported by the device which does not match the calling convention > followed by reset methods which use second function argument to decide > whether to probe or not. Add new function pcie_reset_flr() that follows > the calling convention of reset methods. > > Signed-off-by: Amey Narkhede > --- > drivers/crypto/cavium/nitrox/nitrox_main.c | 4 +-- > drivers/pci/pci.c | 40 +++++++++++++++------- > drivers/pci/pcie/aer.c | 12 +++---- > drivers/pci/quirks.c | 9 ++--- > include/linux/pci.h | 2 +- > 5 files changed, 38 insertions(+), 29 deletions(-) > int pcie_flr(struct pci_dev *dev) > { > @@ -4655,7 +4653,26 @@ int pcie_flr(struct pci_dev *dev) > > return pci_dev_wait(dev, "FLR", PCIE_RESET_READY_POLL_MS); > } > -EXPORT_SYMBOL_GPL(pcie_flr); > +EXPORT_SYMBOL(pcie_flr); Why this change? If it's unintentional and there's no other reason to repost, I can fix it up locally.