Files
linux-nvgpu/arch/nvgpu-linux.yaml
Sagar Kamble b117f40f6c gpu: nvgpu: separate tegra fuse read from under CONFIG_NVGPU_TEGRA_FUSE
tegra_fuse_readl is supported in upstream. Separate out the functions
using this API from the config CONFIG_NVGPU_TEGRA_FUSE.

Following four fuses are defined in downstream kernel repositories in
tegra fuse header. It can be incorporated in upstream if nvgpu starts
reading those fuses using nvmem APIs. Hence define those fuse offsets
in nvgpu itself for now.

1. FUSE_RESERVED_CALIB0_0
2. FUSE_GCPLEX_CONFIG_FUSE_0
3. FUSE_PDI0
4. FUSE_PDI1

Bug 200625647

Change-Id: I8da8c0c3a0682fdab806fa57035fedd29ef22c26
Signed-off-by: Sagar Kamble <skamble@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2369955
Reviewed-by: automaticguardword <automaticguardword@nvidia.com>
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: svc-mobile-misra <svc-mobile-misra@nvidia.com>
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
Reviewed-by: Sami Kiminki <skiminki@nvidia.com>
Reviewed-by: Vaibhav Kachore <vkachore@nvidia.com>
Reviewed-by: Debarshi Dutta <ddutta@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
GVS: Gerrit_Virtual_Submit
2020-12-15 14:13:28 -06:00

250 lines
7.0 KiB
YAML

#
# Copyright (c) 2019-2020, NVIDIA CORPORATION. All Rights Reserved.
#
# Linux elements and units in nvgpu.
#
# The safe: tag is ommited through out since all Linux units are by definition
# not safe.
#
# I also have not put a huge amount of thought into this since none of this
# code is "safe" code. Nor are we planning on spending a lot of effort to
# clean this up. At least not yet.
bsearch:
sources: [ os/linux/bsearch.c ]
channel:
sources: [ os/linux/linux-channel.c, os/linux/channel.h ]
vpr:
sources: [ os/linux/vpr.c ]
clk:
sources: [ os/linux/clk.c, os/linux/clk.h ]
cde:
sources: [ os/linux/cde.c, os/linux/cde.h,
os/linux/cde_gm20b.c, os/linux/cde_gm20b.h,
os/linux/cde_gp10b.c, os/linux/cde_gp10b.h ]
comptags:
sources: [ os/linux/comptags.c ]
cond:
sources: [ os/linux/cond.c ]
dma:
sources: [ os/linux/linux-dma.c ]
dmabuf:
sources: [ os/linux/dmabuf_vidmem.c, os/linux/dmabuf_vidmem.h,
os/linux/dmabuf_priv.c, os/linux/dmabuf_priv.h ]
driver_common:
sources: [ os/linux/driver_common.c, os/linux/driver_common.h ]
dt:
sources: [ os/linux/dt.c ]
debug:
sources: [ os/linux/debug.c,
os/linux/debug_allocator.c,
os/linux/debug_allocator.h,
os/linux/debug_bios.c,
os/linux/debug_bios.h,
os/linux/debug_cde.c,
os/linux/debug_cde.h,
os/linux/debug_ce.c,
os/linux/debug_ce.h,
os/linux/debug_clk_gm20b.c,
os/linux/debug_clk_gm20b.h,
os/linux/debug_clk_tu104.c,
os/linux/debug_clk_tu104.h,
os/linux/debug_fecs_trace.c,
os/linux/debug_fecs_trace.h,
os/linux/debug_fifo.c,
os/linux/debug_fifo.h,
os/linux/debug_gr.c,
os/linux/debug_gr.h,
os/linux/debug_hal.c,
os/linux/debug_hal.h,
os/linux/debug_kmem.c,
os/linux/debug_kmem.h,
os/linux/debug_ltc.c,
os/linux/debug_ltc.h,
os/linux/debug_pmgr.c,
os/linux/debug_pmgr.h,
os/linux/debug_pmu.c,
os/linux/debug_pmu.h,
os/linux/debug_sched.c,
os/linux/debug_sched.h,
os/linux/debug_therm_tu104.c,
os/linux/debug_therm_tu104.h,
os/linux/debug_xve.c,
os/linux/debug_xve.h,
os/linux/debug_s_param.c,
os/linux/debug_s_param.h,
os/linux/debug_volt.c,
os/linux/debug_volt.h,
os/linux/swprofile_debugfs.c,
os/linux/swprofile_debugfs.h,
os/linux/fecs_trace_linux.c,
os/linux/fecs_trace_linux.h,
os/linux/nvlink_probe.c ]
firmware:
sources: [ os/linux/firmware.c ]
fuse:
sources: [ os/linux/fuse.c ]
intr:
sources: [ os/linux/intr.c, os/linux/intr.h ]
io:
sources: [ os/linux/io_usermode.c,
os/linux/linux-io.c ]
ioctl:
sources: [ os/linux/ioctl.c,
os/linux/ioctl.h,
os/linux/ioctl_as.c,
os/linux/ioctl_as.h,
os/linux/ioctl_channel.c,
os/linux/ioctl_channel.h,
os/linux/ioctl_clk_arb.c,
os/linux/ioctl_ctrl.c,
os/linux/ioctl_ctrl.h,
os/linux/ioctl_dbg.c,
os/linux/ioctl_dbg.h,
os/linux/ioctl_tsg.c,
os/linux/ioctl_tsg.h ]
kmem:
sources: [ os/linux/kmem.c, os/linux/kmem_priv.h ]
log:
sources: [ os/linux/log.c ]
module:
sources: [ os/linux/module.c, os/linux/module.h,
os/linux/module_usermode.c, os/linux/module_usermode.h ]
nvgpu_mem:
sources: [ os/linux/nvgpu_mem.c ]
nvhost:
sources: [ os/linux/nvhost.c,
os/linux/nvhost_priv.h ]
nvlink:
sources: [ os/linux/nvlink.c,
os/linux/nvlink.h ]
fence:
sources: [ os/linux/os_fence_android.c,
os/linux/os_fence_android_sema.c,
os/linux/os_fence_dma.c,
os/linux/os_fence_dma_sema.c,
os/linux/os_fence_syncpt.c,
os/linux/os_fence_priv.h,
os/linux/sync_sema_android.c,
os/linux/sync_sema_android.h,
os/linux/sync_sema_dma.c,
os/linux/sync_sema_dma.h,
include/nvgpu/os_fence.h,
include/nvgpu/os_fence_semas.h,
include/nvgpu/os_fence_syncpts.h ]
ops:
sources: [ os/linux/os_ops.c, os/linux/os_ops.h,
os/linux/os_ops_gm20b.c, os/linux/os_ops_gm20b.h,
os/linux/os_ops_gp10b.c, os/linux/os_ops_gp10b.h,
os/linux/os_ops_gv100.c, os/linux/os_ops_gv100.h,
os/linux/os_ops_gv11b.c, os/linux/os_ops_gv11b.h,
os/linux/os_ops_tu104.c, os/linux/os_ops_tu104.h ]
pci:
sources: [ os/linux/pci.c,
os/linux/pci.h,
os/linux/pci_power.c,
os/linux/pci_power.h,
include/nvgpu/pci.h ]
platform:
sources: [ os/linux/platform_gk20a.h,
os/linux/platform_gk20a_tegra.c,
os/linux/platform_gk20a_tegra.h,
os/linux/platform_gp10b.h,
os/linux/platform_gp10b_tegra.c,
os/linux/platform_gv11b_tegra.c ]
rwsem:
sources: [ os/linux/rwsem.c ]
scale:
sources: [os/linux/scale.c, os/linux/scale.h ]
sched:
sources: [ os/linux/os_sched.c,
os/linux/sched.c,
os/linux/sched.h ]
sim:
sources: [ os/linux/sim.c, os/linux/sim_pci.c ]
soc:
sources: [ os/linux/soc.c ]
sysfs:
sources: [ os/linux/sysfs.c, os/linux/sysfs.h,
os/linux/ecc_sysfs.c ]
thread:
sources: [ os/linux/thread.c ]
timers:
sources: [ os/linux/timers.c ]
vgpu:
sources: [ os/linux/vgpu/fecs_trace_vgpu_linux.c,
os/linux/vgpu/gv11b/platform_gv11b_vgpu_tegra.c,
os/linux/vgpu/platform_vgpu_tegra.c,
os/linux/vgpu/platform_vgpu_tegra.h,
os/linux/vgpu/sysfs_vgpu.c,
os/linux/vgpu/vgpu_ivc.c,
os/linux/vgpu/vgpu_ivm.c,
os/linux/vgpu/vgpu_linux.c,
os/linux/vgpu/vgpu_linux.h ]
vm:
sources: [ os/linux/vm.c ]
sdl:
sources: [ os/linux/sdl/sdl_stub.c ]
# Group all the Linux headers for now.
headers:
sources: [ include/nvgpu/linux/atomic.h,
include/nvgpu/linux/barrier.h,
include/nvgpu/linux/cond.h,
include/nvgpu/linux/dma.h,
include/nvgpu/linux/kmem.h,
include/nvgpu/linux/lock.h,
include/nvgpu/linux/bitops.h,
include/nvgpu/linux/nvgpu_mem.h,
include/nvgpu/linux/os_fence_android.h,
include/nvgpu/linux/os_fence_dma.h,
include/nvgpu/linux/rwsem.h,
include/nvgpu/linux/sim.h,
include/nvgpu/linux/sim_pci.h,
include/nvgpu/linux/soc_fuse.h,
include/nvgpu/linux/thread.h,
include/nvgpu/linux/log.h,
include/nvgpu/linux/utils.h,
include/nvgpu/linux/vm.h ]
# An extra unit to lump all the unclassified Linux files.
extra:
sources: [ os/linux/os_linux.h ]