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

[Minios-devel] [UNIKRAFT PATCH 06/22] plat/common: Use correct dsb operation flag for Arm64


  • To: <minios-devel@xxxxxxxxxxxxxxxxxxxx>, <simon.kuenzer@xxxxxxxxx>
  • From: Wei Chen <wei.chen@xxxxxxx>
  • Date: Thu, 8 Nov 2018 09:51:37 +0000
  • Authentication-results: spf=pass (sender IP is 40.67.248.234) smtp.mailfrom=arm.com; lists.xenproject.org; dkim=none (message not signed) header.d=none;lists.xenproject.org; dmarc=bestguesspass action=none header.from=arm.com;
  • Cc: Kaly.Xin@xxxxxxx, nd@xxxxxxx, wei.chen@xxxxxxx
  • Delivery-date: Thu, 08 Nov 2018 09:52:23 +0000
  • List-id: Mini-os development list <minios-devel.lists.xenproject.org>
  • Nodisclaimer: True
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

Before MMU turn on, the DSB operation only need to apply out
to the point of unification.

Signed-off-by: Wei Chen <wei.chen@xxxxxxx>
---
 plat/common/arm/cache64.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plat/common/arm/cache64.S b/plat/common/arm/cache64.S
index 9962d71..bada417 100644
--- a/plat/common/arm/cache64.S
+++ b/plat/common/arm/cache64.S
@@ -58,7 +58,7 @@ ENTRY(clean_and_invalidate_dcache_range)
 1:
        /* clean and invalidate D cache by D cache line size */
        dc      civac, x0
-       dsb     ish
+       dsb     nsh
 
        /* Move to next line and reduce the size */
        add     x0, x0, x3
-- 
2.17.1


_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

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