Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp493905rwi; Thu, 20 Oct 2022 01:09:21 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5tyI+uCT7B7T68BVoZ1pW90hGSfWHN489FNGX3SqvRd+QuYjLJdYn+Maw7T64Tz9xgC91C X-Received: by 2002:a17:907:94d1:b0:790:65a:3a18 with SMTP id dn17-20020a17090794d100b00790065a3a18mr9728124ejc.428.1666253361238; Thu, 20 Oct 2022 01:09:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666253361; cv=none; d=google.com; s=arc-20160816; b=AMxDn2TNJxWVuDFd5+6gGqg8SJDlM/TAfHbYLn2GoxKWJbOEuBKfd3C3Bs4zZ909kh OM5DkpJI3q3+d2Hp1v7GbE0pBhs2TJwSX4ce6OuBMbPRfnSUkcoAsdYx8jRBbxHNmC4M NfW2MjU4yNXuTf6InDyX2vElnQmexLDe3QZ8O36kd8gMUDxN0txbZGLDevckdyUK2IQN Z1OaJHORPfNNVjr105spdKxWS0lOva6qIv5emQYzOtsuDDq4H5OydkOWKYyuMjOWAzNs KM7ArJKE7RgZ8JlAG6wrlOQ62gnvdGo8LVB2Ny3OvQWV88QkBu+n2eCs5EA7bssQlPBi gqzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:in-reply-to:content-disposition :references:message-id:subject:cc:to:from:date:dkim-signature; bh=wNoSCwQrH6lNPRl+W0lMa9pt+zi83bO8wcdQ1V+6QCU=; b=B5A0AZKLOcHYno5UFnVMjoNtVCB2JVs7IKXgPCBt+j1YchSDp2rDSk3DbnT/l7cage 9Gmbwvl5yMaIk5LormMii5ijDOaXClelydRLItnu97VNCxjzf5ykBZ3Jv2kCG5JC1GvA AaDT1maLt9/wAF/TtQz9AiJEScQBHX6zXVX150h4Sy5c8CG11jKoKt52/RYAStGZ1pg1 yqTl7LT90AEHZ54IrULYARh/w+qD2BGo0INeGk18swXuE63FXwwRdoIS4JnDmNEPLrKu zPq0vexA5GEXJHVBcB0j/EgUL91ks6LkZ+g++Y0GgkM7ju73nnzt11UZmqWkCqs6VY3H Uwbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=YAnnuygE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id eg47-20020a05640228af00b0045cc6aa0429si13669009edb.250.2022.10.20.01.08.55; Thu, 20 Oct 2022 01:09:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=YAnnuygE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229741AbiJTHYO (ORCPT + 99 others); Thu, 20 Oct 2022 03:24:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59802 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230244AbiJTHYJ (ORCPT ); Thu, 20 Oct 2022 03:24:09 -0400 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 80C1815D0BF; Thu, 20 Oct 2022 00:24:08 -0700 (PDT) Received: from pps.filterd (m0098399.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 29K67Fjh032571; Thu, 20 Oct 2022 07:23:57 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=date : from : to : cc : subject : message-id : references : content-type : in-reply-to : mime-version; s=pp1; bh=wNoSCwQrH6lNPRl+W0lMa9pt+zi83bO8wcdQ1V+6QCU=; b=YAnnuygEJY7CAijiWURfY+SwNQoKv6tsxLuSdzENRJBxxaLnxz+WQ+poiq9AptCNocPr 0NOy2J+lfESi2k5ALyc3RnZOgxsLPNkpmOb5NkGMy20ju+ZWRnoTjAwpmEMXhVBLtwNB T0hhHWUy4mxFSXR+UhQCvq94lDCS4302ZGvcbbulnLZTy9dvu9h9ev5zJR0hF7+nGecg L8m0Hvck3D6ueOfdhkFIfOIc8nwkLDc8BqpKzUtvrNu1ZYojInuScCqkJ44kPmx7FRVD pBp0iqovtf0yzKPxDkjYZW13jwJm6kELu2PfLBefiDLMeABunk8yR+MojknY7sHSTMVk 0Q== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3kayycbc5k-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 20 Oct 2022 07:23:57 +0000 Received: from m0098399.ppops.net (m0098399.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 29K6mfJM007644; Thu, 20 Oct 2022 07:23:56 GMT Received: from ppma06ams.nl.ibm.com (66.31.33a9.ip4.static.sl-reverse.com [169.51.49.102]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3kayycbc4q-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 20 Oct 2022 07:23:56 +0000 Received: from pps.filterd (ppma06ams.nl.ibm.com [127.0.0.1]) by ppma06ams.nl.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 29K7KN2I027802; Thu, 20 Oct 2022 07:23:54 GMT Received: from b06cxnps4074.portsmouth.uk.ibm.com (d06relay11.portsmouth.uk.ibm.com [9.149.109.196]) by ppma06ams.nl.ibm.com with ESMTP id 3kajmrs5fj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 20 Oct 2022 07:23:53 +0000 Received: from d06av25.portsmouth.uk.ibm.com (d06av25.portsmouth.uk.ibm.com [9.149.105.61]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 29K7No3b61014278 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 20 Oct 2022 07:23:50 GMT Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id B54E211C052; Thu, 20 Oct 2022 07:23:50 +0000 (GMT) Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 477C811C04A; Thu, 20 Oct 2022 07:23:50 +0000 (GMT) Received: from osiris (unknown [9.152.212.239]) by d06av25.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Thu, 20 Oct 2022 07:23:50 +0000 (GMT) Date: Thu, 20 Oct 2022 09:23:49 +0200 From: Heiko Carstens To: Christian Borntraeger Cc: "Paul E. McKenney" , rcu@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-team@fb.com, rostedt@goodmis.org, Neeraj Upadhyay , Frederic Weisbecker , Boqun Feng , Vasily Gorbik , Alexander Gordeev , Sven Schnelle , Thomas Gleixner , John Ogness , Petr Mladek , linux-s390@vger.kernel.org Subject: Re: [PATCH v3 rcu 08/11] arch/s390: Add ARCH_HAS_NMI_SAFE_THIS_CPU_OPS Kconfig option Message-ID: References: <20221019225838.GA2500612@paulmck-ThinkPad-P17-Gen-1> <20221019225846.2501109-8-paulmck@kernel.org> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-TM-AS-GCONF: 00 X-Proofpoint-GUID: rO82ET1BaHoOA7-0pjfvz8ISDIH6rwdF X-Proofpoint-ORIG-GUID: 76d64ek7JBezBlBA92byhX1TOvBb9u8s X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-10-20_02,2022-10-19_04,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 bulkscore=0 impostorscore=0 lowpriorityscore=0 priorityscore=1501 spamscore=0 phishscore=0 mlxlogscore=630 malwarescore=0 clxscore=1011 adultscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2210200041 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 Thu, Oct 20, 2022 at 07:16:44AM +0200, Christian Borntraeger wrote: > > > Am 20.10.22 um 00:58 schrieb Paul E. McKenney: > > The s390 architecture uses either a cmpxchg loop (old systems) > > or the laa add-to-memory instruction (new systems) to implement > > this_cpu_add(), both of which are NMI safe. This means that the old > > and more-efficient srcu_read_lock() may be used in NMI context, without > > the need for srcu_read_lock_nmisafe(). Therefore, add the new Kconfig > > option ARCH_HAS_NMI_SAFE_THIS_CPU_OPS to arch/arm64/Kconfig, which will > s390 ? > > cause NEED_SRCU_NMI_SAFE to be deselected, thus preserving the current > > srcu_read_lock() behavior. > > > > Link: https://lore.kernel.org/all/20220910221947.171557773@linutronix.de/ > > > > Suggested-by: Neeraj Upadhyay > > Suggested-by: Frederic Weisbecker > > Suggested-by: Boqun Feng > > Signed-off-by: Paul E. McKenney ... > > --- > > arch/s390/Kconfig | 1 + > > 1 file changed, 1 insertion(+) Not sure what Christian was trying to say with his empty reply :) In any case: Acked-by: Heiko Carstens