From patchwork Fri Apr 1 07:14:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vladimir Zapolskiy X-Patchwork-Id: 555767 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AF609C433EF for ; Fri, 1 Apr 2022 07:14:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245406AbiDAHQV (ORCPT ); Fri, 1 Apr 2022 03:16:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32854 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233990AbiDAHQU (ORCPT ); Fri, 1 Apr 2022 03:16:20 -0400 Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 19B013D49C for ; Fri, 1 Apr 2022 00:14:32 -0700 (PDT) Received: by mail-lf1-x129.google.com with SMTP id m3so3174211lfj.11 for ; Fri, 01 Apr 2022 00:14:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=JnBP6UAqfunippljeGhmZmabtSWf7ZJZ32Tq/x1EpUQ=; b=OUJx2u7yvx/p3FI6sUmpjHacCZ4tEeyI5j27n+ipyjdxCRmm5ZWEvZuYX5slCYdHhR 3WVhVYrUR+ME6XeACtjLPgsePRRaC26Y2eR8wWWAT1svE8vo/PrKcvKz/qZlhWIyqJf1 c4RbNTiVTtl1sKQc/8SrVy+Eoix5qMKBBGxI42lnwy62AF4ilQ/CNkZOIVe4TyvlkSRo a3UG9Ew4Cpj2lOMZQeYHELs9YHE1gQcsVGmsKXnk3eqQi15iCm8odEtw5X/QOo+v+5Mx pL+PQd/R+5zj62+Fr7rr1mRBeXFt+9wGAD+6lu9hiYKtKRohMTcwFhmQVnlHl2ZS6h0V Y8ag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=JnBP6UAqfunippljeGhmZmabtSWf7ZJZ32Tq/x1EpUQ=; b=g+TUygjKp6Bp6QOEZkSChrWsjY2PFe+FwtZKLD/fqHikCjoTNRYapIS+qPJcXWb8Nz 04FDcUX/+WNt8HAsginEcmGV8C5Cpv0r+8EYP6ghVE0Qi9c61RxpUl9uOiCb+ejZtArg k3jprmMph/dRz8ZS8lYiqJ0nAJsrYfKaILaZq931lIEmficGcC+f+3K58oiVgu+MDyP3 6iSNe0kVPSCsLyW0o/ncXUwbKARoJiIF39eAxi56VDLbeKCWlCHFFo13vnyWkJ0S3OeE 40x+bltT+r2CkN53xGHeEeI78OnOf+ejSHHP3greCBTZqrEn8NhhjcLSiVVlpyjNPFnK 8jfQ== X-Gm-Message-State: AOAM532wP5x0hmd5RSUFK5f/mPzI9Q7q4uTKii9t4DSigR2WR+sZ8Z1Y O3VS373RyLnnM1zoQbGHjtH7pw== X-Google-Smtp-Source: ABdhPJxKn/U5PraRfORrptS3sBuVKaWSnCTuDGmbREm2jxpDEMz5XklKm5uih/JI1QhD5Qc4yEtFAw== X-Received: by 2002:a05:6512:c03:b0:447:7912:7e6b with SMTP id z3-20020a0565120c0300b0044779127e6bmr13137024lfu.508.1648797270255; Fri, 01 Apr 2022 00:14:30 -0700 (PDT) Received: from localhost.localdomain (88-113-46-102.elisa-laajakaista.fi. [88.113.46.102]) by smtp.gmail.com with ESMTPSA id x28-20020a19e01c000000b0044a3aca1c39sm152198lfg.255.2022.04.01.00.14.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Apr 2022 00:14:29 -0700 (PDT) From: Vladimir Zapolskiy To: Viresh Kumar , "Rafael J. Wysocki" Cc: Bjorn Andersson , Andy Gross , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org Subject: [PATCH v2 0/2] cpufreq: qcom-cpufreq-hw: Fixes to DCVS interrupt handling on EPSS Date: Fri, 1 Apr 2022 10:14:22 +0300 Message-Id: <20220401071424.2869057-1-vladimir.zapolskiy@linaro.org> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org The series contains of two critical fixes for QCOM EPSS cpufreq-hw driver, the fixes correct runtime issues discovered on newer supported QCOM platforms such as SM8250 and SM8450. The changes are based on next-20220401 tag. Changes from v1 to v2, thanks to Bjorn: * added a check for pending interrupt status before its handling, * added a comment about a replaced number in the code. Vladimir Zapolskiy (2): cpufreq: qcom-cpufreq-hw: Clear dcvs interrupts cpufreq: qcom-cpufreq-hw: Fix throttle frequency value on EPSS platforms drivers/cpufreq/qcom-cpufreq-hw.c | 31 +++++++++++++++++++++++++------ 1 file changed, 25 insertions(+), 6 deletions(-)