Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp27586447rwd; Tue, 4 Jul 2023 05:13:10 -0700 (PDT) X-Google-Smtp-Source: APBJJlH/121N0HHszXAY9UG8I5E/CQCL/LY4h/u0ufsI6zSlMPnYKKEcRZoXM8t0cchiq54PFcd4 X-Received: by 2002:a17:902:da92:b0:1b6:6e3a:77fb with SMTP id j18-20020a170902da9200b001b66e3a77fbmr15863474plx.2.1688472789132; Tue, 04 Jul 2023 05:13:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688472789; cv=none; d=google.com; s=arc-20160816; b=cbF2Eb06agK1ggb+nKG2F1bf7TJoleldjgzH3Q7msl+HTJOUwMDfliTvxz7Ch9CIVz EETYixef52MUSr5kjiX1vhTp+jbDWZxxqfiiKpmnA1nZEyC5mJ4UVtxOU8VXDn/v7HP/ 2twNQiCu4DDkkKJS2yF4hkzT4/1iyxHtOjYpIdudUPr9M+syf4yYltXiJ1jAe8/Ha0oQ UruOiMqwaVd/d0mf0Uft1Kn+JEW4Sqp3WdmEgJKEqqiTu/AbecwhWuH9U1Uf5volxQcY Gvd6DTe6tER9UqjOIsM4W1+rwW+L02QaJZ2d/TNzeJQ+KKwqofIlya54XsEifllMAd3G ZeyA== 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 :references:message-id:subject:cc:to:from:date:dkim-signature; bh=YNoIS2cm6ZKo5xcDOko0OpRBp8EwRsNiNo28R8ym4Zk=; fh=k1noGjCDMoA/RB65BF1l8PW3UJiGQ/NNXXpEiI4idm4=; b=UguH8pk50HReFBpV6Dynx6OrqCaQxZ29BYamb8XZBBpdNcVEfBa3hGu7CAN5Wv8aTq iUMOTD0L/w+BT3MPeU58kR0+f2y7j/ZNq/9WWUu+AG85xuZkJqthicnMEuBwkQ+QHr55 pq0/8fNaYAOtjkLfKvBdWhgoETVIDw0msf5b3sIFWa0kAA1VPiQv8BaIM7+DZ9YZWmth xfRjYZ9PHbUe2vCQXuiUntRw+C8EWpVusftw5KDatG5bblO+fw7OIYzzv0JpPLF5t8MF SpGSXTm2UzdSRYYHTnVfIIH/AJKTDRQLPEJpZOtOMiNRKbQMC4raWoD+PhQjBDgxe/wA IbJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YHWfpZY6; 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 s2-20020a170902ea0200b001b89cda5e12si3903412plg.546.2023.07.04.05.12.54; Tue, 04 Jul 2023 05:13:09 -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=YHWfpZY6; 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 S231179AbjGDLzF (ORCPT + 99 others); Tue, 4 Jul 2023 07:55:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51140 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229441AbjGDLzE (ORCPT ); Tue, 4 Jul 2023 07:55:04 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE66DAF; Tue, 4 Jul 2023 04:55:02 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 5DBEB6121F; Tue, 4 Jul 2023 11:55:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E3574C433C8; Tue, 4 Jul 2023 11:54:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1688471701; bh=PTDbCPaR6uX8PvQlhuK8A36BSPCbCEz7P9ZKnKcicq0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=YHWfpZY60LtXCfmshUNa2DsEmFUfLYIEqJONCmA/2aXt5vwiefGzwy/uDOB4IVeRa jY+5xwJQ2f3jHU2RaXAs3l8eKCsGSrGnCUqojJs9vUkv93ZeXkgsyYvqCVR1x2MU+c OjiH2leYI8e//6TvM0RVK4CZf5gI40D3PrzFDh1vkJhlBZ/8uR9r2OZ/oINnN/Bpte 1xKlY9Wn+QhKblV6vm8F3HVpnPS8x8RfoU2kzS5inkmFy6YY2CfE8U8NUSVjfkMuJQ xqS8QSM1hHRza8ZZn9hxvAJ7JLTzn4RjQPL7JxhHFzdmAFLOSO1ySDSuVpLz8VVSYh TU/FBXwN14IgQ== Date: Tue, 4 Jul 2023 12:54:55 +0100 From: Mark Brown To: Fabio Estevam Cc: Richard Zhu , Lucas Stach , Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Rob Herring , Bjorn Helgaas , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , NXP Linux Team , linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] PCI: dwc: Provide deinit callback for i.MX Message-ID: <9e7d3961-4189-4141-a342-d15a34fefc9d@sirena.org.uk> References: <20230703-pci-imx-regulator-cleanup-v1-1-b6c050ae2bad@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="RJaCUe86uaOocYwV" Content-Disposition: inline In-Reply-To: X-Cookie: Memory fault - where am I? X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 --RJaCUe86uaOocYwV Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jul 04, 2023 at 08:50:15AM -0300, Fabio Estevam wrote: > I recall seeing this regulator warning before: > f81f095e8771 ("PCI: imx6: Allow to probe when dw_pcie_wait_for_link() fai= ls") > I think the real issue is why does the probe fail when the link is not up? Well, they're both issues - if someone unloads or unbinds the driver we can still trigger this, even if the probe succeeded. > It should not fail to probe. At least, this was the original intention > with Rob's commit: > 886a9c134755 ("PCI: dwc: Move link handling into common code") > + return 0; >=20 > err_remove_edma: > dw_pcie_edma_remove(pci); I have no idea about doing this, all the PCI on the board that I care about seems to work fine (and worked fine even with the failure, I'm not sure this is being generated by a link that's in use). --RJaCUe86uaOocYwV Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmSkCI8ACgkQJNaLcl1U h9AdOAf+JjQDVzex+YNa8DZECCgYOVwY1gJ6m+ExNYxZ53AmiNfvp4VmQrp1Qtx4 0swTzBob6WbTd2merzyOSLqa/AEe2vUAnsfFtVdQZybd2MSXiSQMXuZTgFXgUQ5q xIJqnUlQUMtXphxgMyPNZsF+qCXJHDWCc7ibgKBeYie186LlDrO39rTsnwz5M8P4 GKH3hH3AU3CtmFI+H72C/TnAeCz8gbxwIxLrCneVT258OcyrnIXVg9u4K+x/1kMD kfoVXzoeFrGWYZLWH7+BbDqjmbct0xuhPed1QUfOiEnflgk6yOv6KFQ9wqAP1a9E 8X5XelpIwi4BQdfBTaQqqQvYVJ88yw== =bPQV -----END PGP SIGNATURE----- --RJaCUe86uaOocYwV--