Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp4662734iob; Sun, 8 May 2022 21:04:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwSMa0LlMHzBd34mhsknNeLZNQowf4acJC1XEdCx6mc0auCC15SaFwa4N/LEDEQI07WKs4S X-Received: by 2002:a17:902:e74a:b0:15e:9811:11da with SMTP id p10-20020a170902e74a00b0015e981111damr14402685plf.130.1652069083505; Sun, 08 May 2022 21:04:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652069083; cv=none; d=google.com; s=arc-20160816; b=r8HwKn9prub2gEjZWM0rSpeR4GSADh5UgZD1zrJBC4ScAMgigX+ZRiz/mkVQjiNDnU oO0jsFNIn1uD3svJ/0CQcKb8PQJ0qcCpgbw+v+kkSPKuLwzlYr8W8YqY35tRER3xqFIK r41EobgCuFHg5SWJkWSJsPa263c6hzW/yMPeuu37N/wEQ3f5jLiiL7TY3e2iacTozuAo FAE5iwAHYjFAABzez8sXzssaB/f02WRXVDdtkpW85BeHcWlbY+/WTLeKd0ZqXF2FPA8g 43EUAkweYzWx4MvYS2lgMMbsvXM8m0/2YScthqoU9JqdQd6rSMHoRVk4xMSgu7WHB1Ch bhXA== 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=d9tDzOxYoFTHwKqeI3nR0c9QSnmMLpO3R25jvjp2BoU=; b=cEai3dpgpSbsQ2MqXS2z9794dEtpxZ3iD9PCjSrihZrQv3YjmHIVzvdrS8OAXVrM+8 hv1JScUhd0AP1ja1apPmnDzXY0Ku0prsmZXr0nqqHuR1A6Sab1va+CouQEvKqDk1TaW/ N8+Y8Iung+v/vkqhDTV5hCkmcNVc0vgOt7JDmdJcs9U/rwJnnHcfkV/IbvUqSqGhHxfU tZlxeWn7ApxY88YXUv/IA/ZI4MnOzKLKNBOpuxAIYMq922HLDMvXyRlTJ/yYZd8ga+Fj Py2rPD3Eu5le68tQSNGk/gwZ+9A3XjQJXSFlUuqnCPCCxZYNVOYjTSLku5vWE3Kp/frZ mhww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b="oBf02/jq"; 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=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id ij21-20020a170902ab5500b0015d168a0c8bsi9418646plb.231.2022.05.08.21.04.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 May 2022 21:04:43 -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=@ibm.com header.s=pp1 header.b="oBf02/jq"; 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=NONE dis=NONE) header.from=ibm.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7650D109564; Sun, 8 May 2022 21:04:34 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1391969AbiEFTx2 (ORCPT + 99 others); Fri, 6 May 2022 15:53:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54774 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229881AbiEFTx0 (ORCPT ); Fri, 6 May 2022 15:53:26 -0400 Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B8F8C6A42A; Fri, 6 May 2022 12:49:41 -0700 (PDT) Received: from pps.filterd (m0127361.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 246JR4Tv013111; Fri, 6 May 2022 19:49:12 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=pp1; bh=d9tDzOxYoFTHwKqeI3nR0c9QSnmMLpO3R25jvjp2BoU=; b=oBf02/jq4fdEQVxkleC/MlOIWitIXlmDNmH6iVaz73a4/RTmhqoaHsbr3LmNhQhQcKbq SDAuG8CfY0NM448DClIM0MywyPbSyX7qhzdeBcRRbUpkj4cqIboWLXuPQ2jDEZ4eBo1S FSlI4aYBhrZrwcGzWHE9z7gdx4kKZyr6RB5eY4Fl1IRPW2aOtXDmu+Z5txJtXKQN5Uae ID2WhS+8VmbgKyGO2nuNLtVcvVBEkIp8a5dfix6sTuPQ6b6fvY79JJ5Rm0uJ00rMJCww 7VAGORGtMzpq93DNidNcxeYmlJtdEKMjZP6xgJpj0h7gInZae6mr9TjEWMPs9yxbcb1J aw== Received: from ppma03fra.de.ibm.com (6b.4a.5195.ip4.static.sl-reverse.com [149.81.74.107]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3fw9ug0anm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 06 May 2022 19:49:12 +0000 Received: from pps.filterd (ppma03fra.de.ibm.com [127.0.0.1]) by ppma03fra.de.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 246JnAs3021632; Fri, 6 May 2022 19:49:10 GMT Received: from b06avi18626390.portsmouth.uk.ibm.com (b06avi18626390.portsmouth.uk.ibm.com [9.149.26.192]) by ppma03fra.de.ibm.com with ESMTP id 3fscdk6mwa-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 06 May 2022 19:49:10 +0000 Received: from d06av25.portsmouth.uk.ibm.com (d06av25.portsmouth.uk.ibm.com [9.149.105.61]) by b06avi18626390.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 246JZfNT55247200 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 6 May 2022 19:35:41 GMT Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id E162111C050; Fri, 6 May 2022 19:49:06 +0000 (GMT) Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 9394F11C04A; Fri, 6 May 2022 19:49:06 +0000 (GMT) Received: from osiris (unknown [9.145.25.133]) by d06av25.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Fri, 6 May 2022 19:49:06 +0000 (GMT) Date: Fri, 6 May 2022 21:49:04 +0200 From: Heiko Carstens To: Thomas Gleixner 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() Message-ID: References: <20220504062351.2954280-1-tmricht@linux.ibm.com> <20220504062351.2954280-2-tmricht@linux.ibm.com> <87bkwah2p1.ffs@tglx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87bkwah2p1.ffs@tglx> X-TM-AS-GCONF: 00 X-Proofpoint-GUID: k95cZwgzi8r50lA6U3iXLeytjjD2Udxx X-Proofpoint-ORIG-GUID: k95cZwgzi8r50lA6U3iXLeytjjD2Udxx X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.858,Hydra:6.0.486,FMLib:17.11.64.514 definitions=2022-05-06_07,2022-05-06_01,2022-02-23_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 clxscore=1015 mlxlogscore=710 impostorscore=0 lowpriorityscore=0 suspectscore=0 spamscore=0 adultscore=0 phishscore=0 bulkscore=0 priorityscore=1501 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2202240000 definitions=main-2205060098 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,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 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?