Skip to content
Commit 7f170499 authored by Philip Elcan's avatar Philip Elcan Committed by Will Deacon
Browse files

arm64: tlbflush: avoid writing RES0 bits



Several of the bits of the TLBI register operand are RES0 per the ARM
ARM, so TLBI operations should avoid writing non-zero values to these
bits.

This patch adds a macro __TLBI_VADDR(addr, asid) that creates the
operand register in the correct format and honors the RES0 bits.

Acked-by: default avatarMark Rutland <mark.rutland@arm.com>
Signed-off-by: default avatarPhilip Elcan <pelcan@codeaurora.org>
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
parent 2a58fca9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment