summaryrefslogtreecommitdiff
path: root/arch/x86/lib/interrupts.c
diff options
context:
space:
mode:
authorAnshul Dalal <anshuld@ti.com>2025-09-03 17:22:06 +0530
committerTom Rini <trini@konsulko.com>2025-09-11 10:03:02 -0600
commit7bcc604ef80244ac45d8112b823ceff21af61e39 (patch)
tree937449289e2d7b79595349e2035050fa0f513ff4 /arch/x86/lib/interrupts.c
parente9e55fefb1ec3e1d2525ef69655914c17e913c4c (diff)
config: arch: k3: enable DMA_ADDR_T_64BIT
ARCH_K3 encompasses both 32 and 64-bit cores on the same SoC, though the DMA addresses are always 64-bit in size. With the current implementation, the R5 SPL uses a u32 for dma_addr_t which leads to data overflow when functions such as k3_nav_*_pop_mem try to write a 64-bit address to dma_addr_t variable. In certain cases it leads to stack corruption which manifest as boot failures on certain compilers, such as SPI boot on GCC 14.2 or 13.3. Therefore this patch selects CONFIG_DMA_ADDR_T_64BIT for all ARCH_K3. Fixes: ffcc66e8fec5 ("dma: ti: add driver to K3 UDMA") Signed-off-by: Anshul Dalal <anshuld@ti.com> Reviewed-by: Prasanth Babu Mantena <p-mantena@ti.com>
Diffstat (limited to 'arch/x86/lib/interrupts.c')
0 files changed, 0 insertions, 0 deletions