public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2]  Add CPU power management for CPU bound CTI devices.
@ 2020-05-04 16:15 Mike Leach
  2020-05-04 16:15 ` [PATCH v2 1/2] coresight: cti: Add CPU Hotplug handling to CTI driver Mike Leach
  2020-05-04 16:15 ` [PATCH v2 2/2] coresight: cti: Add CPU idle pm notifer to CTI devices Mike Leach
  0 siblings, 2 replies; 5+ messages in thread
From: Mike Leach @ 2020-05-04 16:15 UTC (permalink / raw)
  To: linux-arm-kernel, coresight, mathieu.poirier; +Cc: 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 Linux 5.7-rc3.
Rebased onto coresight/next

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 | 173 ++++++++++++++++++++
 include/linux/cpuhotplug.h                  |   1 +
 2 files changed, 174 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] 5+ messages in thread

end of thread, other threads:[~2020-05-06 18:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-04 16:15 [PATCH v2 0/2] Add CPU power management for CPU bound CTI devices Mike Leach
2020-05-04 16:15 ` [PATCH v2 1/2] coresight: cti: Add CPU Hotplug handling to CTI driver Mike Leach
2020-05-06 17:39   ` Mathieu Poirier
2020-05-04 16:15 ` [PATCH v2 2/2] coresight: cti: Add CPU idle pm notifer to CTI devices Mike Leach
2020-05-06 18:02   ` Mathieu Poirier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox