Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp710486pxb; Tue, 5 Apr 2022 19:47:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyzFNh60o02QbZueR0hZzI9SXdxdEXAxT74bJ69ElfGrTW5sePjakGz3uxR57Ac+z5oUNEL X-Received: by 2002:a17:907:9614:b0:6e7:9ff0:38d0 with SMTP id gb20-20020a170907961400b006e79ff038d0mr6118854ejc.313.1649213268922; Tue, 05 Apr 2022 19:47:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649213268; cv=none; d=google.com; s=arc-20160816; b=w2JM8F4REO/dRDHBTPDXeC1K+KbE/VPDTgrnFAjc7+Y0FVBPb8LRM0oQUK1z78NJvP M7qLYeXGS+6SnRhWhz6eCC1sr77JqcpsU9rAWRsN38/Z4txvdPgI7Bs3noJ+lqhmR72i S3fr5La6tZbzYJ3+64/MafJARgQ2RT4etF9S3qKaRGmUO0OhrOgW/6HUU+gLBGuxnZty 4Dk6nL5+ucLX4pueiUrr8gfDOVoFb6GCgD8zSeNUegQmc0dYz5O2jNj0drE8xRySCmoQ UiFuuLO3gcB/79bLcQtgMRPGejgmiXU7nDVQZ2WbF7+aiY4ZctQkn19B2/4sk07PB8/Z p84A== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=NHkukB4/hRIdOOaSxJ/l/Ob4Fecks6sC5ylxrCMTN/Q=; b=Bmp1nfDKDiiDcCHf1rR8BtGqleGXUskuHs2QKEo7p86Z4hqbQ7j3WCPF53grGN2jOD lMFho/NYcwFoC1d6oPOgZQz3FloTutyaTF1kygO27nvMNxZFC0+uIhzRzf/MPq+zPjI/ MgGZy2qCfhhGHR6T5jzVcwokbhTyMR6j659bE56p6Y/WXCODJY6gJYi3rcad/HBwKHmt xrGcysf7wRQDvqPjpOyBrKiACmW7xNTngQOKZdCVFcbBvvFkjn9efdfBmn20HsQxPl+c /jw4T08qHb3upp5aoo0wvi46N2OlR1PnRPkegZ9hxl8zu+Dyy3+X8mebANX1WhLEuaQD ym+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Lsmd6few; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z19-20020a1709060f1300b006e11b8a9883si10042710eji.699.2022.04.05.19.47.20; Tue, 05 Apr 2022 19:47:48 -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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Lsmd6few; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231894AbiDEHmO (ORCPT + 99 others); Tue, 5 Apr 2022 03:42:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54404 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231733AbiDEHld (ORCPT ); Tue, 5 Apr 2022 03:41:33 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 870164B43F; Tue, 5 Apr 2022 00:39:35 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 2BEDAB81B16; Tue, 5 Apr 2022 07:39:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9A1C1C340EE; Tue, 5 Apr 2022 07:39:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1649144373; bh=B8Q+cSPIOi/M5XObkjw1M58uMGbxfVaxxo5QHsotE6w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Lsmd6fewgbrgBllthUQAjmK+iCIHTIXj7+S5OXKPwo0l1fKkXqwf3fFKWsF4W5l4w eNq+eDU0nQmAZk03NIzQWvvgT+6dmHf69DBZYo1mkksVEflt1KeKqRVkitLqLfOdMq MQvWtYfxhWWaDls6TiSqsJziv3aLd7NMwgcapEl8= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Manivannan Sadhasivam , Yonglin Tan , Manivannan Sadhasivam Subject: [PATCH 5.17 0022/1126] bus: mhi: pci_generic: Add mru_default for Quectel EM1xx series Date: Tue, 5 Apr 2022 09:12:49 +0200 Message-Id: <20220405070408.196497441@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220405070407.513532867@linuxfoundation.org> References: <20220405070407.513532867@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 From: Yonglin Tan commit 2413ffbf19a95cfcd7adf63135c5a9343a66d0a2 upstream. For default mechanism, the driver uses default MRU 3500 if mru_default is not initialized. The Qualcomm configured the MRU size to 32768 in the WWAN device FW. So, we align the driver setting with Qualcomm FW setting. Link: https://lore.kernel.org/r/MEYP282MB2374EE345DADDB591AFDA6AFFD2E9@MEYP282MB2374.AUSP282.PROD.OUTLOOK.COM Fixes: ac4bf60bbaa0 ("bus: mhi: pci_generic: Introduce quectel EM1XXGR-L support") Cc: stable@vger.kernel.org Reviewed-by: Manivannan Sadhasivam Signed-off-by: Yonglin Tan Signed-off-by: Manivannan Sadhasivam Link: https://lore.kernel.org/r/20220301160308.107452-2-manivannan.sadhasivam@linaro.org Signed-off-by: Greg Kroah-Hartman --- drivers/bus/mhi/pci_generic.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/bus/mhi/pci_generic.c +++ b/drivers/bus/mhi/pci_generic.c @@ -327,6 +327,7 @@ static const struct mhi_pci_dev_info mhi .config = &modem_quectel_em1xx_config, .bar_num = MHI_PCI_DEFAULT_BAR_NUM, .dma_data_width = 32, + .mru_default = 32768, .sideband_wake = true, };