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

Skip to content
Commit 9612c2bc authored by Vikram Mulukutla's avatar Vikram Mulukutla
Browse files

qcom: peripheral-loader: Account for arm64 alignment requirements



ARM64 mandates that 8 byte accesses to/from device memory shall
only be allowed with 64 bit aligned addresses. The current Linux
ARM64 memset implementation does not account for alignment, and
memset_io is inefficient (it does a byte copy).

Until a more generic solution is implemented, account for this
alignement restriction by always passing in 64 bit aligned
address and size parameters to memset().

Change-Id: I2a3647486cc8a86531c79d1af53ba42957dd231b
Signed-off-by: default avatarVikram Mulukutla <markivx@codeaurora.org>
parent bc9a8f61
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