DistroKit Mailinglist
 help / color / mirror / Atom feed
From: Oleksij Rempel <o.rempel@pengutronix.de>
To: distrokit@pengutronix.de
Cc: Oleksij Rempel <o.rempel@pengutronix.de>
Subject: [DistroKit] [PATCH v2 03/13] MIPS: kernel: enable CPU_IDLE support
Date: Fri, 24 Apr 2020 09:08:43 +0200	[thread overview]
Message-ID: <20200424070853.20792-3-o.rempel@pengutronix.de> (raw)
In-Reply-To: <20200424070853.20792-1-o.rempel@pengutronix.de>

Power management is tricky can be a source of different issues. It
should be tested and fixed as early as possible.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
 configs/platform-mips/kernelconfig             | 11 ++++++++++-
 configs/platform-mips/kernelconfig-ar9331      | 11 ++++++++++-
 configs/platform-mips/kernelconfig-ar9331.diff |  2 +-
 configs/platform-mips/kernelconfig-malta       | 11 ++++++++++-
 configs/platform-mips/kernelconfig-malta.diff  |  2 +-
 5 files changed, 32 insertions(+), 5 deletions(-)

diff --git a/configs/platform-mips/kernelconfig b/configs/platform-mips/kernelconfig
index f922ef3..c2cf700 100644
--- a/configs/platform-mips/kernelconfig
+++ b/configs/platform-mips/kernelconfig
@@ -365,6 +365,7 @@ CONFIG_PM=y
 # CONFIG_PM_DEBUG is not set
 CONFIG_PM_CLK=y
 # CONFIG_WQ_POWER_EFFICIENT_DEFAULT is not set
+CONFIG_CPU_PM=y
 # end of Power management options
 
 #
@@ -374,7 +375,15 @@ CONFIG_PM_CLK=y
 #
 # CPU Idle
 #
-# CONFIG_CPU_IDLE is not set
+CONFIG_CPU_IDLE=y
+CONFIG_CPU_IDLE_GOV_LADDER=y
+CONFIG_CPU_IDLE_GOV_MENU=y
+CONFIG_CPU_IDLE_GOV_TEO=y
+
+#
+# MIPS CPU Idle Drivers
+#
+# end of MIPS CPU Idle Drivers
 # end of CPU Idle
 # end of CPU Power Management
 
diff --git a/configs/platform-mips/kernelconfig-ar9331 b/configs/platform-mips/kernelconfig-ar9331
index 76e18b3..f5373b1 100644
--- a/configs/platform-mips/kernelconfig-ar9331
+++ b/configs/platform-mips/kernelconfig-ar9331
@@ -363,6 +363,7 @@ CONFIG_PM=y
 # CONFIG_PM_DEBUG is not set
 CONFIG_PM_CLK=y
 # CONFIG_WQ_POWER_EFFICIENT_DEFAULT is not set
+CONFIG_CPU_PM=y
 # end of Power management options
 
 #
@@ -372,7 +373,15 @@ CONFIG_PM_CLK=y
 #
 # CPU Idle
 #
-# CONFIG_CPU_IDLE is not set
+CONFIG_CPU_IDLE=y
+CONFIG_CPU_IDLE_GOV_LADDER=y
+CONFIG_CPU_IDLE_GOV_MENU=y
+CONFIG_CPU_IDLE_GOV_TEO=y
+
+#
+# MIPS CPU Idle Drivers
+#
+# end of MIPS CPU Idle Drivers
 # end of CPU Idle
 # end of CPU Power Management
 
diff --git a/configs/platform-mips/kernelconfig-ar9331.diff b/configs/platform-mips/kernelconfig-ar9331.diff
index 95da93e..12699f4 100644
--- a/configs/platform-mips/kernelconfig-ar9331.diff
+++ b/configs/platform-mips/kernelconfig-ar9331.diff
@@ -1,4 +1,4 @@
-f6829added23b5c0af4b078a07387227
+186bba2123bf4a0842542353353f1b17
 # CONFIG_ACORN_PARTITION is undefined
 # CONFIG_ADFS_FS is undefined
 # CONFIG_AFFS_FS is undefined
diff --git a/configs/platform-mips/kernelconfig-malta b/configs/platform-mips/kernelconfig-malta
index ff308c0..7752144 100644
--- a/configs/platform-mips/kernelconfig-malta
+++ b/configs/platform-mips/kernelconfig-malta
@@ -427,6 +427,7 @@ CONFIG_PM=y
 # CONFIG_PM_DEBUG is not set
 CONFIG_PM_CLK=y
 # CONFIG_WQ_POWER_EFFICIENT_DEFAULT is not set
+CONFIG_CPU_PM=y
 # end of Power management options
 
 CONFIG_MIPS_EXTERNAL_TIMER=y
@@ -438,7 +439,15 @@ CONFIG_MIPS_EXTERNAL_TIMER=y
 #
 # CPU Idle
 #
-# CONFIG_CPU_IDLE is not set
+CONFIG_CPU_IDLE=y
+CONFIG_CPU_IDLE_GOV_LADDER=y
+CONFIG_CPU_IDLE_GOV_MENU=y
+CONFIG_CPU_IDLE_GOV_TEO=y
+
+#
+# MIPS CPU Idle Drivers
+#
+# end of MIPS CPU Idle Drivers
 # end of CPU Idle
 # end of CPU Power Management
 
diff --git a/configs/platform-mips/kernelconfig-malta.diff b/configs/platform-mips/kernelconfig-malta.diff
index ebd7372..ea2ba25 100644
--- a/configs/platform-mips/kernelconfig-malta.diff
+++ b/configs/platform-mips/kernelconfig-malta.diff
@@ -1,4 +1,4 @@
-f6829added23b5c0af4b078a07387227
+186bba2123bf4a0842542353353f1b17
 # CONFIG_8139CP is not set
 # CONFIG_8139TOO is not set
 # CONFIG_ACENIC is not set
-- 
2.26.1


_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

  parent reply	other threads:[~2020-04-24  7:08 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-24  7:08 [DistroKit] [PATCH v2 01/13] MIPS: kernel: enable i2c support Oleksij Rempel
2020-04-24  7:08 ` [DistroKit] [PATCH v2 02/13] MIPS: kernel: enable USB support Oleksij Rempel
2020-04-24  7:08 ` Oleksij Rempel [this message]
2020-04-24  7:08 ` [DistroKit] [PATCH v2 04/13] MIPS: kernel: enable EXT4 and VFAT FS support Oleksij Rempel
2020-04-24  7:08 ` [DistroKit] [PATCH v2 05/13] MIPS: kernel: malta: disable dummy driver Oleksij Rempel
2020-04-24  7:08 ` [DistroKit] [PATCH v2 06/13] MIPS: kernel: malta: disable devmem support Oleksij Rempel
2020-04-24  7:08 ` [DistroKit] [PATCH v2 07/13] MIPS: kernel: malta: enable PREEMPT support Oleksij Rempel
2020-04-24  7:08 ` [DistroKit] [PATCH v2 08/13] MIPS: kernel: malta: disable unused functions CPU_ISOLATION and CONNECTOR Oleksij Rempel
2020-04-24  7:08 ` [DistroKit] [PATCH v2 09/13] MIPS: kernel: malta: disable unused name spaces Oleksij Rempel
2020-04-24  7:08 ` [DistroKit] [PATCH v2 10/13] MIPS: kernel: malta: disable SYSTEM_TRUSTED_KEYRING and WiFI support Oleksij Rempel
2020-04-24  7:08 ` [DistroKit] [PATCH v2 11/13] MIPS: malta: fix qemu run script Oleksij Rempel
2020-04-24  7:08 ` [DistroKit] [PATCH v2 12/13] MIPS: enable GLIBCXX_ASSERTION Oleksij Rempel
2020-04-24  7:08 ` [DistroKit] [PATCH v2 13/13] MIPS: enable HARDEN_STACKCLASH Oleksij Rempel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200424070853.20792-3-o.rempel@pengutronix.de \
    --to=o.rempel@pengutronix.de \
    --cc=distrokit@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox