Messages in this thread | ![/](/images/icornerl.gif) | | Date | Fri, 5 Apr 2024 18:10:54 +0100 | From | Catalin Marinas <> | Subject | Re: [PATCH v3 2/3] arm64: tlb: Improve __TLBI_VADDR_RANGE() |
| |
On Fri, Apr 05, 2024 at 01:58:51PM +1000, Gavin Shan wrote: > 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 <maz@kernel.org> > Signed-off-by: Gavin Shan <gshan@redhat.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
| ![\](/images/icornerr.gif) |