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=-13.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable 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 31C44C48BC2 for ; Mon, 21 Jun 2021 16:16:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1D81F61001 for ; Mon, 21 Jun 2021 16:16:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230269AbhFUQSq (ORCPT ); Mon, 21 Jun 2021 12:18:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55106 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230056AbhFUQSp (ORCPT ); Mon, 21 Jun 2021 12:18:45 -0400 Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com [IPv6:2607:f8b0:4864:20::1034]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D3C4BC061756 for ; Mon, 21 Jun 2021 09:16:30 -0700 (PDT) Received: by mail-pj1-x1034.google.com with SMTP id 13-20020a17090a08cdb029016eed209ca4so314683pjn.1 for ; Mon, 21 Jun 2021 09:16:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=vZ6M1C8kjFrNWeEQ54ia2N/MPK1KiEtVeH/B6b0MYiY=; b=RC+agFTXIJZf1Zf/lTvTPnD/2Trfq55375aHRE0UWajIGX+kX2/FiW/TgTI/MaIyoM FXTCTM3oyYH6XvFBRbi3fZx+PI6Pwr26TjbBipTmZjR01rMyjC10N4yA0QjenuM3Xy+y 4pLxiwe+Vf57APOczDXdJFcOTOa9LRV+UcBLlb6YdbpDGw2Gci5vVfPaVJ2oRTKf1Z2B vWsAwUWHkbp7vT7+BQyIvHtfFdj3az1FqHCTs0EN2f99tkwRnbNMlr3ykVwWqZiMXmp7 +AiQfN5CSBLG1EN8QCdFno73wqLUfM2iCLgs0NP8zEqVXJJ2aLIeQGbJlKIWW0ziJzJV /o0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=vZ6M1C8kjFrNWeEQ54ia2N/MPK1KiEtVeH/B6b0MYiY=; b=NvwIK2vr3zk/KWU/c1npoGi9XfCWnFiOH/YzS2owlsBaKtrLdUQ+hUVyA+Bsz4HhyN Yyqcs5/HrHsr1kg18ywKDe/SVRUeZdWYdqxG88LQkwLGC7W5z1j4VRhs9bbYGnHnw8gq 3okG8tRzaP2kVTFil/MizS80UP7IRtYX9O/xz3V5xPqnomtqCf25Y39UEBDoeHTRpPg4 R2GyGk2cbsCJPoPwg4WiDdqrO7GuoXD445nB570e8bDcv1Im9WOHZvJrGI7BZDvnQthz i8HWPx/f5ZGC4TrJ8Du3t8DGFxHntwpierhlyC4gT+lK5hSSOW20/Sq7aBwf2kdeX1Vi mqwQ== X-Gm-Message-State: AOAM532q+JJv1IlvXMWGBgieWM5ZOXi2Fhc7l9XdUxXIn5M9AKTed7tY jALH/iOw8p91Q3nec+Sgx5U6OAfWpnqI9co= X-Google-Smtp-Source: ABdhPJyhxLKvAQdSrC6c/UVELOSiUvJZ4yzk8B5MWich35+9Vl75ehj0wwZLEPJ/SJFdgmGHjh6UPg== X-Received: by 2002:a17:902:da84:b029:11b:3110:a42b with SMTP id j4-20020a170902da84b029011b3110a42bmr18660615plx.44.1624292190183; Mon, 21 Jun 2021 09:16:30 -0700 (PDT) Received: from localhost.localdomain ([120.138.13.116]) by smtp.gmail.com with ESMTPSA id k88sm10734730pjk.15.2021.06.21.09.16.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Jun 2021 09:16:29 -0700 (PDT) From: Manivannan Sadhasivam To: gregkh@linuxfoundation.org Cc: hemantk@codeaurora.org, bbhatt@codeaurora.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, loic.poulain@linaro.org, Manivannan Sadhasivam Subject: [PATCH 0/8] MHI patches for v5.14 Date: Mon, 21 Jun 2021 21:46:08 +0530 Message-Id: <20210621161616.77524-1-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Greg, Here is the MHI patch series for v5.14. Summary of the patches: 1. Fixed an issue observed during the system resume where the host timesout waiting for the M0 state. This has been fixed by adding M2 as the valid resume state. 2. Added validation for the channel ID read from event ring. 3. Fixed the MHI wake routines used for the newer modems such as SDX55 and SDX65 by using no-op routines only for the older modems and then relying on the default routines provided by MHI stack for newer ones. 4. Added the missing "pci_disable_pcie_error_reporting()" call in pci_generic controller error path. 5. Added support for processing the events based on the priorities. Earlier a fixed priority was used for all events. 6. Fixed the power down latency by polling the device reset register instead of waiting for the state change event. 7. Added a dedicated flag to the MHI client transfer APIs for inbound buffer allocation by the MHI stack. Since this patch modifies the MHI client drivers under "net/", Ack has been collected from the netdev maintainer. 8. Added support for Cinterion MV31-W modem in pci_generic controller: https://www.thalesgroup.com/en/markets/digital-identity-and-security/iot/iot-connectivity/products/iot-products/mv31-w-ultra-high Thanks, Mani Baochen Qiang (1): bus: mhi: Wait for M2 state during system resume Bhaumik Bhatt (2): bus: mhi: core: Validate channel ID when processing command completions bus: mhi: pci_generic: Apply no-op for wake using sideband wake boolean Christophe JAILLET (1): bus: mhi: pci-generic: Add missing 'pci_disable_pcie_error_reporting()' calls Hemant Kumar (1): bus: mhi: core: Add support for processing priority of event ring Loic Poulain (2): bus: mhi: core: Fix power down latency bus: mhi: Add inbound buffers allocation flag ULRICH Thomas (1): bus: mhi: pci_generic: Add Cinterion MV31-W PCIe to MHI drivers/bus/mhi/core/init.c | 3 +- drivers/bus/mhi/core/internal.h | 2 +- drivers/bus/mhi/core/main.c | 35 ++++++++++++----- drivers/bus/mhi/core/pm.c | 19 +++------ drivers/bus/mhi/pci_generic.c | 67 ++++++++++++++++++++++++++++---- drivers/net/mhi/net.c | 2 +- drivers/net/wwan/mhi_wwan_ctrl.c | 2 +- include/linux/mhi.h | 14 ++++++- net/qrtr/mhi.c | 2 +- 9 files changed, 107 insertions(+), 39 deletions(-) -- 2.25.1