#
9cab5824 |
| 24-Apr-2024 |
Thomas Huth <thuth@redhat.com> |
Merge branch 'pr-2024-04-22' into 'master'
s390x: Improvement of CMM test, lot of small bugfixes and two refactorings
See merge request kvm-unit-tests/kvm-unit-tests!58
|
#
eb547ec7 |
| 31-Jan-2024 |
Janosch Frank <frankja@linux.ibm.com> |
lib: s390x: uv: Dirty CC before uvc execution
Dirtying the CC allows us to find missing CC changes.
Signed-off-by: Janosch Frank <frankja@linux.ibm.com> Reviewed-by: Claudio Imbrenda <imbrenda@linu
lib: s390x: uv: Dirty CC before uvc execution
Dirtying the CC allows us to find missing CC changes.
Signed-off-by: Janosch Frank <frankja@linux.ibm.com> Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com> Link: https://lore.kernel.org/r/20240131074427.70871-3-frankja@linux.ibm.com Signed-off-by: Nico Boehr <nrb@linux.ibm.com>
show more ...
|
#
90cacd85 |
| 11-Jul-2023 |
Thomas Huth <thuth@redhat.com> |
Merge branch 's390x-2023-07' into 'master'
s390x: topology tests, SCLP fixes, UV host test improvements, PV test improvements and validity/IPL test and some small maintanence fixes
See merge reques
Merge branch 's390x-2023-07' into 'master'
s390x: topology tests, SCLP fixes, UV host test improvements, PV test improvements and validity/IPL test and some small maintanence fixes
See merge request kvm-unit-tests/kvm-unit-tests!45
show more ...
|
#
484ab8dc |
| 22-Jun-2023 |
Janosch Frank <frankja@linux.ibm.com> |
s390x: uv-host: Properly handle config creation errors
If the first bit is set on a error rc, the hypervisor will need to destroy the config before trying again. Let's properly handle those cases so
s390x: uv-host: Properly handle config creation errors
If the first bit is set on a error rc, the hypervisor will need to destroy the config before trying again. Let's properly handle those cases so we're not using stale data.
Signed-off-by: Janosch Frank <frankja@linux.ibm.com> Reviewed-by: Nico Boehr <nrb@linux.ibm.com> Link: https://lore.kernel.org/r/20230622075054.3190-7-frankja@linux.ibm.com Signed-off-by: Nico Boehr <nrb@linux.ibm.com>
show more ...
|
#
c315f52b |
| 12-May-2022 |
Paolo Bonzini <bonzini@gnu.org> |
Merge branch 's390x-next-2022-05' into 'master'
storage keys, attestation, migration tests
See merge request kvm-unit-tests/kvm-unit-tests!30
|
#
8348b72d |
| 05-May-2022 |
Steffen Eiden <seiden@linux.ibm.com> |
s390x: Add attestation tests
Adds several tests to verify correct error paths of attestation.
Signed-off-by: Steffen Eiden <seiden@linux.ibm.com> Reviewed-by: Janosch Frank <frankja@linux.ibm.com>
s390x: Add attestation tests
Adds several tests to verify correct error paths of attestation.
Signed-off-by: Steffen Eiden <seiden@linux.ibm.com> Reviewed-by: Janosch Frank <frankja@linux.ibm.com> Signed-off-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
show more ...
|
#
6a87e02c |
| 05-May-2022 |
Steffen Eiden <seiden@linux.ibm.com> |
s390x: uv-host: Add invalid command attestation check
Adds an invalid command test for attestation in the uv-host.
Signed-off-by: Steffen Eiden <seiden@linux.ibm.com> Reviewed-by: Janosch Frank <fr
s390x: uv-host: Add invalid command attestation check
Adds an invalid command test for attestation in the uv-host.
Signed-off-by: Steffen Eiden <seiden@linux.ibm.com> Reviewed-by: Janosch Frank <frankja@linux.ibm.com> Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com> Signed-off-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
show more ...
|
#
257c962f |
| 17-Feb-2022 |
Paolo Bonzini <bonzini@gnu.org> |
Merge branch 's390x-next-20220217' into 'master'
s390x: smp lib improvements and more
See merge request kvm-unit-tests/kvm-unit-tests!25
|
#
5630c446 |
| 02-Dec-2021 |
Janosch Frank <frankja@linux.ibm.com> |
s390x: uv: Fix UVC cmd prepare reset name
The specification and the kernel use UVC_CMD_PREPARE_RESET so let's fix our naming up.
The call bit is named correctly but is not the same as the name we u
s390x: uv: Fix UVC cmd prepare reset name
The specification and the kernel use UVC_CMD_PREPARE_RESET so let's fix our naming up.
The call bit is named correctly but is not the same as the name we use on KVM. So let's clear that up too.
Signed-off-by: Janosch Frank <frankja@linux.ibm.com> Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com> Signed-off-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
show more ...
|
#
3df30161 |
| 20-Jan-2022 |
Thomas Huth <thuth@redhat.com> |
Merge branch 's390x-next-20220117' from imbrenda into 'master'
s390x: 2022-01-17 update
See merge request https://gitlab.com/kvm-unit-tests/kvm-unit-tests/-/merge_requests/22
|
#
f4f97af0 |
| 04-Sep-2020 |
Janosch Frank <frankja@linux.ibm.com> |
s390x: lib: Extend UV library with PV guest management
Let's extend the UV lib with guest 1 code to be able to manage protected VMs in the future.
Signed-off-by: Janosch Frank <frankja@linux.ibm.co
s390x: lib: Extend UV library with PV guest management
Let's extend the UV lib with guest 1 code to be able to manage protected VMs in the future.
Signed-off-by: Janosch Frank <frankja@linux.ibm.com> Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com> Signed-off-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
show more ...
|
#
f3c0b3ca |
| 22-Feb-2021 |
Janosch Frank <frankja@linux.ibm.com> |
s390x: uv: Add more UV call functions
To manage protected guests we need a few more UV calls: * import / export * destroy page * set SE header * set cpu state
Signed-off-by: Janosch Fra
s390x: uv: Add more UV call functions
To manage protected guests we need a few more UV calls: * import / export * destroy page * set SE header * set cpu state
Signed-off-by: Janosch Frank <frankja@linux.ibm.com> Reviewed-by: Claudio Imbrenda <imbrenda@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
|
#
04bf4919 |
| 07-Sep-2021 |
Janosch Frank <frankja@linux.ibm.com> |
lib: s390x: uv: Add UVC_ERR_DEBUG switch
Every time something goes wrong in a way we don't expect, we need to add debug prints to some UVC to get the unexpected return code.
Let's just put the prin
lib: s390x: uv: Add UVC_ERR_DEBUG switch
Every time something goes wrong in a way we don't expect, we need to add debug prints to some UVC to get the unexpected return code.
Let's just put the printing behind a macro so we can enable it if needed via a simple switch.
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 ...
|
#
e55cd64a |
| 26-Aug-2021 |
Janosch Frank <frankja@linux.ibm.com> |
lib: s390x: uv: Fix share return value and print
Let's only return 0/1 for success/failure respectively. If needed we can later add rc/rrc pointers so we can check for the reasons of cc==1 cases lik
lib: s390x: uv: Fix share return value and print
Let's only return 0/1 for success/failure respectively. If needed we can later add rc/rrc pointers so we can check for the reasons of cc==1 cases like we do in the kernel.
As share() might also be used in snippets it's best not to use prints to avoid linking problems so lets remove the report_info().
Signed-off-by: Janosch Frank <frankja@linux.ibm.com> Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com> Acked-by: Thomas Huth <thuth@redhat.com>
show more ...
|
#
60ac107d |
| 07-Jul-2021 |
Paolo Bonzini <bonzini@gnu.org> |
Merge branch 's390x-pull-2021-07-07' into 'master'
s390x-pull-2021-07-07
See merge request kvm-unit-tests/kvm-unit-tests!13
|
#
8b3403a1 |
| 11-Jun-2021 |
Janosch Frank <frankja@linux.ibm.com> |
lib: s390x: uv: Add offset comments to uv_query and extend it
The struct is getting longer, let's add offset comments so we know where we change things when we add struct members.
Signed-off-by: Ja
lib: s390x: uv: Add offset comments to uv_query and extend it
The struct is getting longer, let's add offset comments so we know where we change things when we add struct members.
Signed-off-by: Janosch Frank <frankja@linux.ibm.com> Reviewed-by: Cornelia Huck <cohuck@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 ...
|
#
f175fee7 |
| 26-May-2021 |
Paolo Bonzini <pbonzini@redhat.com> |
Merge branch 's390x-pull-2021-26-05' of https://gitlab.com/frankja/kvm-unit-tests into HEAD
|
#
07ac63dc |
| 04-Sep-2020 |
Janosch Frank <frankja@linux.ibm.com> |
s390x: uv: Add UV lib
Lets add a UV library to make checking the UV feature bit easier. In the future this library file can take care of handling UV initialization and UV guest creation.
Signed-off
s390x: uv: Add UV lib
Lets add a UV library to make checking the UV feature bit easier. In the future this library file can take care of handling UV initialization and UV guest creation.
Signed-off-by: Janosch Frank <frankja@linux.ibm.com> Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com> Reviewed-by: Cornelia Huck <cohuck@redhat.com> Acked-by: Thomas Huth <thuth@redhat.com>
show more ...
|
#
83d815a2 |
| 14-Jan-2021 |
Janosch Frank <frankja@linux.ibm.com> |
s390x: Add more Ultravisor command structure definitions
They are needed in the new UV tests.
As we now extend the size of the query struct, we need to set the length in the UV guest query test to
s390x: Add more Ultravisor command structure definitions
They are needed in the new UV tests.
As we now extend the size of the query struct, we need to set the length in the UV guest query test to a constant instead of using sizeof.
Signed-off-by: Janosch Frank <frankja@linux.ibm.com> Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com> Acked-by: Cornelia Huck <cohuck@redhat.com> Acked-by: Thomas Huth <thuth@redhat.com>
show more ...
|
#
3054ca26 |
| 08-Mar-2021 |
Paolo Bonzini <bonzini@gnu.org> |
Merge branch 's390x-pull-2021-08-03' of https://gitlab.com/frankja/kvm-unit-tests.git into 'master'
* IO tests PV compatibility (Pierre) * Backtrace support (Janosch) * mvpg test (Claudio) * Fixups
Merge branch 's390x-pull-2021-08-03' of https://gitlab.com/frankja/kvm-unit-tests.git into 'master'
* IO tests PV compatibility (Pierre) * Backtrace support (Janosch) * mvpg test (Claudio) * Fixups (Thomas)
show more ...
|
#
027c8015 |
| 22-Jan-2021 |
Pierre Morel <pmorel@linux.ibm.com> |
s390x: pv: implement routine to share/unshare memory
When communicating with the host we need to share part of the memory.
Let's implement the ultravisor calls for this.
Signed-off-by: Pierre More
s390x: pv: implement routine to share/unshare memory
When communicating with the host we need to share part of the memory.
Let's implement the ultravisor calls for this.
Signed-off-by: Pierre Morel <pmorel@linux.ibm.com> Suggested-by: Janosch Frank <frankja@linux.ibm.com> Reviewed-by: Janosch Frank <frankja@linux.ibm.com> Acked-by: Cornelia Huck <cohuck@redhat.com> Acked-by: Thomas Huth <thuth@redhat.com> Message-Id: <1611322060-1972-2-git-send-email-pmorel@linux.ibm.com> Signed-off-by: Janosch Frank <frankja@linux.ibm.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 ...
|
#
88fb0e5d |
| 18-Jan-2021 |
Janosch Frank <frankja@linux.ibm.com> |
s390x: Fix uv_call() exception behavior
On a program exception we usually skip the instruction that caused the exception and continue. That won't work for UV calls since a "brc 3,0b" will retry the
s390x: Fix uv_call() exception behavior
On a program exception we usually skip the instruction that caused the exception and continue. That won't work for UV calls since a "brc 3,0b" will retry the instruction if the CC is > 1. Let's forgo the brc when checking for privilege exceptions and use a uv_call_once().
Signed-off-by: Janosch Frank <frankja@linux.ibm.com> Suggested-by: Claudio Imbrenda <imbrenda@linux.ibm.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Cornelia Huck <cohuck@redhat.com>
show more ...
|