summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/include
diff options
context:
space:
mode:
authorSeema Khowala <seemaj@nvidia.com>2017-09-22 14:10:11 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-11-01 03:00:54 -0400
commit4f24e212cbd66a58cbae9fdf810694d01f57ee5f (patch)
treed70c63daf26885913c6b3b2d8a9edbc779d76f04 /drivers/gpu/nvgpu/include
parentd69e51813a57dfae204daf87767652685117daf1 (diff)
gpu: nvgpu: gv11b: replay invalid pte faults only
Try to fix invalid pte type repalayable faults only. All other replayable faults will be cancelled so that next mmu fault for same fault address will be triggered as non-replayable fault and ch/tsg teardown will take place. Bug 1958308 Change-Id: I63b90ce7c639ee183f87db3e771f253fd04c3567 Signed-off-by: Seema Khowala <seemaj@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1566576 GVS: Gerrit_Virtual_Submit Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/include')
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_gmmu_gv11b.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_gmmu_gv11b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_gmmu_gv11b.h
index c39cc2d8..0a442b1f 100644
--- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_gmmu_gv11b.h
+++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_gmmu_gv11b.h
@@ -1272,6 +1272,10 @@ static inline u32 gmmu_fault_type_unbound_inst_block_v(void)
1272{ 1272{
1273 return 0x00000004U; 1273 return 0x00000004U;
1274} 1274}
1275static inline u32 gmmu_fault_type_pte_v(void)
1276{
1277 return 0x00000002U;
1278}
1275static inline u32 gmmu_fault_mmu_eng_id_bar2_v(void) 1279static inline u32 gmmu_fault_mmu_eng_id_bar2_v(void)
1276{ 1280{
1277 return 0x00000005U; 1281 return 0x00000005U;