mbox series

[U-Boot,v2,0/4] xilinx: firmware: Synchronization firmware functions

Message ID cover.1571053509.git.michal.simek@xilinx.com
Headers show
Series xilinx: firmware: Synchronization firmware functions | expand

Message

Michal Simek Oct. 14, 2019, 11:45 a.m. UTC
Hi,

Versal and ZynqMP are using the same firmware interface that's why some
synchronization should be done.
Still there are zynqmp_mmio_read/write which should be converted.
Patches are done in steps for easier reviewing.

Thanks,
Michal

Changes in v2:
- Fix smc calling from mini configurations cpu.c

Michal Simek (4):
  arm64: versal: Clean pm_api_id usage
  arm64: xilinx: Move firmware functions from platform to driver
  arm64: versal: Rename versal_pm_request to xilinx_pm_request
  arm64: zynqmp: Convert invoke_smc() to xilinx_pm_request()

 arch/arm/mach-versal/cpu.c                    | 25 --------
 arch/arm/mach-versal/include/mach/sys_proto.h | 58 -------------------
 arch/arm/mach-zynqmp/cpu.c                    | 51 +++++-----------
 arch/arm/mach-zynqmp/include/mach/sys_proto.h |  2 -
 board/xilinx/zynqmp/cmds.c                    |  4 +-
 drivers/clk/clk_versal.c                      | 15 ++---
 drivers/firmware/firmware-zynqmp.c            | 33 ++++++++++-
 drivers/fpga/versalpl.c                       |  3 +-
 drivers/fpga/zynqmppl.c                       | 16 ++---
 include/zynqmp_firmware.h                     | 54 ++++++++++++++++-
 10 files changed, 117 insertions(+), 144 deletions(-)

Comments

Michal Simek Oct. 24, 2019, 11:15 a.m. UTC | #1
po 14. 10. 2019 v 13:45 odesílatel Michal Simek
<michal.simek@xilinx.com> napsal:
>
> Hi,
>
> Versal and ZynqMP are using the same firmware interface that's why some
> synchronization should be done.
> Still there are zynqmp_mmio_read/write which should be converted.
> Patches are done in steps for easier reviewing.
>
> Thanks,
> Michal
>
> Changes in v2:
> - Fix smc calling from mini configurations cpu.c
>
> Michal Simek (4):
>   arm64: versal: Clean pm_api_id usage
>   arm64: xilinx: Move firmware functions from platform to driver
>   arm64: versal: Rename versal_pm_request to xilinx_pm_request
>   arm64: zynqmp: Convert invoke_smc() to xilinx_pm_request()
>
>  arch/arm/mach-versal/cpu.c                    | 25 --------
>  arch/arm/mach-versal/include/mach/sys_proto.h | 58 -------------------
>  arch/arm/mach-zynqmp/cpu.c                    | 51 +++++-----------
>  arch/arm/mach-zynqmp/include/mach/sys_proto.h |  2 -
>  board/xilinx/zynqmp/cmds.c                    |  4 +-
>  drivers/clk/clk_versal.c                      | 15 ++---
>  drivers/firmware/firmware-zynqmp.c            | 33 ++++++++++-
>  drivers/fpga/versalpl.c                       |  3 +-
>  drivers/fpga/zynqmppl.c                       | 16 ++---
>  include/zynqmp_firmware.h                     | 54 ++++++++++++++++-
>  10 files changed, 117 insertions(+), 144 deletions(-)
>
> --
> 2.17.1
>

Applied.

Thanks,
Michal