Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp313411pxv; Wed, 30 Jun 2021 06:18:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxD8jBI81de+2wWJTz03dSFgzgTZ/QNPsKZyHYzkGNAq5Euo5e9KdEM05zCKyZUZoiLkkNF X-Received: by 2002:aa7:c614:: with SMTP id h20mr46663348edq.67.1625059135145; Wed, 30 Jun 2021 06:18:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625059135; cv=none; d=google.com; s=arc-20160816; b=Vv/52fOdmHXHYPuR7b2bFv+Wi3GTSTDzVb3vbFuTDl7n8oML3IbnYJWujCuxTe0MpH EyECLvujpg7pDceQQttfz8k0bCVP0ov/+sBGTOZm436fV7Rm2XmWTAZ3mOYrwFktdsoJ G7BTvxkoFcJlPrQ6/QJfB3hkkWPt4OCiLjER3vhLs6kDnWy5Li6VnZ9v3STkDRxk+6+T 4UoRTjHA+G1o2Tu2MAxP/ObqQTl2lpY9B/ZoNGDwdKl/lnnZGCj8C5uSixEKnT/tYHZh 1OwZ6bqajlmX+40CKx69fqnLjOuN1BURwfN1EjkjTi4vu4hny9LJo1NE7S8zifQBfgsU fDpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=fgdFcWlgoPypBIRoYUde3N58e9Twt3JB/QiM0lXDUWI=; b=m5g2D/7c14+GfT2AGSdJf80zJaRl+AJeavyWZNy3hhL/ajEMfEYfC3JWhqI/KL4AvG glio32xcuQPL7cJ0vK5l1uA+RVzpgls7C0/c8OSRKf7PF/YX+PHUogtNugk3HI8S5aYu CUBynRffW8l1QCKg5pExPRCI7pIcgP764dlqa0WJtnFuZvXCI16FeReJp6ksGQg3lZaf Vp9qFRGT6E/r0AD7vLU8+P82LPBtlS/MWMLoIslsa8FJBNkSe90ZZwgHHnoV+/TPHUSf Domvj5zv5Znxl8vkNGW1XybiAT7dO5+U1KH6aOEbPpYs6fFTqew7c04t1gJLQtPTFzbx O4jA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RJFbHULS; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e13si20351345ejl.422.2021.06.30.06.18.29; Wed, 30 Jun 2021 06:18:55 -0700 (PDT) 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=@linaro.org header.s=google header.b=RJFbHULS; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234685AbhF3NTb (ORCPT + 99 others); Wed, 30 Jun 2021 09:19:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38502 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234713AbhF3NTb (ORCPT ); Wed, 30 Jun 2021 09:19:31 -0400 Received: from mail-pg1-x52f.google.com (mail-pg1-x52f.google.com [IPv6:2607:f8b0:4864:20::52f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 85FD1C061766 for ; Wed, 30 Jun 2021 06:17:02 -0700 (PDT) Received: by mail-pg1-x52f.google.com with SMTP id h4so2231114pgp.5 for ; Wed, 30 Jun 2021 06:17:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=fgdFcWlgoPypBIRoYUde3N58e9Twt3JB/QiM0lXDUWI=; b=RJFbHULSsaCe2wRav93soy+7dgaRoot7nNDKvGe754HFdzty/DNF19Bcuq/sZzsB7m kfYO3Ph5p/aW7ODv4rj1iGGZ+E1hDntDeZ6N8VCj15UtFJqIlviSZgLsPoRKORiBHntk IRT8ULCoWkFWyIQaogamNDT4YjjjtVKosyrIlu4+Le5nocHse11/b96jqr4mwlrLHgOj qatNwWNz+ktQYbAPA+30fpryZ1aDkFkglOqeLfLL29HLLRg5xKUV0zdJVzd8wAmmm6xD A48AR3p/O9qf8F/EiK22xuv68R6FUvZdLeh6EGQY0YDjiG+o8JyGtKMC2rivNb5HXw3r w9Gg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=fgdFcWlgoPypBIRoYUde3N58e9Twt3JB/QiM0lXDUWI=; b=C2UfKSr0fwUjAHnzVp80GnECcr1+0JXNgGK/t4pZifNz8kotbYaDe/dRZuu/wWbZ19 QFo9bmb9JiaqF657/hmKkPZq7coNqh/CqW4dTC3OWxuk/Mpt/Q8YvYWjRb7nmGcM9Eer pytc61m/a1Z9kmKxisTcHDKg1a81U6xRsU1Y22FJyGv+ZtFBwCFUgfcanfSy90ovFTyQ eXuwZv+aQnhhCi1s75cIgHp5vI+/Y0eZ1UlL2D/QnpfRg1ZoHfk0dk15/rOZGSjVVOOB 6Nn5vSl8QTFrGKRs0vMinoYK3kv6NgFolcwzYFRtK93oo5U5Guj6+Uaowit92j7nvW2v f4TQ== X-Gm-Message-State: AOAM533N+EjznKjMw0qS/Ewpno7gyuZJKe3cmM6phqT4uRoSTg8l6Y2g 5xEeddzs7XfSfZy0PQyv20TH X-Received: by 2002:a63:5153:: with SMTP id r19mr34252156pgl.56.1625059021948; Wed, 30 Jun 2021 06:17:01 -0700 (PDT) Received: from workstation ([120.138.13.102]) by smtp.gmail.com with ESMTPSA id k8sm13349323pfa.142.2021.06.30.06.16.58 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 30 Jun 2021 06:17:01 -0700 (PDT) Date: Wed, 30 Jun 2021 18:46:56 +0530 From: Manivannan Sadhasivam To: gregkh@linuxfoundation.org Cc: hemantk@codeaurora.org, bbhatt@codeaurora.org, linux-arm-msm@vger.kernel.org, jhugo@codeaurora.org, linux-kernel@vger.kernel.org, loic.poulain@linaro.org, kvalo@codeaurora.org, ath11k@lists.infradead.org Subject: Re: [PATCH 00/10] MHI patches for v5.14 - Take 2 Message-ID: <20210630131656.GA18484@workstation> References: <20210625123355.11578-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210625123355.11578-1-manivannan.sadhasivam@linaro.org> User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Greg, On Fri, Jun 25, 2021 at 06:03:45PM +0530, Manivannan Sadhasivam wrote: > Hi Greg, > > Please find the remaining MHI patches for v5.14. This series has the left over > patches from the previous patchset and one new series that was reviewed a > while ago and put on hold for Ack from Kalle Valo for ath11k. > > Summary: > > 1. Added validation for the channel ID read from event ring. If we get events > from an invalid channel, we throw an error message and skip the event. > > 2. 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. > > 3. Added support for processing the events based on the priorities. Earlier > a fixed priority was used for all events. > > 4. 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. > > 5. 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 > > 6. Rearranged the setting of BHI/BHIe offsets for better validation of the > register values read from MMIO > > 7. Cleanup of the BHI/BHIe pointers by setting them to NULL to prevent access > after power down. > > 8. Added support for getting the MMIO register length from the controller > drivers. This helps in validation of the read offsets from MMIO registers. > Since this patch touches ath11k, Ack has been collected from Kalle Valo. > > 9. With the help of above register length, added check for BHI/BHIe offsets. > Is this series on your queue for 5.14? Thanks, Mani > Thanks, > Mani > > Bhaumik Bhatt (8): > bus: mhi: pci_generic: Apply no-op for wake using sideband wake > boolean > bus: mhi: core: Validate channel ID when processing command > completions > bus: mhi: core: Set BHI/BHIe offsets on power up preparation > bus: mhi: core: Set BHI and BHIe pointers to NULL in clean-up > bus: mhi: Add MMIO region length to controller structure > ath11k: set register access length for MHI driver > bus: mhi: pci_generic: Set register access length for MHI driver > bus: mhi: core: Add range checks for BHI and BHIe > > Loic Poulain (1): > 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 | 61 +++++++++++++++++-------- > drivers/bus/mhi/core/internal.h | 2 +- > drivers/bus/mhi/core/main.c | 26 +++++++---- > drivers/bus/mhi/core/pm.c | 28 ++---------- > drivers/bus/mhi/pci_generic.c | 65 +++++++++++++++++++++++---- > drivers/net/mhi/net.c | 2 +- > drivers/net/wireless/ath/ath11k/mhi.c | 1 + > drivers/net/wwan/mhi_wwan_ctrl.c | 2 +- > include/linux/mhi.h | 9 +++- > net/qrtr/mhi.c | 2 +- > 10 files changed, 134 insertions(+), 64 deletions(-) > > -- > 2.25.1 >