Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp337354rwl; Wed, 4 Jan 2023 20:34:05 -0800 (PST) X-Google-Smtp-Source: AMrXdXvxNsWnhQYkxxfcuW06vqXGg6NvDtmUIa+b2TsvtQCUH88RJLychRUwcaNfpOBzRuCThk/Y X-Received: by 2002:a17:90b:35c7:b0:226:17f9:8025 with SMTP id nb7-20020a17090b35c700b0022617f98025mr29724318pjb.40.1672893245705; Wed, 04 Jan 2023 20:34:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672893245; cv=none; d=google.com; s=arc-20160816; b=k4frJpSyFtzWMXbI8EGpurorvWYdo3+QcgMyzETMn7r9szecGAfmVeq44mS2XLEUqm cyjK1D/UuorWla7lXvRA09n8MVy7aXhAQW8WCI0MmuG3bNIooDqPi16PmF7zQ5GSUBdn YBy9HH3+1kCk/jW5yIaW7Sk7J79pH67b9TOYCO5F62o6xArxPOCInRfkvfWTTphUMDYk dCIG3iZzxHkudcalSxFZZycwJVR0oQZNPozFPZwj/j4JsbjnYRZePysOHPsIF+bKSrUw +02CFQr0u5Sokv4kzkKtNA8AlfdLN+ILzSFJetwjiD85/+1koqX/gNX/APQBrGbQtYVi 4Yuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=CVAyE1kIeTV8v8ey+rf5c/jufo7i4F3Of+cr/Aa8XgU=; b=BZ0sQQgQdN3JqeiQB7v1kZ3o9C9a+8aA0YnEmY2Zwv8mXcgRFokeNxVWCp0pdtigbX vi+7/kESe2gcbFRMOHnO+hhKIUqZ9F+gCOjsNcCTlTZcSShno1H8gGLf4ZvZBnUIZOdm GbC478pR0u2j+z/f1wnPgCPJpdTvRVD9AysbsknvTBEVotJ6lI0MRRJqZAPkUU11TFEO XYnFB/6S7D2vaNL9Qix/wQjShTIxvJrTo2wKncUu0rYhR7S9xC8SUUgNS1pGq91c74jQ PP0DG6zdVX48sIgy1y0WM2tpr2r9/BHTdjpU7SS1wSIfWRT2xRM85E0OkL395JajJ9dq tKbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=oVCgh5+e; 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=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h21-20020a17090acf1500b00225aff126desi839578pju.109.2023.01.04.20.33.58; Wed, 04 Jan 2023 20:34:05 -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=@quicinc.com header.s=qcppdkim1 header.b=oVCgh5+e; 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=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230274AbjAEEMT (ORCPT + 55 others); Wed, 4 Jan 2023 23:12:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35594 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230427AbjAEELj (ORCPT ); Wed, 4 Jan 2023 23:11:39 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 53495E9A; Wed, 4 Jan 2023 20:11:13 -0800 (PST) Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3053QL6H003229; Thu, 5 Jan 2023 04:11:09 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=CVAyE1kIeTV8v8ey+rf5c/jufo7i4F3Of+cr/Aa8XgU=; b=oVCgh5+eXEBLvQroGm5eft+n0GRJlXqkTyL3EKAtIkqcHkGT6dl7qM7O7mOablbvdVVF uncgyuuNqCgs5/veh3gIOFe/6IXHP4Jnui+0CejVExvn9W95wZ2ASYpXgvIoGeBTL4AY ijuwVps6LdtW1D+7yS/2Nr10p1WOdLwpBbO1iUK83d0AjEbvHpqCC4R5T+2zdrkmcHko 61NUjlOz15xJ4li/q1F5z0/JDGjE4erho4lVfnLy8vTJaaqKMn1MeY/vyIUfJobzKo3U /0dyPhdJnsHp0yYbdbEt2N8ASS75qTX+C/lRyh1gohWBgR7sp7xr1pOw+dxZsvFFOs2/ 9A== Received: from nasanppmta01.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3mwj4hggkp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 05 Jan 2023 04:11:09 +0000 Received: from nasanex01a.na.qualcomm.com (corens_vlan604_snip.qualcomm.com [10.53.140.1]) by NASANPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3054B8hX007005 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 5 Jan 2023 04:11:08 GMT Received: from [10.226.59.182] (10.80.80.8) by nasanex01a.na.qualcomm.com (10.52.223.231) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Wed, 4 Jan 2023 20:11:08 -0800 Message-ID: Date: Wed, 4 Jan 2023 21:11:07 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.6.0 Subject: Re: [PATCH 2/6] bus: mhi: ep: Check if the channel is supported by the controller Content-Language: en-US To: Manivannan Sadhasivam , CC: , References: <20221228161704.255268-1-manivannan.sadhasivam@linaro.org> <20221228161704.255268-3-manivannan.sadhasivam@linaro.org> From: Jeffrey Hugo In-Reply-To: <20221228161704.255268-3-manivannan.sadhasivam@linaro.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nasanex01a.na.qualcomm.com (10.52.223.231) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: vpPrEFap7LVfG0YYmFRRinPiJOfOh3Xw X-Proofpoint-ORIG-GUID: vpPrEFap7LVfG0YYmFRRinPiJOfOh3Xw X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.923,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2023-01-04_07,2023-01-04_02,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 lowpriorityscore=0 malwarescore=0 spamscore=0 bulkscore=0 impostorscore=0 suspectscore=0 mlxlogscore=886 clxscore=1015 adultscore=0 phishscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2301050033 X-Spam-Status: No, score=-3.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS 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 On 12/28/2022 9:17 AM, Manivannan Sadhasivam wrote: > Before processing the command ring for the channel, check if the channel is > supported by the controller or not. > > Signed-off-by: Manivannan Sadhasivam Reviewed-by: Jeffrey Hugo