#
d1e2a8e2 |
| 10-Nov-2023 |
Thomas Huth <thuth@redhat.com> |
Merge branch 'pr-2023-11-09' into 'master'
s390x: multiline unittests.cfg, sclp enhancements, topology fixes and improvements, sie without MSO/MSL, 2G guest alignment, bug fixes
See merge request k
Merge branch 'pr-2023-11-09' into 'master'
s390x: multiline unittests.cfg, sclp enhancements, topology fixes and improvements, sie without MSO/MSL, 2G guest alignment, bug fixes
See merge request kvm-unit-tests/kvm-unit-tests!48
show more ...
|
#
54674bae |
| 06-Nov-2023 |
Nico Boehr <nrb@linux.ibm.com> |
s390x: lib: sie: don't reenter SIE on pgm int
At the moment, when a PGM int occurs while in SIE, we will just reenter SIE after the interrupt handler was called.
This is because sie() has a loop wh
s390x: lib: sie: don't reenter SIE on pgm int
At the moment, when a PGM int occurs while in SIE, we will just reenter SIE after the interrupt handler was called.
This is because sie() has a loop which checks icptcode and re-enters SIE if it is zero.
However, this behaviour is quite undesirable for SIE tests, since it doesn't give the host the chance to assert on the PGM int. Instead, we will just re-enter SIE, on nullifing conditions even causing the exception again.
In sie(), check whether a pgm int code is set in lowcore. If it has, exit the loop so the test can react to the interrupt. Add a new function read_pgm_int_code() to obtain the interrupt code.
Note that this introduces a slight oddity with sie and pgm int in certain cases: If a PGM int occurs between a expect_pgm_int() and sie(), we will now never enter SIE until the pgm_int_code is cleared by e.g. clear_pgm_int().
Also add missing include of facility.h to mem.h.
Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com> Reviewed-by: Janosch Frank <frankja@linux.ibm.com> Link: https://lore.kernel.org/r/20231106163738.1116942-6-nrb@linux.ibm.com Signed-off-by: Nico Boehr <nrb@linux.ibm.com>
show more ...
|
#
610c1528 |
| 14-Jun-2022 |
Thomas Huth <thuth@redhat.com> |
Merge branch 's390x-next-2022-06' into 'master'
s390x: some migration tests and gcc12 support
See merge request kvm-unit-tests/kvm-unit-tests!33
|
#
5af83aa8 |
| 08-Jun-2022 |
Janis Schoetterl-Glausch <scgl@linux.ibm.com> |
s390x: Fix gcc 12 warning about array bounds
gcc 12 warns about pointer constant <4k dereference. Silence the warning by using the extern lowcore symbol to derive the pointers. This way gcc cannot c
s390x: Fix gcc 12 warning about array bounds
gcc 12 warns about pointer constant <4k dereference. Silence the warning by using the extern lowcore symbol to derive the pointers. This way gcc cannot conclude that the pointer is <4k.
Signed-off-by: Janis Schoetterl-Glausch <scgl@linux.ibm.com> Message-Id: <20220608122953.1051952-3-scgl@linux.ibm.com> Signed-off-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
show more ...
|
#
3ac97f8f |
| 18-Oct-2021 |
Paolo Bonzini <bonzini@gnu.org> |
Merge branch 's390x-pull-2021-10-18' into 'master'
s390x-pull-2021-10-18
See merge request kvm-unit-tests/kvm-unit-tests!18
|
#
429c9cc2 |
| 03-Sep-2021 |
David Hildenbrand <david@redhat.com> |
s390x: skey: Test for ADDRESSING exceptions
... used to be broken in TCG, so let's add a very simple test for SSKE and ISKE. In order to test RRBE as well, introduce a helper to call the machine ins
s390x: skey: Test for ADDRESSING exceptions
... used to be broken in TCG, so let's add a very simple test for SSKE and ISKE. In order to test RRBE as well, introduce a helper to call the machine instruction.
Signed-off-by: David Hildenbrand <david@redhat.com> Message-Id: <20210903162537.57178-1-david@redhat.com> Link: https://lore.kernel.org/kvm/20210903162537.57178-1-david@redhat.com/ Reviewed-by: Janosch Frank <frankja@linux.ibm.com> Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
show more ...
|
#
0c259cf3 |
| 16-Aug-2021 |
Paolo Bonzini <bonzini@gnu.org> |
Merge branch 's390x-pull-2021-16-08' into 'master'
s390x-pull-2021-16-08
See merge request kvm-unit-tests/kvm-unit-tests!15
|
#
b81a2cd4 |
| 27-Jul-2021 |
Janosch Frank <frankja@linux.ibm.com> |
s390x: Fix my mail address in the headers
I used the wrong one once and then copied it over...
Signed-off-by: Janosch Frank <frankja@linux.ibm.com> Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm
s390x: Fix my mail address in the headers
I used the wrong one once and then copied it over...
Signed-off-by: Janosch Frank <frankja@linux.ibm.com> Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com> Reviewed-by: Thomas Huth <thuth@redhat.com>
show more ...
|
#
eb5a1bba |
| 09-Jun-2021 |
Cornelia Huck <cohuck@redhat.com> |
s390x: unify header guards
Standardize header guards to _ASMS390X_HEADER_H_, _S390X_HEADER_H_, and S390X_HEADER_H, respectively.
Signed-off-by: Cornelia Huck <cohuck@redhat.com> Reviewed-by: David
s390x: unify header guards
Standardize header guards to _ASMS390X_HEADER_H_, _S390X_HEADER_H_, and S390X_HEADER_H, respectively.
Signed-off-by: Cornelia Huck <cohuck@redhat.com> Reviewed-by: David Hildenbrand <david@redhat.com> Message-Id: <20210609143712.60933-7-cohuck@redhat.com>
show more ...
|
#
c9a34447 |
| 20-Jan-2021 |
Paolo Bonzini <pbonzini@redhat.com> |
Merge tag 's390x-2021-20-01' of https://gitlab.com/frankja/kvm-unit-tests into HEAD
* Moved to SPDX license identifiers and cleaning up license * Added test_bit(_inv)() & SCLP feature bit checking *
Merge tag 's390x-2021-20-01' of https://gitlab.com/frankja/kvm-unit-tests into HEAD
* Moved to SPDX license identifiers and cleaning up license * Added test_bit(_inv)() & SCLP feature bit checking * Added first SIE lib and test for nesting tests * Added diag318 emulation test * Small UV fix
show more ...
|
#
6c9f99df |
| 07-Dec-2020 |
Janosch Frank <frankja@linux.ibm.com> |
s390x: lib: Move to GPL 2 and SPDX license identifiers
In the past we had some issues when developers wanted to use code snippets or constants from the kernel in a test or in the library. To remedy
s390x: lib: Move to GPL 2 and SPDX license identifiers
In the past we had some issues when developers wanted to use code snippets or constants from the kernel in a test or in the library. To remedy that the s390x maintainers decided to move all files to GPL 2 (if possible).
At the same time let's move to SPDX identifiers as they are much nicer to read.
Signed-off-by: Janosch Frank <frankja@linux.ibm.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Cornelia Huck <cohuck@redhat.com> Acked-by: David Hildenbrand <david@redhat.com> Acked-by: Pierre Morel <pmorel@linux.ibm.com>
show more ...
|
#
26c759eb |
| 25-Sep-2019 |
Paolo Bonzini <pbonzini@redhat.com> |
Merge tag 's390x-2019-09-25' of https://gitlab.com/huth/kvm-unit-tests into HEAD
New s390x kvm-unit-tests and some fixes from Janosch Frank
|
#
7b9ca995 |
| 28-Aug-2019 |
Janosch Frank <frankja@linux.ibm.com> |
s390x: Storage key library functions now take void ptr addresses
Now all mem.h functions are consistent in how they take a memory address. Also we have less casting in the future.
Signed-off-by: Ja
s390x: Storage key library functions now take void ptr addresses
Now all mem.h functions are consistent in how they take a memory address. Also we have less casting in the future.
Signed-off-by: Janosch Frank <frankja@linux.ibm.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-Id: <20190828113615.4769-3-frankja@linux.ibm.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
show more ...
|
#
6f9a99fe |
| 28-Aug-2019 |
Janosch Frank <frankja@linux.ibm.com> |
s390x: Move pfmf to lib and make address void
It's needed by other tests soon.
Signed-off-by: Janosch Frank <frankja@linux.ibm.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-Id: <20190828
s390x: Move pfmf to lib and make address void
It's needed by other tests soon.
Signed-off-by: Janosch Frank <frankja@linux.ibm.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-Id: <20190828113615.4769-2-frankja@linux.ibm.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
show more ...
|
#
f50a9b33 |
| 08-Mar-2019 |
Paolo Bonzini <pbonzini@redhat.com> |
Merge tag 's390x-ppc-2019-02-28' of https://gitlab.com/huth/kvm-unit-tests into HEAD
- ppc: Make sure to run h_cede test with transactional memory enabled - s390x: Fixes for the skey test - s390x: C
Merge tag 's390x-ppc-2019-02-28' of https://gitlab.com/huth/kvm-unit-tests into HEAD
- ppc: Make sure to run h_cede test with transactional memory enabled - s390x: Fixes for the skey test - s390x: Clean up prefixes / test report messages
show more ...
|
#
d0bfafdf |
| 06-Feb-2019 |
Janosch Frank <frankja@linux.ibm.com> |
s390x: Only look at relevant skey bits
Reference and change indication should not be consulted when checking for ACC and FP values of storage keys.
Signed-off-by: Janosch Frank <frankja@linux.ibm.c
s390x: Only look at relevant skey bits
Reference and change indication should not be consulted when checking for ACC and FP values of storage keys.
Signed-off-by: Janosch Frank <frankja@linux.ibm.com> Reviewed-by: David Hildenbrand <david@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
show more ...
|
#
d935296e |
| 28-Mar-2018 |
Radim Krčmář <rkrcmar@redhat.com> |
Merge tag 's390x-2018-03-28' of https://github.com/huth/kvm-unit-tests
New unit tests for s390x
|
#
f6b354fb |
| 27-Mar-2018 |
Janosch Frank <frankja@linux.vnet.ibm.com> |
s390x: Add storage keys tests
Storage keys are not used by Linux anymore, so let's show them some love and test if the basics still work.
Signed-off-by: Janosch Frank <frankja@linux.vnet.ibm.com> R
s390x: Add storage keys tests
Storage keys are not used by Linux anymore, so let's show them some love and test if the basics still work.
Signed-off-by: Janosch Frank <frankja@linux.vnet.ibm.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
show more ...
|