Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp983842pxp; Wed, 16 Mar 2022 23:28:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxE3HITeZPPR0pmv2T3HgqdZ61YuKWi9CMeoJGDxWh9ueQyL+sKAm+rbJVrQP7GnQPLVLEC X-Received: by 2002:a17:902:728d:b0:151:dcc8:9f86 with SMTP id d13-20020a170902728d00b00151dcc89f86mr2938546pll.76.1647498491416; Wed, 16 Mar 2022 23:28:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647498491; cv=none; d=google.com; s=arc-20160816; b=CCRd6n2OaSSxdD+WZPciLV8oRg2qdi6FvBRn47Amm0lfg1tQqSQYBS+wWlpwfzeQ+x 5Wvv/FcIdda1kKqazCU3M4lfsG3oB65LChfm5yB9yGvKu3EP05nB6QPV+vQSCJU9QzYg wpNjAx9YolDGJYJ0hhAyS/sfr7X9NE3Bt3WwBSn382lujCWjIbVfP+f/VZJbdI0BDhlG DQzAuR2SC0xG/hAfKOVtKz9px71JTDDGpGC8akCBtgg7OmxJnHVHBFiTAvPA1JVxE/QY I7njQOwgSEuON7A2l6Z9uvT/G1AG1GUsyqFawYR5GNK/ile+A+2uYy4KPfjXSUk68poD 6yeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=ivPqLyiNJbnmJk4hxBVjVwg3q4Q1FQmH/sEVySOJZBA=; b=FwwM13FC2MPGw/bL1H6bILA1kg4FhEk6vUlrH4n/9MNdEzZCamKMJYYyzaLhO+0RqK AeeynArP986Irdk4jr7Ruc/koTl/GKiuP5V71gDkOstslKqPlbDXlZaOHQ+PTXp6Aug5 NrOD4RjuKMYL1G3ZrgUoNZ+owawnyrfiJoODMqYiIZpWOztzAGSK5YFXvzZDLa9GtA55 LU+YYvHxU+mzLQnzUI4CbLH2eLfok13zBNQhMfaVhL7035MRrOVyb0245uwLIcEbUHMA JGUtQEnLRhP5GWbBwowuGNgHugHLEGol/Xrb7hvJkcyS6yMhxox/ICqk5TrhIDTBl4u9 dDsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=l3sm7SDM; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id x21-20020a63b215000000b00381edded7d3si1243614pge.588.2022.03.16.23.28.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Mar 2022 23:28:11 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=l3sm7SDM; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9D63528EA39; Wed, 16 Mar 2022 22:13:40 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352764AbiCPU0D (ORCPT + 99 others); Wed, 16 Mar 2022 16:26:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58338 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346326AbiCPU0C (ORCPT ); Wed, 16 Mar 2022 16:26:02 -0400 Received: from mail-qk1-x736.google.com (mail-qk1-x736.google.com [IPv6:2607:f8b0:4864:20::736]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F9CC2C100 for ; Wed, 16 Mar 2022 13:24:47 -0700 (PDT) Received: by mail-qk1-x736.google.com with SMTP id b189so2824920qkf.11 for ; Wed, 16 Mar 2022 13:24:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ivPqLyiNJbnmJk4hxBVjVwg3q4Q1FQmH/sEVySOJZBA=; b=l3sm7SDMmEOTusOKnBZMsCiPIMD62w6xc8H5g36QNSKU64kg3uK6rKuNYHwnyHvee3 vjADlXIj187GklEXa/0ioE+lTl0Wnku6ATX9T/1iyRujJ65k3/hyaowS9+W/ZPPSDs5i sEWCYPD0dA7PDny7HOwkV65vKCMFcuaWmNSEs/jB9oyo0dFx1ErFNeeRd755/mHP6Uw5 9mBf+D2qonlRg2tuGv5nlhLXrOLmwgDSC9BaehHl4AuojRjaggs8qMdAVAz1mDd114nT NQ9Z3zou3lO5w6oN/4rQ0/A51xGDEjKJTKV2JJArXf30iD1sglK3paYigUNXj5go6mxW 4WXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ivPqLyiNJbnmJk4hxBVjVwg3q4Q1FQmH/sEVySOJZBA=; b=iIRg2DKmNYjN1CT3olU6QD3ePPgX1SC34yQIOWyX4SwGiKYcotw16z255o7penUu1M 2Xmp5uzWTc6i9GUKShEKCUKCl14IzSZUJR5wKd6/ANzMQHII2y/BaqF5Tw1kok+3ey9Y HujkaQ+Jd56cVWVT8aDT1Bfw5VHRIZ1ZYmg+VdHPKqedGs6VJIRZ8B5429k4sNU8XRwy kAIp978iOyOZP7piXkyBEuNZjSCW4fnc9nhv24Rr0ZKMErTdQLEfdssLzkelj4dj0UJ/ 4zxqTec7aAyt+w4hmqT/vx/+zadlm7N1O8L6Ti42vMD1nc3E5P6RX2HHBUMVOlBW1V2D A46g== X-Gm-Message-State: AOAM531A+DLUljo87PVefLCba3q5UV81DaE1fKvwHZTp5aDvEEO/Ajy2 XHoidBZBk8tEZzDyFSLerCf0v0i7IxXebxDkQv+gSA== X-Received: by 2002:a05:620a:28c7:b0:67d:6d4e:16ee with SMTP id l7-20020a05620a28c700b0067d6d4e16eemr965648qkp.59.1647462286423; Wed, 16 Mar 2022 13:24:46 -0700 (PDT) MIME-Version: 1.0 References: <20220316180322.88132-1-bjorn.andersson@linaro.org> In-Reply-To: <20220316180322.88132-1-bjorn.andersson@linaro.org> From: Dmitry Baryshkov Date: Wed, 16 Mar 2022 23:24:35 +0300 Message-ID: Subject: Re: [PATCH] thermal/drivers/qcom/lmh: Fix irq handler return value To: Bjorn Andersson Cc: Amit Kucheria , Thara Gopinath , "Rafael J. Wysocki" , Daniel Lezcano , Zhang Rui , linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 On Wed, 16 Mar 2022 at 21:01, Bjorn Andersson wrote: > > After enough invocations the LMh irq is eventually reported as bad, because the > handler doesn't return IRQ_HANDLED, fix this. > > Fixes: 53bca371cdf7 ("thermal/drivers/qcom: Add support for LMh driver") > Reported-by: Daniel Lezcano > Signed-off-by: Bjorn Andersson Reviewed-by: Dmitry Baryshkov > --- > drivers/thermal/qcom/lmh.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/thermal/qcom/lmh.c b/drivers/thermal/qcom/lmh.c > index c7f91cbdccc7..af9f0872614f 100644 > --- a/drivers/thermal/qcom/lmh.c > +++ b/drivers/thermal/qcom/lmh.c > @@ -45,7 +45,7 @@ static irqreturn_t lmh_handle_irq(int hw_irq, void *data) > if (irq) > generic_handle_irq(irq); > > - return 0; > + return IRQ_HANDLED; > } > > static void lmh_enable_interrupt(struct irq_data *d) > -- > 2.33.1 > -- With best wishes Dmitry