Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp127107pxb; Mon, 18 Oct 2021 22:32:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwTUhxFrvDXZH2kT+pxmrNe3WGKUBMEcWdCLjc3I5GsGkGkKNDgvutp5ePqVxfaLGRwXpjV X-Received: by 2002:a17:906:c005:: with SMTP id e5mr34564719ejz.480.1634621540795; Mon, 18 Oct 2021 22:32:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634621540; cv=none; d=google.com; s=arc-20160816; b=fvTsb+NYQPXpxn1Sn9lXadLI+6rS15qGEhceRRWsdyu2ihRUJxxc5AGze6D8JLWTc3 OlwN/KliVEMSHc1mHmsIwXmMWZD/Kd6eh0bJlX0gH4DPcrS4vROyPO9wU1TAdEuhaKRh Sa3gSLiS1QNgyJv6qbl7f4+Uf/K1zReoXlF8GTbKtLkx4s97qHk7gYG2xQRySNhbA56K UtAyxEU4Ac8vJIuxFV5EtRIUg0m1hjb2/0vgMAFMLjYiPhd4/bT7yNKCJIXTRtNiaaCi hwH4QvLJYIL0vsDhUTjCpknBLX38TqVMz25iy567V/akbcSAtq39EQWshnb7RZQKvkt7 hS6Q== 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=3KXJipwBT5wM0QpPKt1Aur/nMl/J6f6HBWrRGQ/gVn4=; b=GCdBNvFr7n+FhjC5K4TaA+twqyrF69Fp14jFlulsLXUbSlcymK6dlrL+Z4fEvEXyNS 4F2hFhmuWYGDd3OtbTecDNGShqGKuFTmTwlMZAAEndx7yqedyWP2KfPASsxUQC/z+Zb2 eAYgjgKedRFJOPv+F1CN+MQjWM60o8YzYQW96T4w6dYW25TbksAv1/2EjL4aBzy4X2lu ZtZJ3RSqPAD2mFiEK3tVpN5CcQUCG49VDIYD7T1rnukkeNx49Ch82+G0uy5MO6gtAmcs chZig/PeQebpgaECqCDSl3Cmf/oblokM3iY3xAhpQUFcsvR1uRVBGzRLGwRmDjzkpOLY scTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=nXzb0GR5; 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=pass (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 jt14si24494695ejc.187.2021.10.18.22.31.48; Mon, 18 Oct 2021 22:32:20 -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=pass header.i=@quicinc.com header.s=qcdkim header.b=nXzb0GR5; 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=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229742AbhJSFcJ (ORCPT + 99 others); Tue, 19 Oct 2021 01:32:09 -0400 Received: from alexa-out.qualcomm.com ([129.46.98.28]:40351 "EHLO alexa-out.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229521AbhJSFcI (ORCPT ); Tue, 19 Oct 2021 01:32:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1634621397; x=1666157397; h=from:to:cc:subject:date:message-id:mime-version; bh=3KXJipwBT5wM0QpPKt1Aur/nMl/J6f6HBWrRGQ/gVn4=; b=nXzb0GR5EEILJS29dbl34DeDnCbOpllaGZQ7YzAyDRAhfSMOz9Kp+q52 RZA8TnJssq8goUaRp8zCi0JPq0K16S7PkDe7K5ylY/gBzN+tQxJGi934y BbbdmlMCacD0NVh4VdbzqvlPJy6zp7n1Gp1RnF0yNLueRaeSpWtb9wHl5 U=; Received: from ironmsg08-lv.qualcomm.com ([10.47.202.152]) by alexa-out.qualcomm.com with ESMTP; 18 Oct 2021 22:29:57 -0700 X-QCInternal: smtphost Received: from nalasex01c.na.qualcomm.com ([10.47.97.35]) by ironmsg08-lv.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Oct 2021 22:29:56 -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_GCM_SHA384) id 15.2.922.7; Mon, 18 Oct 2021 22:29:53 -0700 From: Fenglin Wu To: , , CC: , , , , , "Fenglin Wu" Subject: [PATCH v2 00/10] A bunch of fix and optimization patches in spmi-pmic-arb.c Date: Tue, 19 Oct 2021 13:29:11 +0800 Message-ID: <1634621361-17155-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 nalasex01c.na.qualcomm.com (10.47.97.35) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Fenglin Wu This change series includes some fixes and optimizations in spmi-pmic-arb.c. Following changes are made in v2 patches comparing to v1: 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: handle spurious interrupt 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 bindings: spmi: spmi-pmic-arb: mark interrupt properties as optional 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: clear unexpected interrupt trigger type .../bindings/spmi/qcom,spmi-pmic-arb.txt | 2 + drivers/spmi/spmi-pmic-arb.c | 148 +++++++++++++++------ 2 files changed, 107 insertions(+), 43 deletions(-) -- 2.7.4