Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1020001iob; Fri, 13 May 2022 19:53:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzGHchPtDQiBz7k/tkLf+ytZWsSJCMJSgEeAmggjIqFYUKtzf4OGFNRw7LPlLJMaR98R/r0 X-Received: by 2002:a05:600c:3ba5:b0:394:6a82:8dbe with SMTP id n37-20020a05600c3ba500b003946a828dbemr6806782wms.185.1652496834101; Fri, 13 May 2022 19:53:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652496834; cv=none; d=google.com; s=arc-20160816; b=Sb0HsCFGM4qURkch/vAtGjmHCvLXF7YytkXU+IJoj8qoLrglIPz+zyDycIf0E1CD31 f/JHIJaMDsuBUuX5JC3LnStsS/BKZiy1QLMJEI/uQBrDHDyaAY/j9gbkVYhKJFGLeXT6 FQHIfrtHZm3c32iTuhe0hVm9OgWgrYz22LvKcgWJ/LU3dte9onF3Vjq4JNTautaHz2zB GE5OJz104lX0b705nxz5Djd016nUJHxeC9uMUCrMN0j9sf0t1dhj4ZNpEA82C2ouoMCw D/GdDOVaq0GbzG8ORqLGxlZAudzW15yJ0Pl2DHX1OcaL2bMEf/V5SmTs6B+KK/0jT8gl Q4Rg== 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=789s4SEmn2rzxLg1gts7X42hLYor7gS5TAJYpJWLFAI=; b=Slm6CoAmWeTbYI/+LmSX/WEqfFrG5S9NKNdbLi/TcaLEtBW24mXlK4iUl/HJMZxP2k BTQiVlaktrOGu8/P/08Jx1YMvAFqyHosCw7KB8EQ0Upsb4bFcf7Ga7fGMS4ies7F6aTq tabQ6h7ugG/Tw1E5lABAI6TB69An7cvA4aVaW11Hzc1uMG1gOTvsPztkZ33Fl8PmIGAt csGdT9PSSe6VtLCnRgPvEiHP3ieveU8zppvm3F2shRDNvMe5t0Z9sme+LhDsXKqKedEJ Me6IXNaRclEVI3eksLqn5gn/8l+lUT5H3TstenTPEWvbENyjmdsuaI9qL4QGgBZ6Ttt5 8drA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=BgXEDmcA; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id b15-20020a5d4d8f000000b0020c72019283si3357098wru.417.2022.05.13.19.53.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 May 2022 19:53:54 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=BgXEDmcA; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D84E53843A5; Fri, 13 May 2022 16:39:50 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348289AbiEMFQV (ORCPT + 99 others); Fri, 13 May 2022 01:16:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36602 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231175AbiEMFQH (ORCPT ); Fri, 13 May 2022 01:16:07 -0400 Received: from alexa-out.qualcomm.com (alexa-out.qualcomm.com [129.46.98.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 19A6F1B780; Thu, 12 May 2022 22:16:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1652418965; x=1683954965; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=789s4SEmn2rzxLg1gts7X42hLYor7gS5TAJYpJWLFAI=; b=BgXEDmcAqMyBApjqXdNPUunflMWlfN8UYZ1a7clOyLZ1M9FfbgtxlH1u vd0j48qLnapgUMyNYjJBmqHiZYnH4m0GKRSpjCnl++ayMCVn7XAiVotLe lm7wrL9kx7+o+LYoBfItwRKRfOGOX6M7gsNIsdyX5ReiWUatPsoYWKemm o=; Received: from ironmsg-lv-alpha.qualcomm.com ([10.47.202.13]) by alexa-out.qualcomm.com with ESMTP; 12 May 2022 22:16:04 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg-lv-alpha.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 May 2022 22:16:03 -0700 Received: from nalasex01c.na.qualcomm.com (10.47.97.35) by nasanex01c.na.qualcomm.com (10.47.97.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Thu, 12 May 2022 22:16:03 -0700 Received: from [10.253.77.2] (10.80.80.8) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Thu, 12 May 2022 22:16:00 -0700 Message-ID: <74e878ce-5429-e3e1-8510-71c13828df06@quicinc.com> Date: Fri, 13 May 2022 13:15:56 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.5.1 Subject: Re: [RESEND PATCH V6 00/10] A bunch of fix and optimization patches in spmi-pmic-arb.c Content-Language: en-US To: , , CC: , , , References: <1651108369-11059-1-git-send-email-quic_fenglinw@quicinc.com> From: Fenglin Wu In-Reply-To: <1651108369-11059-1-git-send-email-quic_fenglinw@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 nalasex01c.na.qualcomm.com (10.47.97.35) X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE 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 hi Steven, Can you help to review the series of the changes? Thanks Fenglin Wu On 2022/4/28 9:12, Fenglin Wu wrote: > Changes in v6: > Rebased [v5 08/10] on > https://lore.kernel.org/linux-arm-msm/20211227170151.73116-1-david@ixit.cz/#t > > Changes in v5: > Drop [v4 11/11] because of a similar change is under review: > https://lore.kernel.org/linux-arm-msm/YdRJcv2kpp1vgUTb@robh.at.kernel.org/T/#t > > Changes in v4: > In [v4 02/11], separated spurious interrupt handling. > In [v4 03/11], added Fixes tag for ("spmi: pmic-arb: do not ack and clear peripheral"). > In [v4 11/11], updated the binding to address few warnings in "make dtbs_check" > > Changes in v3: > Drop [v2 07/10] as this is no longer needed after this change: > 50fc4c8cd240 ("spmi: spmi-pmic-arb: fix irq_set_type race condition") > In [v3 07/10], updated the author email to match with Signed-off-by. > In [v3 10/10], added the binding change in this series, and addressed issues in "make dt_binding_check" > > Changes in v2: > In [v2 01/10], added code to handle spurious interrupt. > In [v2 03/10], adressed minor comments to update the code logic. > In [v2 04/10], minor update to detect spurious interrupt. > In [v2 05/10], added Fixes tag. > In [v2 07/10], added Fixes tag and updated commit text to explain the problem. > In [v2 08/10], added binding change to make interrupt properties as optional. > In [v2 09/10], updated to check presence of "interrupt-controller" property. > > > Abhijeet Dharmapurikar (1): > spmi: pmic-arb: add a print in cleanup_irq > > Ashay Jaiswal (1): > spmi: pmic-arb: add support to dispatch interrupt based on IRQ status > > David Collins (6): > spmi: pmic-arb: check apid against limits before calling irq handler > spmi: pmic-arb: correct duplicate APID to PPID mapping logic > spmi: pmic-arb: block access for invalid PMIC arbiter v5 SPMI writes > dt-bindings: spmi: spmi-pmic-arb: make interrupt properties as > optional > spmi: pmic-arb: make interrupt support optional > spmi: pmic-arb: increase SPMI transaction timeout delay > > Fenglin Wu (1): > spmi: pmic-arb: handle spurious interrupt > > Subbaraman Narayanamurthy (1): > spmi: pmic-arb: do not ack and clear peripheral interrupts in > cleanup_irq > > .../bindings/spmi/qcom,spmi-pmic-arb.yaml | 3 - > drivers/spmi/spmi-pmic-arb.c | 136 +++++++++++++++------ > 2 files changed, 96 insertions(+), 43 deletions(-) >