target/s390x: implement MVCOS and allow to enable it
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 2 repliesIn review
- v13 patches 12 repliesSuperseded
Changes in v2 from the cover letter
- Squashed CPU model change and don't fake abscence
- Introduced a memhelper to do bulk access
- Minor style and bug fixes suggested/found by Thomas + Richard
- CR0_SECONDARY define was wrong :(
- introduce defines for AC_*
- enable the instruction for USER MODE (however will always result in a PRIVILEDGED exception)
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | target/s390x: change PSW_SHIFT_KEYtarget/ target/ | +2 | 0 replies | |
| 2/2 | target/s390x: implement mvcos instructiontarget/ target/ target/ +3 more | +199 | 2 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Thomas Huth |
|---|---|
| 1/2 | R-b |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH v2 0/2] target/s390x: implement MVCOS and allow to enable it
This will not change the qemu model, we simply allow to enable the facility for the qemu model.
A current upstream kernel (compiled for e.g. z900) can be tricked into using MVCOS for uaccess by simply enabling the facility. This will work even though the kernel is not compiled with z10+ support, as this facility is also detected and used dynamically.
qemu-system-s390x ... -cpu qemu,mvcos=on ...
Requires my PGM fix series:
https://lists.nongnu.org/archive/html/qemu-devel/2017-06/msg02631.html
Based on an original patch by Miroslav Benes
v1 -> v2:
- Squashed CPU model change and don't fake abscence
- Introduced a memhelper to do bulk access
- Minor style and bug fixes suggested/found by Thomas + Richard
- CR0_SECONDARY define was wrong :(
- introduce defines for AC_*
- enable the instruction for USER MODE (however will always result in a PRIVILEDGED exception)
David Hildenbrand (2):
target/s390x: change PSW_SHIFT_KEY
target/s390x: implement mvcos instruction
target/s390x/cpu.h | 24 +++++- target/s390x/cpu_models.c | 1 + target/s390x/helper.h | 1 + target/s390x/insn-data.def | 2 + target/s390x/mem_helper.c | 180 +++++++++++++++++++++++++++++++++++++++++---- target/s390x/translate.c | 11 ++- 6 files changed, 201 insertions(+), 18 deletions(-)
Signature · 1 line
2.9.3