diff options
author | Gavin Shan <[email protected]> | 2024-04-05 13:58:51 +1000 |
---|---|---|
committer | Will Deacon <[email protected]> | 2024-04-11 11:42:57 +0100 |
commit | e07255d69702bc9131427fda8f9749355b10780f (patch) | |
tree | f2a13fceb112103b69156034278cdb13a170a548 /include/linux/fpga/fpga-mgr.h | |
parent | e3ba51ab24fddef79fc212f9840de54db8fd1685 (diff) |
arm64: tlb: Improve __TLBI_VADDR_RANGE()
The macro returns the operand of TLBI RANGE instruction. A mask needs
to be applied to each individual field upon producing the operand, to
avoid the adjacent fields can interfere with each other when invalid
arguments have been provided. The code looks more tidy at least with
a mask and FIELD_PREP().
Suggested-by: Marc Zyngier <[email protected]>
Signed-off-by: Gavin Shan <[email protected]>
Reviewed-by: Ryan Roberts <[email protected]>
Reviewed-by: Catalin Marinas <[email protected]>
Reviewed-by: Anshuman Khandual <[email protected]>
Reviewed-by: Shaoqin Huang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions