On 2/1/22 06:55, Sergey Matyukevich wrote:
Hi all,
This patch series removes SET_FS support for arc.
Sergey Matyukevich (3):
arc: use BUILD_BUG for invalid sizes in get_user/put_user
arc: provide __{get,put}_kernel_nofault
arc: remove set_fs()
arch/arc/Kconfig | 1
On Tue, Feb 01, 2022 at 05:55:36PM +0300, Sergey Matyukevich wrote:
> From: Sergey Matyukevich
>
> Use BUILD_BUG for compile-time check of invalid sizes passed
> to get_user/put_user functions.
Looks good:
Reviewed-by: Christoph Hellwig
___
linux-sn
Looks good:
Reviewed-by: Christoph Hellwig
___
linux-snps-arc mailing list
linux-snps-arc@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-snps-arc
On Tue, Feb 01, 2022 at 05:55:37PM +0300, Sergey Matyukevich wrote:
> From: Sergey Matyukevich
>
> Implement the non-faulting kernel access helpers directly
> instead of using uaccess routines under set_fs(KERNEL_DS).
>
> Signed-off-by: Sergey Matyukevich
> ---
> arch/arc/include/asm/uaccess.h
Hi all,
This patch series removes SET_FS support for arc.
Sergey Matyukevich (3):
arc: use BUILD_BUG for invalid sizes in get_user/put_user
arc: provide __{get,put}_kernel_nofault
arc: remove set_fs()
arch/arc/Kconfig | 1 -
arch/arc/include/asm/segment.h | 20 -
From: Sergey Matyukevich
Use BUILD_BUG for compile-time check of invalid sizes passed
to get_user/put_user functions.
Signed-off-by: Sergey Matyukevich
---
arch/arc/include/asm/uaccess.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arc/include/asm/uaccess.h b/arch/arc/include/asm
From: Sergey Matyukevich
Implement the non-faulting kernel access helpers directly
instead of using uaccess routines under set_fs(KERNEL_DS).
Signed-off-by: Sergey Matyukevich
---
arch/arc/include/asm/uaccess.h | 22 ++
1 file changed, 22 insertions(+)
diff --git a/arch/ar
From: Sergey Matyukevich
Kernel __{get,put}_kernel_nofault operations are implemented for ARC.
There are no other remaining arch/arc specific callers of set_fs().
So just remove it and all the supporting code.
Signed-off-by: Sergey Matyukevich
---
arch/arc/Kconfig | 1 -
arc