* [PATCHv2 0/3] arm64 xilinx zynqmp firmware interface
@ 2017-08-16 12:24 Michal Simek
2017-08-16 12:24 ` [PATCHv2 1/3] dt: xilinx: zynqmp: Add bindings for PM firmware Michal Simek
` (2 more replies)
0 siblings, 3 replies; 15+ messages in thread
From: Michal Simek @ 2017-08-16 12:24 UTC (permalink / raw)
To: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Arnd Bergmann
Cc: edgar.iglesias-gjFFaj9aHVfQT0dZR+AlfA, Rob Herring,
Punnaiah Choudary Kalluri, Jean Delvare, Dinh Nguyen, Rob Herring,
Tero Kristo, Catalin Marinas, Olof Johansson,
Sören Brinkmann, Kevin Hilman, Nishanth Menon,
Thierry Reding, Kevin Brodsky, Will Deacon,
devicetree-u79uwXL29TY76Z2rM5mHXA, Alexander Graf, Sudeep Holla,
Moritz Fischer, Michal Simek
Hi,
xilinx is using this interface for very long time and we can't merge our
driver changes to Linux because of missing communication layer with
firmware. This interface was developed before scpi and scmi was
available. In connection to power management scpi and scmi are missing
pieces which we already use. There is a separate discussion how to
extend scmi to support all our use cases.
This simply patch is not adding any power management features but only
adding minimum functionality which are needed for drivers.
Edgar's comment on having HVC:
"We have patches for Xen that implement a power-management mediator.
That implementation handles PM calls over both SMC and HVC insns.
Patches are on the Xen mailing list.
Other hypervisors may work differently.
I think we should support both but I don't have a strong opinion on
it."
Thanks,
Michal
Changes in v2:
- Move to bindings/firmware and also add it to firmware node
Reported-by Rob
- Add zynqmp firmware node to firmware node
- Change commit message
- Make zynqmp_pm_ret_code, invoke_pm_fn static
Reported by Arnd
- Remove pm_api_version function - no need for interface
- Move driver to drivers/firmware/
Reported by Arnd and Rob
Michal Simek (1):
soc: xilinx: zynqmp: Add firmware interface
Soren Brinkmann (2):
dt: xilinx: zynqmp: Add bindings for PM firmware
arm64: zynqmp: dt: Add PM firmware node
.../bindings/firmware/xlnx,zynqmp-pm.txt | 22 ++
arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 9 +
drivers/firmware/Kconfig | 1 +
drivers/firmware/Makefile | 1 +
drivers/firmware/xilinx/Kconfig | 6 +
drivers/firmware/xilinx/Makefile | 1 +
drivers/firmware/xilinx/zynqmp/firmware.c | 382 +++++++++++++++++++++
include/linux/firmware/xilinx/zynqmp/firmware.h | 232 +++++++++++++
8 files changed, 654 insertions(+)
create mode 100644 Documentation/devicetree/bindings/firmware/xlnx,zynqmp-pm.txt
create mode 100644 drivers/firmware/xilinx/Kconfig
create mode 100644 drivers/firmware/xilinx/Makefile
create mode 100644 drivers/firmware/xilinx/zynqmp/firmware.c
create mode 100644 include/linux/firmware/xilinx/zynqmp/firmware.h
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 15+ messages in thread* [PATCHv2 1/3] dt: xilinx: zynqmp: Add bindings for PM firmware 2017-08-16 12:24 [PATCHv2 0/3] arm64 xilinx zynqmp firmware interface Michal Simek @ 2017-08-16 12:24 ` Michal Simek [not found] ` <2935be9896d54020720919e7dab7c2f86bdc83a3.1502886277.git.michal.simek-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org> 2017-08-16 12:24 ` [PATCHv2 2/3] arm64: zynqmp: dt: Add PM firmware node Michal Simek [not found] ` <cover.1502886277.git.michal.simek-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org> 2 siblings, 1 reply; 15+ messages in thread From: Michal Simek @ 2017-08-16 12:24 UTC (permalink / raw) To: linux-arm-kernel, Arnd Bergmann Cc: edgar.iglesias, Rob Herring, monstr, devicetree, linux-kernel, Rob Herring, Mark Rutland, Soren Brinkmann From: Soren Brinkmann <soren.brinkmann@xilinx.com> Document the DT bindings for the Zynq UltraScale+ PM Firmware. Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> --- Changes in v2: - Move to bindings/firmware and also add it to firmware node Reported-by Rob .../bindings/firmware/xlnx,zynqmp-pm.txt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Documentation/devicetree/bindings/firmware/xlnx,zynqmp-pm.txt diff --git a/Documentation/devicetree/bindings/firmware/xlnx,zynqmp-pm.txt b/Documentation/devicetree/bindings/firmware/xlnx,zynqmp-pm.txt new file mode 100644 index 000000000000..7de0c82758b3 --- /dev/null +++ b/Documentation/devicetree/bindings/firmware/xlnx,zynqmp-pm.txt @@ -0,0 +1,22 @@ +Xilinx Zynq MPSoC Firmware Device Tree Bindings + +The zynqmp-pm node describes the interface to platform firmware. + +Required properties: + - compatible: Must contain: "xlnx,zynqmp-pm" + - method: The method of calling the PM-API firmware layer. + Permitted values are: + - "smc" : To be used in configurations without a hypervisor + - "hvc" : To be used when hypervisor is present + - interrupts: Interrupt specifier + +Examples: + + firmware { + zynqmp-firmware { + compatible = "xlnx,zynqmp-pm"; + method = "smc"; + interrupt-parent = <&gic>; + interrupts = <0 35 4>; + }; + }; -- 1.9.1 ^ permalink raw reply related [flat|nested] 15+ messages in thread
[parent not found: <2935be9896d54020720919e7dab7c2f86bdc83a3.1502886277.git.michal.simek-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>]
* Re: [PATCHv2 1/3] dt: xilinx: zynqmp: Add bindings for PM firmware [not found] ` <2935be9896d54020720919e7dab7c2f86bdc83a3.1502886277.git.michal.simek-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org> @ 2017-08-16 15:45 ` Sudeep Holla [not found] ` <2c2ffced-bc32-1eb4-aabe-ad6386076267-5wv7dgnIgG8@public.gmane.org> 2017-08-16 16:00 ` Mark Rutland 1 sibling, 1 reply; 15+ messages in thread From: Sudeep Holla @ 2017-08-16 15:45 UTC (permalink / raw) To: Michal Simek, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Arnd Bergmann Cc: Sudeep Holla, edgar.iglesias-gjFFaj9aHVfQT0dZR+AlfA, Rob Herring, Soren Brinkmann, devicetree-u79uwXL29TY76Z2rM5mHXA, monstr-pSz03upnqPeHXe+LvDLADg, linux-kernel-u79uwXL29TY76Z2rM5mHXA, Rob Herring, Mark Rutland On 16/08/17 13:24, Michal Simek wrote: > From: Soren Brinkmann <soren.brinkmann-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org> > > Document the DT bindings for the Zynq UltraScale+ PM Firmware. > > Signed-off-by: Soren Brinkmann <soren.brinkmann-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org> > Signed-off-by: Michal Simek <michal.simek-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org> > --- > > Changes in v2: > - Move to bindings/firmware and also add it to firmware node > Reported-by Rob > > .../bindings/firmware/xlnx,zynqmp-pm.txt | 22 ++++++++++++++++++++++ > 1 file changed, 22 insertions(+) > create mode 100644 Documentation/devicetree/bindings/firmware/xlnx,zynqmp-pm.txt > > diff --git a/Documentation/devicetree/bindings/firmware/xlnx,zynqmp-pm.txt b/Documentation/devicetree/bindings/firmware/xlnx,zynqmp-pm.txt > new file mode 100644 > index 000000000000..7de0c82758b3 > --- /dev/null > +++ b/Documentation/devicetree/bindings/firmware/xlnx,zynqmp-pm.txt > @@ -0,0 +1,22 @@ > +Xilinx Zynq MPSoC Firmware Device Tree Bindings > + > +The zynqmp-pm node describes the interface to platform firmware. > + > +Required properties: > + - compatible: Must contain: "xlnx,zynqmp-pm" > + - method: The method of calling the PM-API firmware layer. > + Permitted values are: > + - "smc" : To be used in configurations without a hypervisor > + - "hvc" : To be used when hypervisor is present > + - interrupts: Interrupt specifier What exactly is this interrupt ? I see it's not SGI, so if it's SPI, where does this originate from ? How is that dealt ? -- Regards, Sudeep -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 15+ messages in thread
[parent not found: <2c2ffced-bc32-1eb4-aabe-ad6386076267-5wv7dgnIgG8@public.gmane.org>]
* Re: [PATCHv2 1/3] dt: xilinx: zynqmp: Add bindings for PM firmware [not found] ` <2c2ffced-bc32-1eb4-aabe-ad6386076267-5wv7dgnIgG8@public.gmane.org> @ 2017-08-17 6:27 ` Michal Simek 0 siblings, 0 replies; 15+ messages in thread From: Michal Simek @ 2017-08-17 6:27 UTC (permalink / raw) To: Sudeep Holla, Michal Simek, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Arnd Bergmann Cc: edgar.iglesias-gjFFaj9aHVfQT0dZR+AlfA, Rob Herring, Soren Brinkmann, devicetree-u79uwXL29TY76Z2rM5mHXA, monstr-pSz03upnqPeHXe+LvDLADg, linux-kernel-u79uwXL29TY76Z2rM5mHXA, Rob Herring, Mark Rutland On 16.8.2017 17:45, Sudeep Holla wrote: > > > On 16/08/17 13:24, Michal Simek wrote: >> From: Soren Brinkmann <soren.brinkmann-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org> >> >> Document the DT bindings for the Zynq UltraScale+ PM Firmware. >> >> Signed-off-by: Soren Brinkmann <soren.brinkmann-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org> >> Signed-off-by: Michal Simek <michal.simek-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org> >> --- >> >> Changes in v2: >> - Move to bindings/firmware and also add it to firmware node >> Reported-by Rob >> >> .../bindings/firmware/xlnx,zynqmp-pm.txt | 22 ++++++++++++++++++++++ >> 1 file changed, 22 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/firmware/xlnx,zynqmp-pm.txt >> >> diff --git a/Documentation/devicetree/bindings/firmware/xlnx,zynqmp-pm.txt b/Documentation/devicetree/bindings/firmware/xlnx,zynqmp-pm.txt >> new file mode 100644 >> index 000000000000..7de0c82758b3 >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/firmware/xlnx,zynqmp-pm.txt >> @@ -0,0 +1,22 @@ >> +Xilinx Zynq MPSoC Firmware Device Tree Bindings >> + >> +The zynqmp-pm node describes the interface to platform firmware. >> + >> +Required properties: >> + - compatible: Must contain: "xlnx,zynqmp-pm" >> + - method: The method of calling the PM-API firmware layer. >> + Permitted values are: >> + - "smc" : To be used in configurations without a hypervisor >> + - "hvc" : To be used when hypervisor is present >> + - interrupts: Interrupt specifier > > What exactly is this interrupt ? I see it's not SGI, so if it's SPI, > where does this originate from ? How is that dealt ? > Please look at my response to Mark for more details. Thanks, Michal -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCHv2 1/3] dt: xilinx: zynqmp: Add bindings for PM firmware [not found] ` <2935be9896d54020720919e7dab7c2f86bdc83a3.1502886277.git.michal.simek-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org> 2017-08-16 15:45 ` Sudeep Holla @ 2017-08-16 16:00 ` Mark Rutland 2017-08-17 6:26 ` Michal Simek 1 sibling, 1 reply; 15+ messages in thread From: Mark Rutland @ 2017-08-16 16:00 UTC (permalink / raw) To: Michal Simek Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Arnd Bergmann, edgar.iglesias-gjFFaj9aHVfQT0dZR+AlfA, Rob Herring, Soren Brinkmann, devicetree-u79uwXL29TY76Z2rM5mHXA, monstr-pSz03upnqPeHXe+LvDLADg, linux-kernel-u79uwXL29TY76Z2rM5mHXA, Rob Herring On Wed, Aug 16, 2017 at 02:24:56PM +0200, Michal Simek wrote: > From: Soren Brinkmann <soren.brinkmann-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org> > > Document the DT bindings for the Zynq UltraScale+ PM Firmware. > > Signed-off-by: Soren Brinkmann <soren.brinkmann-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org> > Signed-off-by: Michal Simek <michal.simek-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org> > --- > > Changes in v2: > - Move to bindings/firmware and also add it to firmware node > Reported-by Rob > > .../bindings/firmware/xlnx,zynqmp-pm.txt | 22 ++++++++++++++++++++++ > 1 file changed, 22 insertions(+) > create mode 100644 Documentation/devicetree/bindings/firmware/xlnx,zynqmp-pm.txt > > diff --git a/Documentation/devicetree/bindings/firmware/xlnx,zynqmp-pm.txt b/Documentation/devicetree/bindings/firmware/xlnx,zynqmp-pm.txt > new file mode 100644 > index 000000000000..7de0c82758b3 > --- /dev/null > +++ b/Documentation/devicetree/bindings/firmware/xlnx,zynqmp-pm.txt > @@ -0,0 +1,22 @@ > +Xilinx Zynq MPSoC Firmware Device Tree Bindings > + > +The zynqmp-pm node describes the interface to platform firmware. Is there any documentation for this? I appreciate that the answer might be "no". > +Required properties: > + - compatible: Must contain: "xlnx,zynqmp-pm" > + - method: The method of calling the PM-API firmware layer. > + Permitted values are: > + - "smc" : To be used in configurations without a hypervisor > + - "hvc" : To be used when hypervisor is present > + - interrupts: Interrupt specifier For what, exactly? Is this an interrupt for FW to signal the OS somehow? If so, is it an SGI? Thanks, Mark. -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCHv2 1/3] dt: xilinx: zynqmp: Add bindings for PM firmware 2017-08-16 16:00 ` Mark Rutland @ 2017-08-17 6:26 ` Michal Simek 0 siblings, 0 replies; 15+ messages in thread From: Michal Simek @ 2017-08-17 6:26 UTC (permalink / raw) To: Mark Rutland, Michal Simek Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Arnd Bergmann, edgar.iglesias-gjFFaj9aHVfQT0dZR+AlfA, Rob Herring, Soren Brinkmann, devicetree-u79uwXL29TY76Z2rM5mHXA, monstr-pSz03upnqPeHXe+LvDLADg, linux-kernel-u79uwXL29TY76Z2rM5mHXA, Rob Herring On 16.8.2017 18:00, Mark Rutland wrote: > On Wed, Aug 16, 2017 at 02:24:56PM +0200, Michal Simek wrote: >> From: Soren Brinkmann <soren.brinkmann-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org> >> >> Document the DT bindings for the Zynq UltraScale+ PM Firmware. >> >> Signed-off-by: Soren Brinkmann <soren.brinkmann-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org> >> Signed-off-by: Michal Simek <michal.simek-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org> >> --- >> >> Changes in v2: >> - Move to bindings/firmware and also add it to firmware node >> Reported-by Rob >> >> .../bindings/firmware/xlnx,zynqmp-pm.txt | 22 ++++++++++++++++++++++ >> 1 file changed, 22 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/firmware/xlnx,zynqmp-pm.txt >> >> diff --git a/Documentation/devicetree/bindings/firmware/xlnx,zynqmp-pm.txt b/Documentation/devicetree/bindings/firmware/xlnx,zynqmp-pm.txt >> new file mode 100644 >> index 000000000000..7de0c82758b3 >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/firmware/xlnx,zynqmp-pm.txt >> @@ -0,0 +1,22 @@ >> +Xilinx Zynq MPSoC Firmware Device Tree Bindings >> + >> +The zynqmp-pm node describes the interface to platform firmware. > > Is there any documentation for this? I appreciate that the answer > might be "no". We have pm documentation somewhere but not sure if this firmware interface is the part of it. Let me ask around and see what I can find out. > >> +Required properties: >> + - compatible: Must contain: "xlnx,zynqmp-pm" >> + - method: The method of calling the PM-API firmware layer. >> + Permitted values are: >> + - "smc" : To be used in configurations without a hypervisor >> + - "hvc" : To be used when hypervisor is present >> + - interrupts: Interrupt specifier > > For what, exactly? > > Is this an interrupt for FW to signal the OS somehow? > > If so, is it an SGI? This is SPI. There is a dedicated hardware on the chip for communication with APU. https://www.xilinx.com/support/documentation/user_guides/ug1085-zynq-ultrascale-trm.pdf page 275 Anyway I don't need this for this driver that's why I will remove it. Thanks, Michal -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 15+ messages in thread
* [PATCHv2 2/3] arm64: zynqmp: dt: Add PM firmware node 2017-08-16 12:24 [PATCHv2 0/3] arm64 xilinx zynqmp firmware interface Michal Simek 2017-08-16 12:24 ` [PATCHv2 1/3] dt: xilinx: zynqmp: Add bindings for PM firmware Michal Simek @ 2017-08-16 12:24 ` Michal Simek [not found] ` <cover.1502886277.git.michal.simek-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org> 2 siblings, 0 replies; 15+ messages in thread From: Michal Simek @ 2017-08-16 12:24 UTC (permalink / raw) To: linux-arm-kernel, Arnd Bergmann Cc: edgar.iglesias, Rob Herring, Soren Brinkmann, devicetree, monstr, Alexander Graf, Punnaiah Choudary Kalluri, linux-kernel, Marc Zyngier, Dinh Nguyen, Moritz Fischer, Rob Herring, Will Deacon, Catalin Marinas, Mark Rutland From: Soren Brinkmann <soren.brinkmann@xilinx.com> Add node for the firmware interface. Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> --- Changes in v2: - Add zynqmp firmware node to firmware node - Change commit message arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi index 54dc28351c8c..41c0034fd905 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi +++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi @@ -49,6 +49,15 @@ }; }; + firmware { + zynqmp-firmware { + compatible = "xlnx,zynqmp-pm"; + method = "smc"; + interrupt-parent = <&gic>; + interrupts = <0 35 4>; + }; + }; + pmu { compatible = "arm,armv8-pmuv3"; interrupt-parent = <&gic>; -- 1.9.1 ^ permalink raw reply related [flat|nested] 15+ messages in thread
[parent not found: <cover.1502886277.git.michal.simek-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>]
* Re: [PATCHv2 0/3] arm64 xilinx zynqmp firmware interface [not found] ` <cover.1502886277.git.michal.simek-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org> @ 2017-08-16 15:39 ` Marc Zyngier [not found] ` <43deeed7-32c8-7914-5f44-862ebbe14a3b-5wv7dgnIgG8@public.gmane.org> 0 siblings, 1 reply; 15+ messages in thread From: Marc Zyngier @ 2017-08-16 15:39 UTC (permalink / raw) To: Michal Simek, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Arnd Bergmann Cc: edgar.iglesias-gjFFaj9aHVfQT0dZR+AlfA, Rob Herring, Punnaiah Choudary Kalluri, Jean Delvare, Dinh Nguyen, Rob Herring, Tero Kristo, Catalin Marinas, Olof Johansson, Sören Brinkmann, Kevin Hilman, Nishanth Menon, Thierry Reding, Kevin Brodsky, Will Deacon, devicetree-u79uwXL29TY76Z2rM5mHXA, Alexander Graf, Sudeep Holla, Moritz Fischer, Michal Simek On 16/08/17 13:24, Michal Simek wrote: > Hi, > > xilinx is using this interface for very long time and we can't merge our > driver changes to Linux because of missing communication layer with > firmware. This interface was developed before scpi and scmi was > available. In connection to power management scpi and scmi are missing > pieces which we already use. There is a separate discussion how to > extend scmi to support all our use cases. So maybe we should wait and see where this discussion is going before we merge yet another firmware interface? > This simply patch is not adding any power management features but only > adding minimum functionality which are needed for drivers. I don't get it. 600 lines of firmware interface that isn't used by anything? Or is it? Needed by which driver? Thanks, M. -- Jazz is not dead. It just smells funny... -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 15+ messages in thread
[parent not found: <43deeed7-32c8-7914-5f44-862ebbe14a3b-5wv7dgnIgG8@public.gmane.org>]
* Re: [PATCHv2 0/3] arm64 xilinx zynqmp firmware interface [not found] ` <43deeed7-32c8-7914-5f44-862ebbe14a3b-5wv7dgnIgG8@public.gmane.org> @ 2017-08-17 6:10 ` Michal Simek 2017-08-17 7:52 ` Marc Zyngier 0 siblings, 1 reply; 15+ messages in thread From: Michal Simek @ 2017-08-17 6:10 UTC (permalink / raw) To: Marc Zyngier, Michal Simek, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Arnd Bergmann Cc: edgar.iglesias-gjFFaj9aHVfQT0dZR+AlfA, Rob Herring, Punnaiah Choudary Kalluri, Jean Delvare, Dinh Nguyen, Rob Herring, Tero Kristo, Catalin Marinas, Olof Johansson, Sören Brinkmann, Kevin Hilman, Nishanth Menon, Thierry Reding, Kevin Brodsky, Will Deacon, devicetree-u79uwXL29TY76Z2rM5mHXA, Alexander Graf, Sudeep Holla, Moritz Fischer, Michal Simek On 16.8.2017 17:39, Marc Zyngier wrote: > On 16/08/17 13:24, Michal Simek wrote: >> Hi, >> >> xilinx is using this interface for very long time and we can't merge our >> driver changes to Linux because of missing communication layer with >> firmware. This interface was developed before scpi and scmi was >> available. In connection to power management scpi and scmi are missing >> pieces which we already use. There is a separate discussion how to >> extend scmi to support all our use cases. > > So maybe we should wait and see where this discussion is going before we > merge yet another firmware interface? It will take a lot of time when this discussion ends and I can't see any benefit to hold all >> This simply patch is not adding any power management features but only >> adding minimum functionality which are needed for drivers. > > I don't get it. 600 lines of firmware interface that isn't used by > anything? Or is it? Needed by which driver? I can send that drivers for review. pinctrl, fpga manager, nvmem driver, clock, serdes phy and reset drivers. But this driver need to come first because they depend on this. Thanks, Michal -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCHv2 0/3] arm64 xilinx zynqmp firmware interface 2017-08-17 6:10 ` Michal Simek @ 2017-08-17 7:52 ` Marc Zyngier [not found] ` <a1970cb5-1cf1-d38a-3de3-c782c23fc8ac-5wv7dgnIgG8@public.gmane.org> 0 siblings, 1 reply; 15+ messages in thread From: Marc Zyngier @ 2017-08-17 7:52 UTC (permalink / raw) To: Michal Simek, linux-arm-kernel, Arnd Bergmann Cc: edgar.iglesias, Rob Herring, Punnaiah Choudary Kalluri, Jean Delvare, Dinh Nguyen, Rob Herring, Tero Kristo, Catalin Marinas, Olof Johansson, Sören Brinkmann, Kevin Hilman, Nishanth Menon, Thierry Reding, Kevin Brodsky, Will Deacon, devicetree, Alexander Graf, Sudeep Holla, Moritz Fischer, Michal Simek On 17/08/17 07:10, Michal Simek wrote: > On 16.8.2017 17:39, Marc Zyngier wrote: >> On 16/08/17 13:24, Michal Simek wrote: >>> Hi, >>> >>> xilinx is using this interface for very long time and we can't merge our >>> driver changes to Linux because of missing communication layer with >>> firmware. This interface was developed before scpi and scmi was >>> available. In connection to power management scpi and scmi are missing >>> pieces which we already use. There is a separate discussion how to >>> extend scmi to support all our use cases. >> >> So maybe we should wait and see where this discussion is going before we >> merge yet another firmware interface? > > It will take a lot of time when this discussion ends and I can't see any > benefit to hold all Well, so far, the benefit of this series is exactly nil, as the code it brings is *unused*. It is impossible to review in isolation. In the meantime, you can continue finding out how *not* to have to merge this code, and instead focus on using the infrastructure we already have, or at least influence the infrastructure that is being designed. It will be much better than dumping yet another slab of "I'm so different" code that is going to ultimately bitrot. > > >>> This simply patch is not adding any power management features but only >>> adding minimum functionality which are needed for drivers. >> >> I don't get it. 600 lines of firmware interface that isn't used by >> anything? Or is it? Needed by which driver? > > I can send that drivers for review. pinctrl, fpga manager, nvmem driver, > clock, serdes phy and reset drivers. > But this driver need to come first because they depend on this. My take is: no users, no use. And if you need to hack all these drivers to hook into your specific firmware interface, I feel that you're doing it wrong. We have common APIs for device drivers. If these APIs are not good enough, we extend them. But designing drivers for a given firmware interface? Thanks, M. -- Jazz is not dead. It just smells funny... ^ permalink raw reply [flat|nested] 15+ messages in thread
[parent not found: <a1970cb5-1cf1-d38a-3de3-c782c23fc8ac-5wv7dgnIgG8@public.gmane.org>]
* Re: [PATCHv2 0/3] arm64 xilinx zynqmp firmware interface [not found] ` <a1970cb5-1cf1-d38a-3de3-c782c23fc8ac-5wv7dgnIgG8@public.gmane.org> @ 2017-08-17 8:42 ` Michal Simek [not found] ` <0560c79f-e461-6010-0628-e99ce0a1f8c6-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org> 0 siblings, 1 reply; 15+ messages in thread From: Michal Simek @ 2017-08-17 8:42 UTC (permalink / raw) To: Marc Zyngier, Michal Simek, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Arnd Bergmann Cc: edgar.iglesias-gjFFaj9aHVfQT0dZR+AlfA, Rob Herring, Punnaiah Choudary Kalluri, Jean Delvare, Dinh Nguyen, Rob Herring, Tero Kristo, Catalin Marinas, Olof Johansson, Sören Brinkmann, Kevin Hilman, Nishanth Menon, Thierry Reding, Kevin Brodsky, Will Deacon, devicetree-u79uwXL29TY76Z2rM5mHXA, Alexander Graf, Sudeep Holla, Moritz Fischer, Michal Simek On 17.8.2017 09:52, Marc Zyngier wrote: > On 17/08/17 07:10, Michal Simek wrote: >> On 16.8.2017 17:39, Marc Zyngier wrote: >>> On 16/08/17 13:24, Michal Simek wrote: >>>> Hi, >>>> >>>> xilinx is using this interface for very long time and we can't merge our >>>> driver changes to Linux because of missing communication layer with >>>> firmware. This interface was developed before scpi and scmi was >>>> available. In connection to power management scpi and scmi are missing >>>> pieces which we already use. There is a separate discussion how to >>>> extend scmi to support all our use cases. >>> >>> So maybe we should wait and see where this discussion is going before we >>> merge yet another firmware interface? >> >> It will take a lot of time when this discussion ends and I can't see any >> benefit to hold all > > Well, so far, the benefit of this series is exactly nil, as the code it > brings is *unused*. It is impossible to review in isolation. > Ok. I will add others drivers to this series that's not a problem. > In the meantime, you can continue finding out how *not* to have to merge > this code, and instead focus on using the infrastructure we already > have, or at least influence the infrastructure that is being designed. > It will be much better than dumping yet another slab of "I'm so > different" code that is going to ultimately bitrot. I am happy to look the better proposed way. SCPI is ancient and SCMI is replacement and not merged yet. We already had a call with arm and Sudeep was on it too where outcome from that was that we can't use that because it doesn't support what we need to support now. This code is compatible with current ARM SMC calling convention which allocate range for vendors. 0xC2000000-0xC200FFFF SMC64: SiP Service Calls Provides interfaces to SoC implementation-specific services on this platform, for example secure platform initialization, configuration , and some power control services. > >> >> >>>> This simply patch is not adding any power management features but only >>>> adding minimum functionality which are needed for drivers. >>> >>> I don't get it. 600 lines of firmware interface that isn't used by >>> anything? Or is it? Needed by which driver? >> >> I can send that drivers for review. pinctrl, fpga manager, nvmem driver, >> clock, serdes phy and reset drivers. >> But this driver need to come first because they depend on this. > My take is: no users, no use. > > And if you need to hack all these drivers to hook into your specific > firmware interface, I feel that you're doing it wrong. We have common > APIs for device drivers. If these APIs are not good enough, we extend > them. But designing drivers for a given firmware interface? Let me send that users of this. Thanks, Michal -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 15+ messages in thread
[parent not found: <0560c79f-e461-6010-0628-e99ce0a1f8c6-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>]
* Re: [PATCHv2 0/3] arm64 xilinx zynqmp firmware interface [not found] ` <0560c79f-e461-6010-0628-e99ce0a1f8c6-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org> @ 2017-08-17 9:12 ` Sudeep Holla 2017-08-17 10:32 ` Michal Simek 0 siblings, 1 reply; 15+ messages in thread From: Sudeep Holla @ 2017-08-17 9:12 UTC (permalink / raw) To: Michal Simek, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r Cc: Marc Zyngier, Arnd Bergmann, Sudeep Holla, edgar.iglesias-gjFFaj9aHVfQT0dZR+AlfA, Rob Herring, Punnaiah Choudary Kalluri, Jean Delvare, Dinh Nguyen, Rob Herring, Tero Kristo, Catalin Marinas, Olof Johansson, Sören Brinkmann, Kevin Hilman, Nishanth Menon, Thierry Reding, Kevin Brodsky, Will Deacon, devicetree-u79uwXL29TY76Z2rM5mHXA, Alexander Graf On 17/08/17 09:42, Michal Simek wrote: > On 17.8.2017 09:52, Marc Zyngier wrote: >> On 17/08/17 07:10, Michal Simek wrote: >>> On 16.8.2017 17:39, Marc Zyngier wrote: >>>> On 16/08/17 13:24, Michal Simek wrote: >>>>> Hi, >>>>> >>>>> xilinx is using this interface for very long time and we can't merge our >>>>> driver changes to Linux because of missing communication layer with >>>>> firmware. This interface was developed before scpi and scmi was >>>>> available. In connection to power management scpi and scmi are missing >>>>> pieces which we already use. There is a separate discussion how to >>>>> extend scmi to support all our use cases. >>>> >>>> So maybe we should wait and see where this discussion is going before we >>>> merge yet another firmware interface? >>> >>> It will take a lot of time when this discussion ends and I can't see any >>> benefit to hold all >> >> Well, so far, the benefit of this series is exactly nil, as the code it >> brings is *unused*. It is impossible to review in isolation. >> > > Ok. I will add others drivers to this series that's not a problem. > >> In the meantime, you can continue finding out how *not* to have to merge >> this code, and instead focus on using the infrastructure we already >> have, or at least influence the infrastructure that is being designed. >> It will be much better than dumping yet another slab of "I'm so >> different" code that is going to ultimately bitrot. > > I am happy to look the better proposed way. SCPI is ancient and SCMI is > replacement and not merged yet. We already had a call with arm and > Sudeep was on it too where outcome from that was that we can't use that > because it doesn't support what we need to support now. > OK, none of the specifics were discussed in the meeting to conclude that SCMI can't be used. My takeaway from the meeting was Xilinx has this interface for long and being deployed in various systems. I would like to get into specifics before discarding SCMI as unusable. What bothers me more is that why was that not raised during the specification review which was quite a long period IMO ? I tend to think Xilinx never bothered to look/review the specification as this f/w interface was already there. However I still can't see why this was posted once we started pushing out SCMI patches especially given that this f/w interface was there for long and no attempts were made in past to upstream this. Also I am not dismissing the series yet, but if I find that SCMI can be used(after getting specifics from this series myself), I will at-least argue against the "SCMI can't be used" argument. -- Regards, Sudeep -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCHv2 0/3] arm64 xilinx zynqmp firmware interface 2017-08-17 9:12 ` Sudeep Holla @ 2017-08-17 10:32 ` Michal Simek [not found] ` <07473fe2-d159-a016-2f65-735b1231beb8-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org> 0 siblings, 1 reply; 15+ messages in thread From: Michal Simek @ 2017-08-17 10:32 UTC (permalink / raw) To: Sudeep Holla, Michal Simek, linux-arm-kernel Cc: Marc Zyngier, Arnd Bergmann, edgar.iglesias, Rob Herring, Punnaiah Choudary Kalluri, Jean Delvare, Dinh Nguyen, Rob Herring, Tero Kristo, Catalin Marinas, Olof Johansson, Sören Brinkmann, Kevin Hilman, Nishanth Menon, Thierry Reding, Kevin Brodsky, Will Deacon, devicetree, Alexander Graf, Moritz Fischer On 17.8.2017 11:12, Sudeep Holla wrote: > > > On 17/08/17 09:42, Michal Simek wrote: >> On 17.8.2017 09:52, Marc Zyngier wrote: >>> On 17/08/17 07:10, Michal Simek wrote: >>>> On 16.8.2017 17:39, Marc Zyngier wrote: >>>>> On 16/08/17 13:24, Michal Simek wrote: >>>>>> Hi, >>>>>> >>>>>> xilinx is using this interface for very long time and we can't merge our >>>>>> driver changes to Linux because of missing communication layer with >>>>>> firmware. This interface was developed before scpi and scmi was >>>>>> available. In connection to power management scpi and scmi are missing >>>>>> pieces which we already use. There is a separate discussion how to >>>>>> extend scmi to support all our use cases. >>>>> >>>>> So maybe we should wait and see where this discussion is going before we >>>>> merge yet another firmware interface? >>>> >>>> It will take a lot of time when this discussion ends and I can't see any >>>> benefit to hold all >>> >>> Well, so far, the benefit of this series is exactly nil, as the code it >>> brings is *unused*. It is impossible to review in isolation. >>> >> >> Ok. I will add others drivers to this series that's not a problem. >> >>> In the meantime, you can continue finding out how *not* to have to merge >>> this code, and instead focus on using the infrastructure we already >>> have, or at least influence the infrastructure that is being designed. >>> It will be much better than dumping yet another slab of "I'm so >>> different" code that is going to ultimately bitrot. >> >> I am happy to look the better proposed way. SCPI is ancient and SCMI is >> replacement and not merged yet. We already had a call with arm and >> Sudeep was on it too where outcome from that was that we can't use that >> because it doesn't support what we need to support now. >> > > OK, none of the specifics were discussed in the meeting to conclude that > SCMI can't be used. My takeaway from the meeting was Xilinx has this > interface for long and being deployed in various systems. I would like > to get into specifics before discarding SCMI as unusable. What bothers > me more is that why was that not raised during the specification review > which was quite a long period IMO ? I tend to think Xilinx never > bothered to look/review the specification as this f/w interface was > already there. Xilinx is using this interface from Aug 2015. I am not aware about any invitation to spec review. And not sure who was there from xilinx. > > However I still can't see why this was posted once we started pushing > out SCMI patches especially given that this f/w interface was there for > long and no attempts were made in past to upstream this. The reason is simple which is upstream our code which depends on this communication layer. I don't think there is quick path to move to different interface than this one. > > Also I am not dismissing the series yet, but if I find that SCMI can be > used(after getting specifics from this series myself), I will at-least > argue against the "SCMI can't be used" argument. This is not my argument that we can't use SCMI. This is what was my understanding from that meeting we had. And definitely there is no quick path for us to switch to SCMI and breaks all current existing customers. And this interface is just in the same position as current SCPI. It means you have SCPI already merged and you are adding new one. SCMI could be maybe also just SCPIv2. And when it is merged you are going to move all targets to this new interface. The same is for us but instead of scpi it is this interface we use and test. Thanks, Michal ^ permalink raw reply [flat|nested] 15+ messages in thread
[parent not found: <07473fe2-d159-a016-2f65-735b1231beb8-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>]
* Re: [PATCHv2 0/3] arm64 xilinx zynqmp firmware interface [not found] ` <07473fe2-d159-a016-2f65-735b1231beb8-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org> @ 2017-08-17 11:18 ` Sudeep Holla 2017-08-17 11:24 ` Michal Simek 0 siblings, 1 reply; 15+ messages in thread From: Sudeep Holla @ 2017-08-17 11:18 UTC (permalink / raw) To: Michal Simek, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r Cc: Sudeep Holla, Marc Zyngier, Arnd Bergmann, edgar.iglesias-gjFFaj9aHVfQT0dZR+AlfA, Rob Herring, Punnaiah Choudary Kalluri, Jean Delvare, Dinh Nguyen, Rob Herring, Tero Kristo, Catalin Marinas, Olof Johansson, Sören Brinkmann, Kevin Hilman, Nishanth Menon, Thierry Reding, Kevin Brodsky, Will Deacon, devicetree-u79uwXL29TY76Z2rM5mHXA, Alexander Graf On 17/08/17 11:32, Michal Simek wrote: > On 17.8.2017 11:12, Sudeep Holla wrote: >> >> >> On 17/08/17 09:42, Michal Simek wrote: >>> On 17.8.2017 09:52, Marc Zyngier wrote: >>>> On 17/08/17 07:10, Michal Simek wrote: >>>>> On 16.8.2017 17:39, Marc Zyngier wrote: >>>>>> On 16/08/17 13:24, Michal Simek wrote: >>>>>>> Hi, >>>>>>> >>>>>>> xilinx is using this interface for very long time and we >>>>>>> can't merge our driver changes to Linux because of >>>>>>> missing communication layer with firmware. This interface >>>>>>> was developed before scpi and scmi was available. In >>>>>>> connection to power management scpi and scmi are missing >>>>>>> pieces which we already use. There is a separate >>>>>>> discussion how to extend scmi to support all our use >>>>>>> cases. >>>>>> >>>>>> So maybe we should wait and see where this discussion is >>>>>> going before we merge yet another firmware interface? >>>>> >>>>> It will take a lot of time when this discussion ends and I >>>>> can't see any benefit to hold all >>>> >>>> Well, so far, the benefit of this series is exactly nil, as the >>>> code it brings is *unused*. It is impossible to review in >>>> isolation. >>>> >>> >>> Ok. I will add others drivers to this series that's not a >>> problem. >>> >>>> In the meantime, you can continue finding out how *not* to have >>>> to merge this code, and instead focus on using the >>>> infrastructure we already have, or at least influence the >>>> infrastructure that is being designed. It will be much better >>>> than dumping yet another slab of "I'm so different" code that >>>> is going to ultimately bitrot. >>> >>> I am happy to look the better proposed way. SCPI is ancient and >>> SCMI is replacement and not merged yet. We already had a call >>> with arm and Sudeep was on it too where outcome from that was >>> that we can't use that because it doesn't support what we need to >>> support now. >>> >> >> OK, none of the specifics were discussed in the meeting to conclude >> that SCMI can't be used. My takeaway from the meeting was Xilinx >> has this interface for long and being deployed in various systems. >> I would like to get into specifics before discarding SCMI as >> unusable. What bothers me more is that why was that not raised >> during the specification review which was quite a long period IMO ? >> I tend to think Xilinx never bothered to look/review the >> specification as this f/w interface was already there. > > Xilinx is using this interface from Aug 2015. I am not aware about > any invitation to spec review. And not sure who was there from > xilinx. > Sure, I can understand and that's not a problem but Xilinx was involved. >> >> However I still can't see why this was posted once we started >> pushing out SCMI patches especially given that this f/w interface >> was there for long and no attempts were made in past to upstream >> this. > > The reason is simple which is upstream our code which depends on > this communication layer. I don't think there is quick path to move > to different interface than this one. > Do you mean "smc" when you refer communication layer ? If so, that's fine. You can use "smc" as transport with SCMI if you want, specification doesn't prevent that. >> >> Also I am not dismissing the series yet, but if I find that SCMI >> can be used(after getting specifics from this series myself), I >> will at-least argue against the "SCMI can't be used" argument. > > This is not my argument that we can't use SCMI. This is what was my > understanding from that meeting we had. And definitely there is no > quick path for us to switch to SCMI and breaks all current existing > customers. > I understand the latter and I mentioned the same earlier, but I disagree with the former. That meeting was mostly introduction(and informal IMO) and didn't involve anything at the technical level. > And this interface is just in the same position as current SCPI. It > means you have SCPI already merged and you are adding new one. SCMI > could be maybe also just SCPIv2. Agreed, but it was posted as soon as the specification is out and so is the SCMI. I am not arguing it as a point, but just mentioning that this post was simply bad timing :) -- Regards, Sudeep -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCHv2 0/3] arm64 xilinx zynqmp firmware interface 2017-08-17 11:18 ` Sudeep Holla @ 2017-08-17 11:24 ` Michal Simek 0 siblings, 0 replies; 15+ messages in thread From: Michal Simek @ 2017-08-17 11:24 UTC (permalink / raw) To: Sudeep Holla, Michal Simek, linux-arm-kernel Cc: Marc Zyngier, Arnd Bergmann, edgar.iglesias, Rob Herring, Punnaiah Choudary Kalluri, Jean Delvare, Dinh Nguyen, Rob Herring, Tero Kristo, Catalin Marinas, Olof Johansson, Sören Brinkmann, Kevin Hilman, Nishanth Menon, Thierry Reding, Kevin Brodsky, Will Deacon, devicetree, Alexander Graf, Moritz Fischer On 17.8.2017 13:18, Sudeep Holla wrote: > > > On 17/08/17 11:32, Michal Simek wrote: >> On 17.8.2017 11:12, Sudeep Holla wrote: >>> >>> >>> On 17/08/17 09:42, Michal Simek wrote: >>>> On 17.8.2017 09:52, Marc Zyngier wrote: >>>>> On 17/08/17 07:10, Michal Simek wrote: >>>>>> On 16.8.2017 17:39, Marc Zyngier wrote: >>>>>>> On 16/08/17 13:24, Michal Simek wrote: >>>>>>>> Hi, >>>>>>>> >>>>>>>> xilinx is using this interface for very long time and we >>>>>>>> can't merge our driver changes to Linux because of >>>>>>>> missing communication layer with firmware. This interface >>>>>>>> was developed before scpi and scmi was available. In >>>>>>>> connection to power management scpi and scmi are missing >>>>>>>> pieces which we already use. There is a separate >>>>>>>> discussion how to extend scmi to support all our use >>>>>>>> cases. >>>>>>> >>>>>>> So maybe we should wait and see where this discussion is >>>>>>> going before we merge yet another firmware interface? >>>>>> >>>>>> It will take a lot of time when this discussion ends and I >>>>>> can't see any benefit to hold all >>>>> >>>>> Well, so far, the benefit of this series is exactly nil, as the >>>>> code it brings is *unused*. It is impossible to review in >>>>> isolation. >>>>> >>>> >>>> Ok. I will add others drivers to this series that's not a >>>> problem. >>>> >>>>> In the meantime, you can continue finding out how *not* to have >>>>> to merge this code, and instead focus on using the >>>>> infrastructure we already have, or at least influence the >>>>> infrastructure that is being designed. It will be much better >>>>> than dumping yet another slab of "I'm so different" code that >>>>> is going to ultimately bitrot. >>>> >>>> I am happy to look the better proposed way. SCPI is ancient and >>>> SCMI is replacement and not merged yet. We already had a call >>>> with arm and Sudeep was on it too where outcome from that was >>>> that we can't use that because it doesn't support what we need to >>>> support now. >>>> >>> >>> OK, none of the specifics were discussed in the meeting to conclude >>> that SCMI can't be used. My takeaway from the meeting was Xilinx >>> has this interface for long and being deployed in various systems. >>> I would like to get into specifics before discarding SCMI as >>> unusable. What bothers me more is that why was that not raised >>> during the specification review which was quite a long period IMO ? >>> I tend to think Xilinx never bothered to look/review the >>> specification as this f/w interface was already there. >> >> Xilinx is using this interface from Aug 2015. I am not aware about >> any invitation to spec review. And not sure who was there from >> xilinx. >> > > Sure, I can understand and that's not a problem but Xilinx was involved. > >>> >>> However I still can't see why this was posted once we started >>> pushing out SCMI patches especially given that this f/w interface >>> was there for long and no attempts were made in past to upstream >>> this. >> >> The reason is simple which is upstream our code which depends on >> this communication layer. I don't think there is quick path to move >> to different interface than this one. >> > > Do you mean "smc" when you refer communication layer ? If so, that's > fine. You can use "smc" as transport with SCMI if you want, > specification doesn't prevent that. yep, just smc or hvc. >>> >>> Also I am not dismissing the series yet, but if I find that SCMI >>> can be used(after getting specifics from this series myself), I >>> will at-least argue against the "SCMI can't be used" argument. >> >> This is not my argument that we can't use SCMI. This is what was my >> understanding from that meeting we had. And definitely there is no >> quick path for us to switch to SCMI and breaks all current existing >> customers. >> > > I understand the latter and I mentioned the same earlier, but I disagree > with the former. That meeting was mostly introduction(and informal IMO) > and didn't involve anything at the technical level. Definitely the first one for me. >> And this interface is just in the same position as current SCPI. It >> means you have SCPI already merged and you are adding new one. SCMI >> could be maybe also just SCPIv2. > > Agreed, but it was posted as soon as the specification is out and so is > the SCMI. I am not arguing it as a point, but just mentioning that this > post was simply bad timing :) Definitely not purpose just coincidence. SCMI v1 June 26, SCMI v2 Aug 4. It is quite clear if Xilinx decides to use SCMI that there will be transition time between what we use for couple of years to new interface. Thanks, Michal ^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2017-08-17 11:24 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-16 12:24 [PATCHv2 0/3] arm64 xilinx zynqmp firmware interface Michal Simek
2017-08-16 12:24 ` [PATCHv2 1/3] dt: xilinx: zynqmp: Add bindings for PM firmware Michal Simek
[not found] ` <2935be9896d54020720919e7dab7c2f86bdc83a3.1502886277.git.michal.simek-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>
2017-08-16 15:45 ` Sudeep Holla
[not found] ` <2c2ffced-bc32-1eb4-aabe-ad6386076267-5wv7dgnIgG8@public.gmane.org>
2017-08-17 6:27 ` Michal Simek
2017-08-16 16:00 ` Mark Rutland
2017-08-17 6:26 ` Michal Simek
2017-08-16 12:24 ` [PATCHv2 2/3] arm64: zynqmp: dt: Add PM firmware node Michal Simek
[not found] ` <cover.1502886277.git.michal.simek-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>
2017-08-16 15:39 ` [PATCHv2 0/3] arm64 xilinx zynqmp firmware interface Marc Zyngier
[not found] ` <43deeed7-32c8-7914-5f44-862ebbe14a3b-5wv7dgnIgG8@public.gmane.org>
2017-08-17 6:10 ` Michal Simek
2017-08-17 7:52 ` Marc Zyngier
[not found] ` <a1970cb5-1cf1-d38a-3de3-c782c23fc8ac-5wv7dgnIgG8@public.gmane.org>
2017-08-17 8:42 ` Michal Simek
[not found] ` <0560c79f-e461-6010-0628-e99ce0a1f8c6-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>
2017-08-17 9:12 ` Sudeep Holla
2017-08-17 10:32 ` Michal Simek
[not found] ` <07473fe2-d159-a016-2f65-735b1231beb8-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>
2017-08-17 11:18 ` Sudeep Holla
2017-08-17 11:24 ` Michal Simek
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).