misc: bcm-vk: add VK messaging support
authorScott Branden <scott.branden@broadcom.com>
Wed, 20 Jan 2021 17:58:23 +0000 (09:58 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Jan 2021 17:44:44 +0000 (18:44 +0100)
commit111d746bb4767ad476f80fe49067e3df3d9a9375
treefe7bc67bf156f6db9cc3c0eaedf4f8b3ca840276
parentff428d052b3b6fb22242d17c213c4898e5136323
misc: bcm-vk: add VK messaging support

Add message support in order to be able to communicate
to VK card via message queues.

This info is used for debug purposes via collection of logs via direct
read of BAR space and by sysfs access (in a follow on commit).

Co-developed-by: Desmond Yan <desmond.yan@broadcom.com>
Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Desmond Yan <desmond.yan@broadcom.com>
Signed-off-by: Scott Branden <scott.branden@broadcom.com>
Link: https://lore.kernel.org/r/20210120175827.14820-10-scott.branden@broadcom.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/bcm-vk/Makefile
drivers/misc/bcm-vk/bcm_vk.h
drivers/misc/bcm-vk/bcm_vk_dev.c
drivers/misc/bcm-vk/bcm_vk_msg.c
drivers/misc/bcm-vk/bcm_vk_msg.h
drivers/misc/bcm-vk/bcm_vk_sg.c [new file with mode: 0644]
drivers/misc/bcm-vk/bcm_vk_sg.h [new file with mode: 0644]