Subject: [PATCH] arm64: compat: align cacheflush syscall with arch/arm

From: [email-masked] (Will Deacon)
Date: Thu, 13 Nov 2014 11:47:44 +0000

Hi Vladimir,

On Wed, Nov 12, 2014 at 10:47:18AM +0000, Vladimir Murzin wrote:
> Update handling of cacheflush syscall with changes made in arch/arm
> counterpart:
>  - return error to userspace when flushing syscall fails
>  - split user cache-flushing into interruptible chunks
>  - don't bother rounding to nearest vma
> 
> Signed-off-by: Vladimir Murzin <[email-masked]>
> Acked-by: Will Deacon <[email-masked]>
> ---
>  arch/arm64/include/asm/cacheflush.h  |    2 +-
>  arch/arm64/include/asm/thread_info.h |   12 ++++++
>  arch/arm64/kernel/sys_compat.c       |   77 ++++++++++++++++++++++++----------
>  arch/arm64/mm/cache.S                |    6 ++-
>  4 files changed, 74 insertions(+), 23 deletions(-)

We should hold off on this patch until the EINTR issue has been resolved:

  http://lists.infradead.org/pipermail/linux-arm-kernel/2014-November/302105.html

Will