xen/arm: domain_build: Add PSCI 1.0 compatibility
PATCH v2 1/1 xen/arm: domain_build: Add PSCI 1.0 compatibility
Xen needs to blacklist any PSCI node as it will be recreated for DOM0. Up to now, this was done only for arm,psci and arm,psci-0.2 compatible nodes. Add PSCI 1.0 compatibility to make device tree nodes with
compatible = "arm,psci-1.0";
blacklisted, too
--- xen/arch/arm/domain_build.c | 1 + 1 file changed, 1 insertion(+)
xen/arch/arm/domain_build.c +1 -0
@@ -1190,6 +1190,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,psci-1.0" ),DT_MATCH_COMPATIBLE ("arm,cortex-a7-pmu" ),DT_MATCH_COMPATIBLE ("arm,cortex-a15-pmu" ), DT_MATCH_COMPATIBLE("arm,armv8-pmuv3"),
Signature · 7 lines
2.8.0 _______________________________________________ Xen-devel mailing list [email protected] http://lists.xen.org/xen-devel
(CC Wei for release-ack)
Hello Dirk,
Quoted 9 lines · Dirk Behme
Xen needs to blacklist any PSCI node as it will be recreated for DOM0. Up to now, this was done only for arm,psci and arm,psci-0.2 compatible nodes. Add PSCI 1.0 compatibility to make device tree nodes with
compatible = "arm,psci-1.0";
blacklisted, too
Signed-off-by Dirk Behme <[email protected]>
I think this is a bug fix for Xen 4.7. The impact is very limited and will help to boot Xen on platform when only PSCI 1.0 is supported.
The patch should also be backported to Xen 4.6 where the support of PSCI 1.0 has been added for the first time.
Regards,
Quoted 17 lines
--- xen/arch/arm/domain_build.c | 1 + 1 file changed, 1 insertion(+)xen/arch/arm/domain_build.c +1
-0@@ -1190,6 +1190,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,psci-1.0" ),DT_MATCH_COMPATIBLE ("arm,cortex-a7-pmu" ),DT_MATCH_COMPATIBLE ("arm,cortex-a15-pmu" ), DT_MATCH_COMPATIBLE("arm,armv8-pmuv3"),
Signature · 6 lines
Julien Grall _______________________________________________ Xen-devel mailing list [email protected] http://lists.xen.org/xen-devel
Quoted 11 lines · Julien Grall
(CC Wei for release-ack)
Hello Dirk,
Quoted 6 lines · Dirk Behme
Xen needs to blacklist any PSCI node as it will be recreated for DOM0. Up to now, this was done only for arm,psci and arm,psci-0.2 compatible nodes. Add PSCI 1.0 compatibility to make device tree nodes with
compatible = "arm,psci-1.0";
Quoted 9 lines
Quoted 3 lines
blacklisted, too
Signed-off-by Dirk Behme <[email protected]>Acked-by Julien Grall <[email protected]>I think this is a bug fix for Xen 4.7. The impact is very limited and will help to boot Xen on platform when only PSCI 1.0 is supported.
Quoted 9 lines
The patch should also be backported to Xen 4.6 where the support of PSCI 1.0 has been added for the first time.
Regards,
Quoted 4 lines
--- xen/arch/arm/domain_build.c | 1 + 1 file changed, 1 insertion(+)
Quoted 16 lines
Quoted 13 lines
xen/arch/arm/domain_build.c +1
-0@@ -1190,6 +1190,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,psci-1.0" ),DT_MATCH_COMPATIBLE ("arm,cortex-a7-pmu" ),DT_MATCH_COMPATIBLE ("arm,cortex-a15-pmu" ), DT_MATCH_COMPATIBLE("arm,armv8-pmuv3"),Signature · 1 line
Julien Grall
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 16 lines · Wei Liu
Quoted 15 lines · Julien Grall
(CC Wei for release-ack)
Hello Dirk,
Quoted 9 lines · Dirk Behme
Xen needs to blacklist any PSCI node as it will be recreated for DOM0. Up to now, this was done only for arm,psci and arm,psci-0.2 compatible nodes. Add PSCI 1.0 compatibility to make device tree nodes with
compatible = "arm,psci-1.0";
blacklisted, too
Signed-off-by Dirk Behme <[email protected]>
Quoted 7 lines
Quoted 5 lines
Acked-by Julien Grall <[email protected]>I think this is a bug fix for Xen 4.7. The impact is very limited and will help to boot Xen on platform when only PSCI 1.0 is supported.
Release-acked-by Wei Liu <[email protected]>
committed to staging
Quoted 9 lines
Quoted 9 lines
The patch should also be backported to Xen 4.6 where the support of PSCI 1.0 has been added for the first time.
Regards,
Quoted 4 lines
--- xen/arch/arm/domain_build.c | 1 + 1 file changed, 1 insertion(+)
Quoted 17 lines
Quoted 5 lines
Quoted 5 lines
xen/arch/arm/domain_build.c +0
-0@@ -1190,6 +1190,7 @@ static int handle_node(struct domain *d, struct kernel_info *kinfo,Quoted 11 lines
Quoted 8 lines
xen/arch/arm/domain_build.c +1
-0DT_MATCH_COMPATIBLE ("multiboot,module" ),DT_MATCH_COMPATIBLE ("arm,psci" ),DT_MATCH_COMPATIBLE ("arm,psci-0.2" ), +DT_MATCH_COMPATIBLE ("arm,psci-1.0" ),DT_MATCH_COMPATIBLE ("arm,cortex-a7-pmu" ),DT_MATCH_COMPATIBLE ("arm,cortex-a15-pmu" ), DT_MATCH_COMPATIBLE("arm,armv8-pmuv3"),Signature · 1 line
Julien Grall
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 15 lines · Julien Grall
(CC Wei for release-ack)
Hello Dirk,
Quoted 9 lines · Dirk Behme
Xen needs to blacklist any PSCI node as it will be recreated for DOM0. Up to now, this was done only for arm,psci and arm,psci-0.2 compatible nodes. Add PSCI 1.0 compatibility to make device tree nodes with
compatible = "arm,psci-1.0";
blacklisted, too
Signed-off-by Dirk Behme <[email protected]>
Quoted 7 lines
Acked-by Julien Grall <[email protected]>I think this is a bug fix for Xen 4.7. The impact is very limited and will help to boot Xen on platform when only PSCI 1.0 is supported.
The patch should also be backported to Xen 4.6 where the support of PSCI 1.0 has been added for the first time.
Hmmm, I messed up my tig command line. The support of PSCI v1.0 is only in Xen 4.7. So there is no need to backport this patch.
Regards,
Signature · 6 lines
Julien Grall _______________________________________________ Xen-devel mailing list [email protected] http://lists.xen.org/xen-devel