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-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Zv2ONA2b3+kMAizm@Asurada-Nvidia>
Date: Wed, 2 Oct 2024 11:17:24 -0700
From: Nicolin Chen <nicolinc@...dia.com>
To: Yang Shi <yang@...amperecomputing.com>
CC: <jgg@...pe.ca>, <james.morse@....com>, <will@...nel.org>,
	<robin.murphy@....com>, <linux-arm-kernel@...ts.infradead.org>,
	<linux-kernel@...r.kernel.org>
Subject: Re: [v2 PATCH] iommu/arm-smmu-v3: Fix L1 stream table index
 calculation for 32-bit sid size

I think both v1 and v2 are missing iommu@...ts.linux.dev in CC.

On Wed, Oct 02, 2024 at 10:55:14AM -0700, Yang Shi wrote:
> +static inline unsigned int arm_smmu_strtab_max_sid(struct arm_smmu_device *smmu)
> +{
> +       return (1ULL << smmu->sid_bits);
> +}
> +

Hmm, why ULL gets truncated to unsigned int here?

Thanks
Nicolin

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ