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

[xen master] xen/arm: print update firmware only once



commit 27addcca155744a18e908f2d6306f107b0a133de
Author:     Bertrand Marquis <bertrand.marquis@xxxxxxx>
AuthorDate: Wed Oct 7 12:05:44 2020 +0100
Commit:     Julien Grall <jgrall@xxxxxxxxxx>
CommitDate: Thu Oct 15 15:33:17 2020 +0100

    xen/arm: print update firmware only once
    
    Fix enable_smccc_arch_workaround_1 to only print the warning asking to
    update the firmware once.
    
    Fixes: 976319fa3de7 ("xen/arm64: Kill PSCI_GET_VERSION as a variant-2 
workaround")
    Signed-off-by: Bertrand Marquis <bertrand.marquis@xxxxxxx>
    Reviewed-by: Julien Grall <jgrall@xxxxxxxxxx>
    Acked-by: Stefano Stabellini <sstabellini@xxxxxxxxxx>
---
 xen/arch/arm/cpuerrata.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xen/arch/arm/cpuerrata.c b/xen/arch/arm/cpuerrata.c
index 6c09017515..0c63dfa779 100644
--- a/xen/arch/arm/cpuerrata.c
+++ b/xen/arch/arm/cpuerrata.c
@@ -187,7 +187,7 @@ warn:
         ASSERT(system_state < SYS_STATE_active);
         warning_add("No support for ARM_SMCCC_ARCH_WORKAROUND_1.\n"
                     "Please update your firmware.\n");
-        warned = false;
+        warned = true;
     }
 
     return 0;
--
generated by git-patchbot for /home/xen/git/xen.git#master



 


Rackspace

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