Re: [PATCH V1 08/10] arch/kmap: Don't hard code kmap_prot values

From: Christoph Hellwig
Date: Fri May 01 2020 - 04:47:24 EST


On Thu, Apr 30, 2020 at 01:38:43PM -0700, ira.weiny@xxxxxxxxx wrote:
> From: Ira Weiny <ira.weiny@xxxxxxxxx>
>
> To support kmap_atomic_prot() on all architectures each arch must
> support protections passed in to them.
>
> Change csky, mips, nds32 and xtensa to use their global kmap_prot value
> rather than a hard coded value which was equal.

Looks good,

Reviewed-by: Christoph Hellwig <hch@xxxxxx>