From patchwork Sun Oct 16 09:58:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shawn Guo X-Patchwork-Id: 615643 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 1DB6AC4332F for ; Sun, 16 Oct 2022 09:58:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229618AbiJPJ6f (ORCPT ); Sun, 16 Oct 2022 05:58:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52492 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229687AbiJPJ6e (ORCPT ); Sun, 16 Oct 2022 05:58:34 -0400 Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com [IPv6:2607:f8b0:4864:20::102c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9246D2F678 for ; Sun, 16 Oct 2022 02:58:33 -0700 (PDT) Received: by mail-pj1-x102c.google.com with SMTP id x1-20020a17090ab00100b001fda21bbc90so11743315pjq.3 for ; Sun, 16 Oct 2022 02:58:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=OtzY9AfvtG9xTgyGyHBnIXaAiiTuXFCltxImevKgkqM=; b=kZM/bndEKtYZijRanfxD1Z+Sf4sTpaSccjAzYHXv/rMYVsufpaab6hBFkzyavqDBTX 0CBqFm1Wy/jzMNK5SQMI1bvoTLSlH9JW4dsUOXw1Kg3/JvQOcFl6rYTa/ba0jP0LDJ8Y oLLqnmayYKm4ExXowfk4CrwfomehgboEhOGMVj3h5Aj09hSSBRasCsCkZJ8HCj2XytoG 9fkeisH4wX9bweAfmo9fM2m2/p3stboXKE9fQWJBrBF7Szx6pnImFe56/O8gbKPH6AX/ UAIFRwED11tWPijhsTaJ5ynnSwNWHLHR3h7XZVrrd61FX3I65X8HXewPW5rbJGc8euuo 6scA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=OtzY9AfvtG9xTgyGyHBnIXaAiiTuXFCltxImevKgkqM=; b=qxCKmO+QVVc7igJx482c3f3uxWlIaaQWc09BAsjqA/A6Z6tGQIebTf/p0BkNh8HUgS jHBS6Np48TLEJXC1n1RpKmhezgmiWtnVgaQlze9QqVAeQmRtH2KTkT1a5IONxHUMei+9 S1/xrZhx5EYdjatiwE+0+czjWT8MIOzeAbfXsRzzpdg7yWwIAvOQey/Jpufre/gR/9M8 qpIOuXSi2QqcXyo2SALAutxK+W4G0eLXzWZdJtnFRc4TSaEGN9OXJ0rL7Dbdb7mGQZ0m aqT1+95/HpVkJvi8ocKPpP4M0q+evPX0iZ07nGYAZ2fmj1xSOwvgfVbAuDG0R/JDWaKG FpVg== X-Gm-Message-State: ACrzQf2XS5mwfKOzshk3rZ/B+PbIDT3EMU+87le0XtPaRMBxfw8NKqM+ abDBHD8cdk6u1wAj4aFcSXOnKw== X-Google-Smtp-Source: AMsMyM4RdVjokxZyQinSeGmUgZIlLlBTWY8+LMqU0RtxFplW7uEesRom6zx6CveHQx9ymnlr2yl3QA== X-Received: by 2002:a17:902:e982:b0:17f:ca1f:aa44 with SMTP id f2-20020a170902e98200b0017fca1faa44mr6388293plb.76.1665914313066; Sun, 16 Oct 2022 02:58:33 -0700 (PDT) Received: from localhost.localdomain (80.251.214.228.16clouds.com. [80.251.214.228]) by smtp.gmail.com with ESMTPSA id c18-20020a170902d49200b001745662d568sm4481838plg.278.2022.10.16.02.58.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 Oct 2022 02:58:32 -0700 (PDT) From: Shawn Guo To: "Rafael J . Wysocki" Cc: Kevin Hilman , Ulf Hansson , Len Brown , Pavel Machek , Greg Kroah-Hartman , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Shawn Guo Subject: [PATCH 0/3] Manage domain power state for hibernate freeze Date: Sun, 16 Oct 2022 17:58:12 +0800 Message-Id: <20221016095815.2550034-1-shawn.guo@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org The series tries to fix a hardware lockup issue caused by missing domain power state management from hibernate .freeze[thaw]_noirq hooks. The detailed description of the issue can be found in commit log of patch #3. Shawn Guo (3): PM: domains: Pass generic PM noirq hooks to genpd_finish_suspend() PM: domains: Consolidate genpd_restore_noirq() and genpd_resume_noirq() PM: domains: Power off[on] domain in hibernate .freeze[thaw]_noirq hook drivers/base/power/domain.c | 130 +++++++++++++++--------------------- 1 file changed, 52 insertions(+), 78 deletions(-)