misc: bcm-vk: add mmap function for exposing BAR2
authorScott Branden <scott.branden@broadcom.com>
Wed, 20 Jan 2021 17:58:25 +0000 (09:58 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Jan 2021 17:44:45 +0000 (18:44 +0100)
commit483050c04738c685e3982c1baec202d0cc1beb0d
tree43783ab5321d9cd85b1ea31415a06d2270ab2f0d
parentd63d658f74727749088bfe436230b810f3880b0a
misc: bcm-vk: add mmap function for exposing BAR2

Add mmap function that allows host application to open up BAR2 memory
for remote spooling out messages from the VK logger.

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-12-scott.branden@broadcom.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/bcm-vk/bcm_vk_dev.c