Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp137038iob; Wed, 11 May 2022 11:03:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw1lzwqWeyPnjKk1Yichp9/ec5fOFKHz+37BJ64Yy6xO9ircgleicDT+p+7QkIXQ0ipxCJA X-Received: by 2002:a17:90b:33d0:b0:1dc:e4a1:a809 with SMTP id lk16-20020a17090b33d000b001dce4a1a809mr6547222pjb.21.1652292235536; Wed, 11 May 2022 11:03:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652292235; cv=none; d=google.com; s=arc-20160816; b=NQEFpgw5qesO3VfSYtjO1mcZtE8Jb6DzPOssmfeQqrti6Ad0QeTpsKCUX6x5msaGiW e6EO+3zzHJrGwNJ/xxj+BIl8Z1o6DATC+xB7hKKBLQOBm2tUAgRJOif5Y6H6jpeXQieF jnVGI55WCzrJzRwkBxxcBSOojDu3uMvteCvMLBtMx2GzvC6zyaof9eQcdvC9+aPfZSYR 2HeMWVpOLFwXhanTqj0MTNqciFopgfEGfQhlYEyIbhWHa1gSNQE8WS4g4f8bnc1/lZGP HjzXwfuHnfC0T1aAT9ibIwr6u2nguvEkuk7hUdsURGAxD3XvhwLuJysGkLGufqfcgJQh Xjpg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=yCkyYelKocjYTzhRK0cmeKY3KBgDwbMHq3QVTQH7jE8=; b=mhoMKEZ2rIdEtV/bGlT5fNeXsAKhJQWjMr7Ielc47m4M5kdhGoMyw2+RQhKh+WtThL SC9KTcjh6O0s2BvlMszb6pzubulEui/5R/fSICJ8SU78x8bAwJOfUN7k+Jqj4HT31yih aZ+A8eWB4JuNFC79QNtxlNcpBR4/jZXamUl2wNbEVJiJCQFDl5VBSsNv7cBENOdCOi1J 6zHOTYhFrbWt+9o4RcGrCgl41n6Md5lLTCaK4yJagEkaCoh+1h1EjIYMB048vW0KlQKy FqQVIfmXv95db/OcdaQFn/5oMOacjI9XPLnOXJZYE2q1a8t2U+Zr6coU6cpeJH1Zn5sb Owyw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f8-20020a170902ce8800b0015e805efd30si3788861plg.416.2022.05.11.11.03.39; Wed, 11 May 2022 11:03:55 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240921AbiEKO0s (ORCPT + 99 others); Wed, 11 May 2022 10:26:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56922 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235400AbiEKO0m (ORCPT ); Wed, 11 May 2022 10:26:42 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id AA6636AA67; Wed, 11 May 2022 07:26:41 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 7C256ED1; Wed, 11 May 2022 07:26:41 -0700 (PDT) Received: from e123427-lin.arm.com (unknown [10.57.1.148]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 7D14B3F66F; Wed, 11 May 2022 07:26:38 -0700 (PDT) From: Lorenzo Pieralisi To: ryder.lee@mediatek.com, AngeloGioacchino Del Regno Cc: Lorenzo Pieralisi , linux-arm-kernel@lists.infradead.org, linux-pci@vger.kernel.org, linux-mediatek@lists.infradead.org, jianjun.wang@mediatek.com, linux-kernel@vger.kernel.org, robh@kernel.org, kernel@collabora.com, p.zabel@pengutronix.de, matthias.bgg@gmail.com, bhelgaas@google.com, nfraprado@collabora.com, kw@linux.com Subject: Re: [PATCH] PCI: mediatek-gen3: Assert resets to ensure expected init state Date: Wed, 11 May 2022 15:26:27 +0100 Message-Id: <165227916327.28061.3388397168727783283.b4-ty@arm.com> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20220404144858.92390-1-angelogioacchino.delregno@collabora.com> References: <20220404144858.92390-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,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 Mon, 4 Apr 2022 16:48:58 +0200, AngeloGioacchino Del Regno wrote: > The controller may have been left out of reset by the bootloader, > in which case, before the powerup sequence, the controller will be > found preconfigured with values that were set before booting the > kernel: this produces a controller failure, with the result of > a failure during the mtk_pcie_startup_port() sequence as the PCIe > link never gets up. > > [...] Applied to pci/mediatek, thanks! [1/1] PCI: mediatek-gen3: Assert resets to ensure expected init state https://git.kernel.org/lpieralisi/pci/c/1d565935e3 Thanks, Lorenzo