kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [kvm-unit-tests PATCH v4 0/5] x86: add HPET counter tests
@ 2025-07-25  9:54 Igor Mammedov
  2025-07-25  9:54 ` [kvm-unit-tests PATCH v4 1/5] x86: resize id_map[] elements to u32 Igor Mammedov
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Igor Mammedov @ 2025-07-25  9:54 UTC (permalink / raw)
  To: kvm; +Cc: pbonzini, peterx

Changelog:
  v4:
     * fix smap/pku/pks tests that were failing CI
     * on_cpus() wasn't running task on CPUs above 255,
       fix x86/smp code to correctly account for APIC IDs
       above 255
     * bump max cpus limit to 1024 
     * hpet: count 0 latency as failure to avoid missing
       APs that doesn't run reader task
     * hpet: replace on_cpus() with on_cpus_async() to
       to run reader task only on explicitly selected APs.
  v3:
     * fix test running long time due to control thread
       also running read test and stalling starting other threads 
     * improve latency accuracy 
     * increase max number of vcpus to 448
       (that's what I had in hands for testing)

previous rev:
   "[kvm-unit-tests PATCH v3 0/2] x86: add HPET counter tests"
   https://yhbt.net/lore/all/20250718155738.1540072-1-imammedo@redhat.com/T/#t

Igor Mammedov (5):
  x86: resize id_map[] elements to u32
  x86: fix APs with APIC ID more that 255 not showing in id_map
  x86: move USERBASE to 32Mb in smap/pku/pks tests
  x86: bump number of max cpus to 1024
  x86: add HPET counter read micro benchmark and enable/disable torture
    tests

 lib/x86/apic.h       |  2 +-
 lib/x86/smp.h        |  2 +-
 lib/x86/apic.c       |  2 +-
 lib/x86/setup.c      |  2 +-
 x86/Makefile.common  |  2 +
 x86/cstart.S         |  2 +-
 x86/hpet_read_test.c | 93 ++++++++++++++++++++++++++++++++++++++++++++
 x86/pks.c            |  2 +-
 x86/pku.c            |  2 +-
 x86/smap.c           |  2 +-
 10 files changed, 103 insertions(+), 8 deletions(-)
 create mode 100644 x86/hpet_read_test.c

-- 
2.47.1


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2025-07-31  8:59 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-25  9:54 [kvm-unit-tests PATCH v4 0/5] x86: add HPET counter tests Igor Mammedov
2025-07-25  9:54 ` [kvm-unit-tests PATCH v4 1/5] x86: resize id_map[] elements to u32 Igor Mammedov
2025-07-30 20:39   ` Peter Xu
2025-07-25  9:54 ` [kvm-unit-tests PATCH v4 2/5] x86: fix APs with APIC ID more that 255 not showing in id_map Igor Mammedov
2025-07-30 20:40   ` Peter Xu
2025-07-25  9:54 ` [kvm-unit-tests PATCH v4 3/5] x86: move USERBASE to 32Mb in smap/pku/pks tests Igor Mammedov
2025-07-30 20:56   ` Peter Xu
2025-07-31  8:58     ` Igor Mammedov
2025-07-25  9:54 ` [kvm-unit-tests PATCH v4 4/5] x86: bump number of max cpus to 1024 Igor Mammedov
2025-07-30 20:56   ` Peter Xu
2025-07-25  9:54 ` [kvm-unit-tests PATCH v4 5/5] x86: add HPET counter read micro benchmark and enable/disable torture tests Igor Mammedov
2025-07-30 21:00   ` Peter Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).