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: <60106d7b-ad70-01fa-9f90-fe384cc428f8@ieee.org>
Date:   Wed, 17 Mar 2021 17:49:48 -0500
From:   Alex Elder <elder@...e.org>
To:     Florian Fainelli <f.fainelli@...il.com>,
        Alex Elder <elder@...aro.org>, davem@...emloft.net,
        kuba@...nel.org
Cc:     bjorn.andersson@...aro.org, evgreen@...omium.org,
        cpratapa@...eaurora.org, subashab@...eaurora.org, elder@...nel.org,
        netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next 2/4] net: ipa: introduce dma_addr_high32()

On 3/17/21 5:47 PM, Florian Fainelli wrote:
>> +/* Encapsulate extracting high-order 32 bits of DMA address */
>> +static u32 dma_addr_high32(dma_addr_t addr)
>> +{
>> +#ifdef CONFIG_ARCH_DMA_ADDR_T_64BIT
>> +	return (u32)(addr >> 32);
> You can probably use upper_32bits() here...

Where is that defined?  I'd be glad to use it.	-Alex

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ