Skip to content

target/s390x: cpu model cleanups + improvements

David Hildenbrand qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 1 replyIn review
  2. v15 patches 4 repliesSuperseded

Changes in v2 from the cover letter

- try to make the compiler not spit out warnings

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5target/s390x: drop BE_BIT()target/s390x/cpu_features.h+0 -10 replies
2/5target/s390x: indicate query subfunction in s390_fill_feat_blocktarget/s390x/cpu_features.c target/s390x/kvm.c+26 -180 replies
3/5target/s390x: introduce (test|set)_be_bittarget/s390x/cpu_features.c target/s390x/cpu_features.h target/s390x/kvm.c+14 -160 replies
4/5s390x/kvm: better comment regarding zPCI feature availabilitytarget/s390x/kvm.c+1 -10 replies
5/5target/s390x: improve baselining if certain base features are missingtarget/s390x/cpu_models.c+33 -00 replies

Reviews trailers per patch

3 of 5 patches have a Reviewed-by or Acked-by.

PatchChristian Borntraeger
1/5A-b
2/5R-b
3/5
4/5A-b
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 0/5] target/s390x: cpu model cleanups + improvements

We want to reuse e.g. s390_get_feat_block() in tcg. Turns out, that set_bit_inv() doesn't work as expected on other architectures (if we want to expose the uint8_t[] based data to the VM later), so let's fix that.

Some other minor cleanups, including better baselining support if one of the MSA subfunctions part of a base model is missing.

v1 -> v2:
- try to make the compiler not spit out warnings

David Hildenbrand (5):
target/s390x: drop BE_BIT()
target/s390x: indicate query subfunction in s390_fill_feat_block target/s390x: introduce (test|set)_be_bit
s390x/kvm: better comment regarding zPCI feature availability target/s390x: improve baselining if certain base features are missing

 target/s390x/cpu_features.c | 33 +++++++++++++++++++++++++++------
 target/s390x/cpu_features.h |  9 ++++++++-
 target/s390x/cpu_models.c   | 33 +++++++++++++++++++++++++++++++++
 target/s390x/kvm.c          | 29 +++--------------------------
 4 files changed, 71 insertions(+), 33 deletions(-)
Signature · 1 line
2.9.4