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

Re: [Xen-devel] [PATCH] xen: arm: Do not expose PMU to domain 0



Hi Ian,

On 04/06/2015 17:49, Ian Campbell wrote:
It uses a PPI which we cannot route to a guest, and will surely need
more support than just that anyway.

I noticed this on Mustang with UEFI where the built in DTB contains a
node of this type.

Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
---
  xen/arch/arm/domain_build.c |    1 +
  1 file changed, 1 insertion(+)

diff --git a/xen/arch/arm/domain_build.c b/xen/arch/arm/domain_build.c
index 1e545fe..8e87315 100644
--- a/xen/arch/arm/domain_build.c
+++ b/xen/arch/arm/domain_build.c
@@ -1105,6 +1105,7 @@ static int handle_node(struct domain *d, struct 
kernel_info *kinfo,
          DT_MATCH_COMPATIBLE("multiboot,module"),
          DT_MATCH_COMPATIBLE("arm,psci"),
          DT_MATCH_COMPATIBLE("arm,psci-0.2"),
+        DT_MATCH_COMPATIBLE("arm,armv8-pmuv3"),

Will you are here, can you blacklist at list "arm,cortex-a15-pmu" and "arm,cortex-a7-pmu"?

I suspect we would have the same problem with them.

Regards,

--
Julien Grall

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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