Thread (9 messages) 9 messages, 3 authors, 2011-08-18

Re: [PATCH 2/2] mmc: prevent aggressive clock gating to race with ios updates

From: Linus Walleij <hidden>
Date: 2011-08-17 07:56:27
Also in: lkml

On Mon, Aug 15, 2011 at 12:03 PM, Mika Westerberg
[off-list ref] wrote:
We have seen at least two different races when clock gating kicks in in a
middle of ios structure update.

First one happens when ios->clock is changed outside of aggressive clock
gating framework, for example via mmc_set_clock(). The race might happen
when we run following code:
Patch looks entirely sane if you deal with my considerations
in [1/2] replacing mmc_host_clk_gate_[disable|enable] with
plain mmc_host_clk_[ungate|gate]() or renamed versions
of these respectively.

Thanks,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help