Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp1686890pxb; Sat, 15 Jan 2022 20:51:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJyyG0pci+P+8L5D+uXKGU1pVtTVvqGHvadAy9gFiJu6wAWbvG4gQcGsa4Xcnvbf9n3/8wVv X-Received: by 2002:a05:6402:4382:: with SMTP id o2mr15454670edc.38.1642308669640; Sat, 15 Jan 2022 20:51:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642308669; cv=none; d=google.com; s=arc-20160816; b=IZJmxXgb0p2H06UF5hGZTDi/Y2u7mNTWXmY6KPfpY3YwYd0o4a/5eAaumd+duLm0st Oiaifiqj4SAqrKrByrjloRq6IXu8NM0l5qb2wRP6LZP7OqMvIvKX4hFXdtdxWjN4vwmL caDpod/0tvDCEbePivjf0cEjg9nvlloJ/a1CXzXbQjWcdlrN8IrwO1+F8M/c0DpwlHlw xZY5MJaE7oSULk+xR0HOzI0sZyGqLx0ZXm2zm/UPfN/nLiay+O9geCiqtpIFqQ0f8hkD dHYytFV75StnxWesPrpvX4qkZ9xPCqVyBWMuK1AX75ZLxqgsLA+IoZJUuoqy+g5a+l2i PKlQ== 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=/oWUzZ37QARouyTR+Z4mzpHTHtRRXJXnDqhNfwCrG0s=; b=Q02Goek0WdmPIsTcLKQGmtebxw0vEBKDPRDk1ouj8JpDEOdQ2aMyeJ/VCz9eaTrpod 9BsLyXIWqZ1Vvhjx1OyUteqmNqMZ66ju4cMEgySDd5X+0uW0qE12gO4DarU/Jk+XrMFw XccEw650uOrOWtt0oLAxBQ0I16SDpNOdIJ78WIHI5586sC0iAgPxhBEygYvrER4VY22q IuoJMpeD2PXFMLCLWAxsftWiVQmsL+2EW6jBQJvakDtM/hAHrQGpW7hAVv68WaYyJAME 2DZG0qu+dVUDQIvrn6q0DIgdaSWOyLTwuQ6rDmEafpTH/Swc4Yzx+HVra5vniy8+qcwI UOOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@163.com header.s=s110527 header.b=B2TjhoCN; 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 hs5si6029452ejc.181.2022.01.15.20.50.19; Sat, 15 Jan 2022 20:51:09 -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=B2TjhoCN; 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 S232837AbiAOKy4 (ORCPT + 99 others); Sat, 15 Jan 2022 05:54:56 -0500 Received: from mail-m975.mail.163.com ([123.126.97.5]:30582 "EHLO mail-m975.mail.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230097AbiAOKyz (ORCPT ); Sat, 15 Jan 2022 05:54:55 -0500 X-Greylist: delayed 922 seconds by postgrey-1.27 at vger.kernel.org; Sat, 15 Jan 2022 05:54:55 EST DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id:MIME-Version; bh=/oWUz Z37QARouyTR+Z4mzpHTHtRRXJXnDqhNfwCrG0s=; b=B2TjhoCN1tbO5lxks4LFH vNfzSu9z5ECOxr778W4phv1xOLpWst3U8TsJ6beCgud2bohFI45CMDY6HFeuPJD4 l2pgFJgg9wDgIn6MBbezn50UkPDFb9/QxcFSyRbM2I8SNO1hHlomfcJo63d7nSiM BleIfUxbfwOlhBucYson3o= Received: from localhost.localdomain (unknown [112.97.48.74]) by smtp5 (Coremail) with SMTP id HdxpCgD3yXBSpOJhkl+5AA--.19057S2; Sat, 15 Jan 2022 18:39:15 +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] bus: mhi: Add mru_default for Foxconn SDX55 Date: Sat, 15 Jan 2022 18:39:12 +0800 Message-Id: <20220115103912.3775-1-slark_xiao@163.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: HdxpCgD3yXBSpOJhkl+5AA--.19057S2 X-Coremail-Antispam: 1Uf129KBjvdXoWrtw4xuw1rAFyxtF4xtF13Arb_yoW3trX_C3 9xWFs7uws8Wr95Gwn2van5XryrK3WfuF1kZF1vqrn8J34avwnFqw1ktrZ5AFn0gFWYkF9r J34rWr1rAw1a9jkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7IUU5fH5UUUUU== X-Originating-IP: [112.97.48.74] X-CM-SenderInfo: xvod2y5b0lt0i6rwjhhfrp/1tbiJROJZGAJmBux2gAAsa 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. Signed-off-by: Slark Xiao --- 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