Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 27174605 authored by Prakash Gupta's avatar Prakash Gupta Committed by Gerrit - the friendly Code Review server
Browse files

Revert "arm: dma-mapping: WARN_ON if iova is not 128M aligned"



This reverts commit 919aec60 ("arm: dma-mapping: WARN_ON if iova
is not 128M aligned")
This warning is unnecessary and is forcing the clients to use the 128M
aligned virtual address. This warning is introduced thinking that the
clients may unnecessarily lose the unaligned part in the VA higher
end.But that's okay as this is just a VA and at the maximum user can
lost the 128M - 1 bytes of VA. And the minimum VA is represented as
always 128M. All these calculations are around the 4K page size.

Change-Id: Id17c9a1894a6703eab0d4df370a064584ebe9c07
Signed-off-by: default avatarPrakash Gupta <guptap@codeaurora.org>
parent a91b82ae
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment