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  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]
Date:   Wed, 19 Aug 2020 15:51:45 +0100
From:   Christoph Hellwig <>
To:     Edward Cree <>
Cc:     Randy Dunlap <>,
        "" <>,
        Michael Brown <>,
        Solarflare linux maintainers <>,
        Martin Habets <>
Subject: Re: ethernet/sfc/ warnings with 32-bit dma_addr_t

On Wed, Aug 19, 2020 at 11:37:00AM +0100, Edward Cree wrote:
> As far as I can tell, truncation to 32 bits is harmless ??? the
> ??called function (efx_init_io) already tries every mask from the
> ??passed one down to 32 bits in case of PCIe hardware limitations.

Which btw isn't needed.  These days dma_set_mask_and_coherent
and friends never fail because of a "too large" mask - it will
only fail in the rare case of a too small one.  So the two places
that set the dma mask could be simplified.

Powered by blists - more mailing lists