Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp2610031rwr; Fri, 28 Apr 2023 12:56:26 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6wZ1whqcyIQ7b6FDjnlgXvLxT0AdNiRSRp0wRa5ncyXdk+B9U+sbP0CQAdIeNStOpZV0k9 X-Received: by 2002:a17:903:40ce:b0:1a5:2757:d40a with SMTP id t14-20020a17090340ce00b001a52757d40amr6192564pld.49.1682711786414; Fri, 28 Apr 2023 12:56:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682711786; cv=none; d=google.com; s=arc-20160816; b=sialdxGt04FTMfmXepSq9wPWLHhfjQfo9UCZ6c+GKawr+QDYrwab7m7maL/pbviqww 7q5OBqppKfY6wnWz2XXjDiW3MEsonBGTBCErjRLkFSTSr+4S492PtGXKCI2mzfaPKDiQ Ryi60AFyg44FpLLKF0521hsMlm8ZH4ikGZgJlxTWiE16ZNAT14aCbdMpb7wzawpaF2pD dJG+IXc/ryPxvKQpQhkRsUXBSB93FZVWX2oZzga4/IyeyqTRrrdHA1VUCz9d63dCK0BP 6kbJSdvQhAEFa2qK6tseIAiSYWpfJvHt/fdU0Gh0LQol7+06yJHvuQFevqBx7dwfOacA UKTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=jL8ly+CfKo6LhwXU7c3qJpMEIgPsmgnoE5p5hHdViHE=; b=YcunB41SamRVsOzSOQLE2P8FlG2giiN944mb1Lsm6qGBI/V/AnYNlyVWC9KT0hE4jF NyUAPuBHU4a1jBPUJggRDpbRvHvcw3vE1ZtQnEgPkhUZTTIp12f+Ou0wuT5wh695uL4Z k/e562op2kXtVAEvCKZTewW43LFBwS0MdR+7P6x7Mqj47cFYxSrWriZhIJ57xAvFBV79 4/hGSapStuDRAelML3143+TAC+yrUogz79AdgBA3KSBDoJ3X13qR4D56JDAAx7ao2GTP u8cv1Jjn92iiZ8ghoU2nWyQ74/QbMnHioDW+0zOvIj/oUVUf/l/x/YJ0XAXbpKi46WBy nJ/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=glQT9Nc5; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u17-20020a170902e81100b001a69cb35b3asi23032651plg.601.2023.04.28.12.56.12; Fri, 28 Apr 2023 12:56:26 -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=@collabora.com header.s=mail header.b=glQT9Nc5; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346582AbjD1TyC (ORCPT + 99 others); Fri, 28 Apr 2023 15:54:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33306 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230247AbjD1TyB (ORCPT ); Fri, 28 Apr 2023 15:54:01 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0976C2700; Fri, 28 Apr 2023 12:53:59 -0700 (PDT) Received: from notapiano.myfiosgateway.com (unknown [194.36.25.39]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: nfraprado) by madras.collabora.co.uk (Postfix) with ESMTPSA id 106F766032CF; Fri, 28 Apr 2023 20:53:54 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1682711638; bh=JJHjN58c2mTlQgbqU0pQ4tNlxG5r2+HmlKXQ3BAuk+o=; h=From:To:Cc:Subject:Date:From; b=glQT9Nc5Fm1X0sY7HRriotmjWXWM8rHX7Ssnhp8NSKuX3Q2C9ke2dwBfsmOvjiOSb 4a2NH9EUemf4HwmsCO2aPJLDXXuAoP0ARcDqRbAnGIt0tvvusDgEA7NtPdDrlKFN7c eBXhnxz4PE7wszf4ySAXakrgFMQBmTqaLb9IyCTlM4Jp74zOsjKDfTaWZB4g17ducj zpnNgtGehzWhsPyJlBfU2jPTNzSGJIx2388uQ9/gl+7AmxIONZlRX6fPBk0AUvxjLR fakUBs5ZKNVzvqifBEsnkRmq20LXaEOoSVZiMkyeMqi8W5UeTLjFB2kg1qtIsjYwHI LcEel/B38M7ag== From: =?UTF-8?q?N=C3=ADcolas=20F=2E=20R=2E=20A=2E=20Prado?= To: Daniel Lezcano Cc: Alexandre Bailon , kernel@collabora.com, Chen-Yu Tsai , Balsam CHIHI , AngeloGioacchino Del Regno , Alexandre Mergnat , =?UTF-8?q?N=C3=ADcolas=20F=2E=20R=2E=20A=2E=20Prado?= , Amit Kucheria , Matthias Brugger , "Rafael J. Wysocki" , Zhang Rui , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-pm@vger.kernel.org Subject: [PATCH 0/3] thermal/drivers/mediatek/lvts_thermal: Fixes to the interrupt handling Date: Fri, 28 Apr 2023 15:53:44 -0400 Message-Id: <20230428195347.3832687-1-nfraprado@collabora.com> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Fixes in the interrupt handling of the LVTS thermal driver noticed while testing it on the Spherion Chromebook (mt8192-asurada-spherion) with the MT8192 support series [1]. These are standalone fixes and don't depend on anything else. [1] https://lore.kernel.org/all/20230307163413.143334-1-bchihi@baylibre.com/ Thanks, NĂ­colas NĂ­colas F. R. A. Prado (3): thermal/drivers/mediatek/lvts_thermal: Handle IRQ on all controllers thermal/drivers/mediatek/lvts_thermal: Honor sensors in immediate mode thermal/drivers/mediatek/lvts_thermal: Disable undesired interrupts drivers/thermal/mediatek/lvts_thermal.c | 54 +++++++++++++------------ 1 file changed, 28 insertions(+), 26 deletions(-) -- 2.40.0