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

Re: [Xen-devel] [PATCH 4/5] xen/arm64: Add skeleton to harden the branch predictor aliasing attacks



Hi Stefano,

On 17/01/18 18:26, Stefano Stabellini wrote:
On Tue, 16 Jan 2018, Julien Grall wrote:
diff --git a/xen/include/asm-arm/cpuerrata.h b/xen/include/asm-arm/cpuerrata.h
index 7de68361ff..23ebf367ea 100644
--- a/xen/include/asm-arm/cpuerrata.h
+++ b/xen/include/asm-arm/cpuerrata.h
@@ -1,6 +1,7 @@
  #ifndef __ARM_CPUERRATA_H__
  #define __ARM_CPUERRATA_H__
+#include <xen/percpu.h>

This doesn't seem to be necessary?

You are right. My original plan was based on Linux which use per-cpu variable. But I scratched that as it was possible to simplify the code.

I will send a patch to remove it.

Cheers,

--
Julien Grall

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

 


Rackspace

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