mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
OpenRM maps the buffer with remap_pfn_range and then it's user VA is passed to libnvrm_mem to create a handle out of it. NvMap uses get_user_pages to get user pages from the VA. It fails for the buffer mapped with remap_pfn_range. Then it fallbacks to follow_pfn or follow_pfnmap_start functions to obtain pfn from the VA and then obtain page pointer from it. But as get_user_pages fails, the corresponding error prints are getting generated even when not required. Hence reduce the log level to debug to avoid these unnecessary spews. Bug 5383624 Change-Id: Idbd3cfe93ce3fac6e27efc5c3bb7a200fc183d26 Signed-off-by: Ketan Patil <ketanp@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3425552 GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com> Reviewed-by: Pritesh Raithatha <praithatha@nvidia.com>