Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp4761245rwl; Wed, 28 Dec 2022 08:27:03 -0800 (PST) X-Google-Smtp-Source: AMrXdXsxSV+alPn49hjpdQueXwqB/BwBZp7ie0kg+aBXy6zDGMzDlGSngf4vroJpvJyn9U6/m3Zw X-Received: by 2002:a17:90b:812:b0:219:f993:7f30 with SMTP id bk18-20020a17090b081200b00219f9937f30mr43055039pjb.32.1672244823672; Wed, 28 Dec 2022 08:27:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672244823; cv=none; d=google.com; s=arc-20160816; b=wZMSBibjgkjBpvCEP8a4gp5J0dPXm6fkr/n3Sdz+bUP4xapvvKrZQ4Cg1VaYcoFdyV D9fZqAzvmLFNg1Qvkh/IxoFBwlm989q4w9qNwOQv8udMO/lrqhIf/Tu4ypYbtSelcdP1 j7Os817VTrm0/uT60AAaujc/Zpt3kDc+6CMVFHZZdv6aHrYdO4jZIeIpHHxeKzTOVKKg /wGyund5/otXW1ORGjoN4Eg/5q1np3Uo5LwtjvYpUpM6xHEHlC2szF5QFa1i1eUsFIXO XyQGq37MKWcowl98s33iv55cncNi2OOD7YUPI80W4nvgzNMpa6Prs9GQGFPPlV8n4qPw uGRg== 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=JUcPSGeQSyCQV+5RFes2Or9gqPhDpOlebNcO/R3D1CU=; b=aoPKw9kIHNbqU/9n5Lm05UltHZ3MVan/IjePq3OA19JAjQOjOTgTFfq/tVltApqi/O tJ3Y9u32kHkU6Kjvhs3JsEvkXC+ww5iUs93Br6qXaaAH6WJkXaMjdr72t9Jf9m+dBDz2 kaL1CrXXhPA/1q/bMwT78mndshRLalkCBgWnQoapd/bxE740s380f8N8xV7+/ihL5lGx x2NnQabB5mZBk0CDvNkzxk2iMhWun6XHuOJwhQvX1qedovfCE+9cHWFUINbEjYk8QiAB KCLDSa4VCDIIVdQTPUAk892kQ0ceK9S66BnIyONmKzPBO1zwPh8b4i8ntk5rpPaqO6yG +bXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kxfWZabu; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nl3-20020a17090b384300b00219315af541si18564381pjb.79.2022.12.28.08.26.55; Wed, 28 Dec 2022 08:27:03 -0800 (PST) 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=@linaro.org header.s=google header.b=kxfWZabu; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234424AbiL1QTK (ORCPT + 63 others); Wed, 28 Dec 2022 11:19:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38394 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234631AbiL1QSk (ORCPT ); Wed, 28 Dec 2022 11:18:40 -0500 Received: from mail-pj1-x102d.google.com (mail-pj1-x102d.google.com [IPv6:2607:f8b0:4864:20::102d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 519C2193FE for ; Wed, 28 Dec 2022 08:17:16 -0800 (PST) Received: by mail-pj1-x102d.google.com with SMTP id v13-20020a17090a6b0d00b00219c3be9830so16459866pjj.4 for ; Wed, 28 Dec 2022 08:17:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=JUcPSGeQSyCQV+5RFes2Or9gqPhDpOlebNcO/R3D1CU=; b=kxfWZabu89t81jk2jvL8stxvjeLflrKxQXz2ozJNyxkF5MYc4q4n2AIrv2IZaCUAJb iG0kmZN/VOiV6NmWKK8U/5pPqr7DK5Q5ESWVUeZ6h5BC7yeyFPPqcCbx4qJw9Vewgr8Q +L0CXOnS4eOgzGrsfKTaLmdnrm2M+mk1P0aXnnjGyDqI3ipOi8p3hy9L+w5sd0y9FYDB +hW9cJaPTImgM40r7cE1AE4Ssgcjv6RXGfXGcjU7hzaI+1s2yxnOYAbxqbUGtUx5guNW /ZlhGlTJmUvKPSmRHiSRLJ02aE/cHWv6I1iMHRodAjyXAROugL+4F/APK9T9Dw//c0zS /CdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=JUcPSGeQSyCQV+5RFes2Or9gqPhDpOlebNcO/R3D1CU=; b=CnixZ2ejW7NTujsvu8EuvyzF27jXDCuTBR4jGHYGytd/1q0YIVz36kHxpJWKC2pIA+ ruKiKprP1NyREyvngt0Cf+kLpMjbe6Bvj1Nd/FVOPnVbBvGz+AYsbTo+4O9us4PzDgWO /Wzp1rJceH4ff/SlOy8WYuiNSa3j5Gx98CUkvjjbKnADiI2yAA94XcTSkh59aFfy8eX+ h+cI6iFk4WVps3NGru3ZP7yZSq4ndkCiIHfycfmw91NT1aKAh0yD5Oqm3ZS1c90SckD9 MgFndvES2keV0zHPoicNovP31JAqfypUM7nphPrNMN1DAWT8n1Giu/7hLE3Gt4b06rUu 1naw== X-Gm-Message-State: AFqh2kr8rECsUxmxR3DDdkLqiVG/WUsXJlMPoWPeKIx9nNxmNhqeH/Py 3Cxk7UzqfqJUQ2Ju3hOpI8OUynGCKDXccEU= X-Received: by 2002:a17:902:704a:b0:191:7d3:7fdd with SMTP id h10-20020a170902704a00b0019107d37fddmr42210555plt.60.1672244235781; Wed, 28 Dec 2022 08:17:15 -0800 (PST) Received: from localhost.localdomain ([117.217.178.100]) by smtp.gmail.com with ESMTPSA id s3-20020a170902c64300b00186abb95bfdsm11256798pls.25.2022.12.28.08.17.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Dec 2022 08:17:14 -0800 (PST) From: Manivannan Sadhasivam To: mhi@lists.linux.dev Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam Subject: [PATCH 0/6] MHI EP fixes and improvements Date: Wed, 28 Dec 2022 21:46:58 +0530 Message-Id: <20221228161704.255268-1-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 This series fixes several issues on the MHI EP stack and also improves the suspend and resume functionality. Thanks, Mani Manivannan Sadhasivam (6): bus: mhi: ep: Power up/down MHI stack during MHI RESET bus: mhi: ep: Check if the channel is supported by the controller bus: mhi: ep: Only send -ENOTCONN status if client driver is available bus: mhi: ep: Fix the debug message for MHI_PKT_TYPE_RESET_CHAN_CMD cmd bus: mhi: ep: Move chan->lock to the start of processing queued ch ring bus: mhi: ep: Save channel state locally during suspend and resume drivers/bus/mhi/ep/main.c | 79 +++++++++++++++++++++------------------ 1 file changed, 42 insertions(+), 37 deletions(-) -- 2.25.1