kernel_samsung_a53x/drivers/gpu/drm/amd/amdgpu
Zhang Zekun d465ae6259 Revert "drm/amdgpu: add missing size check in amdgpu_debugfs_gprwave_read()"
This reverts commit 17f5f18085acb5e9d8d13d84a4e12bb3aff2bd64.

The origin mainline patch fix a buffer overflow issue in
amdgpu_debugfs_gprwave_read(), but it has not been introduced in kernel
6.1 and older kernels. This patch add a check in a wrong function in the
same file.

Signed-off-by: Zhang Zekun <zhangzekun11@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-12-17 13:24:34 +01:00
..
amdgpu.h
amdgpu_acp.c
amdgpu_acp.h
amdgpu_acpi.c drm/amdgpu: prevent NULL pointer dereference if ATIF is not supported 2024-11-30 02:33:24 +01:00
amdgpu_afmt.c drm/amdgpu: Fix uninitialized variable warning in amdgpu_afmt_acr 2024-11-23 23:20:56 +01:00
amdgpu_amdkfd.c
amdgpu_amdkfd.h
amdgpu_amdkfd_arcturus.c
amdgpu_amdkfd_fence.c drm/amdgpu: Drop 'fence' check in 'to_amdgpu_amdkfd_fence()' 2024-11-18 12:13:19 +01:00
amdgpu_amdkfd_gfx_v7.c
amdgpu_amdkfd_gfx_v8.c
amdgpu_amdkfd_gfx_v9.c
amdgpu_amdkfd_gfx_v9.h
amdgpu_amdkfd_gfx_v10.c
amdgpu_amdkfd_gfx_v10_3.c
amdgpu_amdkfd_gpuvm.c drm/amdgpu: Fix leak when GPU memory allocation fails 2024-11-19 11:32:39 +01:00
amdgpu_atombios.c drm/amdgpu: fix mc_data out-of-bounds read warning 2024-11-23 23:20:57 +01:00
amdgpu_atombios.h
amdgpu_atomfirmware.c
amdgpu_atomfirmware.h
amdgpu_atpx_handler.c
amdgpu_benchmark.c
amdgpu_bios.c drm/amdgpu: don't use ATRM for external devices 2024-11-18 12:11:13 +01:00
amdgpu_bo_list.c drm/amdgpu: fix error handling in amdgpu_bo_list_get() 2024-11-18 11:43:32 +01:00
amdgpu_bo_list.h
amdgpu_cgs.c drm/amdgpu: fix ucode out-of-bounds read warning 2024-11-23 23:20:57 +01:00
amdgpu_connectors.c
amdgpu_connectors.h
amdgpu_cs.c drm/amdgpu: correct chunk_ptr to a pointer to chunk. 2024-11-18 12:11:26 +01:00
amdgpu_csa.c
amdgpu_csa.h
amdgpu_ctx.c drm/amdgpu: Actually check flags for all context ops. 2024-11-23 23:20:43 +01:00
amdgpu_ctx.h
amdgpu_debugfs.c Revert "drm/amdgpu: add missing size check in amdgpu_debugfs_gprwave_read()" 2024-12-17 13:24:34 +01:00
amdgpu_debugfs.h
amdgpu_device.c drm/amdgpu: skip amdgpu_device_cache_pci_state under sriov 2024-12-17 13:24:31 +01:00
amdgpu_df.h
amdgpu_discovery.c
amdgpu_discovery.h
amdgpu_display.c drm/amdgpu: correct the amdgpu runtime dereference usage count 2024-11-18 12:11:45 +01:00
amdgpu_display.h
amdgpu_dma_buf.c
amdgpu_dma_buf.h
amdgpu_doorbell.h
amdgpu_drv.c
amdgpu_drv.h
amdgpu_encoders.c
amdgpu_fb.c
amdgpu_fence.c
amdgpu_fru_eeprom.c
amdgpu_fru_eeprom.h
amdgpu_gart.c
amdgpu_gart.h
amdgpu_gds.h
amdgpu_gem.c
amdgpu_gem.h
amdgpu_gfx.c
amdgpu_gfx.h
amdgpu_gfxhub.h
amdgpu_gmc.c
amdgpu_gmc.h
amdgpu_gtt_mgr.c
amdgpu_i2c.c
amdgpu_i2c.h
amdgpu_ib.c
amdgpu_ids.c
amdgpu_ids.h
amdgpu_ih.c
amdgpu_ih.h
amdgpu_ioc32.c
amdgpu_irq.c drm/amdgpu: Initialize timestamp for some legacy SOCs 2024-11-19 14:19:40 +01:00
amdgpu_irq.h
amdgpu_job.c
amdgpu_job.h
amdgpu_jpeg.c
amdgpu_jpeg.h
amdgpu_kms.c
amdgpu_mes.h
amdgpu_mmhub.c
amdgpu_mmhub.h
amdgpu_mn.c
amdgpu_mn.h
amdgpu_mode.h
amdgpu_nbio.c
amdgpu_nbio.h
amdgpu_object.c
amdgpu_object.h
amdgpu_pll.c
amdgpu_pll.h
amdgpu_pmu.c
amdgpu_pmu.h
amdgpu_psp.c
amdgpu_psp.h
amdgpu_rap.c
amdgpu_rap.h
amdgpu_ras.c drm/amdgpu: Fix the null pointer dereference to ras_manager 2024-11-23 23:20:24 +01:00
amdgpu_ras.h
amdgpu_ras_eeprom.c
amdgpu_ras_eeprom.h
amdgpu_ring.c drm/amdgpu: Fix out-of-bounds write warning 2024-11-23 23:20:57 +01:00
amdgpu_ring.h
amdgpu_rlc.c
amdgpu_rlc.h
amdgpu_sa.c
amdgpu_sched.c
amdgpu_sched.h
amdgpu_sdma.c
amdgpu_sdma.h
amdgpu_socbb.h
amdgpu_sync.c drm/amdgpu: Let KFD sync with VM fences 2024-11-18 12:13:19 +01:00
amdgpu_sync.h
amdgpu_test.c
amdgpu_trace.h
amdgpu_trace_points.c
amdgpu_ttm.c drm/amdgpu: set the right AMDGPU sg segment limitation 2024-12-17 13:24:31 +01:00
amdgpu_ttm.h
amdgpu_ucode.c
amdgpu_ucode.h
amdgpu_umc.c
amdgpu_umc.h
amdgpu_uvd.c
amdgpu_uvd.h
amdgpu_vce.c drm/amdgpu: Using uninitialized value *size when calling amdgpu_vce_cs_reloc 2024-11-23 23:20:50 +01:00
amdgpu_vce.h
amdgpu_vcn.c
amdgpu_vcn.h
amdgpu_vf_error.c
amdgpu_vf_error.h
amdgpu_virt.c drm/amdgpu: avoid reading vf2pf info size from FB 2024-11-23 23:20:56 +01:00
amdgpu_virt.h
amdgpu_vm.c drm/amdgpu: validate the parameters of bo mapping operations more clearly 2024-11-19 11:32:23 +01:00
amdgpu_vm.h
amdgpu_vm_cpu.c
amdgpu_vm_sdma.c
amdgpu_vram_mgr.c
amdgpu_xgmi.c
amdgpu_xgmi.h
amdgv_sriovmsg.h
arct_reg_init.c
athub_v1_0.c
athub_v1_0.h
athub_v2_0.c
athub_v2_0.h
athub_v2_1.c
athub_v2_1.h
atom.c drm/amdgpu: Fix missing break in ATOM_ARG_IMM Case of atom_get_src_int() 2024-11-19 08:44:55 +01:00
atom.h
atombios_crtc.c
atombios_crtc.h
atombios_dp.c
atombios_dp.h
atombios_encoders.c Revert "drm/amdgpu: Replace one-element array with flexible-array member" 2024-11-24 00:23:26 +01:00
atombios_encoders.h
atombios_i2c.c
atombios_i2c.h
cik.c
cik.h
cik_ih.c
cik_ih.h
cik_sdma.c
cik_sdma.h
cikd.h
clearstate_ci.h
clearstate_defs.h
clearstate_gfx9.h
clearstate_gfx10.h
clearstate_si.h
clearstate_vi.h
cz_ih.c
cz_ih.h
dce_v6_0.c
dce_v6_0.h
dce_v8_0.c
dce_v8_0.h
dce_v10_0.c
dce_v10_0.h
dce_v11_0.c
dce_v11_0.h
dce_virtual.c
dce_virtual.h
df_v1_7.c drm/amdgpu: Fix out-of-bounds read of df_v1_7_channel_number 2024-11-23 23:20:57 +01:00
df_v1_7.h
df_v3_6.c
df_v3_6.h
emu_soc.c
gfx_v6_0.c
gfx_v6_0.h
gfx_v7_0.c
gfx_v7_0.h
gfx_v8_0.c
gfx_v8_0.h
gfx_v9_0.c drm/amdgpu: enable gfxoff quirk on HP 705G4 2024-11-23 23:21:40 +01:00
gfx_v9_0.h
gfx_v9_4.c
gfx_v9_4.h
gfx_v10_0.c
gfx_v10_0.h
gfxhub_v1_0.c
gfxhub_v1_0.h
gfxhub_v1_1.c
gfxhub_v1_1.h
gfxhub_v2_0.c
gfxhub_v2_0.h
gfxhub_v2_1.c
gfxhub_v2_1.h
gmc_v6_0.c
gmc_v6_0.h
gmc_v7_0.c
gmc_v7_0.h
gmc_v8_0.c
gmc_v8_0.h
gmc_v9_0.c
gmc_v9_0.h
gmc_v10_0.c
gmc_v10_0.h
iceland_ih.c
iceland_ih.h
iceland_sdma_pkt_open.h
jpeg_v1_0.c
jpeg_v1_0.h
jpeg_v2_0.c drm/amdgpu/jpeg2: properly set atomics vmid field 2024-11-23 23:20:43 +01:00
jpeg_v2_0.h
jpeg_v2_5.c
jpeg_v2_5.h
jpeg_v3_0.c
jpeg_v3_0.h
Kconfig
Makefile
mes_api_def.h
mes_v10_1.c
mes_v10_1.h
mmhub_v1_0.c
mmhub_v1_0.h
mmhub_v2_0.c
mmhub_v2_0.h
mmhub_v9_4.c
mmhub_v9_4.h
mmsch_v1_0.h
mmsch_v2_0.h
mmsch_v3_0.h
mxgpu_ai.c
mxgpu_ai.h
mxgpu_nv.c
mxgpu_nv.h
mxgpu_vi.c
mxgpu_vi.h
navi10_ih.c
navi10_ih.h
navi10_reg_init.c
navi10_sdma_pkt_open.h
navi12_reg_init.c
navi14_reg_init.c
nbio_v2_3.c
nbio_v2_3.h
nbio_v6_1.c
nbio_v6_1.h
nbio_v7_0.c
nbio_v7_0.h
nbio_v7_4.c drm/amdgpu: the warning dereferencing obj for nbio_v7_4 2024-11-23 23:20:58 +01:00
nbio_v7_4.h
nv.c
nv.h
nvd.h
ObjectID.h
psp_gfx_if.h
psp_v3_1.c
psp_v3_1.h
psp_v10_0.c
psp_v10_0.h
psp_v11_0.c
psp_v11_0.h
psp_v12_0.c
psp_v12_0.h
sdma_common.h
sdma_v2_4.c
sdma_v2_4.h
sdma_v3_0.c
sdma_v3_0.h
sdma_v4_0.c drm/amdgpu: Fix signedness bug in sdma_v4_0_process_trap_irq() 2024-11-19 14:19:51 +01:00
sdma_v4_0.h
sdma_v5_0.c
sdma_v5_0.h
sdma_v5_2.c drm/amdgpu/sdma5.2: use legacy HDP flush for SDMA2/3 2024-11-19 11:32:39 +01:00
sdma_v5_2.h
si.c
si.h
si_dma.c
si_dma.h
si_enums.h
si_ih.c
si_ih.h
sid.h
sienna_cichlid_reg_init.c
smu_v11_0_i2c.c
smu_v11_0_i2c.h
soc15.c
soc15.h
soc15_common.h
soc15d.h
ta_rap_if.h
ta_ras_if.h
ta_xgmi_if.h
tonga_ih.c
tonga_ih.h
tonga_sdma_pkt_open.h
umc_v6_0.c
umc_v6_0.h
umc_v6_1.c
umc_v6_1.h
umc_v8_7.c
umc_v8_7.h
uvd_v3_1.c
uvd_v3_1.h
uvd_v4_2.c
uvd_v4_2.h
uvd_v5_0.c
uvd_v5_0.h
uvd_v6_0.c
uvd_v6_0.h
uvd_v7_0.c
uvd_v7_0.h
vce_v2_0.c
vce_v2_0.h
vce_v3_0.c
vce_v3_0.h
vce_v4_0.c
vce_v4_0.h
vcn_v1_0.c
vcn_v1_0.h
vcn_v2_0.c
vcn_v2_0.h
vcn_v2_5.c
vcn_v2_5.h
vcn_v3_0.c
vcn_v3_0.h
vega10_ih.c
vega10_ih.h
vega10_reg_init.c
vega10_sdma_pkt_open.h
vega20_reg_init.c
vi.c
vi.h
vid.h