From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id F0A93C00140 for ; Thu, 18 Aug 2022 11:13:18 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4M7j1935tLz3cFJ for ; Thu, 18 Aug 2022 21:13:17 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=ibm.com header.i=@ibm.com header.a=rsa-sha256 header.s=pp1 header.b=M2Bngfz7; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=linux.vnet.ibm.com (client-ip=148.163.156.1; helo=mx0a-001b2d01.pphosted.com; envelope-from=sv@linux.vnet.ibm.com; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=ibm.com header.i=@ibm.com header.a=rsa-sha256 header.s=pp1 header.b=M2Bngfz7; dkim-atps=neutral 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 lists.ozlabs.org (Postfix) with ESMTPS id 4M7j0P6855z2xHC for ; Thu, 18 Aug 2022 21:12:37 +1000 (AEST) Received: from pps.filterd (m0187473.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 27IAqCBj027648; Thu, 18 Aug 2022 11:12:21 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=m5xFRYbqQ/2lXXY1pQSEa2jDiReGuiBLzYwDkADrplE=; b=M2Bngfz7d4VqP77Src4wPCnEmqXKT6WT3sLE6z1uvfiwN6MlwzpD5Oy8ngDALfjJhGWj jbcWhmNcAVUNwpl0C2hYSea91OU3Cd7SqcVCf9NNXuEYi2gHpvE3KUeRvVHfstA4cRE5 yUlqqwxUHAmxDCYgXXIRZvRZdrOWPjZbyuqKMX1GS/RbJ1not/aP0PLTWrhPo3Q9wHS8 4vXVna0Yp7cTyyvLL9byM7QxiCcMd23Y+CsBs2oEmxL+gQ2o/AFrmqURsEJTVNwowVJu H7qcOGbI2PAoHjVU/UJLbRMYIBjajQS7jwONe0BdytPOanCttGSXlfa93vdo349+w7F2 IA== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3j1m250jq8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 18 Aug 2022 11:12:21 +0000 Received: from m0187473.ppops.net (m0187473.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 27IArAwY030058; Thu, 18 Aug 2022 11:12:20 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 3j1m250jpc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 18 Aug 2022 11:12:20 +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 27IB6ctP004824; Thu, 18 Aug 2022 11:12:18 GMT Received: from b06cxnps4076.portsmouth.uk.ibm.com (d06relay13.portsmouth.uk.ibm.com [9.149.109.198]) by ppma04ams.nl.ibm.com with ESMTP id 3hx3k9ds81-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 18 Aug 2022 11:12:17 +0000 Received: from d06av25.portsmouth.uk.ibm.com (d06av25.portsmouth.uk.ibm.com [9.149.105.61]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 27IBCFBm24117694 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 18 Aug 2022 11:12:15 GMT Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 9255011C050; Thu, 18 Aug 2022 11:12:15 +0000 (GMT) Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id B130111C04C; Thu, 18 Aug 2022 11:12:12 +0000 (GMT) Received: from [9.109.198.207] (unknown [9.109.198.207]) by d06av25.portsmouth.uk.ibm.com (Postfix) with ESMTP; Thu, 18 Aug 2022 11:12:12 +0000 (GMT) Message-ID: <07a21891-1571-95ac-8afd-93ff1b92ef4b@linux.vnet.ibm.com> Date: Thu, 18 Aug 2022 16:42:11 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH 05/16] powerpc: Skip objtool from running on drivers/crypto/vmx/aesp8-ppc.o Content-Language: en-US To: Christophe Leroy , "linuxppc-dev@lists.ozlabs.org" References: <20220808114908.240813-1-sv@linux.ibm.com> <20220808114908.240813-6-sv@linux.ibm.com> From: Sathvika Vasireddy In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: u77vzHn5j6OLoMBp3u99w8-jXYTOmXBn X-Proofpoint-GUID: I7V-918uXgSUN3wJksp4lQ7YQiYuCSZl X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.517,FMLib:17.11.122.1 definitions=2022-08-18_12,2022-08-18_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 phishscore=0 impostorscore=0 mlxscore=0 priorityscore=1501 mlxlogscore=999 malwarescore=0 clxscore=1015 lowpriorityscore=0 bulkscore=0 spamscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2207270000 definitions=main-2208180038 X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "peterz@infradead.org" , "linux-kernel@vger.kernel.org" , "rostedt@goodmis.org" , "aik@ozlabs.ru" , "mingo@redhat.com" , Sathvika Vasireddy , "npiggin@gmail.com" , "jpoimboe@redhat.com" , "naveen.n.rao@linux.vnet.ibm.com" , "mbenes@suse.cz" , "chenzhongjin@huawei.com" , "linux-arm-kernel@lists.infradead.org" Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On 10/08/22 14:04, Christophe Leroy wrote: > > Le 08/08/2022 à 13:48, Sathvika Vasireddy a écrit : >> With objtool enabled, below warnings are seen when trying to build: >> >> drivers/crypto/vmx/aesp8-ppc.o: warning: objtool: aes_p8_set_encrypt_key+0x44: unannotated intra-function call >> >> drivers/crypto/vmx/aesp8-ppc.o: warning: objtool: .text+0x2448: unannotated intra-function call >> >> drivers/crypto/vmx/aesp8-ppc.o: warning: objtool: .text+0x2d68: unannotated intra-function call >> >> Skip objtool from running on this file, as >> there are no calls to _mcount. > Why not fix it the same way as for other files ? Please explain. For two main reasons: 1. Since this file comes from OpenSSL, and since it is a perl file which generates a .S file,  it may not     be the best choice to make too many code changes to such files, unless absolutely necessary. 2. Second reason is that, at least as far as the objtool --mcount functionality is concerned, we do not     have to run objtool on that file because that file does not have any calls to _mcount. > >> Signed-off-by: Sathvika Vasireddy >> --- >> drivers/crypto/vmx/Makefile | 2 ++ >> 1 file changed, 2 insertions(+) >> >> diff --git a/drivers/crypto/vmx/Makefile b/drivers/crypto/vmx/Makefile >> index 2560cfea1dec..7b41f0da6807 100644 >> --- a/drivers/crypto/vmx/Makefile >> +++ b/drivers/crypto/vmx/Makefile >> @@ -9,3 +9,5 @@ targets += aesp8-ppc.S ghashp8-ppc.S >> >> $(obj)/aesp8-ppc.S $(obj)/ghashp8-ppc.S: $(obj)/%.S: $(src)/%.pl FORCE >> $(call if_changed,perl) >> + >> +OBJECT_FILES_NON_STANDARD_aesp8-ppc.o := y From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9C0E3C00140 for ; Thu, 18 Aug 2022 11:13:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ssj2jQwJuWbVSaS8wAx9g0Sc7LmVKfsNtr+MtE4AbM0=; b=hsqmNxSW5xi7rI vBYEKg1mkTh8jWq7x8jSzPIvr1uFidf2EEhKaXwgiNulkm23ZVLSgF7lAyYRiwXkQ8Cf8LA3mhl7f cCOMNuFZaITgKsbVLaYTOIreacNm1qINJYgxGcfCZsLKS0K9REERf8Aeq7DfOb8XT1DcPjtcP2UME dr2PqCe3iTMeapH/Fi91OC3fXw0Re4uPDLnCMdWA+bzlZLhqI+8PJL2QCZYERvkrQRBC1X1lQ5jVc lcYvcVyx7BhKajAwLq+2TkYHHHfKGtwQfaCR2txX9yAKvh9yfqlezJJ2H8pkbTsCA3JIVlhGfbgeW NQhBqtFHMh6Gu+/3Cj/Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oOdS1-003TCF-7w; Thu, 18 Aug 2022 11:12:37 +0000 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oOdRx-003T6J-Cz; Thu, 18 Aug 2022 11:12:35 +0000 Received: from pps.filterd (m0187473.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 27IAqCBj027648; Thu, 18 Aug 2022 11:12:21 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=m5xFRYbqQ/2lXXY1pQSEa2jDiReGuiBLzYwDkADrplE=; b=M2Bngfz7d4VqP77Src4wPCnEmqXKT6WT3sLE6z1uvfiwN6MlwzpD5Oy8ngDALfjJhGWj jbcWhmNcAVUNwpl0C2hYSea91OU3Cd7SqcVCf9NNXuEYi2gHpvE3KUeRvVHfstA4cRE5 yUlqqwxUHAmxDCYgXXIRZvRZdrOWPjZbyuqKMX1GS/RbJ1not/aP0PLTWrhPo3Q9wHS8 4vXVna0Yp7cTyyvLL9byM7QxiCcMd23Y+CsBs2oEmxL+gQ2o/AFrmqURsEJTVNwowVJu H7qcOGbI2PAoHjVU/UJLbRMYIBjajQS7jwONe0BdytPOanCttGSXlfa93vdo349+w7F2 IA== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3j1m250jq8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 18 Aug 2022 11:12:21 +0000 Received: from m0187473.ppops.net (m0187473.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 27IArAwY030058; Thu, 18 Aug 2022 11:12:20 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 3j1m250jpc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 18 Aug 2022 11:12:20 +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 27IB6ctP004824; Thu, 18 Aug 2022 11:12:18 GMT Received: from b06cxnps4076.portsmouth.uk.ibm.com (d06relay13.portsmouth.uk.ibm.com [9.149.109.198]) by ppma04ams.nl.ibm.com with ESMTP id 3hx3k9ds81-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 18 Aug 2022 11:12:17 +0000 Received: from d06av25.portsmouth.uk.ibm.com (d06av25.portsmouth.uk.ibm.com [9.149.105.61]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 27IBCFBm24117694 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 18 Aug 2022 11:12:15 GMT Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 9255011C050; Thu, 18 Aug 2022 11:12:15 +0000 (GMT) Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id B130111C04C; Thu, 18 Aug 2022 11:12:12 +0000 (GMT) Received: from [9.109.198.207] (unknown [9.109.198.207]) by d06av25.portsmouth.uk.ibm.com (Postfix) with ESMTP; Thu, 18 Aug 2022 11:12:12 +0000 (GMT) Message-ID: <07a21891-1571-95ac-8afd-93ff1b92ef4b@linux.vnet.ibm.com> Date: Thu, 18 Aug 2022 16:42:11 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH 05/16] powerpc: Skip objtool from running on drivers/crypto/vmx/aesp8-ppc.o Content-Language: en-US To: Christophe Leroy , "linuxppc-dev@lists.ozlabs.org" Cc: "jpoimboe@redhat.com" , "peterz@infradead.org" , "linux-kernel@vger.kernel.org" , "aik@ozlabs.ru" , "mpe@ellerman.id.au" , "mingo@redhat.com" , "rostedt@goodmis.org" , "mbenes@suse.cz" , "npiggin@gmail.com" , "chenzhongjin@huawei.com" , "linux-arm-kernel@lists.infradead.org" , "naveen.n.rao@linux.vnet.ibm.com" , Sathvika Vasireddy References: <20220808114908.240813-1-sv@linux.ibm.com> <20220808114908.240813-6-sv@linux.ibm.com> From: Sathvika Vasireddy In-Reply-To: X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: u77vzHn5j6OLoMBp3u99w8-jXYTOmXBn X-Proofpoint-GUID: I7V-918uXgSUN3wJksp4lQ7YQiYuCSZl X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.517,FMLib:17.11.122.1 definitions=2022-08-18_12,2022-08-18_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 phishscore=0 impostorscore=0 mlxscore=0 priorityscore=1501 mlxlogscore=999 malwarescore=0 clxscore=1015 lowpriorityscore=0 bulkscore=0 spamscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2207270000 definitions=main-2208180038 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220818_041233_467979_81FF4258 X-CRM114-Status: GOOD ( 18.34 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: base64 Content-Type: text/plain; charset="utf-8"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Ck9uIDEwLzA4LzIyIDE0OjA0LCBDaHJpc3RvcGhlIExlcm95IHdyb3RlOgo+Cj4gTGUgMDgvMDgv MjAyMiDDoCAxMzo0OCwgU2F0aHZpa2EgVmFzaXJlZGR5IGEgw6ljcml0wqA6Cj4+IFdpdGggb2Jq dG9vbCBlbmFibGVkLCBiZWxvdyB3YXJuaW5ncyBhcmUgc2VlbiB3aGVuIHRyeWluZyB0byBidWls ZDoKPj4KPj4gZHJpdmVycy9jcnlwdG8vdm14L2Flc3A4LXBwYy5vOiB3YXJuaW5nOiBvYmp0b29s OiBhZXNfcDhfc2V0X2VuY3J5cHRfa2V5KzB4NDQ6IHVuYW5ub3RhdGVkIGludHJhLWZ1bmN0aW9u IGNhbGwKPj4KPj4gZHJpdmVycy9jcnlwdG8vdm14L2Flc3A4LXBwYy5vOiB3YXJuaW5nOiBvYmp0 b29sOiAudGV4dCsweDI0NDg6IHVuYW5ub3RhdGVkIGludHJhLWZ1bmN0aW9uIGNhbGwKPj4KPj4g ZHJpdmVycy9jcnlwdG8vdm14L2Flc3A4LXBwYy5vOiB3YXJuaW5nOiBvYmp0b29sOiAudGV4dCsw eDJkNjg6IHVuYW5ub3RhdGVkIGludHJhLWZ1bmN0aW9uIGNhbGwKPj4KPj4gU2tpcCBvYmp0b29s IGZyb20gcnVubmluZyBvbiB0aGlzIGZpbGUsIGFzCj4+IHRoZXJlIGFyZSBubyBjYWxscyB0byBf bWNvdW50Lgo+IFdoeSBub3QgZml4IGl0IHRoZSBzYW1lIHdheSBhcyBmb3Igb3RoZXIgZmlsZXMg PyBQbGVhc2UgZXhwbGFpbi4KRm9yIHR3byBtYWluIHJlYXNvbnM6CgoxLiBTaW5jZSB0aGlzIGZp bGUgY29tZXMgZnJvbSBPcGVuU1NMLCBhbmQgc2luY2UgaXQgaXMgYSBwZXJsIGZpbGUgd2hpY2gg CmdlbmVyYXRlcyBhIC5TIGZpbGUswqAgaXQgbWF5IG5vdAogwqDCoMKgIGJlIHRoZSBiZXN0IGNo b2ljZSB0byBtYWtlIHRvbyBtYW55IGNvZGUgY2hhbmdlcyB0byBzdWNoIGZpbGVzLCAKdW5sZXNz IGFic29sdXRlbHkgbmVjZXNzYXJ5LgoKMi4gU2Vjb25kIHJlYXNvbiBpcyB0aGF0LCBhdCBsZWFz dCBhcyBmYXIgYXMgdGhlIG9ianRvb2wgLS1tY291bnQgCmZ1bmN0aW9uYWxpdHkgaXMgY29uY2Vy bmVkLCB3ZSBkbyBub3QKIMKgwqDCoCBoYXZlIHRvIHJ1biBvYmp0b29sIG9uIHRoYXQgZmlsZSBi ZWNhdXNlIHRoYXQgZmlsZSBkb2VzIG5vdCBoYXZlIAphbnkgY2FsbHMgdG8gX21jb3VudC4KPgo+ PiBTaWduZWQtb2ZmLWJ5OiBTYXRodmlrYSBWYXNpcmVkZHkgPHN2QGxpbnV4LmlibS5jb20+Cj4+ IC0tLQo+PiAgICBkcml2ZXJzL2NyeXB0by92bXgvTWFrZWZpbGUgfCAyICsrCj4+ICAgIDEgZmls ZSBjaGFuZ2VkLCAyIGluc2VydGlvbnMoKykKPj4KPj4gZGlmZiAtLWdpdCBhL2RyaXZlcnMvY3J5 cHRvL3ZteC9NYWtlZmlsZSBiL2RyaXZlcnMvY3J5cHRvL3ZteC9NYWtlZmlsZQo+PiBpbmRleCAy NTYwY2ZlYTFkZWMuLjdiNDFmMGRhNjgwNyAxMDA2NDQKPj4gLS0tIGEvZHJpdmVycy9jcnlwdG8v dm14L01ha2VmaWxlCj4+ICsrKyBiL2RyaXZlcnMvY3J5cHRvL3ZteC9NYWtlZmlsZQo+PiBAQCAt OSwzICs5LDUgQEAgdGFyZ2V0cyArPSBhZXNwOC1wcGMuUyBnaGFzaHA4LXBwYy5TCj4+ICAgIAo+ PiAgICAkKG9iaikvYWVzcDgtcHBjLlMgJChvYmopL2doYXNocDgtcHBjLlM6ICQob2JqKS8lLlM6 ICQoc3JjKS8lLnBsIEZPUkNFCj4+ICAgIAkkKGNhbGwgaWZfY2hhbmdlZCxwZXJsKQo+PiArCj4+ ICtPQkpFQ1RfRklMRVNfTk9OX1NUQU5EQVJEX2Flc3A4LXBwYy5vIDo9IHkKCl9fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCmxpbnV4LWFybS1rZXJuZWwgbWFp bGluZyBsaXN0CmxpbnV4LWFybS1rZXJuZWxAbGlzdHMuaW5mcmFkZWFkLm9yZwpodHRwOi8vbGlz dHMuaW5mcmFkZWFkLm9yZy9tYWlsbWFuL2xpc3RpbmZvL2xpbnV4LWFybS1rZXJuZWwK From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 88D19C00140 for ; Thu, 18 Aug 2022 11:12:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244317AbiHRLMp (ORCPT ); Thu, 18 Aug 2022 07:12:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36626 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243897AbiHRLMm (ORCPT ); Thu, 18 Aug 2022 07:12:42 -0400 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BCCC8A5706 for ; Thu, 18 Aug 2022 04:12:41 -0700 (PDT) Received: from pps.filterd (m0187473.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 27IAqCBj027648; Thu, 18 Aug 2022 11:12:21 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=m5xFRYbqQ/2lXXY1pQSEa2jDiReGuiBLzYwDkADrplE=; b=M2Bngfz7d4VqP77Src4wPCnEmqXKT6WT3sLE6z1uvfiwN6MlwzpD5Oy8ngDALfjJhGWj jbcWhmNcAVUNwpl0C2hYSea91OU3Cd7SqcVCf9NNXuEYi2gHpvE3KUeRvVHfstA4cRE5 yUlqqwxUHAmxDCYgXXIRZvRZdrOWPjZbyuqKMX1GS/RbJ1not/aP0PLTWrhPo3Q9wHS8 4vXVna0Yp7cTyyvLL9byM7QxiCcMd23Y+CsBs2oEmxL+gQ2o/AFrmqURsEJTVNwowVJu H7qcOGbI2PAoHjVU/UJLbRMYIBjajQS7jwONe0BdytPOanCttGSXlfa93vdo349+w7F2 IA== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3j1m250jq8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 18 Aug 2022 11:12:21 +0000 Received: from m0187473.ppops.net (m0187473.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 27IArAwY030058; Thu, 18 Aug 2022 11:12:20 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 3j1m250jpc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 18 Aug 2022 11:12:20 +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 27IB6ctP004824; Thu, 18 Aug 2022 11:12:18 GMT Received: from b06cxnps4076.portsmouth.uk.ibm.com (d06relay13.portsmouth.uk.ibm.com [9.149.109.198]) by ppma04ams.nl.ibm.com with ESMTP id 3hx3k9ds81-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 18 Aug 2022 11:12:17 +0000 Received: from d06av25.portsmouth.uk.ibm.com (d06av25.portsmouth.uk.ibm.com [9.149.105.61]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 27IBCFBm24117694 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 18 Aug 2022 11:12:15 GMT Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 9255011C050; Thu, 18 Aug 2022 11:12:15 +0000 (GMT) Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id B130111C04C; Thu, 18 Aug 2022 11:12:12 +0000 (GMT) Received: from [9.109.198.207] (unknown [9.109.198.207]) by d06av25.portsmouth.uk.ibm.com (Postfix) with ESMTP; Thu, 18 Aug 2022 11:12:12 +0000 (GMT) Message-ID: <07a21891-1571-95ac-8afd-93ff1b92ef4b@linux.vnet.ibm.com> Date: Thu, 18 Aug 2022 16:42:11 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH 05/16] powerpc: Skip objtool from running on drivers/crypto/vmx/aesp8-ppc.o Content-Language: en-US To: Christophe Leroy , "linuxppc-dev@lists.ozlabs.org" Cc: "jpoimboe@redhat.com" , "peterz@infradead.org" , "linux-kernel@vger.kernel.org" , "aik@ozlabs.ru" , "mpe@ellerman.id.au" , "mingo@redhat.com" , "rostedt@goodmis.org" , "mbenes@suse.cz" , "npiggin@gmail.com" , "chenzhongjin@huawei.com" , "linux-arm-kernel@lists.infradead.org" , "naveen.n.rao@linux.vnet.ibm.com" , Sathvika Vasireddy References: <20220808114908.240813-1-sv@linux.ibm.com> <20220808114908.240813-6-sv@linux.ibm.com> From: Sathvika Vasireddy In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: u77vzHn5j6OLoMBp3u99w8-jXYTOmXBn X-Proofpoint-GUID: I7V-918uXgSUN3wJksp4lQ7YQiYuCSZl X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.517,FMLib:17.11.122.1 definitions=2022-08-18_12,2022-08-18_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 phishscore=0 impostorscore=0 mlxscore=0 priorityscore=1501 mlxlogscore=999 malwarescore=0 clxscore=1015 lowpriorityscore=0 bulkscore=0 spamscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2207270000 definitions=main-2208180038 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/08/22 14:04, Christophe Leroy wrote: > > Le 08/08/2022 à 13:48, Sathvika Vasireddy a écrit : >> With objtool enabled, below warnings are seen when trying to build: >> >> drivers/crypto/vmx/aesp8-ppc.o: warning: objtool: aes_p8_set_encrypt_key+0x44: unannotated intra-function call >> >> drivers/crypto/vmx/aesp8-ppc.o: warning: objtool: .text+0x2448: unannotated intra-function call >> >> drivers/crypto/vmx/aesp8-ppc.o: warning: objtool: .text+0x2d68: unannotated intra-function call >> >> Skip objtool from running on this file, as >> there are no calls to _mcount. > Why not fix it the same way as for other files ? Please explain. For two main reasons: 1. Since this file comes from OpenSSL, and since it is a perl file which generates a .S file,  it may not     be the best choice to make too many code changes to such files, unless absolutely necessary. 2. Second reason is that, at least as far as the objtool --mcount functionality is concerned, we do not     have to run objtool on that file because that file does not have any calls to _mcount. > >> Signed-off-by: Sathvika Vasireddy >> --- >> drivers/crypto/vmx/Makefile | 2 ++ >> 1 file changed, 2 insertions(+) >> >> diff --git a/drivers/crypto/vmx/Makefile b/drivers/crypto/vmx/Makefile >> index 2560cfea1dec..7b41f0da6807 100644 >> --- a/drivers/crypto/vmx/Makefile >> +++ b/drivers/crypto/vmx/Makefile >> @@ -9,3 +9,5 @@ targets += aesp8-ppc.S ghashp8-ppc.S >> >> $(obj)/aesp8-ppc.S $(obj)/ghashp8-ppc.S: $(obj)/%.S: $(src)/%.pl FORCE >> $(call if_changed,perl) >> + >> +OBJECT_FILES_NON_STANDARD_aesp8-ppc.o := y