Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp222409lqo; Thu, 16 May 2024 04:40:26 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVSiqzhpZjxEu/ynNrqrKObbBqwFfe05VGVoeifpIKls2qRTFkIyosZYYrt5uoGOPVkFWdkjuUSJ1IudQgyWxcnub3yr1AiE59Hj3rVZA== X-Google-Smtp-Source: AGHT+IH4BY4caTQI4JZMhCyF9BA5STbRASD6BWEK1nR9XBecgx+tlmWybmlQdnuToPq8we+8h+MQ X-Received: by 2002:a17:906:a24e:b0:a59:aae5:b0bc with SMTP id a640c23a62f3a-a5a2d5d494fmr1122754966b.42.1715859626416; Thu, 16 May 2024 04:40:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715859626; cv=pass; d=google.com; s=arc-20160816; b=XrIAKd5wnUcvmQa66nS6mASetKfyfho9EFyMUquxqkNQ3WtQTOFA2u+FUKj673X3S1 kFHIEX4tKRNHXr0K0iireX+FWFl6h7T/WaFf9eScgL1DIZj11FvcUFn6/cg7tfAXAIYT z8F34ubGYoTQ74lcBTHSOceXGDIDksVqiR7FnG4OcqtFn5X6IsaWppeHHMBj2CbTTjtS BumbGxl4pBLC1ydPHwwH0f60jhD7Ehl1D2Gfz64FxMsV/yRNVSKZ8I+P3Dt2EqiBvotS w8yN6aQQJp/apYjPfvIL+X7uUsRUYdSmKjuNWh6512n58h8qZ+a+Do886Qfy1htFZgIl RTyQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=Cdkakt5nIoiblbiSIViMcQKNwneapIYRohkNyPb6PyQ=; fh=mrjxO1KrnhTUESL20gMQBqjpCPvfj5fFmxmRog6GXUM=; b=QEPaAr4ooJ10qgj3r3pluCIjaKMefD1hTcXguxkQB/7uMnGfGAW5M1gd9zy0xchNHV 53EjYHZ7uDGdaojWbTCpPuVsspeAxBFD4zSgorxEWQQ0TJmLcInC7DyMQXYvP+tUxP/W q/Gj2z0qvt/B2C5rarAl6JT/kDL57BMMvY2F2tWqk9lS9OxBHQgeC4osYeP7Qlnd0Tx+ 3l++DBFMn2VL14B20JsJP6ffpzz7JSH6GCpQdAawV5ap8ZV4Qw6RVQ02hneYEQVqd4E0 Pl51CqYIiSISM4f8fTN3q9eRmpGxmSn7vflL4JXkXxJnahllwMt//LdwK3uPAK39Aqqn ACww==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=KyO02AKP; arc=pass (i=1 spf=pass spfdomain=linux.ibm.com dkim=pass dkdomain=ibm.com dmarc=pass fromdomain=linux.ibm.com); spf=pass (google.com: domain of linux-kernel+bounces-180953-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-180953-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a5a3a14065bsi734738766b.157.2024.05.16.04.40.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 May 2024 04:40:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-180953-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=KyO02AKP; arc=pass (i=1 spf=pass spfdomain=linux.ibm.com dkim=pass dkdomain=ibm.com dmarc=pass fromdomain=linux.ibm.com); spf=pass (google.com: domain of linux-kernel+bounces-180953-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-180953-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 175EA1F2296F for ; Thu, 16 May 2024 11:40:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B152E145A0A; Thu, 16 May 2024 11:40:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b="KyO02AKP" Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C4D121DFCB; Thu, 16 May 2024 11:40:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=148.163.156.1 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715859617; cv=none; b=oAkPLMau7ZQ1gGx/SDuXeWfulHJwYfGyT/X739aw4IYEZhE+CNwVL04uFAttPxDUXAkkE0w9OA1hS/wiWSRQwh0tk9JTNn635TkucyDXYO5PHKDMpIEx2BRv+/f27p77HidAGD3C2ovpAe4xmzJUSA7IaYTEgFmh74a+Hh+aIyo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715859617; c=relaxed/simple; bh=e+eX7WIBE9d1u8oYB2Mgmk5JitmVcJf4vNACvt4Lpm0=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=khZJdNQ7IqSOG4tmPC82QRMk0lksnoKrCGhejkHEKzkrlu2IIdzbc1SzYCjqZhBOjurYEYoTupq13YODB2bjynaJD+YYT1XK+++d/1nut3ZqfDgR8MrAuQa5MH/7o0Tk4QjARwDAU03/JtoZhSSSHmGZ49xZ6h6HFJ5pw4b7sVc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com; spf=pass smtp.mailfrom=linux.ibm.com; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b=KyO02AKP; arc=none smtp.client-ip=148.163.156.1 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.ibm.com Received: from pps.filterd (m0353729.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 44G9tHIG014697; Thu, 16 May 2024 11:40:00 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=pp1; bh=Cdkakt5nIoiblbiSIViMcQKNwneapIYRohkNyPb6PyQ=; b=KyO02AKPiPGr1yXE/136MhM9GCOIJBYVy/chWZn7EVMCaCe3tpeUevEHXxN7omx9PIxm EJjGkjTEL/9Kq7g2K4LJlf1YEDcMbFkdvimziOOZSeMtYsbSSxEIU7KViDCbwKrduZ24 XCkLWbVqvjH0Djx8Qn+Grd7zwNkfuJ7PXEHTf3AWPXHSL3bOSCM9g+ps2c5j1qJhxJ6m xNx5n0nLdvb0WBw92s/Co6R0wajcActtZFn9D3WHHZHOdjxuhLFNvnukCKgnKF8qBirP 5LprL97dyX1MbHAR4X3XNiyygWUNYpIEUtdtYT2X3ZwM+t7F/6jO1Pr7IIfSNSn7OsZf Kw== Received: from ppma11.dal12v.mail.ibm.com (db.9e.1632.ip4.static.sl-reverse.com [50.22.158.219]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3y5d67rqb3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 16 May 2024 11:40:00 +0000 Received: from pps.filterd (ppma11.dal12v.mail.ibm.com [127.0.0.1]) by ppma11.dal12v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 44G9QSDf005721; Thu, 16 May 2024 11:39:59 GMT Received: from smtprelay03.wdc07v.mail.ibm.com ([172.16.1.70]) by ppma11.dal12v.mail.ibm.com (PPS) with ESMTPS id 3y2nq318r9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 16 May 2024 11:39:59 +0000 Received: from smtpav02.dal12v.mail.ibm.com (smtpav02.dal12v.mail.ibm.com [10.241.53.101]) by smtprelay03.wdc07v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 44GBdt0d48496910 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 16 May 2024 11:39:58 GMT Received: from smtpav02.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id CDA335805C; Thu, 16 May 2024 11:39:55 +0000 (GMT) Received: from smtpav02.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id BF6F958060; Thu, 16 May 2024 11:39:54 +0000 (GMT) Received: from [9.67.138.125] (unknown [9.67.138.125]) by smtpav02.dal12v.mail.ibm.com (Postfix) with ESMTP; Thu, 16 May 2024 11:39:54 +0000 (GMT) Message-ID: <3c14a6cf-509e-4743-be26-b14aef7f6930@linux.ibm.com> Date: Thu, 16 May 2024 06:39:54 -0500 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/3] crypto: X25519 low-level primitives for ppc64le. To: Andy Polyakov , Michael Ellerman , linux-crypto@vger.kernel.org Cc: herbert@gondor.apana.org.au, leitao@debian.org, nayna@linux.ibm.com, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, ltcgcw@linux.vnet.ibm.com, dtsen@us.ibm.com References: <20240514173835.4814-1-dtsen@linux.ibm.com> <20240514173835.4814-2-dtsen@linux.ibm.com> <87a5kqwe59.fsf@mail.lhotse> <89e7b4b0-9804-41be-b9b1-aeba57cd3cc6@cryptogams.org> Content-Language: en-US From: Danny Tsen In-Reply-To: <89e7b4b0-9804-41be-b9b1-aeba57cd3cc6@cryptogams.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: n8Z0X2o36bwPDtwQ7kznsRkefGBk65ll X-Proofpoint-ORIG-GUID: n8Z0X2o36bwPDtwQ7kznsRkefGBk65ll X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.650,FMLib:17.11.176.26 definitions=2024-05-16_05,2024-05-15_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 phishscore=0 mlxlogscore=777 malwarescore=0 suspectscore=0 adultscore=0 bulkscore=0 priorityscore=1501 mlxscore=0 clxscore=1015 spamscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2405010000 definitions=main-2405160082 Hi Andy, I learned something here.  Will fix this.  Thanks. -Danny On 5/16/24 3:38 AM, Andy Polyakov wrote: > Hi, > >>> +.abiversion    2 >> >> I'd prefer that was left to the compiler flags. > > Problem is that it's the compiler that is responsible for providing > this directive in the intermediate .s prior invoking the assembler. > And there is no assembler flag to pass through -Wa. If concern is ABI > neutrality, then solution would rather be #if (_CALL_ELF-0) == > 2/#endif. One can also make a case for > > #ifdef _CALL_ELF > .abiversion _CALL_ELF > #endif > > Cheers. >