mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v5 0/2] Tegra ADMA fixes
@ 2025-02-10 13:54 Mohan Kumar D
  2025-02-10 13:54 ` [PATCH v5 1/2] dmaengine: tegra210-adma: Use div_u64 for 64 bit division Mohan Kumar D
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Mohan Kumar D @ 2025-02-10 13:54 UTC (permalink / raw)
  To: vkoul, thierry.reding, jonathanh
  Cc: dmaengine, linux-tegra, linux-kernel, stable, Mohan Kumar D

- Kernel test robot reported the build errors on 32-bit platforms due to
plain 64-by-32 division. Fix build error by using div_u64()

- Additional check for adma max page

Changelog
=========

v1 -> v2:
   * Used lower_32_bits() to truncate the 64-bit address space for
     division
   * Included additional patch to check for adma max page

v2 -> v3:
   * Removed unwanter file change

v3 -> v4:
   * Used div_u64() to perform the 64-bit division of adma address
     differences

v4 -> v5:
   * Updated commit message of the patchsets

Mohan Kumar D (2):
  dmaengine: tegra210-adma: Use div_u64 for 64 bit division
  dmaengine: tegra210-adma: check for adma max page

 drivers/dma/tegra210-adma.c | 20 ++++++++++++++++----
 1 file changed, 16 insertions(+), 4 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-02-10 14:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-02-10 13:54 [PATCH v5 0/2] Tegra ADMA fixes Mohan Kumar D
2025-02-10 13:54 ` [PATCH v5 1/2] dmaengine: tegra210-adma: Use div_u64 for 64 bit division Mohan Kumar D
2025-02-10 13:54 ` [PATCH v5 2/2] dmaengine: tegra210-adma: check for adma max page Mohan Kumar D
2025-02-10 14:34 ` [PATCH v5 0/2] Tegra ADMA fixes Vinod Koul

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®