[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] xen/arm: mpu: Use new-style annotations


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Michal Orzel <michal.orzel@xxxxxxx>
  • Date: Wed, 2 Apr 2025 11:02:29 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0)
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=sX+21THbZg5jhNxFuhk1wSJWXSVAeYR+tivHug6ydRI=; b=ZqZrcXRy2PToaP56Nst/VNM1mQS+0P+LC/9Os60Ea/s4lG0XrV49DzJmoBJk7fXU/KPpSxPi0oFQnLf9mSebOUH/214EIkPRPHP/UwTgSqRJAKklYBGJMZR/Yx6MNa/tbY5qznY69opsO2cvgeYeaUrkFVk0h66GtoBEZmjICjtR4QtwFc42LZNkxbQ7WddZ4RudqOyvc3O2TGSCgB2Jp53mZ2MinL8DMzcKwLcFdpYKC2V2eUDMnbWaa0kI92q+HIddf02xo6Z0gsHfJ1Wkn+BAUGBs9HdM4BMrgYvI8tuAYV0wO5gCPlQqzonfYakGPjeNIqgjl5J8Tiy1sh/KNg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=unESOFCyjNMIeKkyB04DxrHZFQR3kFBCmI0DXsSWqo8oS22VOzeGrjMdNUJU10WqVcNwu28/tHSkd9GRL06AkzHZe3wmH92nZg51n6oTwXSNBRb4MCDNbE7nOuvobJOQN43Stu83QiJenqSfSv8eBcKy/lS4SZxMQE5woJ5eOGUsEgJxs7gJicGAcG5DZYIswMBJxSf2P3vJEyixi5+knHMkUsf/ST+BX94YdsGBPezXFZ9k3b/R+PFw6g2H1oRiH/PIfVGbn4oAPMdm8vQjcms5j81Vqu6D5SuH5fI62D2vpyS7YBqnKxEIElNuGlTGK/f8hRevXqrhC4XY+0wTCg==
  • Cc: Michal Orzel <michal.orzel@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>
  • Delivery-date: Wed, 02 Apr 2025 09:02:44 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

When purging old-style annotations, MPU code was left unmodified. Fix
it.

Fixes: 221c66f4f2a4 ("Arm: purge ENTRY(), ENDPROC(), and ALIGN")
Signed-off-by: Michal Orzel <michal.orzel@xxxxxxx>
---
I found the issue when applying Luca series to be commited enabling MPU on
Arm64 build. This patch is a prerequisite for it.
---
 xen/arch/arm/arm64/mpu/head.S | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/xen/arch/arm/arm64/mpu/head.S b/xen/arch/arm/arm64/mpu/head.S
index 4d00de4869af..ed01993d8556 100644
--- a/xen/arch/arm/arm64/mpu/head.S
+++ b/xen/arch/arm/arm64/mpu/head.S
@@ -158,11 +158,11 @@ END(enable_boot_cpu_mm)
  * We don't yet support secondary CPUs bring-up. Implement a dummy helper to
  * please the common code.
  */
-ENTRY(enable_secondary_cpu_mm)
+FUNC(enable_secondary_cpu_mm)
     PRINT("- SMP not enabled yet -\r\n")
 1:  wfe
     b 1b
-ENDPROC(enable_secondary_cpu_mm)
+END(enable_secondary_cpu_mm)
 
 /*
  * Local variables:
-- 
2.25.1




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.