Re: [PATCH 1/2] entry: Rename arch_check_user_regs() to arch_enter_from_user_mode()

Thomas Gleixner
2022-05-06T21:56:05Z

On Fri, May 06 2022 at 21:49, Heiko Carstens wrote:
> On Fri, May 06, 2022 at 09:38:02PM +0200, Thomas Gleixner wrote:
>> On Wed, May 04 2022 at 08:23, Thomas Richter wrote:
>> > From: Sven Schnelle <svens@linux.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@linutronix.de>
>> > Cc: Peter Zijlstra <peterz@infradead.org>
>> > Cc: Andy Lutomirski <luto@kernel.org>
>> > Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
>>
>> Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
>
> Is it ok for you if this gets routed via the s390 tree?

Sure.