Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1157924pxb; Thu, 19 Aug 2021 22:22:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy+BO64s4iTq1YwqMecX0dlDDk2LDMbSojwr2yO3WnkuQd2BxEF05MTM3heqRkb6AFH68Tm X-Received: by 2002:a17:906:7e0b:: with SMTP id e11mr19829829ejr.342.1629436975439; Thu, 19 Aug 2021 22:22:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629436975; cv=none; d=google.com; s=arc-20160816; b=i41xNxx3fhL5jh41s8I9KcuM78GUR4mJvhQj3jB9q3oJblWpx6ffFbjjH5ft08e8gN pQwO3znYSm+bzXWmiJ3VgTbC/du/dd21RKSd983Of5f9d4aJ81p0lS2rs7dDYG/QgR2j tp6X3+q0uX3+6dR/PZs0C0GLs/Udux9Zo9sI6nbDGOTwwKbLk1AtuGjxFgXMdXz0dhxQ xUyz3Zg7S3DKHJKRQjahFUw0+nmATkiUzbcxxWFahM0ez+iEdiL9X7iqe/UO2Tns0lUt m9wa9/T01+X6ZeOpMc9t7VgWI30PdiE4mhH86jrnkP9sA+JJRq4mF0U+ayGk4r0nLQum Pziw== 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=GwpflOW5HiT5uM82YLyb1Fd8r0cXoCDNtF/RZ31ML95xQX51xQBpRHFwTm7hXm1LgG uP3KC2+Pc6AQtEByOMSfJGMsjEoA2qzPF7MFEz/5NQ58O/hT39X4gsuymIRXSpKvBkN3 KXLFNu+BrqMRQE2vAHw3rej2SvRqhEcaFczrSxoFsjxbOse7PDlxMN/pC7grnvQP864O ic+q8etouKW7AsIIQZDcMnDOXmQW0AkB2+fNlpJG1RSU4jysbQKd5wvWAnj8TIxlvB1b 3397Wv9A+Vc7wdvHphUK2/kenoHcPxPxxTHv3eL7C3p0LZ3oiDX6va96Z6AVp9iGpNe4 uD1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@quicinc.com header.s=qcdkim header.b=AFY8KdQT; 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 nc1si5924646ejc.377.2021.08.19.22.22.31; Thu, 19 Aug 2021 22:22:55 -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=AFY8KdQT; 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 S232499AbhHTE7N (ORCPT + 99 others); Fri, 20 Aug 2021 00:59:13 -0400 Received: from alexa-out-sd-02.qualcomm.com ([199.106.114.39]:51902 "EHLO alexa-out-sd-02.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229457AbhHTE7M (ORCPT ); Fri, 20 Aug 2021 00:59:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1629435515; x=1660971515; h=from:to:cc:subject:date:message-id:mime-version; bh=tKayTa4Fur8gXkrlZH2QDOGstOTksSbXKUYa8mjJuFg=; b=AFY8KdQTOZyQ3L6IZTlwSUjY3TRz0fKyYePKh72knGjtfG2pdf4Rrq8n xjS5Sq+MfxQC8Y7QBuE4Ql2R/in9veK24foe0w1BgYRBd0GopPC0QkMsI 7J+VmFYfP587OulbvEA/m24c8b2VN3QkAZLeiOIlA3mdkEpa96tOgA3LZ I=; Received: from unknown (HELO ironmsg03-sd.qualcomm.com) ([10.53.140.143]) by alexa-out-sd-02.qualcomm.com with ESMTP; 19 Aug 2021 21:58:35 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg03-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Aug 2021 21:58:35 -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.858.15; Thu, 19 Aug 2021 21:58:34 -0700 Received: from fenglinw-gv.qualcomm.com (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_CBC_SHA384) id 15.2.858.15; Thu, 19 Aug 2021 21:58:32 -0700 From: Fenglin Wu To: , , CC: , , Subject: [PATCH V1 0/9] A bunch of fix and optimization patches in spmi-pmic-arb.c Date: Fri, 20 Aug 2021 12:57:55 +0800 Message-ID: <1629435488-10228-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: nasanexm03h.na.qualcomm.com (10.85.0.50) To nalasex01c.na.qualcomm.com (10.47.97.35) 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.