lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250210135413.2504272-1-mkumard@nvidia.com>
Date: Mon, 10 Feb 2025 19:24:11 +0530
From: Mohan Kumar D <mkumard@...dia.com>
To: <vkoul@...nel.org>, <thierry.reding@...il.com>, <jonathanh@...dia.com>
CC: <dmaengine@...r.kernel.org>, <linux-tegra@...r.kernel.org>,
	<linux-kernel@...r.kernel.org>, <stable@...r.kernel.org>, Mohan Kumar D
	<mkumard@...dia.com>
Subject: [PATCH v5 0/2] Tegra ADMA fixes

- 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


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ