x86: add HPET counter tests
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest5 patches 7 repliesIn review
- v32 patches 0 repliesSuperseded
Changes in v4 from the cover letter
* 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.
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | x86: resize id_map[] elements to u32lib/ lib/ | +2 | 1 reply | |
| 2/5 | x86: fix APs with APIC ID more that 255 not showing in id_maplib/ x86/ | +2 | 1 reply | |
| 3/5 | x86: move USERBASE to 32Mb in smap/pku/pks testsx86/ x86/ x86/ | +3 | 2 replies | |
| 4/5 | x86: bump number of max cpus to 1024lib/ | +1 | 1 reply | |
| 5/5 | x86: add HPET counter read micro benchmark and enable/disable torture testsx86/ x86/ | +95 | 1 reply |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Peter Xu |
|---|---|
| 1/5 | R-b |
| 2/5 | R-b |
| 3/5 | R-b |
| 4/5 | R-b |
| 5/5 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [kvm-unit-tests PATCH v4 0/5] x86: add HPET counter tests
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/[email protected]/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
Signature · 1 line
2.47.1