mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
In fringe unexpected cases, HSB (Holoscan sensor bringe) sends image byte offset larger then allocated image size (e.g. if HSB just sends incorrect packet, or is configured incorrectly for a different image size. or just packet corruption). In such cases, we run into SMMU faults. To mitigate this, a buffer size of two check was introduced so even were this to happen, it would not cause SMMU errors. However, the support for this in UMD is not complete. Therefore, disable this check until UMD is able to comply with this buffer constraint. Jira L4T-7463 Change-Id: I2de31740284627ca117f1fa0a28bde2ef9a82785 Signed-off-by: Rakibul Hassan <rakibulh@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3419644 Reviewed-by: Igor Mitsyanko <imitsyanko@nvidia.com> GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com> Reviewed-by: Narendra Kondapalli <nkondapalli@nvidia.com> Reviewed-by: svcacv <svcacv@nvidia.com>