]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb36e42da787f9db4be68de6a853cb5a60aae29e6
tree43783ab5321d9cd85b1ea31415a06d2270ab2f0d
parente292b7b3b934a22ca0abd2f02e156cbf234e3a9d
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