Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1940602rwb; Mon, 7 Nov 2022 07:26:54 -0800 (PST) X-Google-Smtp-Source: AMsMyM6V/C5yTVfk5/GLMEWMQOGDvYkbofwzLsAFeyOybasoXS/qxhuEWAulHz+BpYYsz9QGDdsa X-Received: by 2002:a17:902:a3cc:b0:186:8a1e:4e9f with SMTP id q12-20020a170902a3cc00b001868a1e4e9fmr50613673plb.80.1667834814609; Mon, 07 Nov 2022 07:26:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667834814; cv=none; d=google.com; s=arc-20160816; b=m+O3xKYkoEnqQUNMjVS0hMpH/W5EA3TwXWdNa59zqh+CiveYgNq/ISuOInOgnLXFvU DFzCMDzlpYvHkWoSAIC+Dh5cQWOwW4D7tVTSvZS/yUj7dasciNAGJDFwcrnbRMRs3dQb thHr3kbwLRksAbH34q/C18n6XM22Nf+DGMQ3rC7Vc624F0CxSPR6KTcDEHVAwGjyYft8 MCtHCvZK3N2oDRZ3XGS9wNWl6s6BoecpCdgmzc6Bf6HFQgy43/Dp4IaAS5UGjfS19EP0 /qSuj3eiWM2/HbU67jgWOpSzcPq8Y0dCAycZ75mZMGqgUS9mkDSJRP6jFZoUCpkqj723 clfA== 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=SaOkCxj53AKWkom4tmtWwm8oa4P8xO0egGlUV/WvPqs=; b=pKfzylFaX5F4Glx99W2ZOFUNwEj7qQ+ZoCJ8StPgdeqvfxvvIU86gdhw+ADgBAFTMY vhSbeXez5yE9NAKIaL2W2jMCNiYuE5qfzXGZmDDQ5wXc4y45kXyXlkVMooJNl9dxgX0U /K5DIedvxB2F1oCPiGuyiCU50YSwfd244HQA4q5np4t7xSwbF26afWSNswsQPCUWnRRh x4p46G6109SBwjVsy3ZrPpEgETts13dWpDlffPNWNYVdSykmM+FCdN0JU/vGZt37cVzi EE7PZu7T96AeTeYqchnyMgJEYVoTw5DKAZmdn329nt0SNxETkCyWOwUS5g/7rZLx/lkh Gh2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=FQ8Jo4Ng; 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 72-20020a63044b000000b0046ebaf1821bsi10212485pge.113.2022.11.07.07.26.40; Mon, 07 Nov 2022 07:26:54 -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=FQ8Jo4Ng; 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 S232629AbiKGPCx (ORCPT + 93 others); Mon, 7 Nov 2022 10:02:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44810 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232708AbiKGPBo (ORCPT ); Mon, 7 Nov 2022 10:01:44 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2FADF1F601; Mon, 7 Nov 2022 07:00:16 -0800 (PST) Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 2A7DZEF0019451; Mon, 7 Nov 2022 15:00:04 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=SaOkCxj53AKWkom4tmtWwm8oa4P8xO0egGlUV/WvPqs=; b=FQ8Jo4NgbJs7gdF1fV256+FPUHXxF11wznWWC2+G42hrrPRbQU7h38h92Y6yMbYK8Vy8 Zx/qo1zGNVT9KAxBc5oBnw1pxIsN0EjDaX8LWa/NxFdXwvLI93NP41NfQi6ydhS8cyCl sI4n6h3ped7uwczSs86913bFDz9u+greESLSvdLfnHtnxbt3QnGPHzqWmGsmJ5q5zhfS D4u9EqDTcEOb4DtND4l/KbZRPhz34TWos+5rEJBi8A11XRrr+6/+Y0nvc3ytN5UObllN HIQcLs6mD0EYI4x4SkzwLl43xLJs29p60ueVoMy3rNzS5CQ96fD9IBi0XM0YkN4a9FkQ hg== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3kpp9ghm9a-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 07 Nov 2022 15:00:04 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 2A7F03Gh013364 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 7 Nov 2022 15:00:03 GMT Received: from [10.226.59.182] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.29; Mon, 7 Nov 2022 07:00:03 -0800 Message-ID: <25b67462-d6a6-c564-6830-694b726bd1d9@quicinc.com> Date: Mon, 7 Nov 2022 08:00:02 -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] bus: mhi: host: Disable preemption while processing data events Content-Language: en-US To: Qiang Yu , , CC: , , , , References: <1667462111-55496-1-git-send-email-quic_qianyu@quicinc.com> From: Jeffrey Hugo In-Reply-To: <1667462111-55496-1-git-send-email-quic_qianyu@quicinc.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: dfUMr8jOCjAcGgQ3IL24sqvacQD4RGoZ X-Proofpoint-GUID: dfUMr8jOCjAcGgQ3IL24sqvacQD4RGoZ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-11-07_08,2022-11-07_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 priorityscore=1501 lowpriorityscore=0 clxscore=1015 impostorscore=0 phishscore=0 bulkscore=0 malwarescore=0 spamscore=0 mlxlogscore=929 mlxscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2210170000 definitions=main-2211070120 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, 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 11/3/2022 1:55 AM, Qiang Yu wrote: > If data processing of an event is scheduled out because core > is busy handling multiple irqs, this can starves the processing > of MHI M0 state change event on another core. Fix this issue by > disabling irq on the core processing data events. Can you elaborate on the scenario more? If a device hasn't entered M0, then what event could be processed?