All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] Add CPU power management for CPU bound CTI devices.
@ 2020-05-11 20:48 Mike Leach
  2020-05-11 20:48 ` [PATCH v3 1/2] coresight: cti: Add CPU Hotplug handling to CTI driver Mike Leach
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Mike Leach @ 2020-05-11 20:48 UTC (permalink / raw)
  To: linux-arm-kernel, coresight, mathieu.poirier
  Cc: tglx, Mike Leach, suzuki.poulose

Adds in power management for CPU bound CTI devices:
i) CPU Hotplug - registers a new notifier for CPU start and stop events.
ii) CPU idle PM event notifier to handle PM_ENTER, PM_ENTER_FAILED and
PM_EXIT events.

Tested with DB410c on coresight/next tree (Linux 5.7-rc1)

Changes since v2:
1) removed helper functions filtering on CONFIG_CPU_PM to call cpu_pm
fns directly.
2) add check for return value from cpuhp_remove_state_nocalls().

Changes since V1: (requested by Mathieu).
1) Split into separate patches for CPU pm and CPU hotplug handling.
2) Enable on hotplug has a specific function to enable the hardware,
while leaving the enable reference counts unchanged.

Mike Leach (2):
  coresight: cti: Add CPU Hotplug handling to CTI driver.
  coresight: cti: Add CPU idle pm notifer to CTI devices.

 drivers/hwtracing/coresight/coresight-cti.c | 160 ++++++++++++++++++++
 include/linux/cpuhotplug.h                  |   1 +
 2 files changed, 161 insertions(+)

-- 
2.17.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2020-05-14 17:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-11 20:48 [PATCH v3 0/2] Add CPU power management for CPU bound CTI devices Mike Leach
2020-05-11 20:48 ` [PATCH v3 1/2] coresight: cti: Add CPU Hotplug handling to CTI driver Mike Leach
2020-05-11 20:48 ` [PATCH v3 2/2] coresight: cti: Add CPU idle pm notifer to CTI devices Mike Leach
2020-05-14 17:12 ` [PATCH v3 0/2] Add CPU power management for CPU bound " Mathieu Poirier

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.