05 Aug, 2015

1 commit


13 Jun, 2015

1 commit

  • With the VC reader blocked and the ARM writing, MAIL0_STA reads empty
    permanently while MAIL1_STA goes from empty (0x40000000) to non-empty
    (0x00000001-0x00000007) to full (0x80000008).

    This bug ended up having no effect on us, because all of our
    transactions in the client driver were synchronous and under a mutex.

    Suggested-by: Phil Elwell
    Signed-off-by: Eric Anholt
    Acked-by: Stephen Warren
    Signed-off-by: Jassi Brar

    Eric Anholt
     

12 Jun, 2015

1 commit

  • This mailbox driver provides a single mailbox channel to write 32-bit
    values to the VPU and get a 32-bit response. The Raspberry Pi
    firmware uses this mailbox channel to implement firmware calls, while
    Roku 2 (despite being derived from the same firmware tree) doesn't.

    The driver was originally submitted by Lubomir, based on the
    out-of-tree 2708 mailbox driver. Eric Anholt fixed it up for
    upstreaming, with the major functional change being that it now has no
    notion of multiple channels (since that is a firmware-dependent
    concept) and instead the raspberrypi-firmware driver will do that
    bit-twiddling in its own messages.
    [Jassi: made the 'mbox_chan_ops' struct as const and removed a redundant
    variable]

    Signed-off-by: Lubomir Rintel
    Signed-off-by: Craig McGeachie
    Signed-off-by: Eric Anholt
    Acked-by: Stephen Warren
    Signed-off-by: Jassi Brar

    Lubomir Rintel