Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp5200085iog; Wed, 22 Jun 2022 14:25:15 -0700 (PDT) X-Google-Smtp-Source: AGRyM1t2y/0zipXrPHS1dwS3/go8QgReM8JdPvS/+rE2uW4GR1Iv0m7nac/gj4dgaYID/XQjfQGE X-Received: by 2002:a05:6402:27cb:b0:435:a360:5e9f with SMTP id c11-20020a05640227cb00b00435a3605e9fmr6580904ede.323.1655933115184; Wed, 22 Jun 2022 14:25:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655933115; cv=none; d=google.com; s=arc-20160816; b=JEdnTKIsy2dDnXmW1yUHzotcjSnIaMOWGK5BfTue8jyXp8qPDiEj4BbmC+LxCboSSq JJQWUOSJ7HtotY/mOGuzfCZQhG7vgIoaKvg7mZB7TEl0cITkUGzVp2CZGfqt7whSnNQp jGZckpZKNPLSoKb+JdTQSDcnqe/J8pMWl9bAQGOn2ncB6kvCg6dqqlmiVl/zoKll9rXw xtwG2njMwpAfKWn0+CL6kgCYyVj2Ir4GEyWZAhFLG0ZsjVD6YxCXEsiwfNwYTT9LGbtV 2UuV3+KFmFBsHl6M35bBskCK6OmFESJIrywDF4mhJp+AU5DJnYl1EDvljItluyLGctLh Fepg== 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=+2dh6aw8s4WmkqDV7vj+mOw1eYB7sWNAMXEhFdpj3qY=; b=MBAddfrMN3HTvwxyibJxQT1iOmlxC31HQFzS32nlULmZHtnp9Pwv6ogIyH+qChOoPG K5neFGO1meCH+ybtnbkkfiOCy2wZjVHqOg74cnhKf3oRoq2uuzk8kYuA650oM7LGvsCp N9W+PbtrdwUUttt7dUQbABVEJt6slruu4r1fKdCOqJsoOZwTmqCUKjRS3Pu97UdTybtC RAIjjkKJKxTcbZsch3DeW74L9Iy/hK6hLm3vr131pXunE560ewY80y551ZNYc/wp3W7D aB5lDoNU3MBfzXiGwYSSphjtG6NJz47Udo7dbrCSIxQhJuMJCpqAbLPGWWfxffWoamh8 vdcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=R+aYeYbe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gb31-20020a170907961f00b006f49faa49easi24817888ejc.974.2022.06.22.14.24.48; Wed, 22 Jun 2022 14:25:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=R+aYeYbe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S1354836AbiFVVCF (ORCPT + 99 others); Wed, 22 Jun 2022 17:02:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42698 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350227AbiFVVCB (ORCPT ); Wed, 22 Jun 2022 17:02:01 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B80402458A; Wed, 22 Jun 2022 14:01:59 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 57442618EC; Wed, 22 Jun 2022 21:01:59 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 743BAC34114; Wed, 22 Jun 2022 21:01:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1655931718; bh=gUqIDk7Ba0qQOIDaM2UTR4FtTYRhUbrVOfJDxbaykaA=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=R+aYeYbeIXX5/IvS1YjhAGnnZn1CibV9V/6K0a892pHofTa5uNtzusD7TeRzJyE7E 9f1XVs6pc7J9fRUCGFxCjth9hl5zaaJjmubMk1wkSCihkME8N4wGCw5e5TIOgyPxcS QyCic1uhk9U+fMy01Y1PNsHEWNiCYUE0BXr7yCCazN210p2YXinnnrCEQNkZne+FOl LyLAZ3MtLvynfcEZI0pvCWkmAruZ/MjbheRyA7CoL702nhowx96d6HRjVh137IJejP yeVk2U303Ss3xcdXLH4qmPYQ2xkbrTU3QQeaagq+8tLYhxRLUYqh/fxwB7KZ47+iC6 wq3Ob1xstqHEg== Date: Wed, 22 Jun 2022 16:01:55 -0500 From: Bjorn Helgaas To: Shunsuke Mie Cc: Kishon Vijay Abraham I , Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Bjorn Helgaas , Hou Zhiqiang , Li Chen , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] PCI: endpoint: Don't stop EP controller by EP function Message-ID: <20220622210155.GA1392911@bhelgaas> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220622040924.113279-1-mie@igel.co.jp> X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 22, 2022 at 01:09:24PM +0900, Shunsuke Mie wrote: > For multi-function endpoint device, an ep function shouldn't stop EP > controller. Nomally the controller is stopped via configfs. > > Fixes: 349e7a85b25f ("PCI: endpoint: functions: Add an EP function to test PCI") > Signed-off-by: Shunsuke Mie Fixed typo and applied with Kishon's ack to pci/endpoint for v5.20, thanks! > --- > drivers/pci/endpoint/functions/pci-epf-test.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/pci/endpoint/functions/pci-epf-test.c b/drivers/pci/endpoint/functions/pci-epf-test.c > index 5b833f00e980..a5ed779b0a51 100644 > --- a/drivers/pci/endpoint/functions/pci-epf-test.c > +++ b/drivers/pci/endpoint/functions/pci-epf-test.c > @@ -627,7 +627,6 @@ static void pci_epf_test_unbind(struct pci_epf *epf) > > cancel_delayed_work(&epf_test->cmd_handler); > pci_epf_test_clean_dma_chan(epf_test); > - pci_epc_stop(epc); > for (bar = 0; bar < PCI_STD_NUM_BARS; bar++) { > epf_bar = &epf->bar[bar]; > > -- > 2.17.1 >