From 252ddc4f0535847f67bb3f7b1b8a519f1e773c11 Mon Sep 17 00:00:00 2001 From: Adeel Raza Date: Fri, 23 Aug 2019 13:28:11 -0700 Subject: [PATCH] gpu: nvgpu: add coverity whitelisting support Add macros for whitelisting coverity violations. These macros use pragma directives. The pragma directives and whitelisting macros are only enabled when a coverity scan is being run. The whitelisting macros have been added to a new header called static_analysis.h. The contents of safe_ops.h (CERT C safe ops) have been moved into static_analysis.h because this will be the new header for static analysis related macros/defines/etc. JIRA NVGPU-3820 Change-Id: I9c63f20f670880b420415535738034619314b7c3 Signed-off-by: Adeel Raza Reviewed-on: https://git-master.nvidia.com/r/2180600 Reviewed-by: mobile promotions Tested-by: mobile promotions --- arch/nvgpu-common.yaml | 2 +- drivers/gpu/nvgpu/Makefile.tmk | 5 + drivers/gpu/nvgpu/common/ecc.c | 2 +- drivers/gpu/nvgpu/common/falcon/falcon.c | 2 +- drivers/gpu/nvgpu/common/fbp/fbp.c | 2 +- drivers/gpu/nvgpu/common/fifo/channel.c | 2 +- drivers/gpu/nvgpu/common/fifo/engines.c | 2 +- drivers/gpu/nvgpu/common/fifo/runlist.c | 2 +- drivers/gpu/nvgpu/common/fifo/tsg.c | 2 +- drivers/gpu/nvgpu/common/gr/ctx.c | 2 +- drivers/gpu/nvgpu/common/gr/fs_state.c | 2 +- drivers/gpu/nvgpu/common/gr/global_ctx.c | 2 +- drivers/gpu/nvgpu/common/gr/gr.c | 2 +- drivers/gpu/nvgpu/common/gr/gr_config.c | 2 +- drivers/gpu/nvgpu/common/gr/gr_falcon.c | 2 +- drivers/gpu/nvgpu/common/gr/gr_intr.c | 2 +- drivers/gpu/nvgpu/common/gr/obj_ctx.c | 2 +- .../common/mm/allocators/buddy_allocator.c | 2 +- .../mm/allocators/buddy_allocator_priv.h | 2 +- .../common/mm/allocators/page_allocator.c | 2 +- drivers/gpu/nvgpu/common/mm/gmmu/page_table.c | 2 +- drivers/gpu/nvgpu/common/mm/gmmu/pd_cache.c | 2 +- drivers/gpu/nvgpu/common/mm/mm.c | 2 +- drivers/gpu/nvgpu/common/mm/vm.c | 2 +- drivers/gpu/nvgpu/common/mm/vm_area.c | 2 +- drivers/gpu/nvgpu/common/netlist/netlist.c | 2 +- drivers/gpu/nvgpu/common/utils/enabled.c | 2 +- drivers/gpu/nvgpu/common/utils/string.c | 2 +- drivers/gpu/nvgpu/common/vbios/bios.c | 2 +- drivers/gpu/nvgpu/hal/bus/bus_gm20b_fusa.c | 2 +- drivers/gpu/nvgpu/hal/bus/bus_gp10b_fusa.c | 2 +- .../gpu/nvgpu/hal/falcon/falcon_gk20a_fusa.c | 2 +- .../gpu/nvgpu/hal/fifo/engines_gp10b_fusa.c | 2 +- drivers/gpu/nvgpu/hal/fifo/fifo_gv11b_fusa.c | 2 +- drivers/gpu/nvgpu/hal/fifo/pbdma_gm20b_fusa.c | 2 +- .../gpu/nvgpu/hal/fifo/runlist_ram_gk20a.c | 2 +- .../nvgpu/hal/fifo/runlist_ram_gv11b_fusa.c | 2 +- drivers/gpu/nvgpu/hal/fifo/tsg_gv11b_fusa.c | 2 +- .../gpu/nvgpu/hal/fifo/usermode_gv11b_fusa.c | 2 +- .../gpu/nvgpu/hal/gr/config/gr_config_gm20b.c | 2 +- .../hal/gr/config/gr_config_gm20b_fusa.c | 2 +- .../hal/gr/config/gr_config_gv100_fusa.c | 2 +- .../hal/gr/ctxsw_prog/ctxsw_prog_gm20b.c | 2 +- .../hal/gr/ctxsw_prog/ctxsw_prog_gm20b_dbg.c | 2 +- .../hal/gr/ctxsw_prog/ctxsw_prog_gm20b_fusa.c | 2 +- .../gpu/nvgpu/hal/gr/falcon/gr_falcon_gm20b.c | 2 +- .../hal/gr/falcon/gr_falcon_gm20b_fusa.c | 2 +- drivers/gpu/nvgpu/hal/gr/init/gr_init_gm20b.c | 2 +- .../nvgpu/hal/gr/init/gr_init_gm20b_fusa.c | 2 +- drivers/gpu/nvgpu/hal/gr/init/gr_init_gp10b.c | 2 +- .../nvgpu/hal/gr/init/gr_init_gp10b_fusa.c | 2 +- drivers/gpu/nvgpu/hal/gr/init/gr_init_gv100.c | 2 +- drivers/gpu/nvgpu/hal/gr/init/gr_init_gv11b.c | 2 +- .../nvgpu/hal/gr/init/gr_init_gv11b_fusa.c | 2 +- drivers/gpu/nvgpu/hal/gr/init/gr_init_tu104.c | 2 +- drivers/gpu/nvgpu/hal/gr/intr/gr_intr_gm20b.c | 2 +- .../nvgpu/hal/gr/intr/gr_intr_gm20b_fusa.c | 2 +- drivers/gpu/nvgpu/hal/gr/intr/gr_intr_gp10b.c | 2 +- .../nvgpu/hal/gr/intr/gr_intr_gp10b_fusa.c | 2 +- .../nvgpu/hal/gr/intr/gr_intr_gv11b_fusa.c | 2 +- drivers/gpu/nvgpu/hal/gr/intr/gr_intr_tu104.c | 2 +- drivers/gpu/nvgpu/hal/init/hal_init.c | 2 +- .../gpu/nvgpu/hal/ltc/intr/ltc_intr_gm20b.c | 2 +- .../gpu/nvgpu/hal/ltc/intr/ltc_intr_gp10b.c | 2 +- .../nvgpu/hal/ltc/intr/ltc_intr_gp10b_fusa.c | 2 +- .../nvgpu/hal/ltc/intr/ltc_intr_gv11b_fusa.c | 2 +- drivers/gpu/nvgpu/hal/ltc/ltc_gm20b.c | 2 +- drivers/gpu/nvgpu/hal/ltc/ltc_gm20b_dbg.c | 2 +- drivers/gpu/nvgpu/hal/ltc/ltc_gm20b_fusa.c | 2 +- drivers/gpu/nvgpu/hal/ltc/ltc_gp10b.c | 2 +- drivers/gpu/nvgpu/hal/ltc/ltc_gp10b_fusa.c | 2 +- drivers/gpu/nvgpu/hal/ltc/ltc_gv11b.c | 2 +- drivers/gpu/nvgpu/hal/ltc/ltc_gv11b_fusa.c | 2 +- .../gpu/nvgpu/hal/mm/gmmu/gmmu_gp10b_fusa.c | 2 +- .../power_features/cg/gv11b_gating_reglist.c | 2 +- .../hal/priv_ring/priv_ring_gp10b_fusa.c | 2 +- .../gpu/nvgpu/hal/sync/syncpt_cmdbuf_gv11b.c | 2 +- .../gpu/nvgpu/include/nvgpu/gr/global_ctx.h | 2 +- drivers/gpu/nvgpu/include/nvgpu/gr/gr_utils.h | 2 +- .../include/nvgpu/hw/gk20a/hw_bus_gk20a.h | 2 +- .../include/nvgpu/hw/gk20a/hw_ccsr_gk20a.h | 2 +- .../include/nvgpu/hw/gk20a/hw_ce2_gk20a.h | 2 +- .../nvgpu/hw/gk20a/hw_ctxsw_prog_gk20a.h | 2 +- .../include/nvgpu/hw/gk20a/hw_falcon_gk20a.h | 2 +- .../include/nvgpu/hw/gk20a/hw_fb_gk20a.h | 2 +- .../include/nvgpu/hw/gk20a/hw_fifo_gk20a.h | 2 +- .../include/nvgpu/hw/gk20a/hw_flush_gk20a.h | 2 +- .../include/nvgpu/hw/gk20a/hw_gmmu_gk20a.h | 2 +- .../include/nvgpu/hw/gk20a/hw_gr_gk20a.h | 2 +- .../include/nvgpu/hw/gk20a/hw_ltc_gk20a.h | 2 +- .../include/nvgpu/hw/gk20a/hw_mc_gk20a.h | 2 +- .../include/nvgpu/hw/gk20a/hw_pbdma_gk20a.h | 2 +- .../include/nvgpu/hw/gk20a/hw_perf_gk20a.h | 2 +- .../include/nvgpu/hw/gk20a/hw_pram_gk20a.h | 2 +- .../nvgpu/hw/gk20a/hw_pri_ringmaster_gk20a.h | 2 +- .../hw/gk20a/hw_pri_ringstation_gpc_gk20a.h | 2 +- .../hw/gk20a/hw_pri_ringstation_sys_gk20a.h | 2 +- .../include/nvgpu/hw/gk20a/hw_proj_gk20a.h | 2 +- .../include/nvgpu/hw/gk20a/hw_pwr_gk20a.h | 2 +- .../include/nvgpu/hw/gk20a/hw_ram_gk20a.h | 2 +- .../include/nvgpu/hw/gk20a/hw_therm_gk20a.h | 2 +- .../include/nvgpu/hw/gk20a/hw_timer_gk20a.h | 2 +- .../include/nvgpu/hw/gk20a/hw_top_gk20a.h | 2 +- .../include/nvgpu/hw/gk20a/hw_trim_gk20a.h | 2 +- .../include/nvgpu/hw/gm20b/hw_bus_gm20b.h | 2 +- .../include/nvgpu/hw/gm20b/hw_ccsr_gm20b.h | 2 +- .../include/nvgpu/hw/gm20b/hw_ce2_gm20b.h | 2 +- .../nvgpu/hw/gm20b/hw_ctxsw_prog_gm20b.h | 2 +- .../include/nvgpu/hw/gm20b/hw_falcon_gm20b.h | 2 +- .../include/nvgpu/hw/gm20b/hw_fb_gm20b.h | 2 +- .../include/nvgpu/hw/gm20b/hw_fifo_gm20b.h | 2 +- .../include/nvgpu/hw/gm20b/hw_flush_gm20b.h | 2 +- .../include/nvgpu/hw/gm20b/hw_fuse_gm20b.h | 2 +- .../include/nvgpu/hw/gm20b/hw_gmmu_gm20b.h | 2 +- .../include/nvgpu/hw/gm20b/hw_gr_gm20b.h | 2 +- .../include/nvgpu/hw/gm20b/hw_ltc_gm20b.h | 2 +- .../include/nvgpu/hw/gm20b/hw_mc_gm20b.h | 2 +- .../include/nvgpu/hw/gm20b/hw_pbdma_gm20b.h | 2 +- .../include/nvgpu/hw/gm20b/hw_perf_gm20b.h | 2 +- .../include/nvgpu/hw/gm20b/hw_pram_gm20b.h | 2 +- .../nvgpu/hw/gm20b/hw_pri_ringmaster_gm20b.h | 2 +- .../hw/gm20b/hw_pri_ringstation_gpc_gm20b.h | 2 +- .../hw/gm20b/hw_pri_ringstation_sys_gm20b.h | 2 +- .../include/nvgpu/hw/gm20b/hw_proj_gm20b.h | 2 +- .../include/nvgpu/hw/gm20b/hw_pwr_gm20b.h | 2 +- .../include/nvgpu/hw/gm20b/hw_ram_gm20b.h | 2 +- .../include/nvgpu/hw/gm20b/hw_therm_gm20b.h | 2 +- .../include/nvgpu/hw/gm20b/hw_timer_gm20b.h | 2 +- .../include/nvgpu/hw/gm20b/hw_top_gm20b.h | 2 +- .../include/nvgpu/hw/gm20b/hw_trim_gm20b.h | 2 +- .../include/nvgpu/hw/gp106/hw_bus_gp106.h | 2 +- .../include/nvgpu/hw/gp106/hw_ccsr_gp106.h | 2 +- .../include/nvgpu/hw/gp106/hw_ce_gp106.h | 2 +- .../nvgpu/hw/gp106/hw_ctxsw_prog_gp106.h | 2 +- .../include/nvgpu/hw/gp106/hw_falcon_gp106.h | 2 +- .../include/nvgpu/hw/gp106/hw_fb_gp106.h | 2 +- .../include/nvgpu/hw/gp106/hw_fbpa_gp106.h | 2 +- .../include/nvgpu/hw/gp106/hw_fifo_gp106.h | 2 +- .../include/nvgpu/hw/gp106/hw_flush_gp106.h | 2 +- .../include/nvgpu/hw/gp106/hw_fuse_gp106.h | 2 +- .../include/nvgpu/hw/gp106/hw_gmmu_gp106.h | 2 +- .../include/nvgpu/hw/gp106/hw_gr_gp106.h | 2 +- .../include/nvgpu/hw/gp106/hw_ltc_gp106.h | 2 +- .../include/nvgpu/hw/gp106/hw_mc_gp106.h | 2 +- .../include/nvgpu/hw/gp106/hw_pbdma_gp106.h | 2 +- .../include/nvgpu/hw/gp106/hw_perf_gp106.h | 2 +- .../include/nvgpu/hw/gp106/hw_pnvdec_gp106.h | 2 +- .../include/nvgpu/hw/gp106/hw_pram_gp106.h | 2 +- .../nvgpu/hw/gp106/hw_pri_ringmaster_gp106.h | 2 +- .../hw/gp106/hw_pri_ringstation_gpc_gp106.h | 2 +- .../hw/gp106/hw_pri_ringstation_sys_gp106.h | 2 +- .../include/nvgpu/hw/gp106/hw_proj_gp106.h | 2 +- .../include/nvgpu/hw/gp106/hw_psec_gp106.h | 2 +- .../include/nvgpu/hw/gp106/hw_pwr_gp106.h | 2 +- .../include/nvgpu/hw/gp106/hw_ram_gp106.h | 2 +- .../include/nvgpu/hw/gp106/hw_therm_gp106.h | 2 +- .../include/nvgpu/hw/gp106/hw_timer_gp106.h | 2 +- .../include/nvgpu/hw/gp106/hw_top_gp106.h | 2 +- .../include/nvgpu/hw/gp106/hw_trim_gp106.h | 2 +- .../include/nvgpu/hw/gp106/hw_xp_gp106.h | 2 +- .../include/nvgpu/hw/gp106/hw_xve_gp106.h | 2 +- .../include/nvgpu/hw/gp10b/hw_bus_gp10b.h | 2 +- .../include/nvgpu/hw/gp10b/hw_ccsr_gp10b.h | 2 +- .../include/nvgpu/hw/gp10b/hw_ce_gp10b.h | 2 +- .../nvgpu/hw/gp10b/hw_ctxsw_prog_gp10b.h | 2 +- .../include/nvgpu/hw/gp10b/hw_falcon_gp10b.h | 2 +- .../include/nvgpu/hw/gp10b/hw_fb_gp10b.h | 2 +- .../include/nvgpu/hw/gp10b/hw_fifo_gp10b.h | 2 +- .../include/nvgpu/hw/gp10b/hw_flush_gp10b.h | 2 +- .../include/nvgpu/hw/gp10b/hw_fuse_gp10b.h | 2 +- .../include/nvgpu/hw/gp10b/hw_gmmu_gp10b.h | 2 +- .../include/nvgpu/hw/gp10b/hw_gr_gp10b.h | 2 +- .../include/nvgpu/hw/gp10b/hw_ltc_gp10b.h | 2 +- .../include/nvgpu/hw/gp10b/hw_mc_gp10b.h | 2 +- .../include/nvgpu/hw/gp10b/hw_pbdma_gp10b.h | 2 +- .../include/nvgpu/hw/gp10b/hw_perf_gp10b.h | 2 +- .../include/nvgpu/hw/gp10b/hw_pram_gp10b.h | 2 +- .../nvgpu/hw/gp10b/hw_pri_ringmaster_gp10b.h | 2 +- .../hw/gp10b/hw_pri_ringstation_gpc_gp10b.h | 2 +- .../hw/gp10b/hw_pri_ringstation_sys_gp10b.h | 2 +- .../include/nvgpu/hw/gp10b/hw_proj_gp10b.h | 2 +- .../include/nvgpu/hw/gp10b/hw_pwr_gp10b.h | 2 +- .../include/nvgpu/hw/gp10b/hw_ram_gp10b.h | 2 +- .../include/nvgpu/hw/gp10b/hw_therm_gp10b.h | 2 +- .../include/nvgpu/hw/gp10b/hw_timer_gp10b.h | 2 +- .../include/nvgpu/hw/gp10b/hw_top_gp10b.h | 2 +- .../include/nvgpu/hw/gv100/hw_bus_gv100.h | 2 +- .../include/nvgpu/hw/gv100/hw_ccsr_gv100.h | 2 +- .../include/nvgpu/hw/gv100/hw_ce_gv100.h | 2 +- .../nvgpu/hw/gv100/hw_ctxsw_prog_gv100.h | 2 +- .../include/nvgpu/hw/gv100/hw_falcon_gv100.h | 2 +- .../include/nvgpu/hw/gv100/hw_fb_gv100.h | 2 +- .../include/nvgpu/hw/gv100/hw_fifo_gv100.h | 2 +- .../include/nvgpu/hw/gv100/hw_flush_gv100.h | 2 +- .../include/nvgpu/hw/gv100/hw_fuse_gv100.h | 2 +- .../include/nvgpu/hw/gv100/hw_gmmu_gv100.h | 2 +- .../include/nvgpu/hw/gv100/hw_gr_gv100.h | 2 +- .../include/nvgpu/hw/gv100/hw_ioctrl_gv100.h | 2 +- .../nvgpu/hw/gv100/hw_ioctrlmif_gv100.h | 2 +- .../include/nvgpu/hw/gv100/hw_ltc_gv100.h | 2 +- .../include/nvgpu/hw/gv100/hw_mc_gv100.h | 2 +- .../include/nvgpu/hw/gv100/hw_minion_gv100.h | 2 +- .../include/nvgpu/hw/gv100/hw_nvl_gv100.h | 2 +- .../hw/gv100/hw_nvlinkip_discovery_gv100.h | 2 +- .../include/nvgpu/hw/gv100/hw_nvlipt_gv100.h | 2 +- .../include/nvgpu/hw/gv100/hw_nvtlc_gv100.h | 2 +- .../include/nvgpu/hw/gv100/hw_pbdma_gv100.h | 2 +- .../include/nvgpu/hw/gv100/hw_perf_gv100.h | 2 +- .../include/nvgpu/hw/gv100/hw_pgsp_gv100.h | 2 +- .../include/nvgpu/hw/gv100/hw_pram_gv100.h | 2 +- .../nvgpu/hw/gv100/hw_pri_ringmaster_gv100.h | 2 +- .../hw/gv100/hw_pri_ringstation_gpc_gv100.h | 2 +- .../hw/gv100/hw_pri_ringstation_sys_gv100.h | 2 +- .../include/nvgpu/hw/gv100/hw_proj_gv100.h | 2 +- .../include/nvgpu/hw/gv100/hw_pwr_gv100.h | 2 +- .../include/nvgpu/hw/gv100/hw_ram_gv100.h | 2 +- .../include/nvgpu/hw/gv100/hw_therm_gv100.h | 2 +- .../include/nvgpu/hw/gv100/hw_timer_gv100.h | 2 +- .../include/nvgpu/hw/gv100/hw_top_gv100.h | 2 +- .../include/nvgpu/hw/gv100/hw_trim_gv100.h | 2 +- .../nvgpu/hw/gv100/hw_usermode_gv100.h | 2 +- .../include/nvgpu/hw/gv100/hw_xp_gv100.h | 2 +- .../include/nvgpu/hw/gv100/hw_xve_gv100.h | 2 +- .../include/nvgpu/hw/gv11b/hw_bus_gv11b.h | 2 +- .../include/nvgpu/hw/gv11b/hw_ccsr_gv11b.h | 2 +- .../include/nvgpu/hw/gv11b/hw_ce_gv11b.h | 2 +- .../nvgpu/hw/gv11b/hw_ctxsw_prog_gv11b.h | 2 +- .../include/nvgpu/hw/gv11b/hw_falcon_gv11b.h | 2 +- .../include/nvgpu/hw/gv11b/hw_fb_gv11b.h | 2 +- .../include/nvgpu/hw/gv11b/hw_fifo_gv11b.h | 2 +- .../include/nvgpu/hw/gv11b/hw_flush_gv11b.h | 2 +- .../include/nvgpu/hw/gv11b/hw_fuse_gv11b.h | 2 +- .../include/nvgpu/hw/gv11b/hw_gmmu_gv11b.h | 2 +- .../include/nvgpu/hw/gv11b/hw_gr_gv11b.h | 2 +- .../include/nvgpu/hw/gv11b/hw_ltc_gv11b.h | 2 +- .../include/nvgpu/hw/gv11b/hw_mc_gv11b.h | 2 +- .../include/nvgpu/hw/gv11b/hw_pbdma_gv11b.h | 2 +- .../include/nvgpu/hw/gv11b/hw_perf_gv11b.h | 2 +- .../include/nvgpu/hw/gv11b/hw_pram_gv11b.h | 2 +- .../nvgpu/hw/gv11b/hw_pri_ringmaster_gv11b.h | 2 +- .../hw/gv11b/hw_pri_ringstation_gpc_gv11b.h | 2 +- .../hw/gv11b/hw_pri_ringstation_sys_gv11b.h | 2 +- .../include/nvgpu/hw/gv11b/hw_proj_gv11b.h | 2 +- .../include/nvgpu/hw/gv11b/hw_pwr_gv11b.h | 2 +- .../include/nvgpu/hw/gv11b/hw_ram_gv11b.h | 2 +- .../include/nvgpu/hw/gv11b/hw_therm_gv11b.h | 2 +- .../include/nvgpu/hw/gv11b/hw_timer_gv11b.h | 2 +- .../include/nvgpu/hw/gv11b/hw_top_gv11b.h | 2 +- .../nvgpu/hw/gv11b/hw_usermode_gv11b.h | 2 +- .../include/nvgpu/hw/tu104/hw_bus_tu104.h | 2 +- .../include/nvgpu/hw/tu104/hw_ccsr_tu104.h | 2 +- .../include/nvgpu/hw/tu104/hw_ce_tu104.h | 2 +- .../include/nvgpu/hw/tu104/hw_ctrl_tu104.h | 2 +- .../nvgpu/hw/tu104/hw_ctxsw_prog_tu104.h | 2 +- .../include/nvgpu/hw/tu104/hw_falcon_tu104.h | 2 +- .../include/nvgpu/hw/tu104/hw_fb_tu104.h | 2 +- .../include/nvgpu/hw/tu104/hw_fbpa_tu104.h | 2 +- .../include/nvgpu/hw/tu104/hw_fifo_tu104.h | 2 +- .../include/nvgpu/hw/tu104/hw_flush_tu104.h | 2 +- .../include/nvgpu/hw/tu104/hw_func_tu104.h | 2 +- .../include/nvgpu/hw/tu104/hw_fuse_tu104.h | 2 +- .../include/nvgpu/hw/tu104/hw_gc6_tu104.h | 2 +- .../include/nvgpu/hw/tu104/hw_gmmu_tu104.h | 2 +- .../include/nvgpu/hw/tu104/hw_gr_tu104.h | 2 +- .../include/nvgpu/hw/tu104/hw_ioctrl_tu104.h | 2 +- .../nvgpu/hw/tu104/hw_ioctrlmif_tu104.h | 2 +- .../include/nvgpu/hw/tu104/hw_ltc_tu104.h | 2 +- .../include/nvgpu/hw/tu104/hw_mc_tu104.h | 2 +- .../include/nvgpu/hw/tu104/hw_minion_tu104.h | 2 +- .../include/nvgpu/hw/tu104/hw_nvl_tu104.h | 2 +- .../hw/tu104/hw_nvlinkip_discovery_tu104.h | 2 +- .../include/nvgpu/hw/tu104/hw_nvlipt_tu104.h | 2 +- .../include/nvgpu/hw/tu104/hw_nvtlc_tu104.h | 2 +- .../include/nvgpu/hw/tu104/hw_pbdma_tu104.h | 2 +- .../include/nvgpu/hw/tu104/hw_perf_tu104.h | 2 +- .../include/nvgpu/hw/tu104/hw_pgsp_tu104.h | 2 +- .../include/nvgpu/hw/tu104/hw_pnvdec_tu104.h | 2 +- .../include/nvgpu/hw/tu104/hw_pram_tu104.h | 2 +- .../nvgpu/hw/tu104/hw_pri_ringmaster_tu104.h | 2 +- .../hw/tu104/hw_pri_ringstation_gpc_tu104.h | 2 +- .../hw/tu104/hw_pri_ringstation_sys_tu104.h | 2 +- .../include/nvgpu/hw/tu104/hw_proj_tu104.h | 2 +- .../include/nvgpu/hw/tu104/hw_psec_tu104.h | 2 +- .../include/nvgpu/hw/tu104/hw_pwr_tu104.h | 2 +- .../include/nvgpu/hw/tu104/hw_ram_tu104.h | 2 +- .../include/nvgpu/hw/tu104/hw_therm_tu104.h | 2 +- .../include/nvgpu/hw/tu104/hw_timer_tu104.h | 2 +- .../include/nvgpu/hw/tu104/hw_top_tu104.h | 2 +- .../include/nvgpu/hw/tu104/hw_trim_tu104.h | 2 +- .../nvgpu/hw/tu104/hw_usermode_tu104.h | 2 +- .../include/nvgpu/hw/tu104/hw_xp_tu104.h | 2 +- .../include/nvgpu/hw/tu104/hw_xve_tu104.h | 2 +- .../gpu/nvgpu/include/nvgpu/posix/atomic.h | 2 +- drivers/gpu/nvgpu/include/nvgpu/posix/utils.h | 2 +- drivers/gpu/nvgpu/include/nvgpu/ptimer.h | 2 +- .../nvgpu/{safe_ops.h => static_analysis.h} | 94 ++++++++++++++++++- drivers/gpu/nvgpu/include/nvgpu/utils.h | 2 +- drivers/gpu/nvgpu/os/posix/cond.c | 2 +- userspace/Makefile | 6 ++ 299 files changed, 398 insertions(+), 299 deletions(-) rename drivers/gpu/nvgpu/include/nvgpu/{safe_ops.h => static_analysis.h} (59%) diff --git a/arch/nvgpu-common.yaml b/arch/nvgpu-common.yaml index 605822277..052f92d72 100644 --- a/arch/nvgpu-common.yaml +++ b/arch/nvgpu-common.yaml @@ -14,7 +14,7 @@ nvgpu: owner: Alex W sources: [ include/nvgpu/gk20a.h, include/nvgpu/nvgpu_common.h, - include/nvgpu/safe_ops.h ] + include/nvgpu/static_analysis.h ] bios: safe: yes diff --git a/drivers/gpu/nvgpu/Makefile.tmk b/drivers/gpu/nvgpu/Makefile.tmk index 853ba00b0..aa7db92fe 100644 --- a/drivers/gpu/nvgpu/Makefile.tmk +++ b/drivers/gpu/nvgpu/Makefile.tmk @@ -55,6 +55,11 @@ NV_COMPONENT_CFLAGS += \ -D__NVGPU_POSIX__ \ -DCONFIG_NVGPU_SUPPORT_TURING \ -D__NVGPU_UNIT_TEST__ +# NV_COVERITY is used by violation whitelisting macros. Whitelisting is only +# enabled when a coverity scan is being run. +ifeq ($(NV_COVERITY),1) +NV_COMPONENT_CFLAGS += -DNV_COVERITY +endif NVGPU_FORCE_SAFETY_PROFILE := 1 NVGPU_FORCE_DEBUG_PROFILE := 1 diff --git a/drivers/gpu/nvgpu/common/ecc.c b/drivers/gpu/nvgpu/common/ecc.c index b093f556c..3b4c09947 100644 --- a/drivers/gpu/nvgpu/common/ecc.c +++ b/drivers/gpu/nvgpu/common/ecc.c @@ -26,7 +26,7 @@ #include #include #include -#include +#include static void nvgpu_ecc_stat_add(struct gk20a *g, struct nvgpu_ecc_stat *stat) { diff --git a/drivers/gpu/nvgpu/common/falcon/falcon.c b/drivers/gpu/nvgpu/common/falcon/falcon.c index d5677a012..bdfdf212c 100644 --- a/drivers/gpu/nvgpu/common/falcon/falcon.c +++ b/drivers/gpu/nvgpu/common/falcon/falcon.c @@ -22,7 +22,7 @@ #include #include #include -#include +#include #include "falcon_sw_gk20a.h" #ifdef CONFIG_NVGPU_DGPU diff --git a/drivers/gpu/nvgpu/common/fbp/fbp.c b/drivers/gpu/nvgpu/common/fbp/fbp.c index ca0ab1a61..e54918b4c 100644 --- a/drivers/gpu/nvgpu/common/fbp/fbp.c +++ b/drivers/gpu/nvgpu/common/fbp/fbp.c @@ -24,7 +24,7 @@ #include #include #include -#include +#include #include "fbp_priv.h" diff --git a/drivers/gpu/nvgpu/common/fifo/channel.c b/drivers/gpu/nvgpu/common/fifo/channel.c index 3cdff36d9..56c2bc4ee 100644 --- a/drivers/gpu/nvgpu/common/fifo/channel.c +++ b/drivers/gpu/nvgpu/common/fifo/channel.c @@ -54,7 +54,7 @@ #include #include #include -#include +#include #ifdef CONFIG_NVGPU_DEBUGGER #include #endif diff --git a/drivers/gpu/nvgpu/common/fifo/engines.c b/drivers/gpu/nvgpu/common/fifo/engines.c index 3f4cf2f82..d4e819b52 100644 --- a/drivers/gpu/nvgpu/common/fifo/engines.c +++ b/drivers/gpu/nvgpu/common/fifo/engines.c @@ -41,7 +41,7 @@ #include #include #include -#include +#include #define FECS_METHOD_WFI_RESTORE 0x80000U diff --git a/drivers/gpu/nvgpu/common/fifo/runlist.c b/drivers/gpu/nvgpu/common/fifo/runlist.c index 611ce6955..e798beea9 100644 --- a/drivers/gpu/nvgpu/common/fifo/runlist.c +++ b/drivers/gpu/nvgpu/common/fifo/runlist.c @@ -29,7 +29,7 @@ #include #include #include -#include +#include #ifdef CONFIG_NVGPU_LS_PMU #include #endif diff --git a/drivers/gpu/nvgpu/common/fifo/tsg.c b/drivers/gpu/nvgpu/common/fifo/tsg.c index b49bef912..c0809954a 100644 --- a/drivers/gpu/nvgpu/common/fifo/tsg.c +++ b/drivers/gpu/nvgpu/common/fifo/tsg.c @@ -33,7 +33,7 @@ #include #include #include -#include +#include void nvgpu_tsg_disable(struct nvgpu_tsg *tsg) { diff --git a/drivers/gpu/nvgpu/common/gr/ctx.c b/drivers/gpu/nvgpu/common/gr/ctx.c index 8c0ad2a77..c5faf15f9 100644 --- a/drivers/gpu/nvgpu/common/gr/ctx.c +++ b/drivers/gpu/nvgpu/common/gr/ctx.c @@ -21,7 +21,7 @@ */ #include -#include +#include #include #include #include diff --git a/drivers/gpu/nvgpu/common/gr/fs_state.c b/drivers/gpu/nvgpu/common/gr/fs_state.c index 1f35762d4..883c29f1a 100644 --- a/drivers/gpu/nvgpu/common/gr/fs_state.c +++ b/drivers/gpu/nvgpu/common/gr/fs_state.c @@ -21,7 +21,7 @@ */ #include -#include +#include #include #include diff --git a/drivers/gpu/nvgpu/common/gr/global_ctx.c b/drivers/gpu/nvgpu/common/gr/global_ctx.c index e0fc2af1b..0648fa468 100644 --- a/drivers/gpu/nvgpu/common/gr/global_ctx.c +++ b/drivers/gpu/nvgpu/common/gr/global_ctx.c @@ -27,7 +27,7 @@ #include #include #ifdef CONFIG_NVGPU_GR_GOLDEN_CTX_VERIFICATION -#include +#include #include #endif diff --git a/drivers/gpu/nvgpu/common/gr/gr.c b/drivers/gpu/nvgpu/common/gr/gr.c index 038aa73b8..6c2c99e08 100644 --- a/drivers/gpu/nvgpu/common/gr/gr.c +++ b/drivers/gpu/nvgpu/common/gr/gr.c @@ -25,7 +25,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/drivers/gpu/nvgpu/common/gr/gr_config.c b/drivers/gpu/nvgpu/common/gr/gr_config.c index 42d45f6fc..93253ad6c 100644 --- a/drivers/gpu/nvgpu/common/gr/gr_config.c +++ b/drivers/gpu/nvgpu/common/gr/gr_config.c @@ -22,7 +22,7 @@ #include #include -#include +#include #include #include "gr_config_priv.h" diff --git a/drivers/gpu/nvgpu/common/gr/gr_falcon.c b/drivers/gpu/nvgpu/common/gr/gr_falcon.c index 1c13ad6fc..3e860c11e 100644 --- a/drivers/gpu/nvgpu/common/gr/gr_falcon.c +++ b/drivers/gpu/nvgpu/common/gr/gr_falcon.c @@ -39,7 +39,7 @@ #include #endif #include -#include +#include #include "gr_falcon_priv.h" diff --git a/drivers/gpu/nvgpu/common/gr/gr_intr.c b/drivers/gpu/nvgpu/common/gr/gr_intr.c index bfab536fb..4b2ae234b 100644 --- a/drivers/gpu/nvgpu/common/gr/gr_intr.c +++ b/drivers/gpu/nvgpu/common/gr/gr_intr.c @@ -25,7 +25,7 @@ #include #include #include -#include +#include #include #include #if defined(CONFIG_NVGPU_CYCLESTATS) diff --git a/drivers/gpu/nvgpu/common/gr/obj_ctx.c b/drivers/gpu/nvgpu/common/gr/obj_ctx.c index 2d9fcc06e..1cb2f1e81 100644 --- a/drivers/gpu/nvgpu/common/gr/obj_ctx.c +++ b/drivers/gpu/nvgpu/common/gr/obj_ctx.c @@ -36,7 +36,7 @@ #include #include #include -#include +#include #include "obj_ctx_priv.h" diff --git a/drivers/gpu/nvgpu/common/mm/allocators/buddy_allocator.c b/drivers/gpu/nvgpu/common/mm/allocators/buddy_allocator.c index d4595bd92..8777756f8 100644 --- a/drivers/gpu/nvgpu/common/mm/allocators/buddy_allocator.c +++ b/drivers/gpu/nvgpu/common/mm/allocators/buddy_allocator.c @@ -27,7 +27,7 @@ #include #include #include -#include +#include #include "buddy_allocator_priv.h" diff --git a/drivers/gpu/nvgpu/common/mm/allocators/buddy_allocator_priv.h b/drivers/gpu/nvgpu/common/mm/allocators/buddy_allocator_priv.h index 1f18318d6..2de8a86a9 100644 --- a/drivers/gpu/nvgpu/common/mm/allocators/buddy_allocator_priv.h +++ b/drivers/gpu/nvgpu/common/mm/allocators/buddy_allocator_priv.h @@ -25,7 +25,7 @@ #include #include -#include +#include struct nvgpu_kmem_cache; struct nvgpu_allocator; diff --git a/drivers/gpu/nvgpu/common/mm/allocators/page_allocator.c b/drivers/gpu/nvgpu/common/mm/allocators/page_allocator.c index 3062e74f5..82e4134c9 100644 --- a/drivers/gpu/nvgpu/common/mm/allocators/page_allocator.c +++ b/drivers/gpu/nvgpu/common/mm/allocators/page_allocator.c @@ -27,7 +27,7 @@ #include #include #include -#include +#include #include "buddy_allocator_priv.h" diff --git a/drivers/gpu/nvgpu/common/mm/gmmu/page_table.c b/drivers/gpu/nvgpu/common/mm/gmmu/page_table.c index 14593bd7d..ba9fd7353 100644 --- a/drivers/gpu/nvgpu/common/mm/gmmu/page_table.c +++ b/drivers/gpu/nvgpu/common/mm/gmmu/page_table.c @@ -35,7 +35,7 @@ #include #include #include -#include +#include #define nvgpu_gmmu_dbg(g, attrs, fmt, args...) \ diff --git a/drivers/gpu/nvgpu/common/mm/gmmu/pd_cache.c b/drivers/gpu/nvgpu/common/mm/gmmu/pd_cache.c index 2433a4f2e..770e1d6e8 100644 --- a/drivers/gpu/nvgpu/common/mm/gmmu/pd_cache.c +++ b/drivers/gpu/nvgpu/common/mm/gmmu/pd_cache.c @@ -29,7 +29,7 @@ #include #include #include -#include +#include #include "pd_cache_priv.h" diff --git a/drivers/gpu/nvgpu/common/mm/mm.c b/drivers/gpu/nvgpu/common/mm/mm.c index bd8b97dd7..266e5ec98 100644 --- a/drivers/gpu/nvgpu/common/mm/mm.c +++ b/drivers/gpu/nvgpu/common/mm/mm.c @@ -33,7 +33,7 @@ #include #include #include -#include +#include #include int nvgpu_mm_suspend(struct gk20a *g) diff --git a/drivers/gpu/nvgpu/common/mm/vm.c b/drivers/gpu/nvgpu/common/mm/vm.c index 64cca5edc..80747bfef 100644 --- a/drivers/gpu/nvgpu/common/mm/vm.c +++ b/drivers/gpu/nvgpu/common/mm/vm.c @@ -38,7 +38,7 @@ #include #include #include -#include +#include struct nvgpu_ctag_buffer_info { u64 size; diff --git a/drivers/gpu/nvgpu/common/mm/vm_area.c b/drivers/gpu/nvgpu/common/mm/vm_area.c index d4e562064..7d0450ef8 100644 --- a/drivers/gpu/nvgpu/common/mm/vm_area.c +++ b/drivers/gpu/nvgpu/common/mm/vm_area.c @@ -24,7 +24,7 @@ #include #include #include -#include +#include struct nvgpu_vm_area *nvgpu_vm_area_find(struct vm_gk20a *vm, u64 addr) { diff --git a/drivers/gpu/nvgpu/common/netlist/netlist.c b/drivers/gpu/nvgpu/common/netlist/netlist.c index 027bae385..421509d91 100644 --- a/drivers/gpu/nvgpu/common/netlist/netlist.c +++ b/drivers/gpu/nvgpu/common/netlist/netlist.c @@ -30,7 +30,7 @@ #include #include #include -#include +#include #include "netlist_priv.h" #include "netlist_defs.h" diff --git a/drivers/gpu/nvgpu/common/utils/enabled.c b/drivers/gpu/nvgpu/common/utils/enabled.c index 73eac5132..d4bb8e49f 100644 --- a/drivers/gpu/nvgpu/common/utils/enabled.c +++ b/drivers/gpu/nvgpu/common/utils/enabled.c @@ -23,7 +23,7 @@ #include #include #include -#include +#include int nvgpu_init_enabled_flags(struct gk20a *g) { diff --git a/drivers/gpu/nvgpu/common/utils/string.c b/drivers/gpu/nvgpu/common/utils/string.c index 0e661272e..f242e9005 100644 --- a/drivers/gpu/nvgpu/common/utils/string.c +++ b/drivers/gpu/nvgpu/common/utils/string.c @@ -22,7 +22,7 @@ #include #include -#include +#include void nvgpu_memcpy(u8 *destb, const u8 *srcb, size_t n) diff --git a/drivers/gpu/nvgpu/common/vbios/bios.c b/drivers/gpu/nvgpu/common/vbios/bios.c index a1fa1df05..4248aeb6b 100644 --- a/drivers/gpu/nvgpu/common/vbios/bios.c +++ b/drivers/gpu/nvgpu/common/vbios/bios.c @@ -25,7 +25,7 @@ #include #include #include -#include +#include #include "bios_sw_gv100.h" #include "bios_sw_tu104.h" diff --git a/drivers/gpu/nvgpu/hal/bus/bus_gm20b_fusa.c b/drivers/gpu/nvgpu/hal/bus/bus_gm20b_fusa.c index 9a51a38c2..248725699 100644 --- a/drivers/gpu/nvgpu/hal/bus/bus_gm20b_fusa.c +++ b/drivers/gpu/nvgpu/hal/bus/bus_gm20b_fusa.c @@ -27,7 +27,7 @@ #include #include #include -#include +#include #include "bus_gm20b.h" diff --git a/drivers/gpu/nvgpu/hal/bus/bus_gp10b_fusa.c b/drivers/gpu/nvgpu/hal/bus/bus_gp10b_fusa.c index 90f771a30..fe1be0f4f 100644 --- a/drivers/gpu/nvgpu/hal/bus/bus_gp10b_fusa.c +++ b/drivers/gpu/nvgpu/hal/bus/bus_gp10b_fusa.c @@ -24,7 +24,7 @@ #include #include #include -#include +#include #include "bus_gp10b.h" diff --git a/drivers/gpu/nvgpu/hal/falcon/falcon_gk20a_fusa.c b/drivers/gpu/nvgpu/hal/falcon/falcon_gk20a_fusa.c index b7c57066c..f50e20d74 100644 --- a/drivers/gpu/nvgpu/hal/falcon/falcon_gk20a_fusa.c +++ b/drivers/gpu/nvgpu/hal/falcon/falcon_gk20a_fusa.c @@ -23,7 +23,7 @@ #include #include #include -#include +#include #include "falcon_gk20a.h" diff --git a/drivers/gpu/nvgpu/hal/fifo/engines_gp10b_fusa.c b/drivers/gpu/nvgpu/hal/fifo/engines_gp10b_fusa.c index e5a84dced..cb6ae706c 100644 --- a/drivers/gpu/nvgpu/hal/fifo/engines_gp10b_fusa.c +++ b/drivers/gpu/nvgpu/hal/fifo/engines_gp10b_fusa.c @@ -25,7 +25,7 @@ #include #include #include -#include +#include #include diff --git a/drivers/gpu/nvgpu/hal/fifo/fifo_gv11b_fusa.c b/drivers/gpu/nvgpu/hal/fifo/fifo_gv11b_fusa.c index 0e0965e7c..b35bbd287 100644 --- a/drivers/gpu/nvgpu/hal/fifo/fifo_gv11b_fusa.c +++ b/drivers/gpu/nvgpu/hal/fifo/fifo_gv11b_fusa.c @@ -29,7 +29,7 @@ #include #include #include -#include +#include #include diff --git a/drivers/gpu/nvgpu/hal/fifo/pbdma_gm20b_fusa.c b/drivers/gpu/nvgpu/hal/fifo/pbdma_gm20b_fusa.c index 985c77b69..7b3ebdcec 100644 --- a/drivers/gpu/nvgpu/hal/fifo/pbdma_gm20b_fusa.c +++ b/drivers/gpu/nvgpu/hal/fifo/pbdma_gm20b_fusa.c @@ -33,7 +33,7 @@ #include #include #include -#include +#include #include diff --git a/drivers/gpu/nvgpu/hal/fifo/runlist_ram_gk20a.c b/drivers/gpu/nvgpu/hal/fifo/runlist_ram_gk20a.c index fa360b0d0..8057b257d 100644 --- a/drivers/gpu/nvgpu/hal/fifo/runlist_ram_gk20a.c +++ b/drivers/gpu/nvgpu/hal/fifo/runlist_ram_gk20a.c @@ -27,7 +27,7 @@ #include #include #include -#include +#include #include "runlist_ram_gk20a.h" diff --git a/drivers/gpu/nvgpu/hal/fifo/runlist_ram_gv11b_fusa.c b/drivers/gpu/nvgpu/hal/fifo/runlist_ram_gv11b_fusa.c index 817e7cfce..2f1c76ad5 100644 --- a/drivers/gpu/nvgpu/hal/fifo/runlist_ram_gv11b_fusa.c +++ b/drivers/gpu/nvgpu/hal/fifo/runlist_ram_gv11b_fusa.c @@ -23,7 +23,7 @@ #include #include #include -#include +#include #include "runlist_ram_gv11b.h" diff --git a/drivers/gpu/nvgpu/hal/fifo/tsg_gv11b_fusa.c b/drivers/gpu/nvgpu/hal/fifo/tsg_gv11b_fusa.c index d070e0231..28f9f0722 100644 --- a/drivers/gpu/nvgpu/hal/fifo/tsg_gv11b_fusa.c +++ b/drivers/gpu/nvgpu/hal/fifo/tsg_gv11b_fusa.c @@ -26,7 +26,7 @@ #include #include #include -#include +#include #include "hal/fifo/tsg_gv11b.h" diff --git a/drivers/gpu/nvgpu/hal/fifo/usermode_gv11b_fusa.c b/drivers/gpu/nvgpu/hal/fifo/usermode_gv11b_fusa.c index 9a38f060f..f0bf8528a 100644 --- a/drivers/gpu/nvgpu/hal/fifo/usermode_gv11b_fusa.c +++ b/drivers/gpu/nvgpu/hal/fifo/usermode_gv11b_fusa.c @@ -25,7 +25,7 @@ #include #include #include -#include +#include #include "usermode_gv11b.h" diff --git a/drivers/gpu/nvgpu/hal/gr/config/gr_config_gm20b.c b/drivers/gpu/nvgpu/hal/gr/config/gr_config_gm20b.c index a07d0590f..488fc4ec3 100644 --- a/drivers/gpu/nvgpu/hal/gr/config/gr_config_gm20b.c +++ b/drivers/gpu/nvgpu/hal/gr/config/gr_config_gm20b.c @@ -22,7 +22,7 @@ #include #include -#include +#include #include #include "gr_config_gm20b.h" diff --git a/drivers/gpu/nvgpu/hal/gr/config/gr_config_gm20b_fusa.c b/drivers/gpu/nvgpu/hal/gr/config/gr_config_gm20b_fusa.c index fc7b34cd8..12b8041f4 100644 --- a/drivers/gpu/nvgpu/hal/gr/config/gr_config_gm20b_fusa.c +++ b/drivers/gpu/nvgpu/hal/gr/config/gr_config_gm20b_fusa.c @@ -22,7 +22,7 @@ #include #include -#include +#include #include #include "gr_config_gm20b.h" diff --git a/drivers/gpu/nvgpu/hal/gr/config/gr_config_gv100_fusa.c b/drivers/gpu/nvgpu/hal/gr/config/gr_config_gv100_fusa.c index 933272164..59ac2ede1 100644 --- a/drivers/gpu/nvgpu/hal/gr/config/gr_config_gv100_fusa.c +++ b/drivers/gpu/nvgpu/hal/gr/config/gr_config_gv100_fusa.c @@ -22,7 +22,7 @@ #include #include -#include +#include #include #include "gr_config_gv100.h" diff --git a/drivers/gpu/nvgpu/hal/gr/ctxsw_prog/ctxsw_prog_gm20b.c b/drivers/gpu/nvgpu/hal/gr/ctxsw_prog/ctxsw_prog_gm20b.c index 7db920d42..23bb91586 100644 --- a/drivers/gpu/nvgpu/hal/gr/ctxsw_prog/ctxsw_prog_gm20b.c +++ b/drivers/gpu/nvgpu/hal/gr/ctxsw_prog/ctxsw_prog_gm20b.c @@ -23,7 +23,7 @@ #include #include #include -#include +#include #include "ctxsw_prog_gm20b.h" diff --git a/drivers/gpu/nvgpu/hal/gr/ctxsw_prog/ctxsw_prog_gm20b_dbg.c b/drivers/gpu/nvgpu/hal/gr/ctxsw_prog/ctxsw_prog_gm20b_dbg.c index d6727fb75..f641ae205 100644 --- a/drivers/gpu/nvgpu/hal/gr/ctxsw_prog/ctxsw_prog_gm20b_dbg.c +++ b/drivers/gpu/nvgpu/hal/gr/ctxsw_prog/ctxsw_prog_gm20b_dbg.c @@ -23,7 +23,7 @@ #include #include #include -#include +#include #include "ctxsw_prog_gm20b.h" diff --git a/drivers/gpu/nvgpu/hal/gr/ctxsw_prog/ctxsw_prog_gm20b_fusa.c b/drivers/gpu/nvgpu/hal/gr/ctxsw_prog/ctxsw_prog_gm20b_fusa.c index 34ed8115e..5703a20e8 100644 --- a/drivers/gpu/nvgpu/hal/gr/ctxsw_prog/ctxsw_prog_gm20b_fusa.c +++ b/drivers/gpu/nvgpu/hal/gr/ctxsw_prog/ctxsw_prog_gm20b_fusa.c @@ -23,7 +23,7 @@ #include #include #include -#include +#include #include "ctxsw_prog_gm20b.h" diff --git a/drivers/gpu/nvgpu/hal/gr/falcon/gr_falcon_gm20b.c b/drivers/gpu/nvgpu/hal/gr/falcon/gr_falcon_gm20b.c index 386592e67..47a323db2 100644 --- a/drivers/gpu/nvgpu/hal/gr/falcon/gr_falcon_gm20b.c +++ b/drivers/gpu/nvgpu/hal/gr/falcon/gr_falcon_gm20b.c @@ -26,7 +26,7 @@ #include #include #include -#include +#include #include #include diff --git a/drivers/gpu/nvgpu/hal/gr/falcon/gr_falcon_gm20b_fusa.c b/drivers/gpu/nvgpu/hal/gr/falcon/gr_falcon_gm20b_fusa.c index 4d5e3f84f..478b2e200 100644 --- a/drivers/gpu/nvgpu/hal/gr/falcon/gr_falcon_gm20b_fusa.c +++ b/drivers/gpu/nvgpu/hal/gr/falcon/gr_falcon_gm20b_fusa.c @@ -26,7 +26,7 @@ #include #include #include -#include +#include #include #include diff --git a/drivers/gpu/nvgpu/hal/gr/init/gr_init_gm20b.c b/drivers/gpu/nvgpu/hal/gr/init/gr_init_gm20b.c index 323d8b54e..8d9fc3c87 100644 --- a/drivers/gpu/nvgpu/hal/gr/init/gr_init_gm20b.c +++ b/drivers/gpu/nvgpu/hal/gr/init/gr_init_gm20b.c @@ -24,7 +24,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/drivers/gpu/nvgpu/hal/gr/init/gr_init_gm20b_fusa.c b/drivers/gpu/nvgpu/hal/gr/init/gr_init_gm20b_fusa.c index 4ff15c4da..458bd0e6f 100644 --- a/drivers/gpu/nvgpu/hal/gr/init/gr_init_gm20b_fusa.c +++ b/drivers/gpu/nvgpu/hal/gr/init/gr_init_gm20b_fusa.c @@ -24,7 +24,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/drivers/gpu/nvgpu/hal/gr/init/gr_init_gp10b.c b/drivers/gpu/nvgpu/hal/gr/init/gr_init_gp10b.c index ad540955b..2cf9b6819 100644 --- a/drivers/gpu/nvgpu/hal/gr/init/gr_init_gp10b.c +++ b/drivers/gpu/nvgpu/hal/gr/init/gr_init_gp10b.c @@ -24,7 +24,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/drivers/gpu/nvgpu/hal/gr/init/gr_init_gp10b_fusa.c b/drivers/gpu/nvgpu/hal/gr/init/gr_init_gp10b_fusa.c index 41e04e88c..651cc6392 100644 --- a/drivers/gpu/nvgpu/hal/gr/init/gr_init_gp10b_fusa.c +++ b/drivers/gpu/nvgpu/hal/gr/init/gr_init_gp10b_fusa.c @@ -24,7 +24,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/drivers/gpu/nvgpu/hal/gr/init/gr_init_gv100.c b/drivers/gpu/nvgpu/hal/gr/init/gr_init_gv100.c index 9349d82c5..34f085eea 100644 --- a/drivers/gpu/nvgpu/hal/gr/init/gr_init_gv100.c +++ b/drivers/gpu/nvgpu/hal/gr/init/gr_init_gv100.c @@ -21,7 +21,7 @@ */ #include -#include +#include #include #include "gr_init_gv100.h" diff --git a/drivers/gpu/nvgpu/hal/gr/init/gr_init_gv11b.c b/drivers/gpu/nvgpu/hal/gr/init/gr_init_gv11b.c index 456ea877c..b17d8ac01 100644 --- a/drivers/gpu/nvgpu/hal/gr/init/gr_init_gv11b.c +++ b/drivers/gpu/nvgpu/hal/gr/init/gr_init_gv11b.c @@ -25,7 +25,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/drivers/gpu/nvgpu/hal/gr/init/gr_init_gv11b_fusa.c b/drivers/gpu/nvgpu/hal/gr/init/gr_init_gv11b_fusa.c index e6deb3ef3..70458a195 100644 --- a/drivers/gpu/nvgpu/hal/gr/init/gr_init_gv11b_fusa.c +++ b/drivers/gpu/nvgpu/hal/gr/init/gr_init_gv11b_fusa.c @@ -25,7 +25,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/drivers/gpu/nvgpu/hal/gr/init/gr_init_tu104.c b/drivers/gpu/nvgpu/hal/gr/init/gr_init_tu104.c index db78ce311..7c11f75d0 100644 --- a/drivers/gpu/nvgpu/hal/gr/init/gr_init_tu104.c +++ b/drivers/gpu/nvgpu/hal/gr/init/gr_init_tu104.c @@ -23,7 +23,7 @@ #include #include #include -#include +#include #include #include diff --git a/drivers/gpu/nvgpu/hal/gr/intr/gr_intr_gm20b.c b/drivers/gpu/nvgpu/hal/gr/intr/gr_intr_gm20b.c index 2efeb0258..e94f02fe7 100644 --- a/drivers/gpu/nvgpu/hal/gr/intr/gr_intr_gm20b.c +++ b/drivers/gpu/nvgpu/hal/gr/intr/gr_intr_gm20b.c @@ -23,7 +23,7 @@ #include #include #include -#include +#include #include #include diff --git a/drivers/gpu/nvgpu/hal/gr/intr/gr_intr_gm20b_fusa.c b/drivers/gpu/nvgpu/hal/gr/intr/gr_intr_gm20b_fusa.c index 59fc2a601..ceb190cac 100644 --- a/drivers/gpu/nvgpu/hal/gr/intr/gr_intr_gm20b_fusa.c +++ b/drivers/gpu/nvgpu/hal/gr/intr/gr_intr_gm20b_fusa.c @@ -23,7 +23,7 @@ #include #include #include -#include +#include #include #include diff --git a/drivers/gpu/nvgpu/hal/gr/intr/gr_intr_gp10b.c b/drivers/gpu/nvgpu/hal/gr/intr/gr_intr_gp10b.c index d84914f31..e97e2b42e 100644 --- a/drivers/gpu/nvgpu/hal/gr/intr/gr_intr_gp10b.c +++ b/drivers/gpu/nvgpu/hal/gr/intr/gr_intr_gp10b.c @@ -24,7 +24,7 @@ #include #include #include -#include +#include #include #include diff --git a/drivers/gpu/nvgpu/hal/gr/intr/gr_intr_gp10b_fusa.c b/drivers/gpu/nvgpu/hal/gr/intr/gr_intr_gp10b_fusa.c index 8ab6e61c3..5dfa3b52e 100644 --- a/drivers/gpu/nvgpu/hal/gr/intr/gr_intr_gp10b_fusa.c +++ b/drivers/gpu/nvgpu/hal/gr/intr/gr_intr_gp10b_fusa.c @@ -24,7 +24,7 @@ #include #include #include -#include +#include #include #include diff --git a/drivers/gpu/nvgpu/hal/gr/intr/gr_intr_gv11b_fusa.c b/drivers/gpu/nvgpu/hal/gr/intr/gr_intr_gv11b_fusa.c index 220a04d4e..27dbf11dd 100644 --- a/drivers/gpu/nvgpu/hal/gr/intr/gr_intr_gv11b_fusa.c +++ b/drivers/gpu/nvgpu/hal/gr/intr/gr_intr_gv11b_fusa.c @@ -23,7 +23,7 @@ #include #include #include -#include +#include #include #include diff --git a/drivers/gpu/nvgpu/hal/gr/intr/gr_intr_tu104.c b/drivers/gpu/nvgpu/hal/gr/intr/gr_intr_tu104.c index 20745927b..3f208d627 100644 --- a/drivers/gpu/nvgpu/hal/gr/intr/gr_intr_tu104.c +++ b/drivers/gpu/nvgpu/hal/gr/intr/gr_intr_tu104.c @@ -23,7 +23,7 @@ #include #include #include -#include +#include #include diff --git a/drivers/gpu/nvgpu/hal/init/hal_init.c b/drivers/gpu/nvgpu/hal/init/hal_init.c index 4795ff00b..1935d8150 100644 --- a/drivers/gpu/nvgpu/hal/init/hal_init.c +++ b/drivers/gpu/nvgpu/hal/init/hal_init.c @@ -27,7 +27,7 @@ #include #include #include -#include +#include #include "hal_gm20b.h" #include "hal_gp10b.h" diff --git a/drivers/gpu/nvgpu/hal/ltc/intr/ltc_intr_gm20b.c b/drivers/gpu/nvgpu/hal/ltc/intr/ltc_intr_gm20b.c index 74f1a86cf..3472c572e 100644 --- a/drivers/gpu/nvgpu/hal/ltc/intr/ltc_intr_gm20b.c +++ b/drivers/gpu/nvgpu/hal/ltc/intr/ltc_intr_gm20b.c @@ -25,7 +25,7 @@ #include #include #include -#include +#include #include "ltc_intr_gm20b.h" diff --git a/drivers/gpu/nvgpu/hal/ltc/intr/ltc_intr_gp10b.c b/drivers/gpu/nvgpu/hal/ltc/intr/ltc_intr_gp10b.c index ef9a0a0ed..84dd79667 100644 --- a/drivers/gpu/nvgpu/hal/ltc/intr/ltc_intr_gp10b.c +++ b/drivers/gpu/nvgpu/hal/ltc/intr/ltc_intr_gp10b.c @@ -26,7 +26,7 @@ #include #include #include -#include +#include #include diff --git a/drivers/gpu/nvgpu/hal/ltc/intr/ltc_intr_gp10b_fusa.c b/drivers/gpu/nvgpu/hal/ltc/intr/ltc_intr_gp10b_fusa.c index f01c613df..c20993076 100644 --- a/drivers/gpu/nvgpu/hal/ltc/intr/ltc_intr_gp10b_fusa.c +++ b/drivers/gpu/nvgpu/hal/ltc/intr/ltc_intr_gp10b_fusa.c @@ -26,7 +26,7 @@ #include #include #include -#include +#include #include diff --git a/drivers/gpu/nvgpu/hal/ltc/intr/ltc_intr_gv11b_fusa.c b/drivers/gpu/nvgpu/hal/ltc/intr/ltc_intr_gv11b_fusa.c index e125bc0be..dcd15f58b 100644 --- a/drivers/gpu/nvgpu/hal/ltc/intr/ltc_intr_gv11b_fusa.c +++ b/drivers/gpu/nvgpu/hal/ltc/intr/ltc_intr_gv11b_fusa.c @@ -24,7 +24,7 @@ #include #include -#include +#include #include #include "ltc_intr_gp10b.h" diff --git a/drivers/gpu/nvgpu/hal/ltc/ltc_gm20b.c b/drivers/gpu/nvgpu/hal/ltc/ltc_gm20b.c index 300e2653d..d5ff4d5f1 100644 --- a/drivers/gpu/nvgpu/hal/ltc/ltc_gm20b.c +++ b/drivers/gpu/nvgpu/hal/ltc/ltc_gm20b.c @@ -34,7 +34,7 @@ #include #include #include -#include +#include #include diff --git a/drivers/gpu/nvgpu/hal/ltc/ltc_gm20b_dbg.c b/drivers/gpu/nvgpu/hal/ltc/ltc_gm20b_dbg.c index 25eaa59e8..f78eb6b33 100644 --- a/drivers/gpu/nvgpu/hal/ltc/ltc_gm20b_dbg.c +++ b/drivers/gpu/nvgpu/hal/ltc/ltc_gm20b_dbg.c @@ -34,7 +34,7 @@ #include #include #include -#include +#include #include diff --git a/drivers/gpu/nvgpu/hal/ltc/ltc_gm20b_fusa.c b/drivers/gpu/nvgpu/hal/ltc/ltc_gm20b_fusa.c index 58df03082..0e4c2a7be 100644 --- a/drivers/gpu/nvgpu/hal/ltc/ltc_gm20b_fusa.c +++ b/drivers/gpu/nvgpu/hal/ltc/ltc_gm20b_fusa.c @@ -34,7 +34,7 @@ #include #include #include -#include +#include #include diff --git a/drivers/gpu/nvgpu/hal/ltc/ltc_gp10b.c b/drivers/gpu/nvgpu/hal/ltc/ltc_gp10b.c index b8b946887..df398c788 100644 --- a/drivers/gpu/nvgpu/hal/ltc/ltc_gp10b.c +++ b/drivers/gpu/nvgpu/hal/ltc/ltc_gp10b.c @@ -26,7 +26,7 @@ #include #include #include -#include +#include #include diff --git a/drivers/gpu/nvgpu/hal/ltc/ltc_gp10b_fusa.c b/drivers/gpu/nvgpu/hal/ltc/ltc_gp10b_fusa.c index 3295b4fa0..d8190becd 100644 --- a/drivers/gpu/nvgpu/hal/ltc/ltc_gp10b_fusa.c +++ b/drivers/gpu/nvgpu/hal/ltc/ltc_gp10b_fusa.c @@ -26,7 +26,7 @@ #include #include #include -#include +#include #include diff --git a/drivers/gpu/nvgpu/hal/ltc/ltc_gv11b.c b/drivers/gpu/nvgpu/hal/ltc/ltc_gv11b.c index bdb9734c2..07271f0da 100644 --- a/drivers/gpu/nvgpu/hal/ltc/ltc_gv11b.c +++ b/drivers/gpu/nvgpu/hal/ltc/ltc_gv11b.c @@ -25,7 +25,7 @@ #include #include #include -#include +#include #include "ltc_gv11b.h" diff --git a/drivers/gpu/nvgpu/hal/ltc/ltc_gv11b_fusa.c b/drivers/gpu/nvgpu/hal/ltc/ltc_gv11b_fusa.c index 2a6603058..9df903b80 100644 --- a/drivers/gpu/nvgpu/hal/ltc/ltc_gv11b_fusa.c +++ b/drivers/gpu/nvgpu/hal/ltc/ltc_gv11b_fusa.c @@ -25,7 +25,7 @@ #include #include #include -#include +#include #include "ltc_gv11b.h" diff --git a/drivers/gpu/nvgpu/hal/mm/gmmu/gmmu_gp10b_fusa.c b/drivers/gpu/nvgpu/hal/mm/gmmu/gmmu_gp10b_fusa.c index e17b834cd..c460009c4 100644 --- a/drivers/gpu/nvgpu/hal/mm/gmmu/gmmu_gp10b_fusa.c +++ b/drivers/gpu/nvgpu/hal/mm/gmmu/gmmu_gp10b_fusa.c @@ -22,7 +22,7 @@ #include #include -#include +#include #include diff --git a/drivers/gpu/nvgpu/hal/power_features/cg/gv11b_gating_reglist.c b/drivers/gpu/nvgpu/hal/power_features/cg/gv11b_gating_reglist.c index 4c3a152c3..7381c0350 100644 --- a/drivers/gpu/nvgpu/hal/power_features/cg/gv11b_gating_reglist.c +++ b/drivers/gpu/nvgpu/hal/power_features/cg/gv11b_gating_reglist.c @@ -25,7 +25,7 @@ #include #include #include -#include +#include #include "gating_reglist.h" #include "gv11b_gating_reglist.h" diff --git a/drivers/gpu/nvgpu/hal/priv_ring/priv_ring_gp10b_fusa.c b/drivers/gpu/nvgpu/hal/priv_ring/priv_ring_gp10b_fusa.c index d4bfff653..7809d2fd2 100644 --- a/drivers/gpu/nvgpu/hal/priv_ring/priv_ring_gp10b_fusa.c +++ b/drivers/gpu/nvgpu/hal/priv_ring/priv_ring_gp10b_fusa.c @@ -29,7 +29,7 @@ #include #include #include -#include +#include #include #include diff --git a/drivers/gpu/nvgpu/hal/sync/syncpt_cmdbuf_gv11b.c b/drivers/gpu/nvgpu/hal/sync/syncpt_cmdbuf_gv11b.c index f9f9882a3..0fe1b70a4 100644 --- a/drivers/gpu/nvgpu/hal/sync/syncpt_cmdbuf_gv11b.c +++ b/drivers/gpu/nvgpu/hal/sync/syncpt_cmdbuf_gv11b.c @@ -30,7 +30,7 @@ #include #include #include -#include +#include #include "syncpt_cmdbuf_gv11b.h" diff --git a/drivers/gpu/nvgpu/include/nvgpu/gr/global_ctx.h b/drivers/gpu/nvgpu/include/nvgpu/gr/global_ctx.h index 07b20225d..adadf87b0 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/gr/global_ctx.h +++ b/drivers/gpu/nvgpu/include/nvgpu/gr/global_ctx.h @@ -23,7 +23,7 @@ #define NVGPU_GR_GLOBAL_CTX_H #include -#include +#include #define NVGPU_GR_GLOBAL_CTX_PRIV_ACCESS_MAP_SIZE \ nvgpu_safe_mult_u32(512U, 1024U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/gr/gr_utils.h b/drivers/gpu/nvgpu/include/nvgpu/gr/gr_utils.h index f2f91d1af..0ec68e9c4 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/gr/gr_utils.h +++ b/drivers/gpu/nvgpu/include/nvgpu/gr/gr_utils.h @@ -24,7 +24,7 @@ #define NVGPU_GR_UTILS_H #include -#include +#include struct gk20a; struct nvgpu_gr_falcon; diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_bus_gk20a.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_bus_gk20a.h index a5c383818..7dee9213c 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_bus_gk20a.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_bus_gk20a.h @@ -57,7 +57,7 @@ #define NVGPU_HW_BUS_GK20A_H #include -#include +#include #define bus_bar0_window_r() (0x00001700U) #define bus_bar0_window_base_f(v) ((U32(v) & 0xffffffU) << 0U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_ccsr_gk20a.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_ccsr_gk20a.h index dea35c66f..fce337f5c 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_ccsr_gk20a.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_ccsr_gk20a.h @@ -57,7 +57,7 @@ #define NVGPU_HW_CCSR_GK20A_H #include -#include +#include #define ccsr_channel_inst_r(i)\ (nvgpu_safe_add_u32(0x00800000U, nvgpu_safe_mult_u32((i), 8U))) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_ce2_gk20a.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_ce2_gk20a.h index c73232aad..224105c1a 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_ce2_gk20a.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_ce2_gk20a.h @@ -57,7 +57,7 @@ #define NVGPU_HW_CE2_GK20A_H #include -#include +#include #define ce2_intr_status_r() (0x00106908U) #define ce2_intr_status_blockpipe_pending_f() (0x1U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_ctxsw_prog_gk20a.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_ctxsw_prog_gk20a.h index 657664246..43d19e51e 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_ctxsw_prog_gk20a.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_ctxsw_prog_gk20a.h @@ -57,7 +57,7 @@ #define NVGPU_HW_CTXSW_PROG_GK20A_H #include -#include +#include #define ctxsw_prog_fecs_header_v() (0x00000100U) #define ctxsw_prog_gpccs_header_stride_v() (0x00000100U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_falcon_gk20a.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_falcon_gk20a.h index 5314c2e1c..34c39621b 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_falcon_gk20a.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_falcon_gk20a.h @@ -57,7 +57,7 @@ #define NVGPU_HW_FALCON_GK20A_H #include -#include +#include #define falcon_falcon_irqsset_r() (0x00000000U) #define falcon_falcon_irqsset_swgen0_set_f() (0x40U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_fb_gk20a.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_fb_gk20a.h index b7b6bdbf5..5384fc2cd 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_fb_gk20a.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_fb_gk20a.h @@ -57,7 +57,7 @@ #define NVGPU_HW_FB_GK20A_H #include -#include +#include #define fb_mmu_ctrl_r() (0x00100c80U) #define fb_mmu_ctrl_vm_pg_size_f(v) ((U32(v) & 0x1U) << 0U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_fifo_gk20a.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_fifo_gk20a.h index 0a01daa79..521d00a52 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_fifo_gk20a.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_fifo_gk20a.h @@ -57,7 +57,7 @@ #define NVGPU_HW_FIFO_GK20A_H #include -#include +#include #define fifo_bar1_base_r() (0x00002254U) #define fifo_bar1_base_ptr_f(v) ((U32(v) & 0xfffffffU) << 0U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_flush_gk20a.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_flush_gk20a.h index 6f7a2d3ab..982ba8566 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_flush_gk20a.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_flush_gk20a.h @@ -57,7 +57,7 @@ #define NVGPU_HW_FLUSH_GK20A_H #include -#include +#include #define flush_l2_system_invalidate_r() (0x00070004U) #define flush_l2_system_invalidate_pending_v(r) (((r) >> 0U) & 0x1U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_gmmu_gk20a.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_gmmu_gk20a.h index 533e6ae5f..8bba9b9b4 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_gmmu_gk20a.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_gmmu_gk20a.h @@ -57,7 +57,7 @@ #define NVGPU_HW_GMMU_GK20A_H #include -#include +#include #define gmmu_pde_aperture_big_w() (0U) #define gmmu_pde_aperture_big_invalid_f() (0x0U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_gr_gk20a.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_gr_gk20a.h index 3c7bb2f2b..acde4d553 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_gr_gk20a.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_gr_gk20a.h @@ -57,7 +57,7 @@ #define NVGPU_HW_GR_GK20A_H #include -#include +#include #define gr_intr_r() (0x00400100U) #define gr_intr_notify_pending_f() (0x1U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_ltc_gk20a.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_ltc_gk20a.h index 1a1fb33b0..44955d5c9 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_ltc_gk20a.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_ltc_gk20a.h @@ -57,7 +57,7 @@ #define NVGPU_HW_LTC_GK20A_H #include -#include +#include #define ltc_pltcg_base_v() (0x00140000U) #define ltc_pltcg_extent_v() (0x0017ffffU) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_mc_gk20a.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_mc_gk20a.h index 01efb956d..c64f975f9 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_mc_gk20a.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_mc_gk20a.h @@ -57,7 +57,7 @@ #define NVGPU_HW_MC_GK20A_H #include -#include +#include #define mc_boot_0_r() (0x00000000U) #define mc_boot_0_architecture_v(r) (((r) >> 24U) & 0x1fU) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_pbdma_gk20a.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_pbdma_gk20a.h index ef515862e..ba9640488 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_pbdma_gk20a.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_pbdma_gk20a.h @@ -57,7 +57,7 @@ #define NVGPU_HW_PBDMA_GK20A_H #include -#include +#include #define pbdma_gp_entry1_r() (0x10000004U) #define pbdma_gp_entry1_get_hi_v(r) (((r) >> 0U) & 0xffU) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_perf_gk20a.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_perf_gk20a.h index 27d31e968..5e2de1459 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_perf_gk20a.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_perf_gk20a.h @@ -57,7 +57,7 @@ #define NVGPU_HW_PERF_GK20A_H #include -#include +#include #define perf_pmasys_control_r() (0x001b4000U) #define perf_pmasys_control_membuf_status_v(r) (((r) >> 4U) & 0x1U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_pram_gk20a.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_pram_gk20a.h index 48c61cb30..7799c807e 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_pram_gk20a.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_pram_gk20a.h @@ -57,7 +57,7 @@ #define NVGPU_HW_PRAM_GK20A_H #include -#include +#include #define pram_data032_r(i)\ (nvgpu_safe_add_u32(0x00700000U, nvgpu_safe_mult_u32((i), 4U))) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_pri_ringmaster_gk20a.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_pri_ringmaster_gk20a.h index 47035b82e..1828c60b7 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_pri_ringmaster_gk20a.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_pri_ringmaster_gk20a.h @@ -57,7 +57,7 @@ #define NVGPU_HW_PRI_RINGMASTER_GK20A_H #include -#include +#include #define pri_ringmaster_command_r() (0x0012004cU) #define pri_ringmaster_command_cmd_m() (U32(0x3fU) << 0U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_pri_ringstation_gpc_gk20a.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_pri_ringstation_gpc_gk20a.h index 45eda2318..3d300d777 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_pri_ringstation_gpc_gk20a.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_pri_ringstation_gpc_gk20a.h @@ -57,7 +57,7 @@ #define NVGPU_HW_PRI_RINGSTATION_GPC_GK20A_H #include -#include +#include #define pri_ringstation_gpc_master_config_r(i)\ (nvgpu_safe_add_u32(0x00128300U, nvgpu_safe_mult_u32((i), 4U))) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_pri_ringstation_sys_gk20a.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_pri_ringstation_sys_gk20a.h index 071e8565b..e84c246a4 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_pri_ringstation_sys_gk20a.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_pri_ringstation_sys_gk20a.h @@ -57,7 +57,7 @@ #define NVGPU_HW_PRI_RINGSTATION_SYS_GK20A_H #include -#include +#include #define pri_ringstation_sys_master_config_r(i)\ (nvgpu_safe_add_u32(0x00122300U, nvgpu_safe_mult_u32((i), 4U))) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_proj_gk20a.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_proj_gk20a.h index 00313274b..457fa1728 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_proj_gk20a.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_proj_gk20a.h @@ -57,7 +57,7 @@ #define NVGPU_HW_PROJ_GK20A_H #include -#include +#include #define proj_gpc_base_v() (0x00500000U) #define proj_gpc_shared_base_v() (0x00418000U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_pwr_gk20a.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_pwr_gk20a.h index 41f1e9833..4e3628b4f 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_pwr_gk20a.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_pwr_gk20a.h @@ -57,7 +57,7 @@ #define NVGPU_HW_PWR_GK20A_H #include -#include +#include #define pwr_falcon_irqsset_r() (0x0010a000U) #define pwr_falcon_irqsset_swgen0_set_f() (0x40U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_ram_gk20a.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_ram_gk20a.h index 53a46e770..773a9f10b 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_ram_gk20a.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_ram_gk20a.h @@ -57,7 +57,7 @@ #define NVGPU_HW_RAM_GK20A_H #include -#include +#include #define ram_in_ramfc_s() (4096U) #define ram_in_ramfc_w() (0U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_therm_gk20a.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_therm_gk20a.h index 64e501335..dc24fda41 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_therm_gk20a.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_therm_gk20a.h @@ -57,7 +57,7 @@ #define NVGPU_HW_THERM_GK20A_H #include -#include +#include #define therm_use_a_r() (0x00020798U) #define therm_use_a_ext_therm_0_enable_f() (0x1U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_timer_gk20a.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_timer_gk20a.h index dbf5b3de3..6c803e84e 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_timer_gk20a.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_timer_gk20a.h @@ -57,7 +57,7 @@ #define NVGPU_HW_TIMER_GK20A_H #include -#include +#include #define timer_pri_timeout_r() (0x00009080U) #define timer_pri_timeout_period_f(v) ((U32(v) & 0xffffffU) << 0U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_top_gk20a.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_top_gk20a.h index c9a646700..36cf3c4a6 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_top_gk20a.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_top_gk20a.h @@ -57,7 +57,7 @@ #define NVGPU_HW_TOP_GK20A_H #include -#include +#include #define top_num_gpcs_r() (0x00022430U) #define top_num_gpcs_value_v(r) (((r) >> 0U) & 0x1fU) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_trim_gk20a.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_trim_gk20a.h index f5f4b840f..2763fc21d 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_trim_gk20a.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_trim_gk20a.h @@ -57,7 +57,7 @@ #define NVGPU_HW_TRIM_GK20A_H #include -#include +#include #define trim_sys_gpcpll_cfg_r() (0x00137000U) #define trim_sys_gpcpll_cfg_enable_m() (U32(0x1U) << 0U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_bus_gm20b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_bus_gm20b.h index a07595b63..dfa3a15da 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_bus_gm20b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_bus_gm20b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_BUS_GM20B_H #include -#include +#include #define bus_bar0_window_r() (0x00001700U) #define bus_bar0_window_base_f(v) ((U32(v) & 0xffffffU) << 0U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_ccsr_gm20b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_ccsr_gm20b.h index 60b82e49b..f50c739b9 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_ccsr_gm20b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_ccsr_gm20b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_CCSR_GM20B_H #include -#include +#include #define ccsr_channel_inst_r(i)\ (nvgpu_safe_add_u32(0x00800000U, nvgpu_safe_mult_u32((i), 8U))) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_ce2_gm20b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_ce2_gm20b.h index 8df165dea..03e0c021d 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_ce2_gm20b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_ce2_gm20b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_CE2_GM20B_H #include -#include +#include #define ce2_intr_status_r() (0x00106908U) #define ce2_intr_status_blockpipe_pending_f() (0x1U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_ctxsw_prog_gm20b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_ctxsw_prog_gm20b.h index d3b128ce5..4fb046c5d 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_ctxsw_prog_gm20b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_ctxsw_prog_gm20b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_CTXSW_PROG_GM20B_H #include -#include +#include #define ctxsw_prog_fecs_header_v() (0x00000100U) #define ctxsw_prog_gpccs_header_stride_v() (0x00000100U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_falcon_gm20b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_falcon_gm20b.h index c9297d89e..ec154ac42 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_falcon_gm20b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_falcon_gm20b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_FALCON_GM20B_H #include -#include +#include #define falcon_falcon_irqsset_r() (0x00000000U) #define falcon_falcon_irqsset_swgen0_set_f() (0x40U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_fb_gm20b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_fb_gm20b.h index db5d5b9d2..05267bbda 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_fb_gm20b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_fb_gm20b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_FB_GM20B_H #include -#include +#include #define fb_fbhub_num_active_ltcs_r() (0x00100800U) #define fb_mmu_ctrl_r() (0x00100c80U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_fifo_gm20b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_fifo_gm20b.h index 3f0244315..57ebe0ec2 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_fifo_gm20b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_fifo_gm20b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_FIFO_GM20B_H #include -#include +#include #define fifo_bar1_base_r() (0x00002254U) #define fifo_bar1_base_ptr_f(v) ((U32(v) & 0xfffffffU) << 0U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_flush_gm20b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_flush_gm20b.h index 50c45deda..5b8abca04 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_flush_gm20b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_flush_gm20b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_FLUSH_GM20B_H #include -#include +#include #define flush_l2_system_invalidate_r() (0x00070004U) #define flush_l2_system_invalidate_pending_v(r) (((r) >> 0U) & 0x1U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_fuse_gm20b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_fuse_gm20b.h index 39b26fb4a..3c499e2b8 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_fuse_gm20b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_fuse_gm20b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_FUSE_GM20B_H #include -#include +#include #define fuse_status_opt_gpc_r() (0x00021c1cU) #define fuse_status_opt_tpc_gpc_r(i)\ diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_gmmu_gm20b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_gmmu_gm20b.h index 67e06ed5e..d0b998f5a 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_gmmu_gm20b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_gmmu_gm20b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_GMMU_GM20B_H #include -#include +#include #define gmmu_pde_aperture_big_w() (0U) #define gmmu_pde_aperture_big_invalid_f() (0x0U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_gr_gm20b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_gr_gm20b.h index 817c8137a..1d0a544c0 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_gr_gm20b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_gr_gm20b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_GR_GM20B_H #include -#include +#include #define gr_intr_r() (0x00400100U) #define gr_intr_notify_pending_f() (0x1U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_ltc_gm20b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_ltc_gm20b.h index d4ccc60ed..044153df6 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_ltc_gm20b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_ltc_gm20b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_LTC_GM20B_H #include -#include +#include #define ltc_pltcg_base_v() (0x00140000U) #define ltc_pltcg_extent_v() (0x0017ffffU) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_mc_gm20b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_mc_gm20b.h index da2056a2f..02897fda9 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_mc_gm20b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_mc_gm20b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_MC_GM20B_H #include -#include +#include #define mc_boot_0_r() (0x00000000U) #define mc_boot_0_architecture_v(r) (((r) >> 24U) & 0x1fU) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_pbdma_gm20b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_pbdma_gm20b.h index 943b7956f..81cd547c9 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_pbdma_gm20b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_pbdma_gm20b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_PBDMA_GM20B_H #include -#include +#include #define pbdma_gp_entry1_r() (0x10000004U) #define pbdma_gp_entry1_get_hi_v(r) (((r) >> 0U) & 0xffU) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_perf_gm20b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_perf_gm20b.h index 86536484d..47c933d40 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_perf_gm20b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_perf_gm20b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_PERF_GM20B_H #include -#include +#include #define perf_pmmsys_base_v() (0x001b0000U) #define perf_pmmsys_extent_v() (0x001b0fffU) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_pram_gm20b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_pram_gm20b.h index 7bb76e58a..2ed965183 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_pram_gm20b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_pram_gm20b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_PRAM_GM20B_H #include -#include +#include #define pram_data032_r(i)\ (nvgpu_safe_add_u32(0x00700000U, nvgpu_safe_mult_u32((i), 4U))) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_pri_ringmaster_gm20b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_pri_ringmaster_gm20b.h index 5aceb9eca..1ffbb6fa6 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_pri_ringmaster_gm20b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_pri_ringmaster_gm20b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_PRI_RINGMASTER_GM20B_H #include -#include +#include #define pri_ringmaster_command_r() (0x0012004cU) #define pri_ringmaster_command_cmd_m() (U32(0x3fU) << 0U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_pri_ringstation_gpc_gm20b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_pri_ringstation_gpc_gm20b.h index 1986dea79..69a120c54 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_pri_ringstation_gpc_gm20b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_pri_ringstation_gpc_gm20b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_PRI_RINGSTATION_GPC_GM20B_H #include -#include +#include #define pri_ringstation_gpc_master_config_r(i)\ (nvgpu_safe_add_u32(0x00128300U, nvgpu_safe_mult_u32((i), 4U))) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_pri_ringstation_sys_gm20b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_pri_ringstation_sys_gm20b.h index 526cfdd88..7b5c9b879 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_pri_ringstation_sys_gm20b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_pri_ringstation_sys_gm20b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_PRI_RINGSTATION_SYS_GM20B_H #include -#include +#include #define pri_ringstation_sys_master_config_r(i)\ (nvgpu_safe_add_u32(0x00122300U, nvgpu_safe_mult_u32((i), 4U))) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_proj_gm20b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_proj_gm20b.h index 5c3742452..90046f55d 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_proj_gm20b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_proj_gm20b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_PROJ_GM20B_H #include -#include +#include #define proj_gpc_base_v() (0x00500000U) #define proj_gpc_shared_base_v() (0x00418000U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_pwr_gm20b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_pwr_gm20b.h index b4edbb521..265525b1a 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_pwr_gm20b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_pwr_gm20b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_PWR_GM20B_H #include -#include +#include #define pwr_falcon_irqsset_r() (0x0010a000U) #define pwr_falcon_irqsset_swgen0_set_f() (0x40U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_ram_gm20b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_ram_gm20b.h index 70cb2d1a6..c71ceeebe 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_ram_gm20b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_ram_gm20b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_RAM_GM20B_H #include -#include +#include #define ram_in_ramfc_s() (4096U) #define ram_in_ramfc_w() (0U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_therm_gm20b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_therm_gm20b.h index daff73ff4..ff96bd282 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_therm_gm20b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_therm_gm20b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_THERM_GM20B_H #include -#include +#include #define therm_use_a_r() (0x00020798U) #define therm_use_a_ext_therm_0_enable_f() (0x1U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_timer_gm20b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_timer_gm20b.h index abb44638d..a84ee4a95 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_timer_gm20b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_timer_gm20b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_TIMER_GM20B_H #include -#include +#include #define timer_pri_timeout_r() (0x00009080U) #define timer_pri_timeout_period_f(v) ((U32(v) & 0xffffffU) << 0U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_top_gm20b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_top_gm20b.h index 3f0463f13..66ca021c5 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_top_gm20b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_top_gm20b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_TOP_GM20B_H #include -#include +#include #define top_num_gpcs_r() (0x00022430U) #define top_num_gpcs_value_v(r) (((r) >> 0U) & 0x1fU) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_trim_gm20b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_trim_gm20b.h index 2d8333cb1..c8371345c 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_trim_gm20b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_trim_gm20b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_TRIM_GM20B_H #include -#include +#include #define trim_sys_gpcpll_cfg_r() (0x00137000U) #define trim_sys_gpcpll_cfg_enable_m() (U32(0x1U) << 0U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_bus_gp106.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_bus_gp106.h index 2da07cfc0..6448a9e56 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_bus_gp106.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_bus_gp106.h @@ -57,7 +57,7 @@ #define NVGPU_HW_BUS_GP106_H #include -#include +#include #define bus_bar0_window_r() (0x00001700U) #define bus_bar0_window_base_f(v) ((U32(v) & 0xffffffU) << 0U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_ccsr_gp106.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_ccsr_gp106.h index ccaf0a6a6..c58b195ac 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_ccsr_gp106.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_ccsr_gp106.h @@ -57,7 +57,7 @@ #define NVGPU_HW_CCSR_GP106_H #include -#include +#include #define ccsr_channel_inst_r(i)\ (nvgpu_safe_add_u32(0x00800000U, nvgpu_safe_mult_u32((i), 8U))) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_ce_gp106.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_ce_gp106.h index a0d7ebf41..b3b8a9120 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_ce_gp106.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_ce_gp106.h @@ -57,7 +57,7 @@ #define NVGPU_HW_CE_GP106_H #include -#include +#include #define ce_intr_status_r(i)\ (nvgpu_safe_add_u32(0x00104410U, nvgpu_safe_mult_u32((i), 128U))) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_ctxsw_prog_gp106.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_ctxsw_prog_gp106.h index 61e9f6519..e6fe5ef6e 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_ctxsw_prog_gp106.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_ctxsw_prog_gp106.h @@ -57,7 +57,7 @@ #define NVGPU_HW_CTXSW_PROG_GP106_H #include -#include +#include #define ctxsw_prog_fecs_header_v() (0x00000100U) #define ctxsw_prog_gpccs_header_stride_v() (0x00000100U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_falcon_gp106.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_falcon_gp106.h index 00d75e584..6e9c32e9b 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_falcon_gp106.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_falcon_gp106.h @@ -57,7 +57,7 @@ #define NVGPU_HW_FALCON_GP106_H #include -#include +#include #define falcon_falcon_irqsset_r() (0x00000000U) #define falcon_falcon_irqsset_swgen0_set_f() (0x40U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_fb_gp106.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_fb_gp106.h index ff0f7aac9..4c7d620a1 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_fb_gp106.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_fb_gp106.h @@ -57,7 +57,7 @@ #define NVGPU_HW_FB_GP106_H #include -#include +#include #define fb_fbhub_num_active_ltcs_r() (0x00100800U) #define fb_mmu_ctrl_r() (0x00100c80U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_fbpa_gp106.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_fbpa_gp106.h index 7a00092e8..a0f0e9361 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_fbpa_gp106.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_fbpa_gp106.h @@ -57,7 +57,7 @@ #define NVGPU_HW_FBPA_GP106_H #include -#include +#include #define fbpa_cstatus_r() (0x009a020cU) #define fbpa_cstatus_ramamount_v(r) (((r) >> 0U) & 0x1ffffU) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_fifo_gp106.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_fifo_gp106.h index 93c9a47e7..dadcefa57 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_fifo_gp106.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_fifo_gp106.h @@ -57,7 +57,7 @@ #define NVGPU_HW_FIFO_GP106_H #include -#include +#include #define fifo_bar1_base_r() (0x00002254U) #define fifo_bar1_base_ptr_f(v) ((U32(v) & 0xfffffffU) << 0U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_flush_gp106.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_flush_gp106.h index a0f2638d9..3c475b503 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_flush_gp106.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_flush_gp106.h @@ -57,7 +57,7 @@ #define NVGPU_HW_FLUSH_GP106_H #include -#include +#include #define flush_l2_system_invalidate_r() (0x00070004U) #define flush_l2_system_invalidate_pending_v(r) (((r) >> 0U) & 0x1U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_fuse_gp106.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_fuse_gp106.h index c28fdda41..d9f70dd83 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_fuse_gp106.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_fuse_gp106.h @@ -57,7 +57,7 @@ #define NVGPU_HW_FUSE_GP106_H #include -#include +#include #define fuse_status_opt_gpc_r() (0x00021c1cU) #define fuse_status_opt_tpc_gpc_r(i)\ diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_gmmu_gp106.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_gmmu_gp106.h index 6c50d8a99..62c4b35ec 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_gmmu_gp106.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_gmmu_gp106.h @@ -57,7 +57,7 @@ #define NVGPU_HW_GMMU_GP106_H #include -#include +#include #define gmmu_new_pde_is_pte_w() (0U) #define gmmu_new_pde_is_pte_false_f() (0x0U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_gr_gp106.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_gr_gp106.h index 61abee14a..c21d3df2b 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_gr_gp106.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_gr_gp106.h @@ -57,7 +57,7 @@ #define NVGPU_HW_GR_GP106_H #include -#include +#include #define gr_intr_r() (0x00400100U) #define gr_intr_notify_pending_f() (0x1U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_ltc_gp106.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_ltc_gp106.h index aaf8fce9c..0ee90f0f8 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_ltc_gp106.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_ltc_gp106.h @@ -57,7 +57,7 @@ #define NVGPU_HW_LTC_GP106_H #include -#include +#include #define ltc_ltcs_lts0_cbc_ctrl1_r() (0x0014046cU) #define ltc_ltc0_lts0_dstg_cfg0_r() (0x00140518U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_mc_gp106.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_mc_gp106.h index e3591117f..82e3c056e 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_mc_gp106.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_mc_gp106.h @@ -57,7 +57,7 @@ #define NVGPU_HW_MC_GP106_H #include -#include +#include #define mc_boot_0_r() (0x00000000U) #define mc_boot_0_architecture_v(r) (((r) >> 24U) & 0x1fU) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_pbdma_gp106.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_pbdma_gp106.h index 9144b5c34..46b3ee25b 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_pbdma_gp106.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_pbdma_gp106.h @@ -57,7 +57,7 @@ #define NVGPU_HW_PBDMA_GP106_H #include -#include +#include #define pbdma_gp_entry1_r() (0x10000004U) #define pbdma_gp_entry1_get_hi_v(r) (((r) >> 0U) & 0xffU) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_perf_gp106.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_perf_gp106.h index f9434684d..9e9f06c54 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_perf_gp106.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_perf_gp106.h @@ -57,7 +57,7 @@ #define NVGPU_HW_PERF_GP106_H #include -#include +#include #define perf_pmmsys_base_v() (0x001b0000U) #define perf_pmmsys_extent_v() (0x001b0fffU) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_pnvdec_gp106.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_pnvdec_gp106.h index 585e94c9f..8276974fe 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_pnvdec_gp106.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_pnvdec_gp106.h @@ -57,7 +57,7 @@ #define NVGPU_HW_PNVDEC_GP106_H #include -#include +#include #define pnvdec_falcon_irqsset_r() (0x00084000U) #define pnvdec_falcon_irqsclr_r() (0x00084004U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_pram_gp106.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_pram_gp106.h index f4ab1c89c..2f7981b0f 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_pram_gp106.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_pram_gp106.h @@ -57,7 +57,7 @@ #define NVGPU_HW_PRAM_GP106_H #include -#include +#include #define pram_data032_r(i)\ (nvgpu_safe_add_u32(0x00700000U, nvgpu_safe_mult_u32((i), 4U))) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_pri_ringmaster_gp106.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_pri_ringmaster_gp106.h index 6d522caf8..8b63231d7 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_pri_ringmaster_gp106.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_pri_ringmaster_gp106.h @@ -57,7 +57,7 @@ #define NVGPU_HW_PRI_RINGMASTER_GP106_H #include -#include +#include #define pri_ringmaster_command_r() (0x0012004cU) #define pri_ringmaster_command_cmd_m() (U32(0x3fU) << 0U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_pri_ringstation_gpc_gp106.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_pri_ringstation_gpc_gp106.h index 8efeef0e4..e764834f2 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_pri_ringstation_gpc_gp106.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_pri_ringstation_gpc_gp106.h @@ -57,7 +57,7 @@ #define NVGPU_HW_PRI_RINGSTATION_GPC_GP106_H #include -#include +#include #define pri_ringstation_gpc_master_config_r(i)\ (nvgpu_safe_add_u32(0x00128300U, nvgpu_safe_mult_u32((i), 4U))) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_pri_ringstation_sys_gp106.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_pri_ringstation_sys_gp106.h index 0ba16a2e1..0e9457afe 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_pri_ringstation_sys_gp106.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_pri_ringstation_sys_gp106.h @@ -57,7 +57,7 @@ #define NVGPU_HW_PRI_RINGSTATION_SYS_GP106_H #include -#include +#include #define pri_ringstation_sys_master_config_r(i)\ (nvgpu_safe_add_u32(0x00122300U, nvgpu_safe_mult_u32((i), 4U))) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_proj_gp106.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_proj_gp106.h index ed2ba95fa..9d82c87ac 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_proj_gp106.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_proj_gp106.h @@ -57,7 +57,7 @@ #define NVGPU_HW_PROJ_GP106_H #include -#include +#include #define proj_gpc_base_v() (0x00500000U) #define proj_gpc_shared_base_v() (0x00418000U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_psec_gp106.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_psec_gp106.h index ab3583c69..510f0c9b1 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_psec_gp106.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_psec_gp106.h @@ -57,7 +57,7 @@ #define NVGPU_HW_PSEC_GP106_H #include -#include +#include #define psec_falcon_irqsset_r() (0x00087000U) #define psec_falcon_irqsset_swgen0_set_f() (0x40U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_pwr_gp106.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_pwr_gp106.h index 0d3b78ad2..1e70bf2a4 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_pwr_gp106.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_pwr_gp106.h @@ -57,7 +57,7 @@ #define NVGPU_HW_PWR_GP106_H #include -#include +#include #define pwr_falcon_irqsset_r() (0x0010a000U) #define pwr_falcon_irqsset_swgen0_set_f() (0x40U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_ram_gp106.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_ram_gp106.h index e17fc5b2a..2de11a7d6 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_ram_gp106.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_ram_gp106.h @@ -57,7 +57,7 @@ #define NVGPU_HW_RAM_GP106_H #include -#include +#include #define ram_in_ramfc_s() (4096U) #define ram_in_ramfc_w() (0U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_therm_gp106.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_therm_gp106.h index 8c4e46c8a..1002739df 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_therm_gp106.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_therm_gp106.h @@ -57,7 +57,7 @@ #define NVGPU_HW_THERM_GP106_H #include -#include +#include #define therm_gate_ctrl_r(i)\ (nvgpu_safe_add_u32(0x00020200U, nvgpu_safe_mult_u32((i), 4U))) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_timer_gp106.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_timer_gp106.h index 8273fefc4..fdac4d6cd 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_timer_gp106.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_timer_gp106.h @@ -57,7 +57,7 @@ #define NVGPU_HW_TIMER_GP106_H #include -#include +#include #define timer_pri_timeout_r() (0x00009080U) #define timer_pri_timeout_period_f(v) ((U32(v) & 0xffffffU) << 0U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_top_gp106.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_top_gp106.h index 325ccc345..e6f49a377 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_top_gp106.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_top_gp106.h @@ -57,7 +57,7 @@ #define NVGPU_HW_TOP_GP106_H #include -#include +#include #define top_num_gpcs_r() (0x00022430U) #define top_num_gpcs_value_v(r) (((r) >> 0U) & 0x1fU) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_trim_gp106.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_trim_gp106.h index 6a893388d..ba97ab878 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_trim_gp106.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_trim_gp106.h @@ -57,7 +57,7 @@ #define NVGPU_HW_TRIM_GP106_H #include -#include +#include #define trim_gpc_bcast_clk_cntr_ncgpcclk_cfg_r() (0x00132924U) #define trim_gpc_bcast_clk_cntr_ncgpcclk_cfg_noofipclks_s() (16U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_xp_gp106.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_xp_gp106.h index 4e0d38266..baded35aa 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_xp_gp106.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_xp_gp106.h @@ -57,7 +57,7 @@ #define NVGPU_HW_XP_GP106_H #include -#include +#include #define xp_dl_mgr_r(i)\ (nvgpu_safe_add_u32(0x0008b8c0U, nvgpu_safe_mult_u32((i), 4U))) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_xve_gp106.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_xve_gp106.h index 389d1fa91..0ca4adec7 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_xve_gp106.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_xve_gp106.h @@ -57,7 +57,7 @@ #define NVGPU_HW_XVE_GP106_H #include -#include +#include #define xve_rom_ctrl_r() (0x00000050U) #define xve_rom_ctrl_rom_shadow_f(v) ((U32(v) & 0x1U) << 0U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_bus_gp10b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_bus_gp10b.h index b92ffd543..92feef152 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_bus_gp10b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_bus_gp10b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_BUS_GP10B_H #include -#include +#include #define bus_bar0_window_r() (0x00001700U) #define bus_bar0_window_base_f(v) ((U32(v) & 0xffffffU) << 0U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_ccsr_gp10b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_ccsr_gp10b.h index 8e4bd5042..2c52cf053 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_ccsr_gp10b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_ccsr_gp10b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_CCSR_GP10B_H #include -#include +#include #define ccsr_channel_inst_r(i)\ (nvgpu_safe_add_u32(0x00800000U, nvgpu_safe_mult_u32((i), 8U))) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_ce_gp10b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_ce_gp10b.h index 428763d83..e84fe6d0f 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_ce_gp10b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_ce_gp10b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_CE_GP10B_H #include -#include +#include #define ce_intr_status_r(i)\ (nvgpu_safe_add_u32(0x00104410U, nvgpu_safe_mult_u32((i), 128U))) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_ctxsw_prog_gp10b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_ctxsw_prog_gp10b.h index 6b2205a1b..e2c55273f 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_ctxsw_prog_gp10b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_ctxsw_prog_gp10b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_CTXSW_PROG_GP10B_H #include -#include +#include #define ctxsw_prog_fecs_header_v() (0x00000100U) #define ctxsw_prog_gpccs_header_stride_v() (0x00000100U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_falcon_gp10b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_falcon_gp10b.h index a0932ec1f..b2cc18023 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_falcon_gp10b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_falcon_gp10b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_FALCON_GP10B_H #include -#include +#include #define falcon_falcon_irqsset_r() (0x00000000U) #define falcon_falcon_irqsset_swgen0_set_f() (0x40U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_fb_gp10b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_fb_gp10b.h index b5a945363..d87b314e6 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_fb_gp10b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_fb_gp10b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_FB_GP10B_H #include -#include +#include #define fb_fbhub_num_active_ltcs_r() (0x00100800U) #define fb_mmu_ctrl_r() (0x00100c80U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_fifo_gp10b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_fifo_gp10b.h index bb9973f11..84c968b24 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_fifo_gp10b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_fifo_gp10b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_FIFO_GP10B_H #include -#include +#include #define fifo_bar1_base_r() (0x00002254U) #define fifo_bar1_base_ptr_f(v) ((U32(v) & 0xfffffffU) << 0U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_flush_gp10b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_flush_gp10b.h index 9ed14a8ed..ca7bc433e 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_flush_gp10b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_flush_gp10b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_FLUSH_GP10B_H #include -#include +#include #define flush_l2_system_invalidate_r() (0x00070004U) #define flush_l2_system_invalidate_pending_v(r) (((r) >> 0U) & 0x1U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_fuse_gp10b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_fuse_gp10b.h index a3df120f1..ba23362f4 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_fuse_gp10b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_fuse_gp10b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_FUSE_GP10B_H #include -#include +#include #define fuse_status_opt_gpc_r() (0x00021c1cU) #define fuse_status_opt_tpc_gpc_r(i)\ diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_gmmu_gp10b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_gmmu_gp10b.h index 670992ea1..8e38f1f9f 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_gmmu_gp10b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_gmmu_gp10b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_GMMU_GP10B_H #include -#include +#include #define gmmu_new_pde_is_pte_w() (0U) #define gmmu_new_pde_is_pte_false_f() (0x0U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_gr_gp10b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_gr_gp10b.h index 424883beb..e632d7c65 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_gr_gp10b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_gr_gp10b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_GR_GP10B_H #include -#include +#include #define gr_intr_r() (0x00400100U) #define gr_intr_notify_pending_f() (0x1U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_ltc_gp10b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_ltc_gp10b.h index aa3f4798f..1fdef5492 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_ltc_gp10b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_ltc_gp10b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_LTC_GP10B_H #include -#include +#include #define ltc_pltcg_base_v() (0x00140000U) #define ltc_pltcg_extent_v() (0x0017ffffU) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_mc_gp10b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_mc_gp10b.h index 5845fbfa3..0178f99dc 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_mc_gp10b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_mc_gp10b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_MC_GP10B_H #include -#include +#include #define mc_boot_0_r() (0x00000000U) #define mc_boot_0_architecture_v(r) (((r) >> 24U) & 0x1fU) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_pbdma_gp10b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_pbdma_gp10b.h index 2053dc3fe..f139049db 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_pbdma_gp10b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_pbdma_gp10b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_PBDMA_GP10B_H #include -#include +#include #define pbdma_gp_entry1_r() (0x10000004U) #define pbdma_gp_entry1_get_hi_v(r) (((r) >> 0U) & 0xffU) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_perf_gp10b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_perf_gp10b.h index a9d4fc4c5..e840b43ed 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_perf_gp10b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_perf_gp10b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_PERF_GP10B_H #include -#include +#include #define perf_pmmsys_base_v() (0x001b0000U) #define perf_pmmsys_extent_v() (0x001b0fffU) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_pram_gp10b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_pram_gp10b.h index 319f5fd95..e9ef7d9f2 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_pram_gp10b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_pram_gp10b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_PRAM_GP10B_H #include -#include +#include #define pram_data032_r(i)\ (nvgpu_safe_add_u32(0x00700000U, nvgpu_safe_mult_u32((i), 4U))) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_pri_ringmaster_gp10b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_pri_ringmaster_gp10b.h index 7d3fd6446..7b411bb06 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_pri_ringmaster_gp10b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_pri_ringmaster_gp10b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_PRI_RINGMASTER_GP10B_H #include -#include +#include #define pri_ringmaster_command_r() (0x0012004cU) #define pri_ringmaster_command_cmd_m() (U32(0x3fU) << 0U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_pri_ringstation_gpc_gp10b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_pri_ringstation_gpc_gp10b.h index 7b1eb7e69..30e59f459 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_pri_ringstation_gpc_gp10b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_pri_ringstation_gpc_gp10b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_PRI_RINGSTATION_GPC_GP10B_H #include -#include +#include #define pri_ringstation_gpc_master_config_r(i)\ (nvgpu_safe_add_u32(0x00128300U, nvgpu_safe_mult_u32((i), 4U))) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_pri_ringstation_sys_gp10b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_pri_ringstation_sys_gp10b.h index 5fd94c66c..4cc339ba1 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_pri_ringstation_sys_gp10b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_pri_ringstation_sys_gp10b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_PRI_RINGSTATION_SYS_GP10B_H #include -#include +#include #define pri_ringstation_sys_master_config_r(i)\ (nvgpu_safe_add_u32(0x00122300U, nvgpu_safe_mult_u32((i), 4U))) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_proj_gp10b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_proj_gp10b.h index 7a69f8069..5800e8133 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_proj_gp10b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_proj_gp10b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_PROJ_GP10B_H #include -#include +#include #define proj_gpc_base_v() (0x00500000U) #define proj_gpc_shared_base_v() (0x00418000U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_pwr_gp10b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_pwr_gp10b.h index 5dca74b5f..d1fbe6c3a 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_pwr_gp10b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_pwr_gp10b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_PWR_GP10B_H #include -#include +#include #define pwr_falcon_irqsset_r() (0x0010a000U) #define pwr_falcon_irqsset_swgen0_set_f() (0x40U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_ram_gp10b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_ram_gp10b.h index 4bfd06810..2fd944025 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_ram_gp10b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_ram_gp10b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_RAM_GP10B_H #include -#include +#include #define ram_in_ramfc_s() (4096U) #define ram_in_ramfc_w() (0U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_therm_gp10b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_therm_gp10b.h index e286fcc8e..4903c6f45 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_therm_gp10b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_therm_gp10b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_THERM_GP10B_H #include -#include +#include #define therm_use_a_r() (0x00020798U) #define therm_use_a_ext_therm_0_enable_f() (0x1U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_timer_gp10b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_timer_gp10b.h index 73e51bd31..4931c8b3d 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_timer_gp10b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_timer_gp10b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_TIMER_GP10B_H #include -#include +#include #define timer_pri_timeout_r() (0x00009080U) #define timer_pri_timeout_period_f(v) ((U32(v) & 0xffffffU) << 0U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_top_gp10b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_top_gp10b.h index 1fb46f3bf..f5ac67bb9 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_top_gp10b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_top_gp10b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_TOP_GP10B_H #include -#include +#include #define top_num_gpcs_r() (0x00022430U) #define top_num_gpcs_value_v(r) (((r) >> 0U) & 0x1fU) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_bus_gv100.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_bus_gv100.h index 65c801ab9..d91ce4af1 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_bus_gv100.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_bus_gv100.h @@ -57,7 +57,7 @@ #define NVGPU_HW_BUS_GV100_H #include -#include +#include #define bus_sw_scratch_r(i)\ (nvgpu_safe_add_u32(0x00001580U, nvgpu_safe_mult_u32((i), 4U))) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_ccsr_gv100.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_ccsr_gv100.h index f27be048f..6781e1447 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_ccsr_gv100.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_ccsr_gv100.h @@ -57,7 +57,7 @@ #define NVGPU_HW_CCSR_GV100_H #include -#include +#include #define ccsr_channel_inst_r(i)\ (nvgpu_safe_add_u32(0x00800000U, nvgpu_safe_mult_u32((i), 8U))) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_ce_gv100.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_ce_gv100.h index cf40fd16c..fee6ebf32 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_ce_gv100.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_ce_gv100.h @@ -57,7 +57,7 @@ #define NVGPU_HW_CE_GV100_H #include -#include +#include #define ce_intr_status_r(i)\ (nvgpu_safe_add_u32(0x00104410U, nvgpu_safe_mult_u32((i), 128U))) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_ctxsw_prog_gv100.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_ctxsw_prog_gv100.h index b419b4097..908d2ba78 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_ctxsw_prog_gv100.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_ctxsw_prog_gv100.h @@ -57,7 +57,7 @@ #define NVGPU_HW_CTXSW_PROG_GV100_H #include -#include +#include #define ctxsw_prog_fecs_header_v() (0x00000100U) #define ctxsw_prog_gpccs_header_stride_v() (0x00000100U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_falcon_gv100.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_falcon_gv100.h index b3c6005b8..8d4f6b51b 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_falcon_gv100.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_falcon_gv100.h @@ -57,7 +57,7 @@ #define NVGPU_HW_FALCON_GV100_H #include -#include +#include #define falcon_falcon_irqsset_r() (0x00000000U) #define falcon_falcon_irqsset_swgen0_set_f() (0x40U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_fb_gv100.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_fb_gv100.h index aae176e97..3156c2e13 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_fb_gv100.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_fb_gv100.h @@ -57,7 +57,7 @@ #define NVGPU_HW_FB_GV100_H #include -#include +#include #define fb_fbhub_num_active_ltcs_r() (0x00100800U) #define fb_fbhub_num_active_ltcs_use_nvlink_f(v) ((U32(v) & 0xffU) << 16U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_fifo_gv100.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_fifo_gv100.h index d830d9de0..f7918d4f5 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_fifo_gv100.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_fifo_gv100.h @@ -57,7 +57,7 @@ #define NVGPU_HW_FIFO_GV100_H #include -#include +#include #define fifo_userd_writeback_r() (0x0000225cU) #define fifo_userd_writeback_timer_f(v) ((U32(v) & 0xffU) << 0U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_flush_gv100.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_flush_gv100.h index 2b8e718f6..543e636cc 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_flush_gv100.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_flush_gv100.h @@ -57,7 +57,7 @@ #define NVGPU_HW_FLUSH_GV100_H #include -#include +#include #define flush_l2_system_invalidate_r() (0x00070004U) #define flush_l2_system_invalidate_pending_v(r) (((r) >> 0U) & 0x1U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_fuse_gv100.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_fuse_gv100.h index 74b3d4d1a..4b31213e4 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_fuse_gv100.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_fuse_gv100.h @@ -57,7 +57,7 @@ #define NVGPU_HW_FUSE_GV100_H #include -#include +#include #define fuse_status_opt_gpc_r() (0x00021c1cU) #define fuse_status_opt_tpc_gpc_r(i)\ diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_gmmu_gv100.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_gmmu_gv100.h index d94cedb23..a809000a3 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_gmmu_gv100.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_gmmu_gv100.h @@ -57,7 +57,7 @@ #define NVGPU_HW_GMMU_GV100_H #include -#include +#include #define gmmu_new_pde_is_pte_w() (0U) #define gmmu_new_pde_is_pte_false_f() (0x0U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_gr_gv100.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_gr_gv100.h index 3a1a53315..55d45210b 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_gr_gv100.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_gr_gv100.h @@ -57,7 +57,7 @@ #define NVGPU_HW_GR_GV100_H #include -#include +#include #define gr_intr_r() (0x00400100U) #define gr_intr_notify_pending_f() (0x1U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_ioctrl_gv100.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_ioctrl_gv100.h index 63fd8485f..11e0a2c8a 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_ioctrl_gv100.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_ioctrl_gv100.h @@ -57,7 +57,7 @@ #define NVGPU_HW_IOCTRL_GV100_H #include -#include +#include #define ioctrl_reset_r() (0x00000140U) #define ioctrl_reset_sw_post_reset_delay_microseconds_v() (0x00000008U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_ioctrlmif_gv100.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_ioctrlmif_gv100.h index 8a56c88c4..502075c2c 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_ioctrlmif_gv100.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_ioctrlmif_gv100.h @@ -57,7 +57,7 @@ #define NVGPU_HW_IOCTRLMIF_GV100_H #include -#include +#include #define ioctrlmif_rx_err_contain_en_0_r() (0x00000e0cU) #define ioctrlmif_rx_err_contain_en_0_rxramdataparityerr_f(v)\ diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_ltc_gv100.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_ltc_gv100.h index 29f2886c2..c94e0fbb5 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_ltc_gv100.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_ltc_gv100.h @@ -57,7 +57,7 @@ #define NVGPU_HW_LTC_GV100_H #include -#include +#include #define ltc_pltcg_base_v() (0x00140000U) #define ltc_pltcg_extent_v() (0x0017ffffU) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_mc_gv100.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_mc_gv100.h index 20c83f4b5..db192547a 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_mc_gv100.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_mc_gv100.h @@ -57,7 +57,7 @@ #define NVGPU_HW_MC_GV100_H #include -#include +#include #define mc_boot_0_r() (0x00000000U) #define mc_boot_0_architecture_v(r) (((r) >> 24U) & 0x1fU) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_minion_gv100.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_minion_gv100.h index ecc2f33c7..4e53dce07 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_minion_gv100.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_minion_gv100.h @@ -57,7 +57,7 @@ #define NVGPU_HW_MINION_GV100_H #include -#include +#include #define minion_minion_status_r() (0x00000830U) #define minion_minion_status_status_f(v) ((U32(v) & 0xffU) << 0U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_nvl_gv100.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_nvl_gv100.h index 367f246fb..43c498848 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_nvl_gv100.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_nvl_gv100.h @@ -57,7 +57,7 @@ #define NVGPU_HW_NVL_GV100_H #include -#include +#include #define nvl_link_state_r() (0x00000000U) #define nvl_link_state_state_f(v) ((U32(v) & 0xffU) << 0U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_nvlinkip_discovery_gv100.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_nvlinkip_discovery_gv100.h index c61e7ba9e..79a0a93d1 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_nvlinkip_discovery_gv100.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_nvlinkip_discovery_gv100.h @@ -57,7 +57,7 @@ #define NVGPU_HW_NVLINKIP_DISCOVERY_GV100_H #include -#include +#include #define nvlinkip_discovery_common_entry_f(v) ((U32(v) & 0x3U) << 0U) #define nvlinkip_discovery_common_entry_v(r) (((r) >> 0U) & 0x3U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_nvlipt_gv100.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_nvlipt_gv100.h index e78a74b91..dc15cb1ef 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_nvlipt_gv100.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_nvlipt_gv100.h @@ -57,7 +57,7 @@ #define NVGPU_HW_NVLIPT_GV100_H #include -#include +#include #define nvlipt_intr_control_link0_r() (0x000004b4U) #define nvlipt_intr_control_link0_stallenable_f(v) ((U32(v) & 0x1U) << 0U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_nvtlc_gv100.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_nvtlc_gv100.h index ed8ff69f5..2a86dd92f 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_nvtlc_gv100.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_nvtlc_gv100.h @@ -57,7 +57,7 @@ #define NVGPU_HW_NVTLC_GV100_H #include -#include +#include #define nvtlc_tx_err_report_en_0_r() (0x00000708U) #define nvtlc_rx_err_report_en_0_r() (0x00000f08U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_pbdma_gv100.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_pbdma_gv100.h index 5e6fe2844..022d48b55 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_pbdma_gv100.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_pbdma_gv100.h @@ -57,7 +57,7 @@ #define NVGPU_HW_PBDMA_GV100_H #include -#include +#include #define pbdma_gp_entry1_r() (0x10000004U) #define pbdma_gp_entry1_get_hi_v(r) (((r) >> 0U) & 0xffU) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_perf_gv100.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_perf_gv100.h index 4886d0505..64d637872 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_perf_gv100.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_perf_gv100.h @@ -57,7 +57,7 @@ #define NVGPU_HW_PERF_GV100_H #include -#include +#include #define perf_pmmgpc_perdomain_offset_v() (0x00000200U) #define perf_pmmsys_perdomain_offset_v() (0x00000200U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_pgsp_gv100.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_pgsp_gv100.h index aec7add05..3fb17d7b2 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_pgsp_gv100.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_pgsp_gv100.h @@ -57,7 +57,7 @@ #define NVGPU_HW_PGSP_GV100_H #include -#include +#include #define pgsp_falcon_irqsset_r() (0x00110000U) #define pgsp_falcon_irqsset_swgen0_set_f() (0x40U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_pram_gv100.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_pram_gv100.h index 5bd32eb90..85ba70f86 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_pram_gv100.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_pram_gv100.h @@ -57,7 +57,7 @@ #define NVGPU_HW_PRAM_GV100_H #include -#include +#include #define pram_data032_r(i)\ (nvgpu_safe_add_u32(0x00700000U, nvgpu_safe_mult_u32((i), 4U))) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_pri_ringmaster_gv100.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_pri_ringmaster_gv100.h index 61dfd4f77..dd89c8670 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_pri_ringmaster_gv100.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_pri_ringmaster_gv100.h @@ -57,7 +57,7 @@ #define NVGPU_HW_PRI_RINGMASTER_GV100_H #include -#include +#include #define pri_ringmaster_command_r() (0x0012004cU) #define pri_ringmaster_command_cmd_m() (U32(0x3fU) << 0U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_pri_ringstation_gpc_gv100.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_pri_ringstation_gpc_gv100.h index fa15589a0..0e4f6d9e0 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_pri_ringstation_gpc_gv100.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_pri_ringstation_gpc_gv100.h @@ -57,7 +57,7 @@ #define NVGPU_HW_PRI_RINGSTATION_GPC_GV100_H #include -#include +#include #define pri_ringstation_gpc_master_config_r(i)\ (nvgpu_safe_add_u32(0x00128300U, nvgpu_safe_mult_u32((i), 4U))) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_pri_ringstation_sys_gv100.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_pri_ringstation_sys_gv100.h index 3b8f2f818..017061c28 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_pri_ringstation_sys_gv100.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_pri_ringstation_sys_gv100.h @@ -57,7 +57,7 @@ #define NVGPU_HW_PRI_RINGSTATION_SYS_GV100_H #include -#include +#include #define pri_ringstation_sys_master_config_r(i)\ (nvgpu_safe_add_u32(0x00122300U, nvgpu_safe_mult_u32((i), 4U))) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_proj_gv100.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_proj_gv100.h index 0b8489ba5..baf63b4b6 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_proj_gv100.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_proj_gv100.h @@ -57,7 +57,7 @@ #define NVGPU_HW_PROJ_GV100_H #include -#include +#include #define proj_gpc_base_v() (0x00500000U) #define proj_gpc_shared_base_v() (0x00418000U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_pwr_gv100.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_pwr_gv100.h index 5bb83762a..24d4ec32c 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_pwr_gv100.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_pwr_gv100.h @@ -57,7 +57,7 @@ #define NVGPU_HW_PWR_GV100_H #include -#include +#include #define pwr_falcon_irqsset_r() (0x0010a000U) #define pwr_falcon_irqsset_swgen0_set_f() (0x40U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_ram_gv100.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_ram_gv100.h index fcae0707d..baf28d11d 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_ram_gv100.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_ram_gv100.h @@ -57,7 +57,7 @@ #define NVGPU_HW_RAM_GV100_H #include -#include +#include #define ram_in_ramfc_s() (4096U) #define ram_in_ramfc_w() (0U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_therm_gv100.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_therm_gv100.h index 0202849f0..5e871fe9d 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_therm_gv100.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_therm_gv100.h @@ -57,7 +57,7 @@ #define NVGPU_HW_THERM_GV100_H #include -#include +#include #define therm_weight_1_r() (0x00020024U) #define therm_config1_r() (0x00020050U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_timer_gv100.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_timer_gv100.h index 4abc98b6e..584944625 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_timer_gv100.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_timer_gv100.h @@ -57,7 +57,7 @@ #define NVGPU_HW_TIMER_GV100_H #include -#include +#include #define timer_pri_timeout_r() (0x00009080U) #define timer_pri_timeout_period_f(v) ((U32(v) & 0xffffffU) << 0U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_top_gv100.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_top_gv100.h index 39de7c260..1679352d5 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_top_gv100.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_top_gv100.h @@ -57,7 +57,7 @@ #define NVGPU_HW_TOP_GV100_H #include -#include +#include #define top_num_gpcs_r() (0x00022430U) #define top_num_gpcs_value_v(r) (((r) >> 0U) & 0x1fU) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_trim_gv100.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_trim_gv100.h index f7b2ce2a1..9109c05c4 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_trim_gv100.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_trim_gv100.h @@ -57,7 +57,7 @@ #define NVGPU_HW_TRIM_GV100_H #include -#include +#include #define trim_sys_nvlink_uphy_cfg_r() (0x00132410U) #define trim_sys_nvlink_uphy_cfg_lockdect_wait_dly_length_f(v)\ diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_usermode_gv100.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_usermode_gv100.h index 263a41636..0a7811d05 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_usermode_gv100.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_usermode_gv100.h @@ -57,7 +57,7 @@ #define NVGPU_HW_USERMODE_GV100_H #include -#include +#include #define usermode_cfg0_r() (0x00810000U) #define usermode_cfg0_class_id_f(v) ((U32(v) & 0xffffU) << 0U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_xp_gv100.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_xp_gv100.h index e0ad760a0..93709d347 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_xp_gv100.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_xp_gv100.h @@ -57,7 +57,7 @@ #define NVGPU_HW_XP_GV100_H #include -#include +#include #define xp_dl_mgr_r(i)\ (nvgpu_safe_add_u32(0x0008b8c0U, nvgpu_safe_mult_u32((i), 4U))) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_xve_gv100.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_xve_gv100.h index 00a984e6e..b421dcb95 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_xve_gv100.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_xve_gv100.h @@ -57,7 +57,7 @@ #define NVGPU_HW_XVE_GV100_H #include -#include +#include #define xve_rom_ctrl_r() (0x00000050U) #define xve_rom_ctrl_rom_shadow_f(v) ((U32(v) & 0x1U) << 0U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_bus_gv11b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_bus_gv11b.h index 64125791b..d73e60f92 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_bus_gv11b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_bus_gv11b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_BUS_GV11B_H #include -#include +#include #define bus_bar0_window_r() (0x00001700U) #define bus_bar0_window_base_f(v) ((U32(v) & 0xffffffU) << 0U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_ccsr_gv11b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_ccsr_gv11b.h index 1649231e9..516d279f1 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_ccsr_gv11b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_ccsr_gv11b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_CCSR_GV11B_H #include -#include +#include #define ccsr_channel_inst_r(i)\ (nvgpu_safe_add_u32(0x00800000U, nvgpu_safe_mult_u32((i), 8U))) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_ce_gv11b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_ce_gv11b.h index 542508387..5a3067b02 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_ce_gv11b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_ce_gv11b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_CE_GV11B_H #include -#include +#include #define ce_intr_status_r(i)\ (nvgpu_safe_add_u32(0x00104410U, nvgpu_safe_mult_u32((i), 128U))) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_ctxsw_prog_gv11b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_ctxsw_prog_gv11b.h index 1276873cb..01efd0b93 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_ctxsw_prog_gv11b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_ctxsw_prog_gv11b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_CTXSW_PROG_GV11B_H #include -#include +#include #define ctxsw_prog_fecs_header_v() (0x00000100U) #define ctxsw_prog_gpccs_header_stride_v() (0x00000100U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_falcon_gv11b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_falcon_gv11b.h index 5f6506201..3b35f9ed7 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_falcon_gv11b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_falcon_gv11b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_FALCON_GV11B_H #include -#include +#include #define falcon_falcon_irqsset_r() (0x00000000U) #define falcon_falcon_irqsset_swgen0_set_f() (0x40U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_fb_gv11b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_fb_gv11b.h index bd470729d..cb481742d 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_fb_gv11b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_fb_gv11b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_FB_GV11B_H #include -#include +#include #define fb_fbhub_num_active_ltcs_r() (0x00100800U) #define fb_fbhub_num_active_ltcs_hub_sys_atomic_mode_m() (U32(0x1U) << 25U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_fifo_gv11b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_fifo_gv11b.h index 395e63605..51fe7ff4c 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_fifo_gv11b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_fifo_gv11b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_FIFO_GV11B_H #include -#include +#include #define fifo_userd_writeback_r() (0x0000225cU) #define fifo_userd_writeback_timer_f(v) ((U32(v) & 0xffU) << 0U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_flush_gv11b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_flush_gv11b.h index a0a5108c4..25425dd8e 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_flush_gv11b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_flush_gv11b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_FLUSH_GV11B_H #include -#include +#include #define flush_l2_system_invalidate_r() (0x00070004U) #define flush_l2_system_invalidate_pending_v(r) (((r) >> 0U) & 0x1U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_fuse_gv11b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_fuse_gv11b.h index 86100e403..a961a249a 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_fuse_gv11b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_fuse_gv11b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_FUSE_GV11B_H #include -#include +#include #define fuse_status_opt_gpc_r() (0x00021c1cU) #define fuse_status_opt_tpc_gpc_r(i)\ 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 c4195c3d5..47759b479 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 @@ -57,7 +57,7 @@ #define NVGPU_HW_GMMU_GV11B_H #include -#include +#include #define gmmu_new_pde_is_pte_w() (0U) #define gmmu_new_pde_is_pte_false_f() (0x0U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_gr_gv11b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_gr_gv11b.h index cf8b158a5..d1be72fac 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_gr_gv11b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_gr_gv11b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_GR_GV11B_H #include -#include +#include #define gr_intr_r() (0x00400100U) #define gr_intr_notify_pending_f() (0x1U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_ltc_gv11b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_ltc_gv11b.h index 3dbd3b4a8..3041aa1db 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_ltc_gv11b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_ltc_gv11b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_LTC_GV11B_H #include -#include +#include #define ltc_pltcg_base_v() (0x00140000U) #define ltc_pltcg_extent_v() (0x0017ffffU) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_mc_gv11b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_mc_gv11b.h index e66f0f484..861ef45d1 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_mc_gv11b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_mc_gv11b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_MC_GV11B_H #include -#include +#include #define mc_boot_0_r() (0x00000000U) #define mc_boot_0_architecture_v(r) (((r) >> 24U) & 0x1fU) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_pbdma_gv11b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_pbdma_gv11b.h index 1bef3c61e..730b992d7 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_pbdma_gv11b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_pbdma_gv11b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_PBDMA_GV11B_H #include -#include +#include #define pbdma_gp_entry1_r() (0x10000004U) #define pbdma_gp_entry1_get_hi_v(r) (((r) >> 0U) & 0xffU) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_perf_gv11b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_perf_gv11b.h index 41aa2a1aa..4e3d2b7d3 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_perf_gv11b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_perf_gv11b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_PERF_GV11B_H #include -#include +#include #define perf_pmmgpc_perdomain_offset_v() (0x00000200U) #define perf_pmmsys_perdomain_offset_v() (0x00000200U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_pram_gv11b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_pram_gv11b.h index c80ac4dee..17b99dd45 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_pram_gv11b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_pram_gv11b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_PRAM_GV11B_H #include -#include +#include #define pram_data032_r(i)\ (nvgpu_safe_add_u32(0x00700000U, nvgpu_safe_mult_u32((i), 4U))) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_pri_ringmaster_gv11b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_pri_ringmaster_gv11b.h index 2cfeb42b5..d2c89460f 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_pri_ringmaster_gv11b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_pri_ringmaster_gv11b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_PRI_RINGMASTER_GV11B_H #include -#include +#include #define pri_ringmaster_command_r() (0x0012004cU) #define pri_ringmaster_command_cmd_m() (U32(0x3fU) << 0U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_pri_ringstation_gpc_gv11b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_pri_ringstation_gpc_gv11b.h index 1b72cce9e..a65216ef7 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_pri_ringstation_gpc_gv11b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_pri_ringstation_gpc_gv11b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_PRI_RINGSTATION_GPC_GV11B_H #include -#include +#include #define pri_ringstation_gpc_master_config_r(i)\ (nvgpu_safe_add_u32(0x00128300U, nvgpu_safe_mult_u32((i), 4U))) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_pri_ringstation_sys_gv11b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_pri_ringstation_sys_gv11b.h index 09cd91da4..afea72e71 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_pri_ringstation_sys_gv11b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_pri_ringstation_sys_gv11b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_PRI_RINGSTATION_SYS_GV11B_H #include -#include +#include #define pri_ringstation_sys_master_config_r(i)\ (nvgpu_safe_add_u32(0x00122300U, nvgpu_safe_mult_u32((i), 4U))) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_proj_gv11b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_proj_gv11b.h index 69bf719df..966319095 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_proj_gv11b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_proj_gv11b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_PROJ_GV11B_H #include -#include +#include #define proj_gpc_base_v() (0x00500000U) #define proj_gpc_shared_base_v() (0x00418000U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_pwr_gv11b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_pwr_gv11b.h index 7f0f512b5..7e007ebc8 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_pwr_gv11b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_pwr_gv11b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_PWR_GV11B_H #include -#include +#include #define pwr_falcon_irqsset_r() (0x0010a000U) #define pwr_falcon_irqsset_swgen0_set_f() (0x40U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_ram_gv11b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_ram_gv11b.h index 4effed4c4..9cf147fbf 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_ram_gv11b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_ram_gv11b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_RAM_GV11B_H #include -#include +#include #define ram_in_ramfc_s() (4096U) #define ram_in_ramfc_w() (0U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_therm_gv11b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_therm_gv11b.h index cc86beb92..e887832be 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_therm_gv11b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_therm_gv11b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_THERM_GV11B_H #include -#include +#include #define therm_use_a_r() (0x00020798U) #define therm_use_a_ext_therm_0_enable_f() (0x1U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_timer_gv11b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_timer_gv11b.h index 5bafba3a9..74866dfb6 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_timer_gv11b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_timer_gv11b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_TIMER_GV11B_H #include -#include +#include #define timer_pri_timeout_r() (0x00009080U) #define timer_pri_timeout_period_f(v) ((U32(v) & 0xffffffU) << 0U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_top_gv11b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_top_gv11b.h index d3b79b95b..8497b085d 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_top_gv11b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_top_gv11b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_TOP_GV11B_H #include -#include +#include #define top_num_gpcs_r() (0x00022430U) #define top_num_gpcs_value_v(r) (((r) >> 0U) & 0x1fU) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_usermode_gv11b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_usermode_gv11b.h index 5497734f1..5d32d6483 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_usermode_gv11b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_usermode_gv11b.h @@ -57,7 +57,7 @@ #define NVGPU_HW_USERMODE_GV11B_H #include -#include +#include #define usermode_cfg0_r() (0x00810000U) #define usermode_cfg0_class_id_f(v) ((U32(v) & 0xffffU) << 0U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_bus_tu104.h b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_bus_tu104.h index 1a1663b30..5cb24021f 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_bus_tu104.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_bus_tu104.h @@ -57,7 +57,7 @@ #define NVGPU_HW_BUS_TU104_H #include -#include +#include #define bus_sw_scratch_r(i)\ (nvgpu_safe_add_u32(0x00001400U, nvgpu_safe_mult_u32((i), 4U))) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_ccsr_tu104.h b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_ccsr_tu104.h index 2d22ac278..7faa08752 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_ccsr_tu104.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_ccsr_tu104.h @@ -57,7 +57,7 @@ #define NVGPU_HW_CCSR_TU104_H #include -#include +#include #define ccsr_channel_inst_r(i)\ (nvgpu_safe_add_u32(0x00800000U, nvgpu_safe_mult_u32((i), 8U))) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_ce_tu104.h b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_ce_tu104.h index fe1ef48a5..5f9d7ee75 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_ce_tu104.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_ce_tu104.h @@ -57,7 +57,7 @@ #define NVGPU_HW_CE_TU104_H #include -#include +#include #define ce_intr_status_r(i)\ (nvgpu_safe_add_u32(0x00104410U, nvgpu_safe_mult_u32((i), 128U))) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_ctrl_tu104.h b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_ctrl_tu104.h index 0db6cf02a..9276c9a07 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_ctrl_tu104.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_ctrl_tu104.h @@ -57,7 +57,7 @@ #define NVGPU_HW_CTRL_TU104_H #include -#include +#include #define ctrl_doorbell_r(i)\ (nvgpu_safe_add_u32(0x00b64000U, nvgpu_safe_mult_u32((i), 8U))) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_ctxsw_prog_tu104.h b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_ctxsw_prog_tu104.h index 45f5cb0a7..2e18cfcc1 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_ctxsw_prog_tu104.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_ctxsw_prog_tu104.h @@ -57,7 +57,7 @@ #define NVGPU_HW_CTXSW_PROG_TU104_H #include -#include +#include #define ctxsw_prog_fecs_header_v() (0x00000100U) #define ctxsw_prog_gpccs_header_stride_v() (0x00000100U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_falcon_tu104.h b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_falcon_tu104.h index 444a171be..95dc9de38 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_falcon_tu104.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_falcon_tu104.h @@ -57,7 +57,7 @@ #define NVGPU_HW_FALCON_TU104_H #include -#include +#include #define falcon_falcon_irqsset_r() (0x00000000U) #define falcon_falcon_irqsset_swgen0_set_f() (0x40U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_fb_tu104.h b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_fb_tu104.h index 4a37524ae..d9bee3b0d 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_fb_tu104.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_fb_tu104.h @@ -57,7 +57,7 @@ #define NVGPU_HW_FB_TU104_H #include -#include +#include #define fb_fbhub_num_active_ltcs_r() (0x00100800U) #define fb_fbhub_num_active_ltcs_use_nvlink_f(v) ((U32(v) & 0xffU) << 16U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_fbpa_tu104.h b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_fbpa_tu104.h index f36b9e0a2..0d6e01270 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_fbpa_tu104.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_fbpa_tu104.h @@ -57,7 +57,7 @@ #define NVGPU_HW_FBPA_TU104_H #include -#include +#include #define fbpa_0_intr_status_r() (0x00900398U) #define fbpa_0_intr_status_sec_subp0_pending_f() (0x1U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_fifo_tu104.h b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_fifo_tu104.h index e788d7696..7a0763433 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_fifo_tu104.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_fifo_tu104.h @@ -57,7 +57,7 @@ #define NVGPU_HW_FIFO_TU104_H #include -#include +#include #define fifo_userd_writeback_r() (0x0000225cU) #define fifo_userd_writeback_timer_f(v) ((U32(v) & 0xffU) << 0U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_flush_tu104.h b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_flush_tu104.h index 1c8e8e3da..f0080b3fd 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_flush_tu104.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_flush_tu104.h @@ -57,7 +57,7 @@ #define NVGPU_HW_FLUSH_TU104_H #include -#include +#include #define flush_l2_system_invalidate_r() (0x00070004U) #define flush_l2_system_invalidate_pending_v(r) (((r) >> 0U) & 0x1U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_func_tu104.h b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_func_tu104.h index 69cd25718..0dc9f59b9 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_func_tu104.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_func_tu104.h @@ -57,7 +57,7 @@ #define NVGPU_HW_FUNC_TU104_H #include -#include +#include #define func_full_phys_offset_v() (0x00b80000U) #define func_doorbell_r() (0x00030090U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_fuse_tu104.h b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_fuse_tu104.h index 9908c5d21..fe8de389f 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_fuse_tu104.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_fuse_tu104.h @@ -57,7 +57,7 @@ #define NVGPU_HW_FUSE_TU104_H #include -#include +#include #define fuse_status_opt_gpc_r() (0x00021c1cU) #define fuse_status_opt_tpc_gpc_r(i)\ diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_gc6_tu104.h b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_gc6_tu104.h index 8f7eaa46a..ac4ec496d 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_gc6_tu104.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_gc6_tu104.h @@ -57,7 +57,7 @@ #define NVGPU_HW_GC6_TU104_H #include -#include +#include #define gc6_aon_secure_scratch_group_05_r(i)\ (nvgpu_safe_add_u32(0x00118234U, nvgpu_safe_mult_u32((i), 4U))) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_gmmu_tu104.h b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_gmmu_tu104.h index b29feba17..30cf4fd0d 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_gmmu_tu104.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_gmmu_tu104.h @@ -57,7 +57,7 @@ #define NVGPU_HW_GMMU_TU104_H #include -#include +#include #define gmmu_new_pde_is_pte_w() (0U) #define gmmu_new_pde_is_pte_false_f() (0x0U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_gr_tu104.h b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_gr_tu104.h index e0430221d..822cd6175 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_gr_tu104.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_gr_tu104.h @@ -57,7 +57,7 @@ #define NVGPU_HW_GR_TU104_H #include -#include +#include #define gr_intr_r() (0x00400100U) #define gr_intr_notify_pending_f() (0x1U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_ioctrl_tu104.h b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_ioctrl_tu104.h index 7555bf22e..9361393d4 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_ioctrl_tu104.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_ioctrl_tu104.h @@ -57,7 +57,7 @@ #define NVGPU_HW_IOCTRL_TU104_H #include -#include +#include #define ioctrl_reset_r() (0x00000140U) #define ioctrl_reset_sw_post_reset_delay_microseconds_v() (0x00000008U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_ioctrlmif_tu104.h b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_ioctrlmif_tu104.h index b4b668715..cead15e83 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_ioctrlmif_tu104.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_ioctrlmif_tu104.h @@ -57,7 +57,7 @@ #define NVGPU_HW_IOCTRLMIF_TU104_H #include -#include +#include #define ioctrlmif_rx_err_contain_en_0_r() (0x00000e0cU) #define ioctrlmif_rx_err_contain_en_0_rxramdataparityerr_f(v)\ diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_ltc_tu104.h b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_ltc_tu104.h index 3cb8e0e89..22de9d164 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_ltc_tu104.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_ltc_tu104.h @@ -57,7 +57,7 @@ #define NVGPU_HW_LTC_TU104_H #include -#include +#include #define ltc_pltcg_base_v() (0x00140000U) #define ltc_pltcg_extent_v() (0x0017ffffU) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_mc_tu104.h b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_mc_tu104.h index 2aac92ba9..1a26197fd 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_mc_tu104.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_mc_tu104.h @@ -57,7 +57,7 @@ #define NVGPU_HW_MC_TU104_H #include -#include +#include #define mc_boot_0_r() (0x00000000U) #define mc_boot_0_architecture_v(r) (((r) >> 24U) & 0x1fU) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_minion_tu104.h b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_minion_tu104.h index 001d01a91..5e15cb4b3 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_minion_tu104.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_minion_tu104.h @@ -57,7 +57,7 @@ #define NVGPU_HW_MINION_TU104_H #include -#include +#include #define minion_minion_status_r() (0x00000830U) #define minion_minion_status_status_f(v) ((U32(v) & 0xffU) << 0U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_nvl_tu104.h b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_nvl_tu104.h index 5354e306e..a1fd90a0d 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_nvl_tu104.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_nvl_tu104.h @@ -57,7 +57,7 @@ #define NVGPU_HW_NVL_TU104_H #include -#include +#include #define nvl_link_state_r() (0x00000000U) #define nvl_link_state_state_f(v) ((U32(v) & 0xffU) << 0U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_nvlinkip_discovery_tu104.h b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_nvlinkip_discovery_tu104.h index 77edf76e2..17e94eff0 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_nvlinkip_discovery_tu104.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_nvlinkip_discovery_tu104.h @@ -57,6 +57,6 @@ #define NVGPU_HW_NVLINKIP_DISCOVERY_TU104_H #include -#include +#include #endif diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_nvlipt_tu104.h b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_nvlipt_tu104.h index 24ac86ded..6449b0185 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_nvlipt_tu104.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_nvlipt_tu104.h @@ -57,7 +57,7 @@ #define NVGPU_HW_NVLIPT_TU104_H #include -#include +#include #define nvlipt_intr_control_link0_r() (0x000004b4U) #define nvlipt_intr_control_link0_stallenable_f(v) ((U32(v) & 0x1U) << 0U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_nvtlc_tu104.h b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_nvtlc_tu104.h index 54de8643b..404529f1a 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_nvtlc_tu104.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_nvtlc_tu104.h @@ -57,7 +57,7 @@ #define NVGPU_HW_NVTLC_TU104_H #include -#include +#include #define nvtlc_tx_err_report_en_0_r() (0x00000708U) #define nvtlc_rx_err_report_en_0_r() (0x00000f08U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_pbdma_tu104.h b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_pbdma_tu104.h index ce96916f6..36fb1d3b1 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_pbdma_tu104.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_pbdma_tu104.h @@ -57,7 +57,7 @@ #define NVGPU_HW_PBDMA_TU104_H #include -#include +#include #define pbdma_gp_entry1_r() (0x10000004U) #define pbdma_gp_entry1_get_hi_v(r) (((r) >> 0U) & 0xffU) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_perf_tu104.h b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_perf_tu104.h index 38fe24e8b..20a31b1b6 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_perf_tu104.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_perf_tu104.h @@ -57,7 +57,7 @@ #define NVGPU_HW_PERF_TU104_H #include -#include +#include #define perf_pmmgpc_perdomain_offset_v() (0x00000200U) #define perf_pmmsys_perdomain_offset_v() (0x00000200U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_pgsp_tu104.h b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_pgsp_tu104.h index 140d64635..bf931913b 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_pgsp_tu104.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_pgsp_tu104.h @@ -57,7 +57,7 @@ #define NVGPU_HW_PGSP_TU104_H #include -#include +#include #define pgsp_falcon_irqsset_r() (0x00110000U) #define pgsp_falcon_irqsset_swgen0_set_f() (0x40U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_pnvdec_tu104.h b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_pnvdec_tu104.h index 9fff69f38..909438915 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_pnvdec_tu104.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_pnvdec_tu104.h @@ -57,7 +57,7 @@ #define NVGPU_HW_PNVDEC_TU104_H #include -#include +#include #define pnvdec_falcon_irqsset_r(i)\ (nvgpu_safe_add_u32(0x00830000U, nvgpu_safe_mult_u32((i), 16384U))) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_pram_tu104.h b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_pram_tu104.h index 7b964beeb..7800c60ec 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_pram_tu104.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_pram_tu104.h @@ -57,7 +57,7 @@ #define NVGPU_HW_PRAM_TU104_H #include -#include +#include #define pram_data032_r(i)\ (nvgpu_safe_add_u32(0x00700000U, nvgpu_safe_mult_u32((i), 4U))) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_pri_ringmaster_tu104.h b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_pri_ringmaster_tu104.h index c28d706d3..5ce3251ab 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_pri_ringmaster_tu104.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_pri_ringmaster_tu104.h @@ -57,7 +57,7 @@ #define NVGPU_HW_PRI_RINGMASTER_TU104_H #include -#include +#include #define pri_ringmaster_command_r() (0x0012004cU) #define pri_ringmaster_command_cmd_m() (U32(0x3fU) << 0U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_pri_ringstation_gpc_tu104.h b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_pri_ringstation_gpc_tu104.h index 810db4df5..312099a35 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_pri_ringstation_gpc_tu104.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_pri_ringstation_gpc_tu104.h @@ -57,7 +57,7 @@ #define NVGPU_HW_PRI_RINGSTATION_GPC_TU104_H #include -#include +#include #define pri_ringstation_gpc_gpc0_priv_error_adr_r() (0x00128120U) #define pri_ringstation_gpc_gpc0_priv_error_wrdat_r() (0x00128124U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_pri_ringstation_sys_tu104.h b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_pri_ringstation_sys_tu104.h index ba9baec4e..09b20240d 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_pri_ringstation_sys_tu104.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_pri_ringstation_sys_tu104.h @@ -57,7 +57,7 @@ #define NVGPU_HW_PRI_RINGSTATION_SYS_TU104_H #include -#include +#include #define pri_ringstation_sys_decode_config_r() (0x00122204U) #define pri_ringstation_sys_decode_config_ring_m() (U32(0x7U) << 0U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_proj_tu104.h b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_proj_tu104.h index b3513ee27..09f52c6d1 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_proj_tu104.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_proj_tu104.h @@ -57,7 +57,7 @@ #define NVGPU_HW_PROJ_TU104_H #include -#include +#include #define proj_gpc_base_v() (0x00500000U) #define proj_gpc_shared_base_v() (0x00418000U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_psec_tu104.h b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_psec_tu104.h index f4e53b579..7b4d9657b 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_psec_tu104.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_psec_tu104.h @@ -57,7 +57,7 @@ #define NVGPU_HW_PSEC_TU104_H #include -#include +#include #define psec_falcon_irqsset_r() (0x00840000U) #define psec_falcon_irqsset_swgen0_set_f() (0x40U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_pwr_tu104.h b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_pwr_tu104.h index 2ba51c1a1..5cf22d966 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_pwr_tu104.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_pwr_tu104.h @@ -57,7 +57,7 @@ #define NVGPU_HW_PWR_TU104_H #include -#include +#include #define pwr_falcon_irqsset_r() (0x0010a000U) #define pwr_falcon_irqsset_swgen0_set_f() (0x40U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_ram_tu104.h b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_ram_tu104.h index 6e3638792..5b5c71297 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_ram_tu104.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_ram_tu104.h @@ -57,7 +57,7 @@ #define NVGPU_HW_RAM_TU104_H #include -#include +#include #define ram_in_ramfc_s() (4096U) #define ram_in_ramfc_w() (0U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_therm_tu104.h b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_therm_tu104.h index 721a2cd77..0138ada7a 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_therm_tu104.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_therm_tu104.h @@ -57,7 +57,7 @@ #define NVGPU_HW_THERM_TU104_H #include -#include +#include #define therm_weight_1_r() (0x00020024U) #define therm_config1_r() (0x00020050U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_timer_tu104.h b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_timer_tu104.h index c59136dee..78f88e7b4 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_timer_tu104.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_timer_tu104.h @@ -57,7 +57,7 @@ #define NVGPU_HW_TIMER_TU104_H #include -#include +#include #define timer_pri_timeout_r() (0x00009080U) #define timer_pri_timeout_period_f(v) ((U32(v) & 0xffffffU) << 0U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_top_tu104.h b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_top_tu104.h index e51683548..8bbfb5a95 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_top_tu104.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_top_tu104.h @@ -57,7 +57,7 @@ #define NVGPU_HW_TOP_TU104_H #include -#include +#include #define top_num_gpcs_r() (0x00022430U) #define top_num_gpcs_value_v(r) (((r) >> 0U) & 0x1fU) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_trim_tu104.h b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_trim_tu104.h index bde0da455..b098ec1af 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_trim_tu104.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_trim_tu104.h @@ -57,7 +57,7 @@ #define NVGPU_HW_TRIM_TU104_H #include -#include +#include #define trim_sys_nvlink_uphy_cfg_r() (0x00132410U) #define trim_sys_nvlink_uphy_cfg_lockdect_wait_dly_length_f(v)\ diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_usermode_tu104.h b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_usermode_tu104.h index d3d0513d8..331efad54 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_usermode_tu104.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_usermode_tu104.h @@ -57,7 +57,7 @@ #define NVGPU_HW_USERMODE_TU104_H #include -#include +#include #define usermode_cfg0_r() (0x00810000U) #define usermode_cfg0_class_id_f(v) ((U32(v) & 0xffffU) << 0U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_xp_tu104.h b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_xp_tu104.h index c74fbd3a6..65a1b14d8 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_xp_tu104.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_xp_tu104.h @@ -57,7 +57,7 @@ #define NVGPU_HW_XP_TU104_H #include -#include +#include #define xp_dl_mgr_r(i)\ (nvgpu_safe_add_u32(0x0008b8c0U, nvgpu_safe_mult_u32((i), 4U))) diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_xve_tu104.h b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_xve_tu104.h index 099fc6f42..327f58fbe 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_xve_tu104.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/tu104/hw_xve_tu104.h @@ -57,7 +57,7 @@ #define NVGPU_HW_XVE_TU104_H #include -#include +#include #define xve_rom_ctrl_r() (0x00000050U) #define xve_rom_ctrl_rom_shadow_f(v) ((U32(v) & 0x1U) << 0U) diff --git a/drivers/gpu/nvgpu/include/nvgpu/posix/atomic.h b/drivers/gpu/nvgpu/include/nvgpu/posix/atomic.h index 38308fbd4..bbede440a 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/posix/atomic.h +++ b/drivers/gpu/nvgpu/include/nvgpu/posix/atomic.h @@ -25,7 +25,7 @@ #include #include -#include +#include #include /* diff --git a/drivers/gpu/nvgpu/include/nvgpu/posix/utils.h b/drivers/gpu/nvgpu/include/nvgpu/posix/utils.h index faf077f05..ad6b34954 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/posix/utils.h +++ b/drivers/gpu/nvgpu/include/nvgpu/posix/utils.h @@ -23,7 +23,7 @@ #ifndef NVGPU_POSIX_UTILS_H #define NVGPU_POSIX_UTILS_H -#include +#include #define min_t(type, a, b) \ ({ \ diff --git a/drivers/gpu/nvgpu/include/nvgpu/ptimer.h b/drivers/gpu/nvgpu/include/nvgpu/ptimer.h index 9c1825b69..065fc733b 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/ptimer.h +++ b/drivers/gpu/nvgpu/include/nvgpu/ptimer.h @@ -23,7 +23,7 @@ #define NVGPU_PTIMER_H #include -#include +#include struct gk20a; diff --git a/drivers/gpu/nvgpu/include/nvgpu/safe_ops.h b/drivers/gpu/nvgpu/include/nvgpu/static_analysis.h similarity index 59% rename from drivers/gpu/nvgpu/include/nvgpu/safe_ops.h rename to drivers/gpu/nvgpu/include/nvgpu/static_analysis.h index ee27613c5..9af9d3ab9 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/safe_ops.h +++ b/drivers/gpu/nvgpu/include/nvgpu/static_analysis.h @@ -20,12 +20,100 @@ * DEALINGS IN THE SOFTWARE. */ -#ifndef NVGPU_SAFE_OPS_H -#define NVGPU_SAFE_OPS_H +#ifndef NVGPU_STATIC_ANALYSIS_H +#define NVGPU_STATIC_ANALYSIS_H + +/** + * @file + * + * Macros/functions/etc for static analysis of nvgpu code. + */ #include #include +/** + * These macros are used for whitelisting coverity violations. The macros are + * only enabled when a coverity scan is being run. + */ +#ifdef NV_IS_COVERITY +/** + * NVGPU_MISRA - Define a MISRA rule for NVGPU_COV_WHITELIST. + * + * @param type - This should be Rule or Directive depending on if you're dealing + * with a MISRA rule or directive. + * @param num - This is the MISRA rule/directive number. Replace hyphens and + * periods in the rule/directive number with underscores. Example: + * 14.2 should be 14_2. + * + * This is a convenience macro for defining a MISRA rule for the + * NVGPU_COV_WHITELIST macro. + * + * Example 1: For defining MISRA rule 14.2, use NVGPU_MISRA(Rule, 14_2). + * Example 2: For defining MISRA directive 4.7, use NVGPU_MISRA(Directive, 4_7). + */ +#define NVGPU_MISRA(type, num) MISRA_C_2012_##type##_##num + +/** + * NVGPU_CERT - Define a CERT C rule for NVGPU_COV_WHITELIST. + * + * @param num - This is the CERT C rule number. Replace hyphens and periods in + * the rule number with underscores. Example: INT30-C should be + * INT30_C. + * + * This is a convenience macro for defining a CERT C rule for the + * NVGPU_COV_WHITELIST macro. + * + * Example: For defining CERT C rule INT30-C, use NVGPU_CERT(INT30_C). + */ +#define NVGPU_CERT(num) CERT_##num + +/** + * Helper macro for stringifying the _Pragma() string + */ +#define NVGPU_COV_STRING(x) #x + +/** + * NVGPU_COV_WHITELIST - Whitelist a coverity violation on the next line. + * + * @param type - This is the whitelisting category. Valid values are + * deviate or false_positive. + * deviate is for an approved rule deviation. + * false_positive is normally used for a bug in coverity + * which causes a false violation to appear in the scan. + * @param checker - This is the MISRA or CERT C rule causing the violation. + * Use the NVGPU_MISRA() or NVGPU_CERT() macro to define + * this field. + * @param comment_str - This is the comment that you want associated with this + * whitelisting. This should normally be a bug number + * (ex: coverity bug) or JIRA task ID (ex: RFD). Unlike the + * other arguments, this argument must be a quoted string. + * + * Use this macro to whitelist a coverity violation in the next line of code. + * + * Example 1: Whitelist a MISRA rule 14.2 violation due to a deviation + * documented in the JIRA TID-123 RFD: + * NVGPU_COV_WHITELIST(deviate, NVGPU_MISRA(Rule, 14_2), "JIRA TID-123") + * // Next line of code with a rule 14.2 violation + * + * Example 2: Whitelist violations for CERT C rules INT30-C and STR30-C caused + * by coverity bugs: + * NVGPU_COV_WHITELIST(false_positive, NVGPU_CERT(INT30_C), "Bug 123456") + * NVGPU_COV_WHITELIST(false_positive, NVGPU_CERT(STR30_C), "Bug 123457") + * // Next line of code with INT30-C and STR30-C violations + */ +#define NVGPU_COV_WHITELIST(type, checker, comment_str) \ + _Pragma(NVGPU_COV_STRING(coverity compliance type checker comment_str)) +#else +/** + * no-op macros for normal compilation - whitelisting is disabled when a + * coverity scan is NOT being run + */ +#define NVGPU_MISRA(type, num) +#define NVGPU_CERT(num) +#define NVGPU_COV_WHITELIST(type, checker, comment_str) +#endif + static inline u32 nvgpu_safe_add_u32(u32 ui_a, u32 ui_b) { if (UINT_MAX - ui_a < ui_b) { @@ -290,4 +378,4 @@ static inline s32 nvgpu_safe_cast_s64_to_s32(s64 sl_a) return (s32)sl_a; } } -#endif /* NVGPU_SAFE_OPS_H */ +#endif /* NVGPU_STATIC_ANALYSIS_H */ diff --git a/drivers/gpu/nvgpu/include/nvgpu/utils.h b/drivers/gpu/nvgpu/include/nvgpu/utils.h index b298036ce..8c2591517 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/utils.h +++ b/drivers/gpu/nvgpu/include/nvgpu/utils.h @@ -24,7 +24,7 @@ #define NVGPU_UTILS_H #include -#include +#include #ifdef __KERNEL__ #include diff --git a/drivers/gpu/nvgpu/os/posix/cond.c b/drivers/gpu/nvgpu/os/posix/cond.c index 6cab620f8..eadb3e0c2 100644 --- a/drivers/gpu/nvgpu/os/posix/cond.c +++ b/drivers/gpu/nvgpu/os/posix/cond.c @@ -21,7 +21,7 @@ */ #include -#include +#include int nvgpu_cond_init(struct nvgpu_cond *cond) { diff --git a/userspace/Makefile b/userspace/Makefile index 9515dc902..42f3cae72 100644 --- a/userspace/Makefile +++ b/userspace/Makefile @@ -91,6 +91,12 @@ CFLAGS = -Wall -Wextra -ggdb -Werror -Wno-unused-parameter \ LIB_PATHS = -L$(OUT) -L$(UNIT_OUT) LIBS = -lpthread -pthread -lgcov -ldl +# NV_IS_COVERITY is used by violation whitelisting macros which use pragma +# directives. Whitelisting is only enabled when a coverity scan is being run. +ifeq ($(NV_BUILD_CONFIGURATION_IS_COVERITY),1) +CFLAGS += -Wno-unknown-pragmas +CONFIGS += -DNV_IS_COVERITY +endif # Source files. We expect $(OBJS) and $(HEADERS) to get filled in here. include Makefile.sources