[PATCH 0/3] Add vchi_queue_kernel_message and vchi_queue_user_message

Michael Zoran mzoran at crowfest.net
Tue Jan 24 11:23:09 PST 2017


The vchi_msg_queue function which is used by other drivers
to queue a message is difficult to understand and overly
generic. Remove it and replace it with two more specific functions.

int
vchi_queue_kernel_message(VCHI_SERVICE_HANDLE_T handle,
                          void *data,
                          unsigned int size)

int
vchi_queue_user_message(VCHI_SERVICE_HANDLE_T handle,
                        void __user *data,
                        unsigned int size)


Signed-off-by: Michael Zoran <mzoran at crowfest.net>

Michael Zoran (3):
  staging: vc04_services: Add vchi_queue_kernel_message function
  staging: vc04_services: Add vchi_queue_user_message function
  staging: vc04_services: Make vchi_msg_queue static

 .../staging/vc04_services/interface/vchi/vchi.h    | 18 ++++---
 .../vc04_services/interface/vchiq_arm/vchiq_shim.c | 57 +++++++++++++++++++++-
 2 files changed, 67 insertions(+), 8 deletions(-)

-- 
2.11.0




More information about the linux-rpi-kernel mailing list