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

Commit c3c77f2f authored by Mitchel Humpherys's avatar Mitchel Humpherys Committed by Neeti Desai
Browse files

iommu/io-pgtable-arm: Correct size in arm_lpae_split_blk_unmap



Currently, arm_lpae_split_blk_unmap is assuming that the size to be
remapped is the block size of the next level.  However, optimizations
have been made to the unmap code that result in the entire remaining
size being passed in, rather than just doing it one block at a time,
which breaks arm_lpae_split_blk_unmap.

Fix this by overriding the size passed in to be the block size of the
next level.

Change-Id: Ifce5b2e07dc15aba3cd37b7ac249e00decd2923f
Signed-off-by: default avatarMitchel Humpherys <mitchelh@codeaurora.org>
parent 40b49a34
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