]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
staging: vc04_services: Fix messages appearing twice
authorPhil Elwell <phil@raspberrypi.org>
Tue, 17 Jan 2017 20:56:14 +0000 (20:56 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jan 2017 10:08:57 +0000 (11:08 +0100)
commitca3df03b83f2abaf0c50d777eccf4d12bc4d4dec
tree5e6d2b771e34fba1036d2036435c1f3329412731
parent5069c86acb0d4cd2858580140ef7bf6701825236
staging: vc04_services: Fix messages appearing twice

An issue was observed when flushing openmax components
which generate a large number of messages returning
buffers to host.

We occasionally found a duplicate message from 16
messages prior, resulting in a buffer returned twice.

So fix the issue by adding more memory barriers.

Signed-off-by: Phil Elwell <phil@raspberrypi.org>
Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c