Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp4803274iob; Mon, 9 May 2022 01:54:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxerVWFsPWCAx1dKq6lulufco2R6QS62YD2EJmP9f+mCE2zVgX+7VWmdXIj4NTmEjgBkMRC X-Received: by 2002:a63:4546:0:b0:3c6:56dd:e916 with SMTP id u6-20020a634546000000b003c656dde916mr10731071pgk.8.1652086446687; Mon, 09 May 2022 01:54:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652086446; cv=none; d=google.com; s=arc-20160816; b=B0Ww506EfL5uG/lugmXNebtnoOKUV0fqVvCra8UfMb0IZ0Q+6L64IPgUY9W5qVnaZa 7dt26QCiPWypqZDjIREjNsYzWZuM91KCuBSZiHlN9iM/FVVnptEH0y1pg1RcjjStgPU0 ZBVBHXkTIhVEvfz03ttxQ2gvu6UZcC2xGfFWWOFTokuOV1TU157r8NO/3YTSgBken2rx IMtqsjm9/skbDo8WP7kPnAL5AAeUfq3k4AAValbOIksWJs5hrfqz9AHcE6hG/XsPCqFn gxIdrZ8LtdQHro5pgl6Od2BRWuOfyFVrNffAeNsmCN3SLTMP1ePwPK13CuHf12pBFTjI he4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=KYjynMh8oTuhJ2M+10A3ZYR4VMfe0p38wFUuoJlJ0jY=; b=Y5pHgQ4KF/0aGqjWgNsaAAZfnv0UvVJ3hJArI7ST799S7QgvC6us+WlopYjvQjeb5G em5ThGe4E8JC+zh83HA9eiAE2X0+QBFS8356o1j4gjEYNYVrsXfnFrWQbzcQrlzWL68O tp9jeTameAUpxpg62Wc/NCxHykBzAfySbVFHRuggXUkvJpaWEBfrL5F6SJebm2o+HQvH UHYktYK5sdxBRC/SoDgYQRrnLMQlIxlFVYjjdUvTm96jOlJVCqW+qeT1g34yzqWrZtlJ U5ya6LEtMx06Eh8A3WY9YbE4eDXrkm+K2QU5MVVIsmP6ti4jpFBe5JSto2fQ1SyuwEpx kfkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=qNTidsh3; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id s6-20020a632146000000b003aba3fbf0fcsi12256292pgm.180.2022.05.09.01.54.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 May 2022 01:54:06 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=qNTidsh3; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7591B11C37F; Mon, 9 May 2022 01:38:18 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1391026AbiEFTf1 (ORCPT + 99 others); Fri, 6 May 2022 15:35:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43090 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1391037AbiEFTfZ (ORCPT ); Fri, 6 May 2022 15:35:25 -0400 Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AA52B6E8D8; Fri, 6 May 2022 12:31:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=KYjynMh8oTuhJ2M+10A3ZYR4VMfe0p38wFUuoJlJ0jY=; b=qNTidsh3yZUbG12y5r9LdAxcc2 4yB/F/2WzO221X0AQ1NYTaL3vf8G7a5F5oAXjA7kUvkYekpoYEkwvUSTMQtpOSdyZMafxMsv2O7f2 zBVXV3bhNOEB+Eakz8Mi8L9zPVo9l696toCnlV71r8UetOYDt+HcQNAxWR4mL9IdjRlfxjVCSLzJf lEljm10xPYz/4fq5gp8jGMBPMRmgBaAXB8tqs+jSHdhP+2d9Cdw5ft/K505wG76EjEgKV03x0iSvd ejz90Eyx8ac/Oqstb7E4VWXFvYD39yhQrNmStPpIvSQLKZ5aIBgnugjf6dfc34mCS/0EWnnW5HJeH OmFjSWJg==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1nn3fg-00Bkhr-TQ; Fri, 06 May 2022 19:31:25 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id BA1773003AA; Fri, 6 May 2022 21:31:22 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id A19582029A1AC; Fri, 6 May 2022 21:31:22 +0200 (CEST) Date: Fri, 6 May 2022 21:31:22 +0200 From: Peter Zijlstra To: Thomas Richter Cc: linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org, Sven Schnelle , Thomas Gleixner , Andy Lutomirski Subject: Re: [PATCH 1/2] entry: Rename arch_check_user_regs() to arch_enter_from_user_mode() Message-ID: References: <20220504062351.2954280-1-tmricht@linux.ibm.com> <20220504062351.2954280-2-tmricht@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220504062351.2954280-2-tmricht@linux.ibm.com> X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 04, 2022 at 08:23:50AM +0200, Thomas Richter wrote: > From: Sven Schnelle > > 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 > Cc: Peter Zijlstra > Cc: Andy Lutomirski > Signed-off-by: Sven Schnelle > --- With the note that NMI doesn't (necessarily) call this.. Acked-by: Peter Zijlstra (Intel)