mbox series

[v5,0/2] Tegra ADMA fixes

Message ID 20250210135413.2504272-1-mkumard@nvidia.com (mailing list archive)
Headers show
Series Tegra ADMA fixes | expand

Message

Mohan Kumar D Feb. 10, 2025, 1:54 p.m. UTC
- 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(-)

Comments

Vinod Koul Feb. 10, 2025, 2:34 p.m. UTC | #1
On Mon, 10 Feb 2025 19:24:11 +0530, Mohan Kumar D wrote:
> - 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
> =========
> 
> [...]

Applied, thanks!

[1/2] dmaengine: tegra210-adma: Use div_u64 for 64 bit division
      commit: 17987453a9d997c4d0749abc52f047bfa275427a
[2/2] dmaengine: tegra210-adma: check for adma max page
      commit: 76ed9b7d177ed5aa161a824ea857619b88542de1

Best regards,