On Dec 27, 2014, at 05:52, Luiz Otavio O Souza <[email protected]> wrote:
> 
> Author: loos
> Date: Sat Dec 27 13:52:33 2014
> New Revision: 276297
> URL: https://svnweb.freebsd.org/changeset/base/276297
> 
> Log:
>  On interrupt handler, save the actual data read from mbox.  The previous
>  macro wasn't needed and was being used with swapped arguments which always
>  give the same result (0) defeating the overflow check.
> 
>  On initialization, do not use bcm_mbox_intr() to read the pending messages,
>  with the new semaphore based implementation this will lead to semaphore
>  being incremented on the channels that contain pending data and will make
>  the first read for that channel return stale data.
> 
>  This fixes the hang that happens on boot while initializing the cpufreq on
>  Raspberry Pi.

Thanks!

--
Rui Paulo



_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to