Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp5709107pxv; Wed, 28 Jul 2021 18:14:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzv1/z+UG1NAGwoePyZR4W9Wn0T6w1b9Ml3e5jaatasaUiJz3TA5tepfkUIn93a9jniB8rX X-Received: by 2002:a05:6638:3708:: with SMTP id k8mr2213751jav.58.1627521279210; Wed, 28 Jul 2021 18:14:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627521279; cv=none; d=google.com; s=arc-20160816; b=DhaZmVWAeswybIttSprWaWKS4rNPU2B/tmbUuOjVihfrM0dDmjKuqeDuNo4+9knQmv AsV+IdsA1KhJta/a/lhexZZOEeuGoA8babGx/nTGJl0hdaSTZN7Z2UE0/uW5AXCD4n9r Lymcw36tbPphKfGZM+UgtZgrXhvSpc4Y7qHAW127szCxzKO2a0p4c7jzYuClhTV5IhyS J5oNUvvOR8mQZom/R4Oh0Vpj79JsnydbQ+0ER1pXHsFQKHaloMaAJAqDFD3JyG46VhHU JlwwHCMjPnNxZzYVeWBdgriwRLCxeIotw6jmjXOnc+SR6hNB4MAhOyfjBpjEmT/DXoLq MXIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=ThRYKgar7bxs64VVwAHJNJa6DV7JsbeBBfhRhyEBgJU=; b=oQZntf1V69iyDV5xe3WAzjOJ2MHGuI2JbluuxP5vHaBq7L+3ucHZG0HnY67XcQpq4f POdkyorxseIEgj0fleoyv/EY8d2S/j5BgLXDAgarAjF4I8ZnqME19LItDBwau0hxQZrn ByyJN1uEqG/ft5Va9VuwqI+rCk2Uvn7N9CQjIwzL7qEb3a/U7DhAynCPvt5bgRWvKUkn 4edLi/n8r0w++B8F6HQrHPphlYpl0uiRype4QJRsgTuZmY1jeE5eRs9v4J/im36Y1Whk y2u7C2a+UiQ5uO1XnHIHZ2hCpxLDDpXIpdH7V4aiiHTNHZO8WWTXbG5E/6hymKhyF+Zr /ilQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@quicinc.com header.s=qcdkim header.b=wtTSliOV; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s14si1813168jar.33.2021.07.28.18.14.28; Wed, 28 Jul 2021 18:14:39 -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=@quicinc.com header.s=qcdkim header.b=wtTSliOV; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233179AbhG2BNp (ORCPT + 99 others); Wed, 28 Jul 2021 21:13:45 -0400 Received: from alexa-out-sd-02.qualcomm.com ([199.106.114.39]:56844 "EHLO alexa-out-sd-02.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233067AbhG2BNo (ORCPT ); Wed, 28 Jul 2021 21:13:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1627521222; x=1659057222; h=from:to:cc:subject:date:message-id:mime-version; bh=tKayTa4Fur8gXkrlZH2QDOGstOTksSbXKUYa8mjJuFg=; b=wtTSliOVQwVMGc7Wd3oeQkyoaTsEu9QFioBMBSA+CDZPdOgaef6wOWC/ wSLe4Fbz8cZ54UJ9Koc0YgFVtqBy3yl+p8CEjPfYXgFL9DE0kPn303RXL 0lUp3EZNwatlKzhToitH3IHXboG/xyWSZcphM/YTsA8UDGb4dMTwRkiSr 4=; Received: from unknown (HELO ironmsg-SD-alpha.qualcomm.com) ([10.53.140.30]) by alexa-out-sd-02.qualcomm.com with ESMTP; 28 Jul 2021 18:13:42 -0700 X-QCInternal: smtphost Received: from nasanexm03e.na.qualcomm.com ([10.85.0.48]) by ironmsg-SD-alpha.qualcomm.com with ESMTP/TLS/AES256-SHA; 28 Jul 2021 18:13:42 -0700 Received: from fenglinw-gv.qualcomm.com (10.80.80.8) by nasanexm03e.na.qualcomm.com (10.85.0.48) with Microsoft SMTP Server (TLS) id 15.0.1497.23; Wed, 28 Jul 2021 18:13:40 -0700 From: Fenglin Wu To: , , CC: , , Subject: [PATCH V1 0/9] A bunch of fix and optimization patches in spmi-pmic-arb.c Date: Thu, 29 Jul 2021 09:12:38 +0800 Message-ID: <1627521167-18848-1-git-send-email-quic_fenglinw@quicinc.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nasanexm03e.na.qualcomm.com (10.85.0.48) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This change series includes some fixes and optimizations in spmi-pmic-arb.c. Please see change detail and description in each of the patch. Thanks! 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 (5): 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 spmi: pmic-arb: make interrupt support optional spmi: pmic-arb: increase SPMI transaction timeout delay Subbaraman Narayanamurthy (1): spmi: pmic-arb: do not ack and clear peripheral interrupts in cleanup_irq Yimin Peng (1): spmi: pmic-arb: support updating interrupt type flags drivers/spmi/spmi-pmic-arb.c | 127 +++++++++++++++++++++++++++++++------------ 1 file changed, 91 insertions(+), 36 deletions(-) -- Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.