Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp3085861iob; Mon, 16 May 2022 12:45:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw2vY59hcm19bMzKVXDeffzZ4fg8gLkRSlgWydMCO/HQxIGedVzdRRifWFEM+iH6Kllw82M X-Received: by 2002:a17:907:7da2:b0:6f4:dcb8:7b7 with SMTP id oz34-20020a1709077da200b006f4dcb807b7mr16797061ejc.443.1652730327759; Mon, 16 May 2022 12:45:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652730327; cv=none; d=google.com; s=arc-20160816; b=P05RKCEpi4FZp+r26gjN2YyKAHf9CsgEO8B3crH+RhTePCQ0hiF0cP4zMicsOaQEU8 W9bWqJT2fW1HyqNmHNZu6fiujSO1n2Nun2eu3UNlAZNlZdzHkB7NKdhwn4zngwODMoJI 2qImH3TlBORW57k/d70TZ/JaWyb47AAEyTDupd/pc55JBhHGP4WxSdNDcj11G4ipm0Is NCZ+297GT0M0y5ZRgu8T8cG8wwgL1k+adXqHpRCNBzpSuQX58TB3WJeBMasLLhurDiT4 vVZzwD1R2utt9QCsJJatc+OHNhAYiUycMlzr8AKB+gCrgnsBXwsYPTethP78TFpGZYjX qRwA== 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=W803J69EJm++pLOaEqlDhxYyTXafFWrijwjpdrcMKo8=; b=TnLhtsh/lf4PypOjxVNdk+rFmL2JFN6gtuI2tTiP+qvpS+O9DI1otafysdPp9RLacX veun4fGZvBzUjKM32Lu5s6nGCIyAJDYZvL5IH+19r8cQUGbWdyOnv075ahgFMh0c4Pfc O8Y8BDk5kvh1jjbUP0nXOuEi7vh2XRlOAFkXj23NizE7Mmbp4SI8W1SCwwRI699hCLsN U7Y5/jjFuEsWZTA0sN5rsv7k5az0dYS33KV5QmL2WNPeK2jVu6Y7YGZye/DpvaGIzlVK ERmH7OYhEMZJ/YiA/IAXM4o4dcjGeWGBoO1O/G9o5PBFZCVs00is3nAXzZrcvsCqaRrY UNiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=iKaLOhN1; 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 g14-20020a056402424e00b0042ab8c1ab16si2709444edb.284.2022.05.16.12.45.00; Mon, 16 May 2022 12:45:27 -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=iKaLOhN1; 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 S244288AbiEPOGq (ORCPT + 99 others); Mon, 16 May 2022 10:06:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49388 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244384AbiEPOGF (ORCPT ); Mon, 16 May 2022 10:06:05 -0400 Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 12FE61005; Mon, 16 May 2022 07:06:04 -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 24GE1DMa026110; Mon, 16 May 2022 14:05:54 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=W803J69EJm++pLOaEqlDhxYyTXafFWrijwjpdrcMKo8=; b=iKaLOhN1dTu6t59/hv8zv1ruxO4uf4ukHP/NDSO5TfyO5hmLz4IKwH8J1Zuako7YWwnb elySCI1bGLKuMxsquP/jwwmZzFuHdCVdE/nqJ1+dju+IDoB0RMxq7sxvcBREgnrUjDDu KGG2LoWYryn82T5GhD9GHR1H9PjrEFHMF/3U3HYJ0T6ck+Cac4CHQZkDXMH4DIcv289R PCBpXhws16uXoHDt+5mddrmgS79rQ32/hdM5R8HdD5SpxFViydAGTb7gmrKQRR3SbcOh HFI/FunlKXd9B1eF20fwD7grHTVsJ7IpETpP1VsMEIYnQpjAjriy7Nr8GqBCbtMNZqVL hA== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3g3r0rr49n-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 16 May 2022 14:05:54 +0000 Received: from m0127361.ppops.net (m0127361.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 24GE2BLe029905; Mon, 16 May 2022 14:05:54 GMT Received: from ppma04ams.nl.ibm.com (63.31.33a9.ip4.static.sl-reverse.com [169.51.49.99]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3g3r0rr495-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 16 May 2022 14:05:54 +0000 Received: from pps.filterd (ppma04ams.nl.ibm.com [127.0.0.1]) by ppma04ams.nl.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 24GE5WM2006927; Mon, 16 May 2022 14:05:52 GMT Received: from b06cxnps3075.portsmouth.uk.ibm.com (d06relay10.portsmouth.uk.ibm.com [9.149.109.195]) by ppma04ams.nl.ibm.com with ESMTP id 3g2429asxs-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 16 May 2022 14:05:52 +0000 Received: from d06av24.portsmouth.uk.ibm.com (d06av24.portsmouth.uk.ibm.com [9.149.105.60]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 24GE5l8H53739802 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 16 May 2022 14:05:47 GMT Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 7CEA84203F; Mon, 16 May 2022 14:05:47 +0000 (GMT) Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 0B6E142041; Mon, 16 May 2022 14:05:47 +0000 (GMT) Received: from osiris (unknown [9.145.19.162]) by d06av24.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Mon, 16 May 2022 14:05:46 +0000 (GMT) Date: Mon, 16 May 2022 16:05:45 +0200 From: Heiko Carstens To: Alexander Gordeev Cc: Nathan Chancellor , Vasily Gorbik , Jonas Paulsson , Ulrich Weigand , Masahiro Yamada , Alexander Egorenkov , Sven Schnelle , Andreas Krebbel , Nathan Chancellor , Nick Desaulniers , linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org Subject: Re: [PATCH 4/8] s390/entry: workaround llvm's IAS limitations Message-ID: References: <20220511120532.2228616-1-hca@linux.ibm.com> <20220511120532.2228616-5-hca@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: zpQWR8E7h5U77uCLMRiqi3KxRiwx8tfv X-Proofpoint-GUID: H96rlpMFX1dp-jNvtaIBkRT8NdEChY8m 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-16_13,2022-05-16_02,2022-02-23_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=685 impostorscore=0 bulkscore=0 clxscore=1015 malwarescore=0 suspectscore=0 adultscore=0 spamscore=0 phishscore=0 lowpriorityscore=0 priorityscore=1501 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2202240000 definitions=main-2205160079 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, 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 On Mon, May 16, 2022 at 01:11:48PM +0200, Alexander Gordeev wrote: > > So I'd suggest: leave this code as is, and at some later point move > > "rework" the early machine check handler code. > > > > What do you think? > > Sounds very reasonable. Please, find my: > > Acked-by: Alexander Gordeev Thanks! > Also, how such a follow-up looks to you? ... > slgfi %r14,\start > clgfi %r14,\end - \start I think using an address as an immediate value is a step in the wrong direction, since I'd like to have all code pc-relative. And as far as I can tell this new construct would only work as long as \start has an absolute address that is low enough so that it would work / fit with slgfi. Of course this will likely always be the case, but I still think this is not the way we should go.