Thread (23 messages) 23 messages, 3 authors, 2024-03-05

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

From: Thomas Huth <hidden>
Date: 2024-03-01 14:05:58
Also in: kvm, linux-s390

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@gmail.com>
---
  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 <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help