Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp4626465iob; Sun, 8 May 2022 19:43:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw2S2SKwMI7854AJbRAVLtcwB78I04dp1Xf+qQVS7mFhg/1oj1HFUWolD8GJpW60AT3SsYt X-Received: by 2002:a17:902:d551:b0:15e:c50f:41b5 with SMTP id z17-20020a170902d55100b0015ec50f41b5mr14206700plf.98.1652064225111; Sun, 08 May 2022 19:43:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652064225; cv=none; d=google.com; s=arc-20160816; b=V+v4B/5yqjlUBFh+zjyKnUhsiahWM7QpHKRY/er+lR5ZXQOoBWCQzjCsUBcylOvk8H VrkoWKEp0J4Uw12dGPhb/Zj/R5GsrrF2rN6p87eLHza/+WpolYNAYm0uIzGvfAmg7V80 pekraMrhiLXAv05svL/FZdEEWBo4F+njRtPrmfdiml2nPVf/2ZDuW5baILTs6XJkCJMF L5yxbA9wRqTPTZu7b486Krm88tQReIrvkcc2+/4dIA4CvHD+ghb7RqeAMei+k7akDvkv YfdH7brIR6RfrF56+43g2XXD2SrcVS+PA8yc/NHhcqKk/oPWZYcurF9A0BC645V2vkCR ykPQ== 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=8T2qZfZRWAyz/w0PKnt28heXPlVuPjH7rUUoRh3DSQE=; b=01G75RilV4+gPDg1sh/GUM2JEIu4TnYYgBMH6D05/4fbyEC12szoUZexm9IoeoApYK N02y+2u7BX7TJqYFRmbMafguAkkb6pJwzEdlQ8eeJPXNyzwQmOofXDKuemuygzEOwyy+ lmKvg3WUXOTgLYiScuCPpCWf8tAXl4g9LEG37IJ+h2K7xHJHksRtJVs4r4hlz2X+oKtX 4pewIEnHwPZHNoF3MKpGyXLKIUpNN+cwXLuyS+eBjQSZzRGT8vtkG8P2OgI8/N2NKtcc AP8UPQfQSosD2fjUgWi7knSLuSQ4SZ4ThlSHQ8i+cloY2DZA42ZMUinEfESmkOioDHRo j03Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=kWqK0E+R; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=QMYNKXBK; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id x11-20020a17090a8a8b00b001dcaebe4c87si12772689pjn.34.2022.05.08.19.43.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 May 2022 19:43:45 -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=@linutronix.de header.s=2020 header.b=kWqK0E+R; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=QMYNKXBK; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 6B5402AE3A; Sun, 8 May 2022 19:43:37 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353901AbiEFTlt (ORCPT + 99 others); Fri, 6 May 2022 15:41:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46258 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234627AbiEFTlr (ORCPT ); Fri, 6 May 2022 15:41:47 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 100C96A02F; Fri, 6 May 2022 12:38:04 -0700 (PDT) From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1651865882; 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=8T2qZfZRWAyz/w0PKnt28heXPlVuPjH7rUUoRh3DSQE=; b=kWqK0E+R7ljU/7tYyyT7HtIpaWR+kJcBxZE4feZq4Is15XKSf/dupZk9JrTJHtDVribcAa o2sKvbKhKHFJL0cObyj3dxuEsyLAFZHAzG/JlCbTYSND8CNU121ezE4h+wHIrMAN6S/Nc/ ERxQTrC5kK1izqhuGpCNLO9tv6HpLQo0gj7Rlk0OTXRZHXczx8bQYYK6Ngznf9qXbUxCp3 9fPqCCDNi3QSw8oFqt7UqdP91GOSwy1HuKZsKqxJ/uV6b1ZhwAZn6ISEwg5Y0YCjrEy8n+ XexPWL81QvZTST+tHedKy0S0HeAQtNCvuQKxdnWRgAOhf0HfdBCzQC2B+M+Qbg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1651865882; 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=8T2qZfZRWAyz/w0PKnt28heXPlVuPjH7rUUoRh3DSQE=; b=QMYNKXBKI1hJag05M/ostqQK+KhIPg6iMTEvJHBuIWU2bRU/c52GuRQTNlee3OR2NXmM5f M+CCd4Y5mzuGtpCQ== To: Thomas Richter , linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org Cc: 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: <20220504062351.2954280-2-tmricht@linux.ibm.com> References: <20220504062351.2954280-1-tmricht@linux.ibm.com> <20220504062351.2954280-2-tmricht@linux.ibm.com> Date: Fri, 06 May 2022 21:38:02 +0200 Message-ID: <87bkwah2p1.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 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