aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBryan O'Donoghue <[email protected]>2016-06-16 13:42:16 +0100
committerGreg Kroah-Hartman <[email protected]>2016-06-16 09:07:41 -0700
commit93dbb97a3e2455cdb5efee17a497758ece4b8ed7 (patch)
tree095d9aebfa50f5ad88bf37bd126d4e7d3da5de93 /tools/perf/scripts/python
parent0cc3bc6930d02ff5083b7b7bc18ca53299bb383a (diff)
greybus: timesync: Rework timesync removal serialization logic
We need to make sure we adequately cancel and quiesce any scheduled TimeSync synchronization operations in the case of greybus.ko being yanked out of memory i.e. when doing an EHCI runtime suspend or just a plain rmmod. The scenario is a new TimeSync sync operation has been scheduled. Next gb_timesync_svc_remove() runs. In this case we should terminate any scheduled work, terminate our ktime tracking timer and state transition to GB_TIMESYNC_STATE_INVALID to ensure no other context may schedule any new TimeSync operations. Signed-off-by: Bryan O'Donoghue <[email protected]> Reviewed-by: Vaibhav Hiremath <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions