Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2639698rwl; Mon, 27 Mar 2023 03:12:48 -0700 (PDT) X-Google-Smtp-Source: AKy350Z+0LVnPexjFTaZ554uaZ+keztk4gNO3nh/xfX7MUqzVl93WJzTSkZGXXVfyof8gNwzQc81 X-Received: by 2002:a17:902:d10c:b0:1a0:5524:eb8e with SMTP id w12-20020a170902d10c00b001a05524eb8emr9246285plw.68.1679911968468; Mon, 27 Mar 2023 03:12:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679911968; cv=none; d=google.com; s=arc-20160816; b=nRWCfltniQvS8KWk/GIq9fewiT1qKSdvnabViLZks3SgbJc9g1QS9zDHwNTExvd/4t o9GKf0zD8l/G2ZsZ4LqWYBWTXYjKPWSyq5zeCPSfu4irYgJqP8Zr356QAzsk7O1n+Kxn yBFoBOwLFG0IHviw4FNU+rCJVQ0KJdhHhGJ/s1fPanrwNvsEKg3C2fx7GzgFFrs2D7I5 lbrCUUxBsKj1kZTyflLpEPgBjbCiNPkeLtRrOuYEwT12r6mpzTyVLxAFjEu6RxnxVBR1 wg8XqsOipCrOct5WLIxl2ls5XZWxalhx7RLLiCFS45ARxl044aRtGcc7aph6fLB2WS1R hEow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=/W5deOdsFgWeGXmULFNjF9JgASqMyj1Umh0xpdv/GbQ=; b=tZT7y4MXHU+7LEz4njlTy9egm8xxpWKiMTIpsZcYNtz61x5UyfxWebNczpJKEY7Sec mFlbvC57DLAmznD2oo67ngsQENfJrq7AffowhXh/UWpzkWuFIlNeCsGNZ8io1LhFQcyp rHoeMjuCzMUoGhAXYqKpcCytsua0zG1oneYL0CG6AHgfS9D8UcNtVC6VQxW6EXRuqm0X CQWesbucKc5JPS7iuEZbIG8GCsXIbtNI51s+/CwMMEd4yUoxXnhCbimqD0gV4J3NJ6Av R33Ff0YrpnVkQF38KK/9U/vtKZUDae01DiG26FA3On3ViJcDfPDYxZVkMxCzL3HaY9jO sSeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=LwUvoXtV; 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=REJECT 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 lf5-20020a170902fb4500b001945ff85d7asi25266585plb.357.2023.03.27.03.12.36; Mon, 27 Mar 2023 03:12:48 -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=LwUvoXtV; 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=REJECT sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232881AbjC0KEg (ORCPT + 99 others); Mon, 27 Mar 2023 06:04:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232377AbjC0KEf (ORCPT ); Mon, 27 Mar 2023 06:04:35 -0400 Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7EB8C422D for ; Mon, 27 Mar 2023 03:04:34 -0700 (PDT) Received: from pps.filterd (m0098416.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 32R95vDm022639; Mon, 27 Mar 2023 10:04:24 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding; s=pp1; bh=/W5deOdsFgWeGXmULFNjF9JgASqMyj1Umh0xpdv/GbQ=; b=LwUvoXtVV+G+k7mQ8hFLox22fALJiG9sjzMcAvIXJDFX+p2qKkt+nLS2b85ImoaUjPrj qqBwHiAn0SdWEiuMa9ceesFR5VDU5FsOCsDIHhvcyn3h5JMhZbdhqm4fnOoIgqipmCNM WBZ7vsME+uwCLPb4pOUpWL7dwAZH2ZDgjCSgFKtPnpc5hSLT+OUxeHEa1VMkkRwJfbXw CtykRmC7k5BcRLsBL50ub5OJg+UdQ5UKgiJpMD+LwEBb/BSu68NNXd++1onGqtrGV3ly 24votjIv8Lyi5m9q75gics/EUQN10DLk2YImiuwYTahD7/FX0Z8RlIEwPvgv8uplwuQh gQ== Received: from pps.reinject (localhost [127.0.0.1]) by mx0b-001b2d01.pphosted.com (PPS) with ESMTPS id 3pjb42ku3m-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 27 Mar 2023 10:04:23 +0000 Received: from m0098416.ppops.net (m0098416.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 32R9gTSk030754; Mon, 27 Mar 2023 10:04:23 GMT Received: from ppma06fra.de.ibm.com (48.49.7a9f.ip4.static.sl-reverse.com [159.122.73.72]) by mx0b-001b2d01.pphosted.com (PPS) with ESMTPS id 3pjb42ku30-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 27 Mar 2023 10:04:23 +0000 Received: from pps.filterd (ppma06fra.de.ibm.com [127.0.0.1]) by ppma06fra.de.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 32R0uMkL023253; Mon, 27 Mar 2023 10:04:21 GMT Received: from smtprelay05.fra02v.mail.ibm.com ([9.218.2.225]) by ppma06fra.de.ibm.com (PPS) with ESMTPS id 3phr7ft9vg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 27 Mar 2023 10:04:21 +0000 Received: from smtpav01.fra02v.mail.ibm.com (smtpav01.fra02v.mail.ibm.com [10.20.54.100]) by smtprelay05.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 32RA4HT624183492 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 27 Mar 2023 10:04:18 GMT Received: from smtpav01.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id D6E042006E; Mon, 27 Mar 2023 10:04:17 +0000 (GMT) Received: from smtpav01.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 2B15420067; Mon, 27 Mar 2023 10:04:16 +0000 (GMT) Received: from r223l.aus.stglabs.ibm.com (unknown [9.3.109.14]) by smtpav01.fra02v.mail.ibm.com (Postfix) with ESMTP; Mon, 27 Mar 2023 10:04:15 +0000 (GMT) From: Kautuk Consul To: Michael Ellerman , Nicholas Piggin , Christophe Leroy , "Naveen N. Rao" , Sathvika Vasireddy , Alexey Kardashevskiy , Fabiano Rosas Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, Kautuk Consul Subject: [PATCH v4] arch/powerpc/kvm: kvmppc_hv_entry: remove .global scope Date: Mon, 27 Mar 2023 06:04:11 -0400 Message-Id: <20230327100411.3342194-1-kconsul@linux.vnet.ibm.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: mispF0Wx5_k-yPAxmn6qBJ6L2kNbNNdt X-Proofpoint-GUID: jh0v-fpjDlU0xVAvf7QAaqolE6lOpc54 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-24_11,2023-03-24_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 mlxlogscore=999 spamscore=0 clxscore=1015 bulkscore=0 mlxscore=0 lowpriorityscore=0 phishscore=0 priorityscore=1501 malwarescore=0 suspectscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2303270078 X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE autolearn=unavailable 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 kvmppc_hv_entry isn't called from anywhere other than book3s_hv_rmhandlers.S itself. Removing .global scope for this function and annotating it with SYM_CODE_START_LOCAL and SYM_CODE_END. Signed-off-by: Kautuk Consul --- arch/powerpc/kvm/book3s_hv_rmhandlers.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/kvm/book3s_hv_rmhandlers.S b/arch/powerpc/kvm/book3s_hv_rmhandlers.S index acf80915f406..0a9781192b86 100644 --- a/arch/powerpc/kvm/book3s_hv_rmhandlers.S +++ b/arch/powerpc/kvm/book3s_hv_rmhandlers.S @@ -502,8 +502,7 @@ END_FTR_SECTION_IFSET(CPU_FTR_ARCH_207S) * * *****************************************************************************/ -.global kvmppc_hv_entry -kvmppc_hv_entry: +SYM_CODE_START_LOCAL(kvmppc_hv_entry) /* Required state: * @@ -940,6 +939,7 @@ END_FTR_SECTION_IFSET(CPU_FTR_HAS_PPR) ld r4, VCPU_GPR(R4)(r4) HRFI_TO_GUEST b . +SYM_CODE_END(kvmppc_hv_entry) secondary_too_late: li r12, 0 -- 2.39.2