Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1900334ybz; Thu, 30 Apr 2020 07:27:02 -0700 (PDT) X-Google-Smtp-Source: APiQypJdwRilUKsBdpFQ1b8pEPL+CQmtEJFTV6hJF+UXo8taOl4IuzU1kQ+/ipPCXkkTJNJ5M0xC X-Received: by 2002:a50:e002:: with SMTP id e2mr3013637edl.179.1588256822481; Thu, 30 Apr 2020 07:27:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588256822; cv=none; d=google.com; s=arc-20160816; b=ho3yBo3IZaI5t/AS/NrPK/RakwstTFH9ghSClHCIupreJhQJ0Yfb9gYETP3P4WWpZ8 Y9dbzmeT9gwNq85igec8SeRvGpz/OF8hMx9taNSSxFGSNhfNlCYDIpmWUianwYbEYc6c cQsKYlFKiDjI17UWluPVCZV7MIiUpA3GpuPiqYYHcnRb8LG8QMOjyHYlOc+zmsAcAcuJ xx/psXcVcEXaFmbmCfcc6NJB8wX7dRitM8Zt1LrYcldc62WQOhTCK7OvSNP4B+bSrf0G eAFdwCrerjWJk9TB4ZEEUq4g47jAwHVlSncKELBSo3xDRvnGG/5kljvP29UAZsT7jSbw jkaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dmarc-filter :dkim-signature; bh=LZuaOG4S+qR9ammm/O51mTS7Ln6Qd+RiwI7E7O4Amdk=; b=gzya4dDuzOVyFDjvZc0er5oUVuK9WqPsnwbHOM56N5bBgrx+y8jhULfeibygnjcJk8 G8kr7vvprHzojpSA9NiSfryh7aCLEZEJbTHSr6Kvte2L5W/JxP8BOmAmtbklME/vTEGR ynXxSqQAhOAqzXDxvTD5iTKL5x9817N4WlU5YNIYyVhAhQeNh/cWpMe1WWBNEOApfV7+ 65Rmc3PQwrrFOHyEkR5S3CGBie1WN6A2LAs/2FlhfV7O0HkadEdOR1ztr013SKXCmbaD lpiVxTlE5WtEjUp1xWLyDR6C5Tt59edSxxeUrHk6UzyK18xepjmj1nBU+Mddwl2g85T6 XZ6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=dFbVayoo; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i20si5825964edx.314.2020.04.30.07.26.34; Thu, 30 Apr 2020 07:27:02 -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=fail header.i=@mg.codeaurora.org header.s=smtp header.b=dFbVayoo; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728035AbgD3OYB (ORCPT + 99 others); Thu, 30 Apr 2020 10:24:01 -0400 Received: from mail27.static.mailgun.info ([104.130.122.27]:29309 "EHLO mail27.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726520AbgD3OYA (ORCPT ); Thu, 30 Apr 2020 10:24:00 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1588256639; h=Content-Transfer-Encoding: Content-Type: In-Reply-To: MIME-Version: Date: Message-ID: From: References: Cc: To: Subject: Sender; bh=LZuaOG4S+qR9ammm/O51mTS7Ln6Qd+RiwI7E7O4Amdk=; b=dFbVayoofuvEmr++KvkzxOhR92hffj/74T0B/CChGU6opv5hcWRI+5izvd7xaAexdrKNtP8l Mnsz0E6OHL9/25wOVoSJ7p3Avl8wS/5VSj50/caNaVxHFqJC9NL5sWFIkOthtfJvGLfMBoG5 ZKThNIdGDKw2GQwUAeVxTdcITeM= X-Mailgun-Sending-Ip: 104.130.122.27 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by mxa.mailgun.org with ESMTP id 5eaadf6f.7f1fff91b2d0-smtp-out-n05; Thu, 30 Apr 2020 14:23:43 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 0DFBCC433D2; Thu, 30 Apr 2020 14:23:43 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=2.0 tests=ALL_TRUSTED,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.0 Received: from [10.226.58.28] (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: jhugo) by smtp.codeaurora.org (Postfix) with ESMTPSA id E7D0EC433CB; Thu, 30 Apr 2020 14:23:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org E7D0EC433CB Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=none smtp.mailfrom=jhugo@codeaurora.org Subject: Re: [PATCH v3 2/9] bus: mhi: core: Cache intmod from mhi event to mhi channel To: Bhaumik Bhatt , mani@kernel.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, hemantk@codeaurora.org References: <1588193551-31439-1-git-send-email-bbhatt@codeaurora.org> <1588193551-31439-3-git-send-email-bbhatt@codeaurora.org> From: Jeffrey Hugo Message-ID: <45ebe201-5b2a-f32a-2768-8b710fda4ec2@codeaurora.org> Date: Thu, 30 Apr 2020 08:23:39 -0600 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <1588193551-31439-3-git-send-email-bbhatt@codeaurora.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/29/2020 2:52 PM, Bhaumik Bhatt wrote: > From: Hemant Kumar > > Driver is using zero initialized intmod value from mhi channel when > configuring TRE for bei field. This prevents interrupt moderation to > take effect in case it is supported by an event ring. Fix this by > copying intmod value from associated event ring to mhi channel upon > registering mhi controller. > > Signed-off-by: Hemant Kumar > Signed-off-by: Bhaumik Bhatt > --- Reviewed-by: Jeffrey Hugo -- Jeffrey Hugo Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.