From: Max Filippov <jcmvbkbc@gmail.com>
To: Pavel Tatashin <pasha.tatashin@soleen.com>
Cc: jmorris@namei.org, Sasha Levin <sashal@kernel.org>,
LKML <linux-kernel@vger.kernel.org>,
Catalin Marinas <catalin.marinas@arm.com>,
Will Deacon <will@kernel.org>,
steve.capper@arm.com, linux-arm-kernel@lists.infradead.org,
marc.zyngier@arm.com, James Morse <james.morse@arm.com>,
vladimir.murzin@arm.com, Mark Rutland <mark.rutland@arm.com>,
Thomas Gleixner <tglx@linutronix.de>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
allison@lohutok.net, info@metux.net, alexios.zavras@intel.com,
Stefano Stabellini <sstabellini@kernel.org>,
boris.ostrovsky@oracle.com, jgross@suse.com,
Stefan Agner <stefan@agner.ch>,
Masahiro Yamada <yamada.masahiro@socionext.com>,
xen-devel@lists.xenproject.org,
Russell King <linux@armlinux.org.uk>
Subject: Re: [PATCH 3/3] arm64: remove the rest of asm-uaccess.h
Date: Thu, 21 Nov 2019 17:26:47 -0800 [thread overview]
Message-ID: <CAMo8BfJYEh_HYGuKwKgfwVdVwg-w-AxN=+6zDuYdwB+E_dTSzA@mail.gmail.com> (raw)
In-Reply-To: <20191121184805.414758-4-pasha.tatashin@soleen.com>
On Thu, Nov 21, 2019 at 10:50 AM Pavel Tatashin
<pasha.tatashin@soleen.com> wrote:
>
> The __uaccess_ttbr0_disable and __uaccess_ttbr0_enable,
> are the last two macros defined in asm-uaccess.h.
>
> Replace them with C wrappers and call C functions from
> kernel_entry and kernel_exit.
>
> Signed-off-by: Pavel Tatashin <pasha.tatashin@soleen.com>
> ---
> arch/arm64/include/asm/asm-uaccess.h | 38 ----------------------------
> arch/arm64/kernel/entry.S | 6 ++---
> arch/arm64/lib/clear_user.S | 2 +-
> arch/arm64/lib/copy_from_user.S | 2 +-
> arch/arm64/lib/copy_in_user.S | 2 +-
> arch/arm64/lib/copy_to_user.S | 2 +-
> arch/arm64/mm/cache.S | 1 -
> arch/arm64/mm/context.c | 12 +++++++++
> arch/xtensa/kernel/coprocessor.S | 1 -
> 9 files changed, 19 insertions(+), 47 deletions(-)
> delete mode 100644 arch/arm64/include/asm/asm-uaccess.h
[...]
> diff --git a/arch/xtensa/kernel/coprocessor.S b/arch/xtensa/kernel/coprocessor.S
> index 80828b95a51f..6329d17e2aa0 100644
> --- a/arch/xtensa/kernel/coprocessor.S
> +++ b/arch/xtensa/kernel/coprocessor.S
> @@ -18,7 +18,6 @@
> #include <asm/processor.h>
> #include <asm/coprocessor.h>
> #include <asm/thread_info.h>
> -#include <asm/asm-uaccess.h>
> #include <asm/unistd.h>
> #include <asm/ptrace.h>
> #include <asm/current.h>
This is not related to arm64 or to the changes in the description,
but the change itself is OK. Whether you keep it in this patch,
or choose to split it out feel free to add
Acked-by: Max Filippov <jcmvbkbc@gmail.com> # for xtensa bits
--
Thanks.
-- Max
WARNING: multiple messages have this Message-ID (diff)
From: Max Filippov <jcmvbkbc@gmail.com>
To: Pavel Tatashin <pasha.tatashin@soleen.com>
Cc: Mark Rutland <mark.rutland@arm.com>,
Catalin Marinas <catalin.marinas@arm.com>,
Stefan Agner <stefan@agner.ch>,
Russell King <linux@armlinux.org.uk>,
Masahiro Yamada <yamada.masahiro@socionext.com>,
Will Deacon <will@kernel.org>,
boris.ostrovsky@oracle.com, Sasha Levin <sashal@kernel.org>,
Stefano Stabellini <sstabellini@kernel.org>,
jmorris@namei.org, linux-arm-kernel@lists.infradead.org,
xen-devel@lists.xenproject.org, vladimir.murzin@arm.com,
marc.zyngier@arm.com, alexios.zavras@intel.com,
Thomas Gleixner <tglx@linutronix.de>,
allison@lohutok.net, jgross@suse.com, steve.capper@arm.com,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
LKML <linux-kernel@vger.kernel.org>,
James Morse <james.morse@arm.com>,
info@metux.net
Subject: Re: [PATCH 3/3] arm64: remove the rest of asm-uaccess.h
Date: Thu, 21 Nov 2019 17:26:47 -0800 [thread overview]
Message-ID: <CAMo8BfJYEh_HYGuKwKgfwVdVwg-w-AxN=+6zDuYdwB+E_dTSzA@mail.gmail.com> (raw)
In-Reply-To: <20191121184805.414758-4-pasha.tatashin@soleen.com>
On Thu, Nov 21, 2019 at 10:50 AM Pavel Tatashin
<pasha.tatashin@soleen.com> wrote:
>
> The __uaccess_ttbr0_disable and __uaccess_ttbr0_enable,
> are the last two macros defined in asm-uaccess.h.
>
> Replace them with C wrappers and call C functions from
> kernel_entry and kernel_exit.
>
> Signed-off-by: Pavel Tatashin <pasha.tatashin@soleen.com>
> ---
> arch/arm64/include/asm/asm-uaccess.h | 38 ----------------------------
> arch/arm64/kernel/entry.S | 6 ++---
> arch/arm64/lib/clear_user.S | 2 +-
> arch/arm64/lib/copy_from_user.S | 2 +-
> arch/arm64/lib/copy_in_user.S | 2 +-
> arch/arm64/lib/copy_to_user.S | 2 +-
> arch/arm64/mm/cache.S | 1 -
> arch/arm64/mm/context.c | 12 +++++++++
> arch/xtensa/kernel/coprocessor.S | 1 -
> 9 files changed, 19 insertions(+), 47 deletions(-)
> delete mode 100644 arch/arm64/include/asm/asm-uaccess.h
[...]
> diff --git a/arch/xtensa/kernel/coprocessor.S b/arch/xtensa/kernel/coprocessor.S
> index 80828b95a51f..6329d17e2aa0 100644
> --- a/arch/xtensa/kernel/coprocessor.S
> +++ b/arch/xtensa/kernel/coprocessor.S
> @@ -18,7 +18,6 @@
> #include <asm/processor.h>
> #include <asm/coprocessor.h>
> #include <asm/thread_info.h>
> -#include <asm/asm-uaccess.h>
> #include <asm/unistd.h>
> #include <asm/ptrace.h>
> #include <asm/current.h>
This is not related to arm64 or to the changes in the description,
but the change itself is OK. Whether you keep it in this patch,
or choose to split it out feel free to add
Acked-by: Max Filippov <jcmvbkbc@gmail.com> # for xtensa bits
--
Thanks.
-- Max
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
WARNING: multiple messages have this Message-ID (diff)
From: Max Filippov <jcmvbkbc@gmail.com>
To: Pavel Tatashin <pasha.tatashin@soleen.com>
Cc: Mark Rutland <mark.rutland@arm.com>,
Catalin Marinas <catalin.marinas@arm.com>,
Stefan Agner <stefan@agner.ch>,
Russell King <linux@armlinux.org.uk>,
Masahiro Yamada <yamada.masahiro@socionext.com>,
Will Deacon <will@kernel.org>,
boris.ostrovsky@oracle.com, Sasha Levin <sashal@kernel.org>,
Stefano Stabellini <sstabellini@kernel.org>,
jmorris@namei.org, linux-arm-kernel@lists.infradead.org,
xen-devel@lists.xenproject.org, vladimir.murzin@arm.com,
marc.zyngier@arm.com, alexios.zavras@intel.com,
Thomas Gleixner <tglx@linutronix.de>,
allison@lohutok.net, jgross@suse.com, steve.capper@arm.com,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
LKML <linux-kernel@vger.kernel.org>,
James Morse <james.morse@arm.com>,
info@metux.net
Subject: Re: [Xen-devel] [PATCH 3/3] arm64: remove the rest of asm-uaccess.h
Date: Thu, 21 Nov 2019 17:26:47 -0800 [thread overview]
Message-ID: <CAMo8BfJYEh_HYGuKwKgfwVdVwg-w-AxN=+6zDuYdwB+E_dTSzA@mail.gmail.com> (raw)
In-Reply-To: <20191121184805.414758-4-pasha.tatashin@soleen.com>
On Thu, Nov 21, 2019 at 10:50 AM Pavel Tatashin
<pasha.tatashin@soleen.com> wrote:
>
> The __uaccess_ttbr0_disable and __uaccess_ttbr0_enable,
> are the last two macros defined in asm-uaccess.h.
>
> Replace them with C wrappers and call C functions from
> kernel_entry and kernel_exit.
>
> Signed-off-by: Pavel Tatashin <pasha.tatashin@soleen.com>
> ---
> arch/arm64/include/asm/asm-uaccess.h | 38 ----------------------------
> arch/arm64/kernel/entry.S | 6 ++---
> arch/arm64/lib/clear_user.S | 2 +-
> arch/arm64/lib/copy_from_user.S | 2 +-
> arch/arm64/lib/copy_in_user.S | 2 +-
> arch/arm64/lib/copy_to_user.S | 2 +-
> arch/arm64/mm/cache.S | 1 -
> arch/arm64/mm/context.c | 12 +++++++++
> arch/xtensa/kernel/coprocessor.S | 1 -
> 9 files changed, 19 insertions(+), 47 deletions(-)
> delete mode 100644 arch/arm64/include/asm/asm-uaccess.h
[...]
> diff --git a/arch/xtensa/kernel/coprocessor.S b/arch/xtensa/kernel/coprocessor.S
> index 80828b95a51f..6329d17e2aa0 100644
> --- a/arch/xtensa/kernel/coprocessor.S
> +++ b/arch/xtensa/kernel/coprocessor.S
> @@ -18,7 +18,6 @@
> #include <asm/processor.h>
> #include <asm/coprocessor.h>
> #include <asm/thread_info.h>
> -#include <asm/asm-uaccess.h>
> #include <asm/unistd.h>
> #include <asm/ptrace.h>
> #include <asm/current.h>
This is not related to arm64 or to the changes in the description,
but the change itself is OK. Whether you keep it in this patch,
or choose to split it out feel free to add
Acked-by: Max Filippov <jcmvbkbc@gmail.com> # for xtensa bits
--
Thanks.
-- Max
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
next prev parent reply other threads:[~2019-11-22 1:27 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-21 18:48 [PATCH 0/3] Use C inlines for uaccess Pavel Tatashin
2019-11-21 18:48 ` [Xen-devel] " Pavel Tatashin
2019-11-21 18:48 ` Pavel Tatashin
2019-11-21 18:48 ` [PATCH 1/3] arm/arm64/xen: use C inlines for privcmd_call Pavel Tatashin
2019-11-21 18:48 ` [Xen-devel] " Pavel Tatashin
2019-11-21 18:48 ` Pavel Tatashin
2019-11-22 0:22 ` Russell King - ARM Linux admin
2019-11-22 0:22 ` [Xen-devel] " Russell King - ARM Linux admin
2019-11-22 0:22 ` Russell King - ARM Linux admin
2019-11-22 0:30 ` Pavel Tatashin
2019-11-22 0:30 ` [Xen-devel] " Pavel Tatashin
2019-11-22 0:30 ` Pavel Tatashin
2019-11-22 0:34 ` Russell King - ARM Linux admin
2019-11-22 0:34 ` [Xen-devel] " Russell King - ARM Linux admin
2019-11-22 0:34 ` Russell King - ARM Linux admin
2019-11-22 0:35 ` Russell King - ARM Linux admin
2019-11-22 0:35 ` [Xen-devel] " Russell King - ARM Linux admin
2019-11-22 0:35 ` Russell King - ARM Linux admin
2019-11-22 0:39 ` Pavel Tatashin
2019-11-22 0:39 ` [Xen-devel] " Pavel Tatashin
2019-11-22 0:39 ` Pavel Tatashin
2019-11-22 0:53 ` Russell King - ARM Linux admin
2019-11-22 0:53 ` [Xen-devel] " Russell King - ARM Linux admin
2019-11-22 0:53 ` Russell King - ARM Linux admin
2019-11-21 18:48 ` [PATCH 2/3] arm64: remove uaccess_ttbr0 asm macros from cache functions Pavel Tatashin
2019-11-21 18:48 ` [Xen-devel] " Pavel Tatashin
2019-11-21 18:48 ` Pavel Tatashin
2019-11-21 18:48 ` [PATCH 3/3] arm64: remove the rest of asm-uaccess.h Pavel Tatashin
2019-11-21 18:48 ` [Xen-devel] " Pavel Tatashin
2019-11-21 18:48 ` Pavel Tatashin
2019-11-22 1:26 ` Max Filippov [this message]
2019-11-22 1:26 ` [Xen-devel] " Max Filippov
2019-11-22 1:26 ` Max Filippov
2019-11-22 2:20 ` Pavel Tatashin
2019-11-22 2:20 ` [Xen-devel] " Pavel Tatashin
2019-11-22 2:20 ` Pavel Tatashin
2019-11-27 18:44 [PATCH 0/3] Use C inlines for uaccess Pavel Tatashin
2019-11-27 18:44 ` [PATCH 3/3] arm64: remove the rest of asm-uaccess.h Pavel Tatashin
2019-11-27 18:44 ` Pavel Tatashin
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='CAMo8BfJYEh_HYGuKwKgfwVdVwg-w-AxN=+6zDuYdwB+E_dTSzA@mail.gmail.com' \
--to=jcmvbkbc@gmail.com \
--cc=alexios.zavras@intel.com \
--cc=allison@lohutok.net \
--cc=boris.ostrovsky@oracle.com \
--cc=catalin.marinas@arm.com \
--cc=gregkh@linuxfoundation.org \
--cc=info@metux.net \
--cc=james.morse@arm.com \
--cc=jgross@suse.com \
--cc=jmorris@namei.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=marc.zyngier@arm.com \
--cc=mark.rutland@arm.com \
--cc=pasha.tatashin@soleen.com \
--cc=sashal@kernel.org \
--cc=sstabellini@kernel.org \
--cc=stefan@agner.ch \
--cc=steve.capper@arm.com \
--cc=tglx@linutronix.de \
--cc=vladimir.murzin@arm.com \
--cc=will@kernel.org \
--cc=xen-devel@lists.xenproject.org \
--cc=yamada.masahiro@socionext.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.