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

[Minios-devel] [UNIKRAFT PATCH v5 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.

Changes:
v5: refine the patch 07.
v4: address comments from Santiago, Julien & Sharan.
    add assert for ns_to_ticks, ticks_to_ns
    revert some incorrect addressing in v3 (patch 05)
    add isb after writting the sys reg
    split arch specific codes into arm/arm64, make a stub for arm
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
v2: no functional changes
    rebase due to the changes of series libofw and gic-v2 irq.

Jia He (6):
  plat/common: Calculate shift factors for coversion between ns and tick
  plat/common: Record boot_ticks at very beginning
  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_until
  plat/common: Split arch specific codes from time.c to arm{,64}/time.h

Wei Chen (1):
  plat/common: Rename read_virtual_count to generic_timer_get_ticks

 plat/common/arm/time.c               | 343 ++++++++++++++++++++-------
 plat/common/include/arm/arm/time.h   |  43 ++++
 plat/common/include/arm/arm64/time.h |  45 ++++
 plat/common/include/arm/time.h       |  15 ++
 plat/drivers/gic/gic-v2.c            |   2 +-
 plat/drivers/include/gic/gic-v2.h    |   2 +-
 plat/drivers/include/ofw/gic_fdt.h   |   2 +-
 7 files changed, 364 insertions(+), 88 deletions(-)
 create mode 100644 plat/common/include/arm/arm/time.h
 create mode 100644 plat/common/include/arm/arm64/time.h
 create mode 100644 plat/common/include/arm/time.h

-- 
2.17.1


_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

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