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: <20191211190735.GA5609@ubuntu-m2-xlarge-x86>
Date:   Wed, 11 Dec 2019 12:07:35 -0700
From:   Nathan Chancellor <natechancellor@...il.com>
To:     Robin Murphy <robin.murphy@....com>
Cc:     joro@...tes.org, hch@....de, iommu@...ts.linux-foundation.org,
        linux-kernel@...r.kernel.org, stephan@...hold.net,
        nsaenzjulienne@...e.de, arnd@...db.de
Subject: Re: [PATCH v2] iommu/dma: Rationalise types for DMA masks

On Wed, Dec 11, 2019 at 06:33:26PM +0000, Robin Murphy wrote:
> Since iommu_dma_alloc_iova() combines incoming masks with the u64 bus
> limit, it makes more sense to pass them around in their native u64
> rather than converting to dma_addr_t early. Do that, and resolve the
> remaining type discrepancy against the domain geometry with a cheeky
> cast to keep things simple.
> 
> Signed-off-by: Robin Murphy <robin.murphy@....com>

Tested-by: Nathan Chancellor <natechancellor@...il.com> # build

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ