[PATCH 3/6] staging: bcm2835-v4l2: Add a build system for the module.
mzoran at crowfest.net
Sun Jan 29 06:12:03 PST 2017
On Fri, 2017-01-27 at 13:55 -0800, Eric Anholt wrote:
> This is derived from the downstream tree's build system, but with
> a single Kconfig option.
> For now the driver only builds on 32-bit arm -- the aarch64 build
> breaks due to the driver using arm-specific cache flushing functions.
If you are referring to this:
/* enqueue a bulk receive for a given message context */
static int bulk_receive(struct vchiq_mmal_instance *instance,
struct mmal_msg *msg,
struct mmal_msg_context *msg_context)
// only need to flush L1 cache here, as VCHIQ takes care of the
It should be possible to simply remove the __cpuc_flash_dcache_area
call as VCHIQ should now be flushing all the needed caches. This is
due to the DMA API clean that was necessary to make it multiplatform.
The driver does have a few nasty issues with stuffing callback pointers
into fixed 32 bit sized integers that would need to be fixed to make it
work on 64 bit.
More information about the linux-rpi-kernel