[RESEND PATCH V2 0/3] Add vchi_queue_kernel_message and vchi_queue_user_message

Michael Zoran mzoran at crowfest.net
Sun Jan 29 23:31:08 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)


Changes:

V2 - Add missing symbol export of vchiq_queue_user_message

Signed-off-by: Michael Zoran <mzoran at crowfest.net>
Reviewed-by: Eric Anholt <eric at anholt.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 | 58 +++++++++++++++++++++-
 2 files changed, 68 insertions(+), 8 deletions(-)

-- 
2.11.0




More information about the linux-rpi-kernel mailing list