[Qemu-devel] [PATCH v7 0/3] Add and connect the ZynqMP RTC

Alistair Francis posted 3 patches 6 years, 2 months ago
Only 2 patches received!
include/hw/arm/xlnx-zynqmp.h       |   2 +
include/hw/timer/xlnx-zynqmp-rtc.h |  86 ++++++++++++
hw/arm/xlnx-zynqmp.c               |  14 ++
hw/timer/xlnx-zynqmp-rtc.c         | 272 +++++++++++++++++++++++++++++++++++++
hw/timer/Makefile.objs             |   1 +
hw/timer/trace-events              |   3 +
6 files changed, 378 insertions(+)
create mode 100644 include/hw/timer/xlnx-zynqmp-rtc.h
create mode 100644 hw/timer/xlnx-zynqmp-rtc.c
[Qemu-devel] [PATCH v7 0/3] Add and connect the ZynqMP RTC
Posted by Alistair Francis 6 years, 2 months ago
V7:
 - Move the current_tm to the init() function

V6:
 - Migrate tick_offset and add a pre_save call

V5:
 - Recalculate tick_offset after migration

V4:
 - Use the RegisterAccessInfo .unimp functionality

V3:
 - Store an offset value
 - Use mktimegm()
 - Log unimplemented writes

V2:
 - Delete unused realise function
 - Add cover letter
 - Convert DB_PRINT() macro to trace


Alistair Francis (3):
  xlnx-zynqmp-rtc: Initial commit
  xlnx-zynqmp-rtc: Add basic time support
  xlnx-zynqmp: Connect the RTC device

 include/hw/arm/xlnx-zynqmp.h       |   2 +
 include/hw/timer/xlnx-zynqmp-rtc.h |  86 ++++++++++++
 hw/arm/xlnx-zynqmp.c               |  14 ++
 hw/timer/xlnx-zynqmp-rtc.c         | 272 +++++++++++++++++++++++++++++++++++++
 hw/timer/Makefile.objs             |   1 +
 hw/timer/trace-events              |   3 +
 6 files changed, 378 insertions(+)
 create mode 100644 include/hw/timer/xlnx-zynqmp-rtc.h
 create mode 100644 hw/timer/xlnx-zynqmp-rtc.c

-- 
2.14.1


Re: [Qemu-devel] [PATCH v7 0/3] Add and connect the ZynqMP RTC
Posted by Peter Maydell 6 years, 1 month ago
On 27 February 2018 at 18:52, Alistair Francis
<alistair.francis@xilinx.com> wrote:
> V7:
>  - Move the current_tm to the init() function
>
> V6:
>  - Migrate tick_offset and add a pre_save call
>
> V5:
>  - Recalculate tick_offset after migration
>
> V4:
>  - Use the RegisterAccessInfo .unimp functionality
>
> V3:
>  - Store an offset value
>  - Use mktimegm()
>  - Log unimplemented writes
>
> V2:
>  - Delete unused realise function
>  - Add cover letter
>  - Convert DB_PRINT() macro to trace
>
>
> Alistair Francis (3):
>   xlnx-zynqmp-rtc: Initial commit
>   xlnx-zynqmp-rtc: Add basic time support
>   xlnx-zynqmp: Connect the RTC device



Applied to target-arm.next, thanks.

-- PMM