Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp1987336rdb; Sun, 19 Nov 2023 20:26:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IFjQK1zttoCdLID7YwNg37WQKGDa0rB5BUbgzMSfDnuPcz0xJtZ028jSm30m8jxsV5up6Kf X-Received: by 2002:a05:6870:d393:b0:1ef:c22c:78f2 with SMTP id k19-20020a056870d39300b001efc22c78f2mr6998395oag.15.1700454414813; Sun, 19 Nov 2023 20:26:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700454414; cv=none; d=google.com; s=arc-20160816; b=UQjcpNL1ywl8oKyUoPc1SGvp5lVTRbLaeTqaQBEJchYJm8sxqUHirsKUy+7SUY0Rqs cZfSfE+9FEvdW0CCidtJqGlcxmTpJC0/AXEYGFqJS9QQls9sMn6F3pGcU3Gr9IzTda8j pdoGHNL40ZNBsLnDfU0saKAynWiwbyRJSq2oTSGYCAFINHIX8KVil7RIVDWKHaOiQNwU xVDq4G2PlIfung5cAC7oXR+fw3mKy89LbCiPGVEEJxrAQjQoSTUtj0LPsAQ0hZ03j8On 95MV4z07wam5Ihg83jSrOP7aj9dRiOCxuu8HKaRd+9uptpKm7vHTvmrfZZ3tlZ+2LTfc hX1g== 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:in-reply-to:subject :cc:to:from:user-agent:dkim-signature; bh=PF8OjO8c7erf1om3rhrjk7pSuZlvp3jAiSRCfEz0K14=; fh=dTrNwsRc+rNMH+faVumpHTBfHFexh7bPbremakqrEDI=; b=UgstcN9B0QCqYVo63oPn3xcBcyxEnEIOATpQ/X/0gH+FLULAynB1E7HkBD5i22JBtr AqTOjmJkcfGv1rE3qkFmQMCzixFMGzEqeLGKIgTshXtigChOPh3EpgYjqVk9dhpckpd2 ob4oV+KiGGNs2j19qlxrJa1PH066gZqJ5p8o2lK1UHkcSJb41MbNXJV9Qay2uskQFGJf pxE6l9exYnKWXDLQjhqyuf2JEvfzLFig9mE5uJ4sIcFAwl61Yxedrj5KQ8KKNIaV1Tt9 anwzm5IFfwwGv08S2kKfaPgOCracIwubTTYg/53zoc8/L1BQI41e8dN4VQ/bH9kxkI99 +ScA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tom-fitzhenry.me.uk header.s=mythic-beasts-k1 header.b="hTQ/+wow"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id v9-20020a17090a898900b00273f1cd73b2si7114920pjn.75.2023.11.19.20.26.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Nov 2023 20:26:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@tom-fitzhenry.me.uk header.s=mythic-beasts-k1 header.b="hTQ/+wow"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id DF8648054EEA; Sun, 19 Nov 2023 20:26:51 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231790AbjKTE0n (ORCPT + 99 others); Sun, 19 Nov 2023 23:26:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60586 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229470AbjKTE0l (ORCPT ); Sun, 19 Nov 2023 23:26:41 -0500 X-Greylist: delayed 520 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Sun, 19 Nov 2023 20:26:36 PST Received: from mx1.mythic-beasts.com (mx1.mythic-beasts.com [IPv6:2a00:1098:0:86:1000:0:2:1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BF6199F; Sun, 19 Nov 2023 20:26:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tom-fitzhenry.me.uk; s=mythic-beasts-k1; h=Date:Subject:To:From; bh=PF8OjO8c7erf1om3rhrjk7pSuZlvp3jAiSRCfEz0K14=; b=hTQ/+wown69y+zfD5Kfn0m1xcf +GIGSHtANnev5XxSBf4rJRb9b0JqDxuaaqJF0X0SnSz6wQbF0ilbYxGR7/rN32EUwIYV3pwmMDmLO WvaYMMMQd8iDHG+K7DW/c21dLA+RyV2Cj0e7OM5eftRJfnkQD3njD67Epncc+uWBND1n6Y0qdVmOT lBqc95uKQvkPeft8zzQ5cNhFaAkZVQhN57tZHgJFaRujeoE4yRth9NZPyC+BFRhql5B60qZsSzBrr BRmNpd7qGwuH0N4BH7zgVAQCV5lo63Dlr4GCK3POWJH2qzZuzIQ1T7oHLYzadcIqwxp/vt8hDWKwH I4CnEyPg==; Received: by mailhub-cam-d.mythic-beasts.com with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r4vjj-00BoLo-LQ; Mon, 20 Nov 2023 04:18:16 +0000 User-agent: mu4e 1.10.8; emacs 29.1 From: Tom Fitzhenry To: vincenzopalazzodev@gmail.com Cc: bhelgaas@google.com, broonie@kernel.org, heiko@sntech.de, kw@linux.com, lgirdwood@gmail.com, linux-arm-kernel@lists.infradead.org, linux-kernel-mentees@lists.linuxfoundation.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, linux-rockchip@lists.infradead.org, lpieralisi@kernel.org, robh@kernel.org, shawn.lin@rock-chips.com, skhan@linuxfoundation.org, strit@manjaro.org Subject: Re: [PATCH v1] drivers: pci: introduce configurable delay for Rockchip PCIe bus scan In-Reply-To: <20230509153912.515218-1-vincenzopalazzodev@gmail.com> Date: Mon, 20 Nov 2023 15:15:30 +1100 Message-ID: <87a5r983ea.fsf@tom-fitzhenry.me.uk> MIME-Version: 1.0 Content-Type: text/plain X-BlackCat-Spam-Score: 0 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Sun, 19 Nov 2023 20:26:52 -0800 (PST) My RockPro64 occasionally failed on boot with this crash dump, at least since Linux 5.15. Since Linux 6.5, every boot fails in this manner. I applied a similar patch[0] against Linux 6.6 that sleeps during probe, and I'm now able to boot successfully each time. 0. https://gitlab.manjaro.org/manjaro-arm/packages/core/linux/-/blob/44e81d83b7e002e9955ac3c54e276218dc9ac76d/1005-rk3399-rp64-pcie-Reimplement-rockchip-PCIe-bus-scan-delay.patch