svn commit: r276297 - head/sys/arm/broadcom/bcm2835

Rui Paulo rpaulo at me.com
Sat Dec 27 20:56:07 UTC 2014


On Dec 27, 2014, at 05:52, Luiz Otavio O Souza <loos at FreeBSD.org> 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





More information about the svn-src-head mailing list