summaryrefslogtreecommitdiffstats
path: root/virt/kvm
diff options
context:
space:
mode:
authorUlf Hansson2013-04-02 23:09:39 +0200
committerMike Turquette2013-04-09 03:19:40 +0200
commita68de8e4ab2756d8e125cf327f044c895b6a6b3d (patch)
tree889c89b211daef76880c3563f20b2423fca771c7 /virt/kvm
parentclk: Fixup errorhandling for clk_set_parent (diff)
downloadkernel-qcow2-linux-a68de8e4ab2756d8e125cf327f044c895b6a6b3d.tar.gz
kernel-qcow2-linux-a68de8e4ab2756d8e125cf327f044c895b6a6b3d.tar.xz
kernel-qcow2-linux-a68de8e4ab2756d8e125cf327f044c895b6a6b3d.zip
clk: Fixup locking issues for clk_set_parent
Updating the clock tree topology must be protected with the spinlock when doing clk_set_parent, otherwise we can not handle the migration of the enable_count in a safe manner. While issuing the .set_parent callback to make the clk-hw perform the switch to the new parent, we can not hold the spinlock since it is must be allowed to be slow path. This complicates error handling, but is still possible to achieve. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Cc: Rajagopal Venkat <rajagopal.venkat@linaro.org> Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'virt/kvm')
0 files changed, 0 insertions, 0 deletions