Re: [kvm-unit-tests PATCH v5 29/29] powerpc: Add timebase tests

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

 



On 16/12/2023 14.42, Nicholas Piggin wrote:
This has a known failure on QEMU TCG machines where the decrementer
interrupt is not lowered when the DEC wraps from -ve to +ve.

Signed-off-by: Nicholas Piggin <npiggin@xxxxxxxxx>
---
  lib/powerpc/asm/ppc_asm.h   |   1 +
  lib/powerpc/asm/processor.h |  22 +++
  powerpc/Makefile.common     |   1 +
  powerpc/smp.c               |  22 ---
  powerpc/timebase.c          | 328 ++++++++++++++++++++++++++++++++++++
  powerpc/unittests.cfg       |   8 +
  6 files changed, 360 insertions(+), 22 deletions(-)
  create mode 100644 powerpc/timebase.c
...
diff --git a/powerpc/timebase.c b/powerpc/timebase.c
new file mode 100644
index 00000000..4d80ea09
--- /dev/null
+++ b/powerpc/timebase.c
@@ -0,0 +1,328 @@
+/*
+ * Test Timebase
+ *
+ * Copyright 2017  Thomas Huth, Red Hat Inc.

No, not really. Please update ;-)

 Thomas





[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