[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YnV3iljKUM0Fqw/F@hirez.programming.kicks-ass.net>
Date: Fri, 6 May 2022 21:31:22 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Thomas Richter <tmricht@...ux.ibm.com>
Cc: linux-kernel@...r.kernel.org, linux-s390@...r.kernel.org,
Sven Schnelle <svens@...ux.ibm.com>,
Thomas Gleixner <tglx@...utronix.de>,
Andy Lutomirski <luto@...nel.org>
Subject: Re: [PATCH 1/2] entry: Rename arch_check_user_regs() to
arch_enter_from_user_mode()
On Wed, May 04, 2022 at 08:23:50AM +0200, Thomas Richter wrote:
> From: Sven Schnelle <svens@...ux.ibm.com>
>
> arch_check_user_regs() is used at the moment to verify that struct pt_regs
> contains valid values when entering the kernel from userspace. s390 needs
> a place in the generic entry code to modify a cpu data structure when
> switching from userspace to kernel mode. As arch_check_user_regs() is
> exactly this, rename it to arch_enter_from_user_mode().
>
> Cc: Thomas Gleixner <tglx@...utronix.de>
> Cc: Peter Zijlstra <peterz@...radead.org>
> Cc: Andy Lutomirski <luto@...nel.org>
> Signed-off-by: Sven Schnelle <svens@...ux.ibm.com>
> ---
With the note that NMI doesn't (necessarily) call this..
Acked-by: Peter Zijlstra (Intel) <peterz@...radead.org>
Powered by blists - more mailing lists