kernel_samsung_a53x/drivers/gpu/drm/amd/amdkfd
Dave Airlie ddb3855894 amdkfd: use calloc instead of kzalloc to avoid integer overflow
commit 3b0daecfeac0103aba8b293df07a0cbaf8b43f29 upstream.

This uses calloc instead of doing the multiplication which might
overflow.

Cc: stable@vger.kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-19 09:22:13 +01:00
..
cik_event_interrupt.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cik_int.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cik_regs.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cwsr_trap_handler.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cwsr_trap_handler_gfx8.asm Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cwsr_trap_handler_gfx9.asm Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cwsr_trap_handler_gfx10.asm Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kfd_chardev.c amdkfd: use calloc instead of kzalloc to avoid integer overflow 2024-11-19 09:22:13 +01:00
kfd_crat.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kfd_crat.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kfd_dbgdev.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kfd_dbgdev.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kfd_dbgmgr.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kfd_dbgmgr.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kfd_debugfs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kfd_device.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kfd_device_queue_manager.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kfd_device_queue_manager.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kfd_device_queue_manager_cik.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kfd_device_queue_manager_v9.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kfd_device_queue_manager_v10.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kfd_device_queue_manager_vi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kfd_doorbell.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kfd_events.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kfd_events.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kfd_flat_memory.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kfd_int_process_v9.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kfd_interrupt.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kfd_iommu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kfd_iommu.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kfd_kernel_queue.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kfd_kernel_queue.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kfd_module.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kfd_mqd_manager.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kfd_mqd_manager.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kfd_mqd_manager_cik.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kfd_mqd_manager_v9.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kfd_mqd_manager_v10.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kfd_mqd_manager_vi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kfd_packet_manager.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kfd_packet_manager_v9.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kfd_packet_manager_vi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kfd_pasid.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kfd_pm4_headers.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kfd_pm4_headers_ai.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kfd_pm4_headers_diq.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kfd_pm4_headers_vi.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kfd_pm4_opcodes.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kfd_priv.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kfd_process.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kfd_process_queue_manager.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kfd_queue.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kfd_smi_events.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kfd_smi_events.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kfd_topology.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kfd_topology.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
soc15_int.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00