linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/4] cpuidle, haltpoll: governor switching on idle register
@ 2019-09-03 11:39 Joao Martins
  2019-09-03 11:39 ` [PATCH v1 1/4] cpuidle: allow governor switch on cpuidle_register_driver() Joao Martins
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Joao Martins @ 2019-09-03 11:39 UTC (permalink / raw)
  To: linux-pm
  Cc: Joao Martins, Rafael J. Wysocki, Daniel Lezcano, linux-kernel,
	Marcelo Tosatti, kvm

Hey,

Presented herewith a series with aims to tie in together the haltpoll
idle driver and governor, without sacrificing previous governor setups.
In addition, there are a few fixes with respect to module loading for
cpuidle-haltpoll. 

The series is organized as follows:

 Patch 1: Allows idle driver stating a preferred governor that it
          wants to use, based on discussion here:

  https://lore.kernel.org/kvm/457e8ca1-beb3-ca39-b257-e7bc6bb35d4d@oracle.com/

 Patch 2: Decrease rating of governor, and allows previous defaults
	  to be as before haltpoll, while using @governor to switch to haltpoll
	  when haltpoll driver is registered;

 Patch 3 - 4: Module loading fixes. first is the incorrect error
	      reporting and second is supportting module unloading.

Thoughts, comments appreciated.

Thanks,
	Joao

Joao Martins (4):
  cpuidle: allow governor switch on cpuidle_register_driver()
  cpuidle-haltpoll: set haltpoll as preferred governor
  cpuidle-haltpoll: return -ENODEV on modinit failure
  cpuidle-haltpoll: do not set an owner to allow modunload

 drivers/cpuidle/cpuidle-haltpoll.c   |  4 ++--
 drivers/cpuidle/cpuidle.h            |  1 +
 drivers/cpuidle/driver.c             | 26 ++++++++++++++++++++++++++
 drivers/cpuidle/governor.c           |  6 +++---
 drivers/cpuidle/governors/haltpoll.c |  2 +-
 include/linux/cpuidle.h              |  3 +++
 6 files changed, 36 insertions(+), 6 deletions(-)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-09-03 13:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-03 11:39 [PATCH v1 0/4] cpuidle, haltpoll: governor switching on idle register Joao Martins
2019-09-03 11:39 ` [PATCH v1 1/4] cpuidle: allow governor switch on cpuidle_register_driver() Joao Martins
2019-09-03 11:39 ` [PATCH v1 2/4] cpuidle-haltpoll: set haltpoll as preferred governor Joao Martins
2019-09-03 11:39 ` [PATCH v1 3/4] cpuidle-haltpoll: return -ENODEV on modinit failure Joao Martins
2019-09-03 11:39 ` [PATCH v1 4/4] cpuidle-haltpoll: do not set an owner to allow modunload Joao Martins
2019-09-03 13:23 ` [PATCH v1 0/4] cpuidle, haltpoll: governor switching on idle register Joao Martins

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).