Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp996138pxb; Wed, 1 Sep 2021 14:50:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy0iJk1Sdnk9QgdrDA8zzb+h7tWEOcNR0aWQqrJzAd9OEYw7FARn53eimKD3AS/VGNzBlfu X-Received: by 2002:a05:6402:3188:: with SMTP id di8mr45523edb.300.1630533004847; Wed, 01 Sep 2021 14:50:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630533004; cv=none; d=google.com; s=arc-20160816; b=cDTfrqX7DP1IolFFU1zP6ocE8ZzR9MAzV5sG1uPeWn6+CePgCVvbAaM3VvJYEprzp3 i7VeRteYa+UnIHaEnw5LnP+UeJw7MEfpqOjg+q67At9BbZ1xCz2YuhzSR9eGNJXWkI6d QbO/QHCFKtZKhC/cAUp7B098RV2G/TH4n5aam8IF5err4/OjWvEdXnH+gQIMwVHRY0yX AFBeDYNnqatG+Ehh2KCE3yHwPB2taJbzjDVZZbqrVxGAqtqFO73dUFi1OyjVFZFL8F9H P8HWa5Ks0lJPIUJD73peWspLRmYeBezPR+0PXnKxucrkRr3MUs6rDvSzwc2F8KXlVZ7j UTnA== 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=glpD3sx8pjfoyRbPZ0APio9+kQRzeqTDwCL3Xp4f+bg=; b=HAUpC7+5T/8DVGFsrrkSqzVTqwWvn+oK3DpBF0DrxfUFS1DKm2+4KCRsmSTSrqAceQ we4mM6C2H2Hy7phwnUiFlM0uvb43TcyjTEl/axxUmbfT8Iy2zmTA6XzDuK99qTQ5rRI4 OhpAyWEPu7ZI8nmbUhCQpqYdSDok/i8sd5eWHESBff1vBiLHzlEzmZriLKUpYFrafNUo xr8ObabD1tYQ+9Vfbr60q6Xc2rnpp6IibjREUcHi+yMChLfQNudfvWUNJewRFod61Byo JVjpEFqpxAluMOh2oZSeYQv7dMefduigls+0zB5jb5wli5Qw03JiBwB9yWH+HacooL4T 3R+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b="rvOVgm1/"; 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 e8si1002527ejm.45.2021.09.01.14.49.41; Wed, 01 Sep 2021 14:50:04 -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="rvOVgm1/"; 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 S243090AbhIAIUM (ORCPT + 99 others); Wed, 1 Sep 2021 04:20:12 -0400 Received: from alexa-out.qualcomm.com ([129.46.98.28]:21468 "EHLO alexa-out.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242974AbhIAIUI (ORCPT ); Wed, 1 Sep 2021 04:20:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1630484352; x=1662020352; h=from:to:cc:subject:date:message-id:mime-version; bh=glpD3sx8pjfoyRbPZ0APio9+kQRzeqTDwCL3Xp4f+bg=; b=rvOVgm1/z0Ww7okSANb1stubm6C2muLSQn+dREF1FUP50No9Ng3ApBEz zZbvxQjBojQOqIEGlkU76AD0E2ge5T3TLEG0jUQNLiJoX3aJk2wO35Q11 fzvvxQCMTKBVV887ikqQ5oUyp8yVAEYAT77Ln6euuNBmRp0ElG0jyCLTo M=; Received: from ironmsg07-lv.qualcomm.com ([10.47.202.151]) by alexa-out.qualcomm.com with ESMTP; 01 Sep 2021 01:19:10 -0700 X-QCInternal: smtphost Received: from nalasex01c.na.qualcomm.com ([10.47.97.35]) by ironmsg07-lv.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Sep 2021 01:19:10 -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; Wed, 1 Sep 2021 01:19:06 -0700 From: Fenglin Wu To: , , CC: , , Subject: [RESEND PATCH v1 0/9] A bunch of fix and optimization patches in spmi-pmic-arb.c Date: Wed, 1 Sep 2021 16:18:01 +0800 Message-ID: <1630484290-28190-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 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(-) -- 2.7.4