mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 18:16:01 +03:00
Unit tests in page_table were initializing the VM with a kernel_reserved section that was slightly smaller than expected. Then, when the fixed alloc to support semaphores was done, the fixed address used was actually below the start of the kernel address space. As a result this caused an overflow in the base shift in the buddy allocator responsible for managing the fixed alloc. Change-Id: I4e688d418262ac8d9d4b66b46bd32ca5456d95e8 Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2130433 Reviewed-by: Philip Elcan <pelcan@nvidia.com> Tested-by: Philip Elcan <pelcan@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>