Re: [kvm-unit-tests PATCH 4/7] powerpc: add asm/time.h header with delay and get_clock_us/ms

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

 



On 26/02/2024 10.38, Nicholas Piggin wrote:
This matches s390x clock and delay APIs, so common test code can start
using time facilities.

Signed-off-by: Nicholas Piggin <npiggin@xxxxxxxxx>
---
  lib/powerpc/asm/processor.h | 21 ---------------------
  lib/powerpc/asm/time.h      | 30 ++++++++++++++++++++++++++++++
  lib/powerpc/processor.c     | 11 +++++++++++
  lib/powerpc/smp.c           |  1 +
  lib/ppc64/asm/time.h        |  1 +
  powerpc/spapr_vpa.c         |  1 +
  powerpc/sprs.c              |  1 +
  powerpc/tm.c                |  1 +
  8 files changed, 46 insertions(+), 21 deletions(-)
  create mode 100644 lib/powerpc/asm/time.h
  create mode 100644 lib/ppc64/asm/time.h

Reviewed-by: Thomas Huth <thuth@xxxxxxxxxx>





[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux