[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Minios-devel] [UNIKRAFT PATCHv3 0/7] Implement Arm64 timer APIs for scheduler(series#4)

Currently, the timer library only provides some simple functions for
unikraft to print timestamp. But it's not enough for scheduler. In
this series, we implemented generic_timer_cpu_block and timer interrupt
for scheduler to sleep and wakeup.

v2->v3: Addressed most of the comments from Julien
    drop patch1 to get rid of nop()
    rewrite calculate_mult_shift()
    add isb() after writing sys registers
    remove counter_mini_delta
    rewrite generic_timer_cpu_block() as per minios implementation
    remove 2 unnecessary generic_timer_mask_irq()
    newly add patch7 to move time.c to time_arm64.c
v1->v2: no functional changes
    rebase due to the changes of series libofw and gic-v2 irq.

Jia He (5):
  plat/common: Calculate shift factors for coversion between ns and tick
  plat/common: Share arch_timer fdt node among functions
  plat/common: Find and register IRQ for arch_timer
  plat/common: Implement generic_timer_cpu_block
  plat/common: Move arm/time.c to arm/time_arm64.c

Wei Chen (2):
  plat/common: Rename read_virtual_count to generic_timer_get_ticks
  plat/common: Record boot_ticks at very beginning

 plat/common/arm/time.c             | 225 -----------------
 plat/common/arm/time_arm64.c       | 381 +++++++++++++++++++++++++++++
 plat/drivers/gic/gic-v2.c          |   2 +-
 plat/drivers/include/gic/gic-v2.h  |   2 +-
 plat/drivers/include/ofw/gic_fdt.h |   2 +-
 plat/kvm/Makefile.uk               |   2 +-
 6 files changed, 385 insertions(+), 229 deletions(-)
 delete mode 100644 plat/common/arm/time.c
 create mode 100644 plat/common/arm/time_arm64.c


Minios-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.