Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp1159292pxb; Fri, 21 Jan 2022 11:06:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJygP4aU4K1mUL4yFolroANqvUaos0LlSV6AlgclYMDnslJ/7UWcvUxBGMxqGTm89n+JpIqt X-Received: by 2002:a17:902:ec83:b0:14a:3c28:6820 with SMTP id x3-20020a170902ec8300b0014a3c286820mr5054776plg.43.1642792009397; Fri, 21 Jan 2022 11:06:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642792009; cv=none; d=google.com; s=arc-20160816; b=WMgZjOQQC9h1moUHYFjRfzFtndG0B32zTVlYNGW16qYVxCVPvO5FPTau0X7RCNO3xg SKASC9O8dNqygL15Ihpfr0LTARzt6T5MIfHQIV2Rdx9/ThtJcp4KnXNvpUu5pItTI0Kg EErJmttPDMWCFwMgnESSgTePCGa5uVn3pSDUHdwn7t431Uig/c0XxZUjbeyiKuPR66BG w/WUuBzwMDlI3uopkeWiPuj+1ucEuRGo8Zh8BtOqpYeL/zq9EBSStqcQx7BJ5fjDxbVu FRIOjyOV7GEME2WmqjL973+luFzpwOxt+LMC1pTevg7QMDHTv7kyt1NSn+GvlF0T8gRj /MsA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=Ggh+jBUxPZigS6LulYn3qU9duz7ejB5F3vOjxnkFcnM=; b=AhKrSepWnQwUzXO6pw8DUSiEQZ0RAA1/sD5jxwi4AqKSUOkQl0lcNhxXHvtqhTXT0z mP4JrdMURz1M/uRQaIFKAnLhzH/dXlkpuRPsZQMEtm073pLBYdXzT6XLi6vUkiTV8nmi /gJe5aeZOT543lNGr2NV9JIKgKP9Na5kAT+jCdJBCE4dDEJZkwZEd4YJuBlNwlIrVshk 05UPFvm961yrzZKMZkce+04YfN6R4ct2vI+zARIkyMu97CaZdC0MtAAA2CM6aPdd+DRR s5TKX2wJrb9Gf12tQXVsPfdNbex8WYYf6mpdnOaginW19GWNyB2Hk5B+k3SL1iIgEkeM XhHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@163.com header.s=s110527 header.b=Cw5la4Wj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=163.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 9si6379394plj.340.2022.01.21.11.06.37; Fri, 21 Jan 2022 11:06:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@163.com header.s=s110527 header.b=Cw5la4Wj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=163.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353457AbiASKK2 (ORCPT + 99 others); Wed, 19 Jan 2022 05:10:28 -0500 Received: from mail-m971.mail.163.com ([123.126.97.1]:29899 "EHLO mail-m971.mail.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353441AbiASKKY (ORCPT ); Wed, 19 Jan 2022 05:10:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id:MIME-Version; bh=Ggh+j BUxPZigS6LulYn3qU9duz7ejB5F3vOjxnkFcnM=; b=Cw5la4WjPHCoeoVqVukcw dg0LQupWl42pzdjkSx2VDmL4cwfjoCghYwkSva1zub4p2Tu0XquAWhdmvUhVK7/6 7zqIuqQOOLxo1dlmlt5YEr/dPAV9q+x4+XV5cBqEhAM8GJHwJaabxFPFqyUBJ6DF IaZjGqHUNzUn6vQ5IlFOWg= Received: from localhost.localdomain (unknown [112.97.61.111]) by smtp1 (Coremail) with SMTP id GdxpCgA38JRy4+dh_EsTAw--.12569S2; Wed, 19 Jan 2022 18:09:56 +0800 (CST) From: Slark Xiao To: mani@kernel.org, hemantk@codeaurora.org Cc: mhi@lists.linux.dev, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Slark Xiao Subject: [PATCH net v3] bus: mhi: Add mru_default for Foxconn SDX55 Date: Wed, 19 Jan 2022 18:09:22 +0800 Message-Id: <20220119100922.4922-1-slark_xiao@163.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: GdxpCgA38JRy4+dh_EsTAw--.12569S2 X-Coremail-Antispam: 1Uf129KBjvdXoWrtw4xuw1rAFyxtF4xZFyfXrb_yoWDJFb_Cr ZIgF4xuws8WrZ5Gwn2qan5Z3yrK3W7ZF1kZF10qrn8J34aqw1qqwn5trZ5AFn0gFW5AF9r J34rWr1rAw1a9jkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7sRgmid7UUUUU== X-Originating-IP: [112.97.61.111] X-CM-SenderInfo: xvod2y5b0lt0i6rwjhhfrp/xtbBDRSNZFaEG41OMQAAsL Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org For default mechanism, product would use default MRU 3500 if they didn't define it. But for Foxconn SDX55, there is a known issue which MRU 3500 would lead to data connection lost. So we align it with Qualcomm default MRU settings. Fixes: aac426562f56 ("bus: mhi: pci_generic: Introduce Foxconn T99W175 support") Signed-off-by: Slark Xiao Reviewed-by: Manivannan Sadhasivam --- drivers/bus/mhi/pci_generic.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/bus/mhi/pci_generic.c b/drivers/bus/mhi/pci_generic.c index 3a258a677df8..74e8fc342cfd 100644 --- a/drivers/bus/mhi/pci_generic.c +++ b/drivers/bus/mhi/pci_generic.c @@ -366,6 +366,7 @@ static const struct mhi_pci_dev_info mhi_foxconn_sdx55_info = { .config = &modem_foxconn_sdx55_config, .bar_num = MHI_PCI_DEFAULT_BAR_NUM, .dma_data_width = 32, + .mru_default = 32768, .sideband_wake = false, }; -- 2.25.1