From: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
To: Steven Rostedt <rostedt@goodmis.org>,
Ingo Molnar <mingo@redhat.com>,
linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: hch@lst.de
Subject: Re: [PATCH v3 0/4] MIPS: Remove get_fs/set_fs
Date: Tue, 6 Apr 2021 14:59:45 +0200 [thread overview]
Message-ID: <20210406125945.GA9505@alpha.franken.de> (raw)
In-Reply-To: <20210401125639.42963-1-tsbogend@alpha.franken.de>
On Thu, Apr 01, 2021 at 02:56:33PM +0200, Thomas Bogendoerfer wrote:
> This series replaces get_fs/set_fs and removes it from MIPS arch code.
>
> Changes in v3:
> - use get_user/get_kernel_nofault for helper functions
>
> Changes in v2:
> - added copy_from_kernel_nofault_allowed() for !EVA to restrict
> access of __get/__put_kernel_nofault
> - replaced __get_data macro by helper functions
> - removed leftover set_fs calls in ftrace.c
> - further cleanup uaccess.h
>
> Thomas Bogendoerfer (4):
> MIPS: kernel: Remove not needed set_fs calls
> MIPS: uaccess: Added __get/__put_kernel_nofault
> MIPS: uaccess: Remove get_fs/set_fs call sites
> MIPS: Remove get_fs/set_fs
>
> arch/mips/Kconfig | 1 -
> arch/mips/include/asm/processor.h | 4 -
> arch/mips/include/asm/thread_info.h | 6 -
> arch/mips/include/asm/uaccess.h | 436 +++++++++++-----------------
> arch/mips/kernel/access-helper.h | 18 ++
> arch/mips/kernel/asm-offsets.c | 1 -
> arch/mips/kernel/ftrace.c | 8 -
> arch/mips/kernel/process.c | 2 -
> arch/mips/kernel/scall32-o32.S | 4 +-
> arch/mips/kernel/traps.c | 105 +++----
> arch/mips/kernel/unaligned.c | 199 +++++--------
> arch/mips/lib/memcpy.S | 28 +-
> arch/mips/lib/memset.S | 3 -
> arch/mips/lib/strncpy_user.S | 48 +--
> arch/mips/lib/strnlen_user.S | 44 +--
> arch/mips/mm/Makefile | 4 +
> arch/mips/mm/maccess.c | 10 +
> 17 files changed, 357 insertions(+), 564 deletions(-)
> create mode 100644 arch/mips/kernel/access-helper.h
> create mode 100644 arch/mips/mm/maccess.c
series applied to mips-next.
Thomas.
--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]
prev parent reply other threads:[~2021-04-06 13:18 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-01 12:56 [PATCH v3 0/4] MIPS: Remove get_fs/set_fs Thomas Bogendoerfer
2021-04-01 12:56 ` [PATCH v3 1/4] MIPS: kernel: Remove not needed set_fs calls Thomas Bogendoerfer
2021-04-01 12:56 ` [PATCH v3 2/4] MIPS: uaccess: Added __get/__put_kernel_nofault Thomas Bogendoerfer
2021-04-01 12:56 ` [PATCH v3 3/4] MIPS: uaccess: Remove get_fs/set_fs call sites Thomas Bogendoerfer
2021-04-01 14:04 ` Christoph Hellwig
2021-04-01 12:56 ` [PATCH v3 4/4] MIPS: Remove get_fs/set_fs Thomas Bogendoerfer
2021-04-01 14:05 ` Christoph Hellwig
2021-04-06 7:24 ` [PATCH v3 0/4] " Christoph Hellwig
2021-04-06 13:01 ` Thomas Bogendoerfer
2021-04-06 12:59 ` Thomas Bogendoerfer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210406125945.GA9505@alpha.franken.de \
--to=tsbogend@alpha.franken.de \
--cc=hch@lst.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=rostedt@goodmis.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).