Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp707144pxb; Tue, 5 Apr 2022 19:39:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwzN6XJ7x/gCf6SL9fLK8pOOE/iSnLhACy2sg/k+JZKgNb21dU6n6ZLdjYz9N8yOkiklZky X-Received: by 2002:a05:6402:26d3:b0:418:d202:d5dc with SMTP id x19-20020a05640226d300b00418d202d5dcmr6558769edd.138.1649212776761; Tue, 05 Apr 2022 19:39:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649212776; cv=none; d=google.com; s=arc-20160816; b=iFp9ewILyFHXUgHCkQd5qbOg3ID0lG5lrKUvT7Og7sSRwJizqI+ztsS7maL/m/00rv +uh0qpc8iY6fUZiSHoxp0AgMPIQra5BmOEQ+j0Y+poLfY7NeWa3BPsGU2wzQzbpvA3RW VggH2dgGEK/SVVcnZOhbAs6nz+w6eDKWyR1FKnEw19puiztW1NdPK9ry8RUyGq+ARaSi DDGpbHVTiQOMzrFBn0ycZgUKhFNNaO76ZunBey6qWw72TpgS2u6DHPIDN/1Wxo4wjeeC v942lcvxtg+sDq9z3l3bfxKjLbEfLaLSyUm4LeiQV5WAs0ZhmAswk6/ocx7FJqfg+77I 90PA== 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=xrepQC7lskTaX449HkvIFw8YmtgcdMpc7MK1GMDMn/JvOvABp00Mtt8DPz52IXqlBy N185GYyyp/nhJ2BJAzbNsHGa4qjjIxqev/+ev5W0s2igCEeiTAaGuQMIJHjZ6c4bNmo7 qt/xn6iKACtCd4NXQDls2gJ4EUzTMLnSzyn7uiLW4+ccgWYXkN+Vphi63KhzDpBtyt0f W0pROuAcK4YU9iImDxdt9chUPcOPUhflo4QmBL4xPzY2JKImxFM+JynSBx+QuB91bohn 27rJXIBRiIOP7zEDrANPHX9inlBnAnIbr3oTnr4Z1sz7UQrVjCaJH0BrFevwOMGF2G6u BhnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=1eP8LCuz; 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 h11-20020a50e10b000000b00419bb03fd08si10149954edl.406.2022.04.05.19.39.06; Tue, 05 Apr 2022 19:39:36 -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=1eP8LCuz; 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 S1382332AbiDEORQ (ORCPT + 99 others); Tue, 5 Apr 2022 10:17:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239473AbiDEJdj (ORCPT ); Tue, 5 Apr 2022 05:33:39 -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 DED344CD4B; Tue, 5 Apr 2022 02:22:13 -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 99ABEB81B14; Tue, 5 Apr 2022 09:22:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0DDAEC385A2; Tue, 5 Apr 2022 09:22:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1649150531; bh=B8Q+cSPIOi/M5XObkjw1M58uMGbxfVaxxo5QHsotE6w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=1eP8LCuz1ROxHspGMYnq3Sh9WD11QLFaZwia+dr1NjXtmrOWolNb7hH2/qSoec2D/ um3IoZZ/SIXgIPikUokdo33VASGWAc3MmMXhgU4ymayVzGXu/cLQjGPbXx3Uthb/lD IpQDlm+7y6Zru0H23QycCbT35uBvBpCqYbTNuoZM= 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.15 040/913] bus: mhi: pci_generic: Add mru_default for Quectel EM1xx series Date: Tue, 5 Apr 2022 09:18:22 +0200 Message-Id: <20220405070341.019068389@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220405070339.801210740@linuxfoundation.org> References: <20220405070339.801210740@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, };