Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp4784900iob; Mon, 9 May 2022 01:19:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxCnCmZGXq58bc8oRVZ3MfSIeMmBa4KzoLcd1LhxMLlf7K9ZvlF06ODwigfAp4uDQ7zmWQt X-Received: by 2002:a17:90b:1d03:b0:1dc:f0d0:f165 with SMTP id on3-20020a17090b1d0300b001dcf0d0f165mr10894004pjb.25.1652084363576; Mon, 09 May 2022 01:19:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652084363; cv=none; d=google.com; s=arc-20160816; b=AYVq+Cey6I39KqmNOjKT+gj9uear89SkHcVaKYD5ZZxXeOkecjpxxssGL35tQU/4++ 9I8PtnbOj3uc7SvSUkKYqIMlmQtMLfIjjbb6PYuq6SM4C92e5bJyahK2L0ydmhcfBJN1 u0liCxhIzJ1z60eFIKlMWnxHqJ/L3XQl5cqV+MgfmOK0HQquUHEYgoJxQxw10AEsnz2l GqUoxhapzORVVPHkk5xm494e+4/4s4WEE5A1jAGCX+cLsfHcoYICt2rI3biWo6ppbpSh 22em20d8WDd0KwSnyzYZbJD1BY171ivmOnHMwIoNlucm0SLvwlkVYb2R2Edq6il5GoL7 BxYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:dkim-signature:from; bh=46h2Hr/IsT6nyxT/z/VdRWKEtH5wioEThA8g1esMAtQ=; b=FMsmBuiOyIunJMwudTGGjYJZO9A2CqIwh7Ha6u14JNDeqbdQv1p5yS/C5MxwyZ/rHQ MCwnm90jn2Wn7/U3Rac3fVlbwPkWFYVPGh2wvX6DmGQNL2CkFpAi325okpwm/kWTBpeO 8hx1JsvthRVe1PJjMb5pm9rEl66ik4qDqESTU6Q9K3WrMuz4R+91907WPj6YCsn1yb+K XNexb1HElQ7W/SAlknfnNYTZcLm/EoJmkOkp4tZgAR+M0/60/peoqRcKv+erj9gXcXHN uzP/RffW1jlAIFO8AFLO4sbTijPG41QU/iD9cuABV/Oxv9W1U1kSDfdWJAx5n0RoCVEa Z6GA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=Rnqp9ONu; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id a19-20020aa79713000000b004fa9ef1a302si12916130pfg.234.2022.05.09.01.19.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 May 2022 01:19:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=Rnqp9ONu; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C316A18E1D7; Mon, 9 May 2022 01:07:05 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1444655AbiEFV7q (ORCPT + 99 others); Fri, 6 May 2022 17:59:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47636 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1444638AbiEFV7h (ORCPT ); Fri, 6 May 2022 17:59:37 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 70D913EB9D; Fri, 6 May 2022 14:55:52 -0700 (PDT) From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1651874151; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=46h2Hr/IsT6nyxT/z/VdRWKEtH5wioEThA8g1esMAtQ=; b=Rnqp9ONu4zCHSmLhqnNupUMQ6ZHLbshP0vr06cP8G+5sR7hI/k1YoTMHfBYUP3hCBarywd E2DqMTAv97Oo8rZ/7s0IisoDFW/Yf7M9SRkex3UsoFy0ZHXZ7/05lUHiex/y0Z0E6g8U/K vwEYhVfB5wF2nZGNDovtjFuzxilejrVJez2DgJ41LNYcJGF6HCRjBpwHHqHTldGPqb7Tc5 rJ6Kkv892ZluslAezWqHulOPbg6znHdOEFVi1pZFZQ/WlZQntJemxgPLhVWq+Rj/zH3Md0 CryhobcQfQ7QXzyRjxC5MMD1ZgSSO5tRyDXC3Aznt6CPEINXgbPEJjwg7WpXgA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1651874151; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=46h2Hr/IsT6nyxT/z/VdRWKEtH5wioEThA8g1esMAtQ=; b=z6Zy9L+uxVBevM1TI0IR5CgbNIKCtjDsuhmKueNbsNIyokpXNb3H6xGkzL4KCMjquXf+sv lLTKMOjTmdrqSqBw== To: Heiko Carstens Cc: Thomas Richter , linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org, Sven Schnelle , Peter Zijlstra , Andy Lutomirski Subject: Re: [PATCH 1/2] entry: Rename arch_check_user_regs() to arch_enter_from_user_mode() In-Reply-To: References: <20220504062351.2954280-1-tmricht@linux.ibm.com> <20220504062351.2954280-2-tmricht@linux.ibm.com> <87bkwah2p1.ffs@tglx> Date: Fri, 06 May 2022 23:55:50 +0200 Message-ID: <87fslmfhqx.ffs@tglx> MIME-Version: 1.0 Content-Type: text/plain 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 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 >> > >> > 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 >> >> Reviewed-by: Thomas Gleixner > > Is it ok for you if this gets routed via the s390 tree? Sure.