From mboxrd@z Thu Jan 1 00:00:00 1970 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b="KyO02AKP" 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. >