]> git.baikalelectronics.ru Git - kernel.git/commit
bus/fsl-mc: Add a new version for dprc_get_obj_region command
authorDiana Craciun <diana.craciun@oss.nxp.com>
Tue, 29 Sep 2020 08:54:41 +0000 (11:54 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 Oct 2020 14:05:02 +0000 (16:05 +0200)
commit349fc6312d2436d3932f63180a38f934fc0fb69a
tree29c4333337d142fe57469f84997bcfaa0a6d9dad
parent7fde56afc8aa0b2bf10b16a6351c6e0e478c3759
bus/fsl-mc: Add a new version for dprc_get_obj_region command

The region size reported by the firmware for mc and software
portals was less than allocated by the hardware. This may be
problematic when mmapping the region in user space because the
region size is less than page size. However the size as reserved
by the hardware is 64K.

Reviewed-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Acked-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Signed-off-by: Diana Craciun <diana.craciun@oss.nxp.com>
Link: https://lore.kernel.org/r/20200929085441.17448-14-diana.craciun@oss.nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/bus/fsl-mc/dprc.c
drivers/bus/fsl-mc/fsl-mc-private.h