| 
    
 [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v3 10/17] xen/arm64: Add ARM_SMCCC_ARCH_WORKAROUND_1 BP hardening support
 Hi Stefano, On 21/02/2018 00:35, Stefano Stabellini wrote: On Thu, 15 Feb 2018, Julien Grall wrote: Both are valid. It depends how you consider the workflow here. If you return: - true: You say that this helper already took care of that CPU. So no need to continue further. - false: This CPU does not match, let's fallback to a different method. That method will bailout later (see install_bp_hardening_vec). I choose the latte because the SMCCC workaround is considered as an alternative method. So we want to fallback to the other one if it does not work at the cost of few extra instructions. But that's boot and going to be reworked in patch #11. Indeed this is just a temporary solution to plumb the new hardening method before we kill the PSCI_GET_VERSION one. Cheers, -- Julien Grall _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel 
 
 
  | 
  
![]()  | 
            
         Lists.xenproject.org is hosted with RackSpace, monitoring our  |