Re: [RFC PATCH v2 5/9] iov_iter: Create a function to prepare userspace VM for UBUF/IOVEC tests

From: David Howells
Date: Wed Sep 20 2023 - 16:36:50 EST


David Howells <dhowells@xxxxxxxxxx> wrote:

> diff --git a/arch/loongarch/include/asm/page.h b/arch/loongarch/include/asm/page.h
> index 63f137ce82a4..c7c5f5b4c0d3 100644
> --- a/arch/loongarch/include/asm/page.h
> +++ b/arch/loongarch/include/asm/page.h
> @@ -32,6 +32,7 @@
>
> #include <linux/kernel.h>
> #include <linux/pfn.h>
> +#include <linux/personality.h>
>
> /*
> * It's normally defined only for FLATMEM config but it's

I've moved this addition to lib/kunit_iov_iter.c as the READ_IMPLIES_EXEC flag
is also not defined otherwise on powerpc and repushed my patches.

David