From nobody Sat Nov 23 00:14:02 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1715717878; cv=none; d=zohomail.com; s=zohoarc; b=dJ9HBAgnieYfeAHruzyrR19TxwsRHahtW3vmU+SyyXgZLLpiihbXtBon0Uz/vGOZOnPNpse/JNp14gz4Mbo8LsqWH8MX+oxtSDueOonOGC2cal3oiP9s5OEh87zJ/Pxso+pVGNewwLQSVo8i37RxT4d5PDXp5ofXQP0D7iwJ0pE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1715717878; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=QODbdNtYx//N7B7NxU/Urb2ggSQNvaYVgLtnma262hw=; b=Qy0nGuMQfB1YGLzskQ57XqejOBXAAPHbMBPZuZZwk40MwVuRv8Ytl3yH3X5YXwDlr66b0fFFRWK0M5Uy6m61xQaxgTyrvtXX0qVW+ljNHp5R+TE6RPt6TOKICXRjqq4zCn/lQTN0V1CLf0ulETcjIiHwg3xZJsaLY+Irf1JHvrE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1715717878312388.3546996363217; Tue, 14 May 2024 13:17:58 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.721730.1125352 (Exim 4.92) (envelope-from ) id 1s6yai-0003Ib-Bs; Tue, 14 May 2024 20:17:40 +0000 Received: by outflank-mailman (output) from mailman id 721730.1125352; Tue, 14 May 2024 20:17:40 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1s6yai-0003IS-96; Tue, 14 May 2024 20:17:40 +0000 Received: by outflank-mailman (input) for mailman id 721730; Tue, 14 May 2024 20:17:38 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1s6yag-0002pc-OM for xen-devel@lists.xenproject.org; Tue, 14 May 2024 20:17:38 +0000 Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [2a00:1450:4864:20::42e]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 022e98eb-122f-11ef-909d-e314d9c70b13; Tue, 14 May 2024 22:17:38 +0200 (CEST) Received: by mail-wr1-x42e.google.com with SMTP id ffacd0b85a97d-34db6a29998so4736553f8f.0 for ; Tue, 14 May 2024 13:17:38 -0700 (PDT) Received: from gmail.com ([213.0.35.158]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3502baacfdesm14649479f8f.73.2024.05.14.13.17.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 May 2024 13:17:35 -0700 (PDT) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 022e98eb-122f-11ef-909d-e314d9c70b13 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715717857; x=1716322657; darn=lists.xenproject.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=QODbdNtYx//N7B7NxU/Urb2ggSQNvaYVgLtnma262hw=; b=b2WRmEMnJ5/HYPe/Vsnn8Cv6P4ryc4vRfepLZBSToq5QtgBHliENdzTiEmFF5dMfB4 hxNT1JZB4w6OFiV48WZegb7CpSoLlXx6r4WiVKmaud5XRYt+tPsP2nm4a1FtMTY9AYRd 1wXFa3/6fivvuzmA7UJUbJ97wlKzCAuv1JIvkZwkLouq0AK/ZbZRGfekM+GeYbQxwK2D tq3/W6Ly2ctc1SDYqDD6boePr7rMLy/xsjbHAIi3U8sztKJMnyVZFYL8j/3diN5QxSJ5 mIkPmrtbAyKcIGsvGbz45+cAYsX0bwT4ZpyumqHKf9VXWyHmGUlHFi5VAdxYtyHjgMUa t0sQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715717857; x=1716322657; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=QODbdNtYx//N7B7NxU/Urb2ggSQNvaYVgLtnma262hw=; b=wbu74hm/zIy4SOlhGW5mTzqiBCwskaejVyvrp3YAjPhrK/dfj74bOZpgjqdDZwjKHN LRDuisvGVN8sWFsvVjwevHq3tqv79Rn6CbpvLFSXxEi+6spqKGuwDQFPXEtRXWLxadwl IKyc/ILX5CCdolzow/RrTx+wi2tOJiDLkSIHOpCIEIkDYFyQsyY/sZhHPeL8TEp5idUq mFSovniqwQ1VIxB4JGO8JkUon9D8o1+ZZwGlvifpDqqNh7GakXicTTIDY0TaeQEZ4JJK AHAZpmLM99AsrOw+xC6BzIQDy0tdMwHC8fXXNaesyVelYnaW4o7YXcZdTTsvJZeLp1Qp 9ZBw== X-Gm-Message-State: AOJu0YxeRBLwApF6CvqmPQNUMdsDSS00fWMP47ACO4VxcrO2HfpQ3sju jJlPbedZlXkvVY/1uXPsYEohtZqnEynia3xkWA21YoW5VzcL6jQz7INpDUAy2dE= X-Google-Smtp-Source: AGHT+IHpd7msz+LqA1MbybkOFxoKsVL/RYXHvO49nMw1p4/Qd434paujy0JPmUhMPHj+Sv1rXxQIhg== X-Received: by 2002:a5d:58ce:0:b0:343:dc46:bb4b with SMTP id ffacd0b85a97d-3504aa62e41mr9383601f8f.59.1715717856670; Tue, 14 May 2024 13:17:36 -0700 (PDT) From: "Edgar E. Iglesias" To: xen-devel@lists.xenproject.org Cc: sstabellini@kernel.org, julien@xen.org, bertrand.marquis@arm.com, michal.orzel@amd.com, Volodymyr_Babchuk@epam.com, jbeulich@suse.com, andrew.cooper3@citrix.com, edgar.iglesias@amd.com Subject: [PATCH v4 2/9] xen/arm64: smc: Add missing code symbol annotations Date: Sat, 4 May 2024 13:55:07 +0200 Message-Id: <20240504115514.1063509-3-edgar.iglesias@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240504115514.1063509-1-edgar.iglesias@gmail.com> References: <20240504115514.1063509-1-edgar.iglesias@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @gmail.com) X-ZM-MESSAGEID: 1715717880363100001 Content-Type: text/plain; charset="utf-8" From: "Edgar E. Iglesias" Use the generic xen/linkage.h macros to annotate code symbols and add missing annotations. Signed-off-by: Edgar E. Iglesias Reviewed-by: Stefano Stabellini --- xen/arch/arm/arm64/smc.S | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/xen/arch/arm/arm64/smc.S b/xen/arch/arm/arm64/smc.S index fc6b676e2e..68b05e8ddd 100644 --- a/xen/arch/arm/arm64/smc.S +++ b/xen/arch/arm/arm64/smc.S @@ -19,7 +19,7 @@ * register_t a6, register_t a7, * struct arm_smccc_res *res) */ -ENTRY(__arm_smccc_1_0_smc) +FUNC(__arm_smccc_1_0_smc) smc #0 ldr x4, [sp] cbz x4, 1f /* No need to store the result */ @@ -27,12 +27,13 @@ ENTRY(__arm_smccc_1_0_smc) stp x2, x3, [x4, #SMCCC_RES_a2] 1: ret +END(__arm_smccc_1_0_smc) =20 /* * void arm_smccc_1_2_smc(const struct arm_smccc_1_2_regs *args, * struct arm_smccc_1_2_regs *res) */ -ENTRY(arm_smccc_1_2_smc) +FUNC(arm_smccc_1_2_smc) /* Save `res` and free a GPR that won't be clobbered by SMC call */ stp x1, x19, [sp, #-16]! =20 @@ -69,3 +70,4 @@ ENTRY(arm_smccc_1_2_smc) /* Restore original x19 */ ldp xzr, x19, [sp], #16 ret +END(arm_smccc_1_2_smc) --=20 2.40.1