From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CFD93C4332F for ; Tue, 21 Sep 2021 01:39:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BD38061184 for ; Tue, 21 Sep 2021 01:39:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233181AbhIUBlK (ORCPT ); Mon, 20 Sep 2021 21:41:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59100 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232713AbhIUBkn (ORCPT ); Mon, 20 Sep 2021 21:40:43 -0400 Received: from mail-il1-x12b.google.com (mail-il1-x12b.google.com [IPv6:2607:f8b0:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 20A07C06EA8B for ; Mon, 20 Sep 2021 13:46:20 -0700 (PDT) Received: by mail-il1-x12b.google.com with SMTP id b8so20205659ilh.12 for ; Mon, 20 Sep 2021 13:46:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:from:date:message-id:subject:to:cc; bh=Na4bI2RIoAWJG++IZgxN0vC+TC/18LddBM+x8YPaYaE=; b=wfHm0PS6hmpGOVVTgGEUsVEjRm8PiEraDhP3gsrJQDDsx6W05DX7o7dYOEp2Yq2iY4 V3w8YKxLGRsmZc0FB7WWmCjj1GsBlnKGF5l8hkkZgZ2rs26N3aEFENzE1QuF1H7btNPe bCV4xPr7WdAbthGGY7k+ZUr+4b8KUtaIyW7feQTSHVmqQ9Jl73MALs/iA3wYEMaCACPd m7Bh1A4N8aGgjh9oGdVbYhaI1WM3+DXCMzM4KgPM1bsUYUfhdhJ7UuK9Amt3/Ki7m0GB QitSFUKMmKXAwBEUv/SjYQya9bNARsn74UYaTVKjIO6V93edqfNyRs2P7DhpQH5nRaje hwgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=Na4bI2RIoAWJG++IZgxN0vC+TC/18LddBM+x8YPaYaE=; b=Lb71Ui4qWMpY2Ty+dP7D4zy82cX8/ShWQwFtWpNXYdWoazR93LqydExvq7cWwwWzu0 57OEqQb54liBOET46fM4m+Mm+C4RCLpQL1A9cAe6I+wQbGy8xo3r6/tGE8Rj3vh+qaaq 6e9Q+DKnmYHWVKQF5aqOwryu+f527xJH4t6JNq7cI9s6bfWlN1JA0gRe3HywU1SnghaI yZiY6zrs4LNjxt2p5/G1LA+w3IZvb5VsBCVT4LUsdc0NDwkMYnTDPXk802lk+OB29Njj oMAVmcsAuD8XjqiZqbGDJYg1ugyhZaxHty8LYbNVw1QisC6eQqJYNM3bCGY2xKasIr8d Vefg== X-Gm-Message-State: AOAM531TLjgH37fz2FwRBs2gd/dFWeYvF8U29pKE4nxjni3ShLtmYDzD 3P5Xs5G2+GS1UtZlNF3H88zObteftQvMNiLTBGFirA== X-Google-Smtp-Source: ABdhPJzuC7qd+6LCeZTIOuuvehAPjDL8aSaBRqXjWA5WrOFBNf+Dd+Cz8sNU6WQPKhdm7LvZ088eqmzOye0I2ubwaQA= X-Received: by 2002:a05:6e02:1be8:: with SMTP id y8mr10312578ilv.109.1632170779498; Mon, 20 Sep 2021 13:46:19 -0700 (PDT) MIME-Version: 1.0 From: Amit Pundir Date: Tue, 21 Sep 2021 02:15:43 +0530 Message-ID: Subject: dwc3-qcom: tx-fifo-resize regression on Poco F1 (sdm845) with v5.15-rc1 To: Wesley Cheng Cc: Felipe Balbi , Greg Kroah-Hartman , Andy Gross , Bjorn Andersson , Rob Herring , Jack Pham , Thinh Nguyen , John Stultz , linux-usb@vger.kernel.org, lkml , linux-arm-msm , dt Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Hi Wesley, All, I see a reboot loop on Xiaomi Pocophone F1 (sdm845) with TX FIFO resize patches which landed in v5.15-rc1. Upstream commit cefdd52fa045 "usb: dwc3: dwc3-qcom: Enable tx-fifo-resize property by default" to be specific, which switched on this feature by default. At times the phone crashes into the fastboot mode after the reboot loop, but mostly end up booting to UI after a while. This is what it looks like https://people.linaro.org/~amit.pundir/beryllium-userdebug/PXL_20210920_162749483.mp4. PocoF1 does support TX fifo resizing as I can see that in the downstream dts. So maybe it is the tx-fifo-max-num which need to be adjusted for the device? I couldn't find the tx-fifo-max-num equivalent in the downstream tree though https://github.com/MiCode/Xiaomi_Kernel_OpenSource/tree/dipper-q-oss/ Curious if you had any ideas what might be going wrong? For now I'll keep digging around tx-fifo-max-num, but I figured I'd ask just in case it's obvious to you. Regards, Amit Pundir