From 26e325aaf21bd70fac6248398f6d36ed55e2d3de Mon Sep 17 00:00:00 2001 From: Austin Tajiri Date: Tue, 10 Jan 2023 22:19:13 +0000 Subject: [PATCH] gpu: nvgpu: fix ga10b vgpu dma_mask Set ga10b's vgpu dma_mask to DMA_BIT_MASK(39). The vGPU can access the full physical address space. Bug 3918582 Change-Id: I527f1e569055c7b4eccddb4ef9bdbef6ee6e2bb5 Signed-off-by: Austin Tajiri Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2841221 Reviewed-by: svcacv Reviewed-by: Alex Waterman Reviewed-by: Richard Zhao Reviewed-by: svc-mobile-coverity Reviewed-by: svc-mobile-cert Reviewed-by: Aparna Das GVS: Gerrit_Virtual_Submit --- .../gpu/nvgpu/os/linux/vgpu/ga10b/platform_ga10b_vgpu_tegra.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/nvgpu/os/linux/vgpu/ga10b/platform_ga10b_vgpu_tegra.c b/drivers/gpu/nvgpu/os/linux/vgpu/ga10b/platform_ga10b_vgpu_tegra.c index 7dcc31134..a84aee4db 100644 --- a/drivers/gpu/nvgpu/os/linux/vgpu/ga10b/platform_ga10b_vgpu_tegra.c +++ b/drivers/gpu/nvgpu/os/linux/vgpu/ga10b/platform_ga10b_vgpu_tegra.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020-2021, NVIDIA CORPORATION. All rights reserved. + * Copyright (c) 2020-2023, NVIDIA CORPORATION. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, @@ -65,5 +65,5 @@ struct gk20a_platform ga10b_vgpu_tegra_platform = { .resume = vgpu_tegra_resume, .unified_memory = true, - .dma_mask = DMA_BIT_MASK(36), + .dma_mask = DMA_BIT_MASK(39), };