mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
268a87ecfa8162efe0261d60b962a7234d38ec2a
There are debug/duplicate APIs like NvRmMemGetIVCId, NvRmMemHandleFromIVCId, NvRmMemWrite etc. which don't have corresponding requirements in DriveOS 7.0 Linux NSR. We have taken sign-off from the stakeholders to confirm that they are not using these APIs in T264 Linux Prod NSR variant. But some of them are using these APIs in dev-nsr and did not agree to remove it from dev-nsr, L4T, HOS etc. Hence we need to make sure that they do not accidentally start using these APIs. Hence add following DT based disabling support. - Add disable-debug-support property in tegra-carveouts DT node in T264 prod nsr dts. - Parse this DT node in nvmap and if the above property is present then BUG_ON in the ioctl functions corresponding to these APIs. Bug 4980348 Change-Id: Icdd5aadf3197d0649b61d285f433fa65ea69e806 Signed-off-by: Ketan Patil <ketanp@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3298507 Reviewed-by: Pritesh Raithatha <praithatha@nvidia.com> Reviewed-by: Ashish Mhetre <amhetre@nvidia.com> GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Description
No description provided