s390x: Allocation and hosting environment detection fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 23 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | lib: s390x: vm: Add kvm and lpar vm querieslib/ lib/ s390x/ | +63 | 6 replies | |
| 2/5 | s390x: css: Skip if we're not run by qemus390x/ | +9 | 2 replies | |
| 3/5 | s390x: diag308: Only test subcode 2 under QEMUs390x/ | +14 | 3 replies | |
| 4/5 | s390x: smp: Allocate memory in DMA31 spaces390x/ | +2 | 9 replies | |
| 5/5 | s390x: firq: Fix sclp buffer allocations390x/ | +1 | 1 reply |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Claudio Imbrenda | Thomas Huth |
|---|---|---|
| 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 0/5] s390x: Allocation and hosting environment detection fixes
I took some time before Christmas to write a test runner for lpar which automatically runs all tests and sends me the logs. It's based on the zhmc library to control starting and stopping of the lpar and works by having a menu entry for each kvm unit test.
This revealed a number of test fails when the tests are run under lpar as there are a few differences:
* lpars most often have a very high memory amount (upwards of 8GB) compared to our qemu env (256MB)
* lpar supports diag308 subcode 2
* lpar does not provide virtio devices
The higher memory amount leads to allocations crossing the 2GB or 4GB border which made sclp and sigp calls fail that expect 31/32 bit addresses.
Janosch Frank (5):
lib: s390x: vm: Add kvm and lpar vm queries
s390x: css: Skip if we're not run by qemu
s390x: diag308: Only test subcode 2 under QEMU
s390x: smp: Allocate memory in DMA31 space
s390x: firq: Fix sclp buffer allocation
lib/s390x/vm.c | 39 +++++++++++++++++++++++++++++++++++++++ lib/s390x/vm.h | 23 +++++++++++++++++++++++ s390x/css.c | 10 +++++++++- s390x/diag308.c | 15 ++++++++++++++- s390x/firq.c | 2 +- s390x/smp.c | 4 ++-- s390x/stsi.c | 21 +-------------------- 7 files changed, 89 insertions(+), 25 deletions(-)
Signature · 1 line
2.32.0