Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1098796pxb; Tue, 8 Feb 2022 09:13:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJxrDLEyUbfH+9fSyk9R6xJL/tXJe8NFRIH0JzPgLUjkDc4q2Rzh5E0/xQj1WJ24Iz9v9NSR X-Received: by 2002:a17:902:ce8b:: with SMTP id f11mr5455552plg.40.1644340385983; Tue, 08 Feb 2022 09:13:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644340385; cv=none; d=google.com; s=arc-20160816; b=ZjKiRfYO/jl5jNv8COnLVhQKexuL0rgDrEDbnV0mcHhpL5aPvhmjDo7o1U2LLV1rRZ OUAwbVT6CiGZUo0ZENiMwjo22Ut1c0QhyASFOfhuxCrNYNqMAxn5MtFD66BiNJENWzKE knSVIO4ES8iYsYcqYUwoNMPsCmfuSpukkhQFHFgBojWrLH7lPRcaGOvCwF5KTozSK37p zJWp14Lt89fdxjPaS1yLbQOmj+US/vKNGzMVVnLNasloE0rs3gx3ymS6UOmb+IQzVpD4 3rr8Rfo3Z1I9/6bYmX6o/Jr8X/ZLgslgoWkNdQHwRE65gguHQk9iGUBygcXy2DTuZbgT bhXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:in-reply-to :date:references:subject:cc:to:from:dkim-signature; bh=l4GRQfS6dt8KbwsIfRAoCLiv5GnoaDEu32gKAeieLAs=; b=s02kAVZGZnsK18rDy3/q30q81GBlqWqo5JvW+UPqODzH+dd9S84vvvGEszU0mcTBkk HHcPSeyaBq66eBHJEdigJU1hTaBCaWIbIgU+r0ekjQ/nI6RpDxxukXMKjStJEcCDB/XS Fq1ch2WF5bTGqz1VAINIWl0QpJGqU+lrV19KrtDQGA/OL/YuvYc8ZFy33imhS/I+kcpx my0rQq267mL99aDfEYKQ1gCKhBpnp2aA8TKh1IjmlVbWAXTXBg6Uj+8GfORh4BP+Dzks WJ1jHhkqgvRE7st/MECp0mQ/j/+zAiLoSbCMOoiPa6ukEfora6VHZGR9f/vda2BqdJsW jOTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=tMYBZbQ5; 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 1si31739pll.270.2022.02.08.09.12.53; Tue, 08 Feb 2022 09:13:05 -0800 (PST) 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=tMYBZbQ5; 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 S1391686AbiBGMCm (ORCPT + 99 others); Mon, 7 Feb 2022 07:02:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49842 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1387859AbiBGLlk (ORCPT ); Mon, 7 Feb 2022 06:41:40 -0500 Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 33114C0401C1; Mon, 7 Feb 2022 03:41:27 -0800 (PST) Received: from pps.filterd (m0098416.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 217Apeok012378; Mon, 7 Feb 2022 11:41:00 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : references : date : in-reply-to : message-id : mime-version : content-type; s=pp1; bh=l4GRQfS6dt8KbwsIfRAoCLiv5GnoaDEu32gKAeieLAs=; b=tMYBZbQ5uoALXShCqp6HByVPllh1Kvsr1LGK1z8CCnCMSqYqiXQWgp/XBppYyBXcDAv0 lCiUGYobeF8LUROFa5mplfD2sbiqwHKtzsXBLlD7mRtdHMay4lKJSBfWCQuQ6YfuqQxw 8/D5M9EP9z0a02ib9a1CHpC2cWhHvxUwS2xlyQ0arWWoaA3UzTh9Zw69ngsQFZwXhy9E lUVbTGFsYCzyiIqy2vpW0yIhicNq2e+WaQOKRfjfekQWjJ4doMN+P4g/F1YtKBz74J2P PsZ7j2fIHL7bkYg5Hltfxy5ZwNwrzgrvun+xNqvkIleR/xvYPFFSOZ1cDrhywbIVtJzN Pw== Received: from pps.reinject (localhost [127.0.0.1]) by mx0b-001b2d01.pphosted.com with ESMTP id 3e22nk1vhr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 07 Feb 2022 11:40:59 +0000 Received: from m0098416.ppops.net (m0098416.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.43/8.16.0.43) with SMTP id 217BUMdN010053; Mon, 7 Feb 2022 11:40:59 GMT Received: from ppma03ams.nl.ibm.com (62.31.33a9.ip4.static.sl-reverse.com [169.51.49.98]) by mx0b-001b2d01.pphosted.com with ESMTP id 3e22nk1v8s-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 07 Feb 2022 11:40:59 +0000 Received: from pps.filterd (ppma03ams.nl.ibm.com [127.0.0.1]) by ppma03ams.nl.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 217BYQpC008045; Mon, 7 Feb 2022 11:40:36 GMT Received: from b06cxnps4076.portsmouth.uk.ibm.com (d06relay13.portsmouth.uk.ibm.com [9.149.109.198]) by ppma03ams.nl.ibm.com with ESMTP id 3e1gv93kdy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 07 Feb 2022 11:40:36 +0000 Received: from d06av22.portsmouth.uk.ibm.com (d06av22.portsmouth.uk.ibm.com [9.149.105.58]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 217BeXt442467668 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 7 Feb 2022 11:40:33 GMT Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 1C8354C050; Mon, 7 Feb 2022 11:40:33 +0000 (GMT) Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id ABBCD4C04A; Mon, 7 Feb 2022 11:40:32 +0000 (GMT) Received: from tuxmaker.linux.ibm.com (unknown [9.152.85.9]) by d06av22.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Mon, 7 Feb 2022 11:40:32 +0000 (GMT) From: Sven Schnelle To: Marcelo Tosatti Cc: linux-kernel@vger.kernel.org, Nitesh Lal , Nicolas Saenz Julienne , Frederic Weisbecker , Christoph Lameter , Juri Lelli , Peter Zijlstra , Alex Belits , Peter Xu , Thomas Gleixner , Daniel Bristot de Oliveira , Oscar Shiang , linux-s390@vger.kernel.org Subject: Re: [patch v11 01/13] s390: add support for TIF_TASK_ISOL References: <20220204173537.429902988@fedora.localdomain> <20220204173554.491925589@fedora.localdomain> Date: Mon, 07 Feb 2022 12:40:32 +0100 In-Reply-To: <20220204173554.491925589@fedora.localdomain> (Marcelo Tosatti's message of "Fri, 04 Feb 2022 14:35:38 -0300") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-TM-AS-GCONF: 00 X-Proofpoint-GUID: cdSfjdKU77sRKrlYxT3oyA8rYXlmk4TE X-Proofpoint-ORIG-GUID: bTTjUIYd2LzLfoOoHH7-L9S_VOucRtDI X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.816,Hydra:6.0.425,FMLib:17.11.62.513 definitions=2022-02-07_04,2022-02-07_01,2021-12-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 mlxscore=0 malwarescore=0 priorityscore=1501 lowpriorityscore=0 bulkscore=0 mlxlogscore=883 clxscore=1011 phishscore=0 impostorscore=0 adultscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2201110000 definitions=main-2202070075 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Marcelo Tosatti writes: > Add TIF_TASK_ISOL handling for s390. > > Cc: linux-s390@vger.kernel.org > Signed-off-by: Marcelo Tosatti Acked-by: Sven Schnelle > Index: linux-2.6/arch/s390/include/asm/thread_info.h > =================================================================== > --- linux-2.6.orig/arch/s390/include/asm/thread_info.h > +++ linux-2.6/arch/s390/include/asm/thread_info.h > @@ -73,6 +73,7 @@ void arch_setup_new_exec(void); > #define TIF_ISOLATE_BP 8 /* Run process with isolated BP */ > #define TIF_ISOLATE_BP_GUEST 9 /* Run KVM guests with isolated BP */ > #define TIF_PER_TRAP 10 /* Need to handle PER trap on exit to usermode */ > +#define TIF_TASK_ISOL 11 /* task isolation work pending */ > > #define TIF_31BIT 16 /* 32bit process */ > #define TIF_MEMDIE 17 /* is terminating due to OOM killer */ > @@ -97,6 +98,7 @@ void arch_setup_new_exec(void); > #define _TIF_ISOLATE_BP BIT(TIF_ISOLATE_BP) > #define _TIF_ISOLATE_BP_GUEST BIT(TIF_ISOLATE_BP_GUEST) > #define _TIF_PER_TRAP BIT(TIF_PER_TRAP) > +#define _TIF_TASK_ISOL BIT(TIF_TASK_ISOL) > > #define _TIF_31BIT BIT(TIF_31BIT) > #define _TIF_SINGLE_STEP BIT(TIF_SINGLE_STEP)