Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp774588rwe; Wed, 31 Aug 2022 10:43:48 -0700 (PDT) X-Google-Smtp-Source: AA6agR5TtprBCw8pYJ6uLynRwbPh62y97z7rg88R9sat9OFNXWWoXIbOBn5jxBR729XWeaZQfi/E X-Received: by 2002:a17:90a:d991:b0:1fd:ecc8:9991 with SMTP id d17-20020a17090ad99100b001fdecc89991mr4314763pjv.233.1661967828705; Wed, 31 Aug 2022 10:43:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661967828; cv=none; d=google.com; s=arc-20160816; b=fbUaY2vPCSgLQAZ/QsuornzQ7zBLNs1R/6PhDNBCmXTqhGFUvCtIfH8azPzuwfGQm2 BX+OPtBmt2SD5uFKYTRtv5gPEY4AjtLa38HqRLwQbz0mKrlarqdRM2NxRAT329bUnG/6 kYsoHOaRM9CTxHdwdNU0t6Qsty9w/gAQwRqN+JMqqXwsIeX+mGq7NWHnk518Fhlo041f 7B1i3dYHn9+Zx/iKOFwcjD3sze/Rp0aLHNn2Gpvu416r9nCQoiZ6JhiTWQCYO61aYc9S KZYCP0alfw/4LuVnumk8F5vpX6bUVnrLk9JvRhj4rJ55QvAdY/8g6bovMR8Tw81b6nxd 4D2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:user-agent:date:to:cc:from:subject :references:in-reply-to:content-transfer-encoding:mime-version :dkim-signature; bh=dTs5bMak26qMelsBKoMp9vwQizKxUYHbWJGtjAF9xVA=; b=t3wTzjLjYtm7YQ0s38gimjIpTrIOv5+3YyeNqdLCxT0V+8zLtCi8gGvHCqjVFiM3UZ NDp4FdjXXvCds7B0CwmoreKptCERJIuOVGSkIbfd1TBrfeVl+XLKpmUQtX6S2LmGKhDW yISHrnBDZm8+OYTrmYA/N3R68SiJg0x+bG7SWPYnpUCqWm4o3G/emuwaCawJ2Y0138CE L4ZWAAu8IgdNX5q3Q3CV3vXQ3iee62s30P22jJ+zP+Hfe4eMGkwergsqiQS83qQOsKUt cAS+8HAeRhISvvXHCYXqUub+vEa2sf4lwOPM46R+SudrNJnKfX3Aw9QIprXidh2SkOWq RQ2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dQt4oQ8E; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c2-20020aa781c2000000b0052b75c32fd2si13942443pfn.48.2022.08.31.10.43.37; Wed, 31 Aug 2022 10:43:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dQt4oQ8E; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231913AbiHaRlm (ORCPT + 99 others); Wed, 31 Aug 2022 13:41:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47716 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231552AbiHaRk6 (ORCPT ); Wed, 31 Aug 2022 13:40:58 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D3F67D7BE; Wed, 31 Aug 2022 10:40:24 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 48240B82208; Wed, 31 Aug 2022 17:40:23 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CF78CC433D7; Wed, 31 Aug 2022 17:40:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1661967621; bh=dTs5bMak26qMelsBKoMp9vwQizKxUYHbWJGtjAF9xVA=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=dQt4oQ8EuLwEz3CBd6VPUbqI00bS0VJLMffSMt0lYeXsHYUF4WJ1rvAjkAHmy41e/ o06siC/QpgKpP7cQvENb6c3EAf3DjFr8pYiY58f6VKteZSHH2+uVRprT6JDpCdMGYq qG+Cew0GhftxQxWnlWsE4yakxN9Wyzs7RjOoYI4q1OmW0Y2+pss6iDM6bU4TNV0/wX +GKqaGYmJHfGuy7lK/j46E2lYKlnZsxsXtubBgRh8VoINFQ0atVHSMNUJ+I4JU96D7 L1TWYAfb1L8iBXZjnuIT9bTeSg4Ldun4EcRDxrZdY6dRq7B0R8tmdF5m6ksFNb8IXq o6wuLo5xiHSpw== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <1655004286-11493-6-git-send-email-quic_fenglinw@quicinc.com> References: <1655004286-11493-1-git-send-email-quic_fenglinw@quicinc.com> <1655004286-11493-6-git-send-email-quic_fenglinw@quicinc.com> Subject: Re: [RESEND PATCH v6 05/10] spmi: pmic-arb: add support to dispatch interrupt based on IRQ status From: Stephen Boyd Cc: quic_collinsd@quicinc.com, quic_subbaram@quicinc.com, quic_fenglinw@quicinc.com, tglx@linutronix.de, maz@kernel.org, Ashay Jaiswal , David Collins To: Fenglin Wu , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Date: Wed, 31 Aug 2022 10:40:19 -0700 User-Agent: alot/0.10 Message-Id: <20220831174021.CF78CC433D7@smtp.kernel.org> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Quoting Fenglin Wu (2022-06-11 20:24:41) > From: Ashay Jaiswal >=20 > Current implementation of SPMI arbiter dispatches interrupt based on the > Arbiter's accumulator status, in some cases the accumulator status may > remain zero and the interrupt remains un-handled. Add logic to dispatch > interrupts based Arbiter's IRQ status if the accumulator status is zero. >=20 > Signed-off-by: Ashay Jaiswal > Signed-off-by: David Collins > Signed-off-by: Fenglin Wu > --- Applied to spmi-next