xen/arm: Re-add the Xilinx ZynqMP platform
cover xen/arm: Re-add the Xilinx ZynqMP platform
From: "Edgar E. Iglesias" <[email protected]>
We need to re-add the Xilinx ZynqMP platform with a blacklisted zynqmp-pm power management firmware API device. Long term we'll be looking at finding a way for this to work but this is likely to take a while. In the meantime, in order to keep recent kernels from panicing on boots we blacklist it (similar to what vexpress does).
Best regards,
Edgar
Edgar E. Iglesias (1):
xen/arm: Re-add the Xilinx ZynqMP platform
xen/arch/arm/platforms/Makefile | 1 + xen/arch/arm/platforms/xilinx-zynqmp.c | 47 ++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 xen/arch/arm/platforms/xilinx-zynqmp.c
Signature · 7 lines
2.5.0 _______________________________________________ Xen-devel mailing list [email protected] http://lists.xen.org/xen-devel
PATCH 1/1 xen/arm: Re-add the Xilinx ZynqMP platform
From: "Edgar E. Iglesias" <[email protected]>
Re-add the Xilinx ZynqMP platform. This time include a blacklisted zynqmp-pm (Power Management) device that does not yet play nicely with Xen.
--- xen/arch/arm/platforms/Makefile | 1 + xen/arch/arm/platforms/xilinx-zynqmp.c | 47 ++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 xen/arch/arm/platforms/xilinx-zynqmp.c
xen/arch/arm/platforms/Makefile +1 -0
@@ -7,3 +7,4 @@ obj-$(CONFIG_ARM_32) += sunxi.o obj-$(CONFIG_ARM_32) += rcar2.o obj-$(CONFIG_ARM_64) += seattle.o obj-$(CONFIG_ARM_64) += xgene-storm.o +obj-$(CONFIG_ARM_64) += xilinx-zynqmp.o
xen/arch/arm/platforms/xilinx-zynqmp.c new file +47 -0
47 lines not on this page · raw message
Signature · 7 lines
2.5.0 _______________________________________________ Xen-devel mailing list [email protected] http://lists.xen.org/xen-devel
Quoted 7 lines · Edgar E. Iglesias
From: "Edgar E. Iglesias" <[email protected]>
Re-add the Xilinx ZynqMP platform. This time include a blacklisted zynqmp-pm (Power Management) device that does not yet play nicely with Xen.
Signed-off-by Edgar E. Iglesias <[email protected]>
Quoted 70 lines
xen/arch/arm/platforms/Makefile | 1 + xen/arch/arm/platforms/xilinx-zynqmp.c | 47 ++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 xen/arch/arm/platforms/xilinx-zynqmp.cxen/arch/arm/platforms/Makefile +1
-0@@ -7,3 +7,4 @@ obj-$(CONFIG_ARM_32) += sunxi.o obj-$(CONFIG_ARM_32) += rcar2.o obj-$(CONFIG_ARM_64) += seattle.o obj-$(CONFIG_ARM_64) += xgene-storm.o +obj-$(CONFIG_ARM_64) += xilinx-zynqmp.oxen/arch/arm/platforms/xilinx-zynqmp.c new file +47
-0@@ -0,0 +1,47 @@ +/* +* xen/arch/arm/platforms/xilinx-zynqmp.c +* +* Xilinx ZynqMP setup +* +* Copyright (c) 2016 Xilinx Inc. +* Written by Edgar E. Iglesias <[email protected]> +* +* This program is free software; you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation; either version 2 of the License, or +* (at your option) any later version. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +*/ + +#include <asm/platform.h> + +static const char *const zynqmp_dt_compat[]__initconst = +{ +"xlnx,zynqmp" , +NULL +}; + +static const struct dt_device_match zynqmp_blacklist_dev[]__initconst = +{ +/* Power management is not yet supported. */ +DT_MATCH_COMPATIBLE ("xlnx,zynqmp-pm" ), + {/* sentinel */ }, +}; + +PLATFORM_START (xgene_storm,"Xilinx ZynqMP" ) + .compatible = zynqmp_dt_compat, + .blacklist_dev = zynqmp_blacklist_dev, +PLATFORM_END + +/* +* Local variables: +* mode: C +* c-file-style: "BSD" +* c-basic-offset: 4 +* indent-tabs-mode: nil +* End: +*/ Signature · 1 line
2.5.0
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Hi Jan and Ian,
This patch has been acked by Stefano and not in the tree.
I'm not sure who is in charge to commit ARM related patches in the tree so I've CCed both of you.
Regards,
Quoted 88 lines · Stefano Stabellini
Quoted 7 lines · Edgar E. Iglesias
From: "Edgar E. Iglesias" <[email protected]>
Re-add the Xilinx ZynqMP platform. This time include a blacklisted zynqmp-pm (Power Management) device that does not yet play nicely with Xen.
Signed-off-by Edgar E. Iglesias <[email protected]>Quoted 68 lines
xen/arch/arm/platforms/Makefile | 1 + xen/arch/arm/platforms/xilinx-zynqmp.c | 47 ++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+)create mode 100644
xen/arch/arm/platforms/xilinx-zynqmp.cxen/arch/arm/platforms/Makefile +1
-0@@ -7,3 +7,4 @@ obj-$(CONFIG_ARM_32) += sunxi.o obj-$(CONFIG_ARM_32) += rcar2.o obj-$(CONFIG_ARM_64) += seattle.o obj-$(CONFIG_ARM_64) += xgene-storm.o +obj-$(CONFIG_ARM_64) += xilinx-zynqmp.oxen/arch/arm/platforms/xilinx-zynqmp.c new file +47
-1@@ -0,0 +1,47 @@ +/* +* xen/arch/arm/platforms/xilinx-zynqmp.c +* +* Xilinx ZynqMP setup +* +* Copyright (c) 2016 Xilinx Inc. +* Written by Edgar E. Iglesias <[email protected]> +* +* This program is free software; you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation; either version 2 of the License, or +* (at your option) any later version. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +*/ + +#include <asm/platform.h> + +static const char *const zynqmp_dt_compat[]__initconst = +{ +"xlnx,zynqmp" , +NULL +}; + +static const struct dt_device_match zynqmp_blacklist_dev[]__initconst = +{ +/* Power management is not yet supported. */ +DT_MATCH_COMPATIBLE ("xlnx,zynqmp-pm" ), + {/* sentinel */ }, +}; + +PLATFORM_START (xgene_storm,"Xilinx ZynqMP" ) + .compatible = zynqmp_dt_compat, + .blacklist_dev = zynqmp_blacklist_dev, +PLATFORM_END + +/* +* Local variables: +* mode: C +* c-file-style: "BSD" +* c-basic-offset: 4 +* indent-tabs-mode: nil +* End: +*/ --Quoted 2 lines
2.5.0
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Signature · 6 lines
Julien Grall _______________________________________________ Xen-devel mailing list [email protected] http://lists.xen.org/xen-devel
Konrad Rzeszutek Wilk
AppliedQuoted 7 lines · Julien Grall
Hi Jan and Ian,
This patch has been acked by Stefano and not in the tree.
I'm not sure who is in charge to commit ARM related patches in the tree so I've CCed both of you.
Applied.
Quoted 83 lines
Regards,
Quoted 80 lines · Stefano Stabellini
Quoted 7 lines · Edgar E. Iglesias
From: "Edgar E. Iglesias" <[email protected]>
Re-add the Xilinx ZynqMP platform. This time include a blacklisted zynqmp-pm (Power Management) device that does not yet play nicely with Xen.
Signed-off-by Edgar E. Iglesias <[email protected]>Quoted 68 lines
xen/arch/arm/platforms/Makefile | 1 + xen/arch/arm/platforms/xilinx-zynqmp.c | 47 ++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 xen/arch/arm/platforms/xilinx-zynqmp.cxen/arch/arm/platforms/Makefile +1
-0@@ -7,3 +7,4 @@ obj-$(CONFIG_ARM_32) += sunxi.o obj-$(CONFIG_ARM_32) += rcar2.o obj-$(CONFIG_ARM_64) += seattle.o obj-$(CONFIG_ARM_64) += xgene-storm.o +obj-$(CONFIG_ARM_64) += xilinx-zynqmp.oxen/arch/arm/platforms/xilinx-zynqmp.c new file +47
-1@@ -0,0 +1,47 @@ +/* +* xen/arch/arm/platforms/xilinx-zynqmp.c +* +* Xilinx ZynqMP setup +* +* Copyright (c) 2016 Xilinx Inc. +* Written by Edgar E. Iglesias <[email protected]> +* +* This program is free software; you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation; either version 2 of the License, or +* (at your option) any later version. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +*/ + +#include <asm/platform.h> + +static const char *const zynqmp_dt_compat[]__initconst = +{ +"xlnx,zynqmp" , +NULL +}; + +static const struct dt_device_match zynqmp_blacklist_dev[]__initconst = +{ +/* Power management is not yet supported. */ +DT_MATCH_COMPATIBLE ("xlnx,zynqmp-pm" ), + {/* sentinel */ }, +}; + +PLATFORM_START (xgene_storm,"Xilinx ZynqMP" ) + .compatible = zynqmp_dt_compat, + .blacklist_dev = zynqmp_blacklist_dev, +PLATFORM_END + +/* +* Local variables: +* mode: C +* c-file-style: "BSD" +* c-basic-offset: 4 +* indent-tabs-mode: nil +* End: +*/ --
Quoted 16 lines
Quoted 8 lines
Quoted 2 lines
2.5.0
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-develSignature · 6 lines
Julien Grall _______________________________________________ Xen-devel mailing list [email protected] http://lists.xen.org/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 7 lines
Quoted 1 line
Quoted 1 line · On 15.03.16 at 18:47, <[email protected]> wrote:
Hi Jan and Ian,
This patch has been acked by Stefano and not in the tree.
I'm not sure who is in charge to commit ARM related patches in the tree so I've CCed both of you.
Indeed right now the process is to prod the committers if a patch becomes ready to go in. I'm trying to keep an eye on ARM patches, but especially when there's a lot of traffic on the list I'm likely to miss some.
Jan
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel