On Fri, Jul 10, 2026 at 11:59:03AM +0100, Peter Maydell wrote:
> The worst case number of DMA bytes that omap_dma will ask us to
> transfer is 0xffff * 0xffff * 4 == 0x3fff80004, which is slightly
> larger than fits into a uint32_t.  Move the byte count to uint64_t,
> and adjust code that passes it around to also use uint64_t.
> 
> Signed-off-by: Peter Maydell <[email protected]>
> ---
>  hw/dma/soc_dma.c         | 6 +++++-
>  include/hw/arm/soc_dma.h | 2 +-
>  2 files changed, 6 insertions(+), 2 deletions(-)
> 

Reviewed-by: Jim MacArthur <[email protected]>


Reply via email to