mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
Add a loadable module for mem-qual STG IP client. - This driver exposes following device nodes under /dev. qualdev-0, qualdev-1, qualdev-2, qualdev-3, qualdev-4 - This driver provides 2 ioctls, one is to alloc a buffer and create IOVA for it by mapping the buffer into the IOVA space of the respective device. - Second ioctl is to free the IOVA mapping and pages associated with the buffer. - Users of this driver will open the mem qual device node and then call the first ioctl with size of the buffer as input during init time and receive the IOVA. - During deinit time, users will call the second ioctl with the IOVA as input and the ioctl will free the IOVA mapping and buffer. Bug 4546339 Change-Id: Idc7279ecf5118de5dbde100d40877150fef29ca5 Signed-off-by: Ketan Patil <ketanp@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-t264/+/3145175 Reviewed-by: Pritesh Raithatha <praithatha@nvidia.com> GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>