Re: [PATCH v8 3/9] set_memory: allow set_direct_map_*_noflush() for multiple pages

Catalin Marinas
2020-11-13T12:27:08Z

On Tue, Nov 10, 2020 at 05:14:38PM +0200, Mike Rapoport wrote:
> From: Mike Rapoport <rppt@linux.ibm.com>
>
> The underlying implementations of set_direct_map_invalid_noflush() and
> set_direct_map_default_noflush() allow updating multiple contiguous pages
> at once.
>
> Add numpages parameter to set_direct_map_*_noflush() to expose this ability
> with these APIs.
>
> Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>
> ---
> arch/arm64/include/asm/cacheflush.h | 4 ++--
> arch/arm64/mm/pageattr.c | 10 ++++++----

For arm64:

Acked-by: Catalin Marinas <catalin.marinas@arm.com>