C_APF_ENABLE,
> KVM_DEV_FLIC_APF_DISABLE_WAIT and KVM_SET_GSI_ROUTING ioctl.
>
> All of these issues do only exist on ucontrol VMs. Fixes for the issues
> are included within the patch series.
Whole series:
Reviewed-by: Claudio Imbrenda
>
> v2:
> - added documentation c
On Mon, 9 Dec 2024 12:07:13 +0100
Christoph Schlameuss wrote:
> Add some superficial selftests for the floating interrupt controller
> when using ucontrol VMs. These tests are intended to cover very basic
> calls only.
>
> Some of the calls may trigger null pointer dereferences on kernels not
>
On Fri, 13 Sep 2024 13:52:46 +0200
Christoph Schlameuss wrote:
> Add a test case verifying basic running and interaction of ucontrol VMs.
> Fill the segment and page tables for allocated memory and map memory on
> first access.
>
> * uc_map_unmap
> Store and load data to mapped and unmapped me
On Mon, 2 Sep 2024 13:50:01 +0200
Christoph Schlameuss wrote:
> Add a test case manipulating s390 storage keys from within the ucontrol
> VM.
>
> Signed-off-by: Christoph Schlameuss
> ---
> .../selftests/kvm/s390x/ucontrol_test.c | 89 ++-
> 1 file changed, 88 insertions
On Mon, 2 Sep 2024 13:50:00 +0200
Christoph Schlameuss wrote:
> Add a test case verifying basic running and interaction of ucontrol VMs.
> Fill the segment and page tables for allocated memory and map memory on
> first access.
>
> * uc_map_unmap
> Store and load data to mapped and unmapped me
On Tue, 20 Aug 2024 08:48:37 +0200
Hariharan Mari wrote:
> Extend the existing regression test framework for s390x CPU subfunctions
> to include tests for the Perform Locked Operation (PLO) subfunction
> functions.
>
> PLO was introduced in the very first 64-bit machine generation.
> Hence it is
On Tue, 20 Aug 2024 08:48:33 +0200
Hariharan Mari wrote:
> Introduce new regression tests to verify the ASM inline block in the SORTL
> and DFLTCC CPU subfunctions for the s390x architecture. These tests ensure
> that future changes to the ASM code are properly validated.
>
> The test procedure:
On Tue, 9 Jul 2024 14:57:00 +0200
Christoph Schlameuss wrote:
> Add functions to simply print some basic state information in selftests.
>
> The output can be enabled by setting:
>
> #define TH_LOG_ENABLED 1
> #define DEBUG 1
>
> * print_psw: current SIE state description and VM run s
On Tue, 9 Jul 2024 14:57:03 +0200
Christoph Schlameuss wrote:
> Add a test case manipulating s390 storage keys from within the ucontrol
> VM.
>
> Signed-off-by: Christoph Schlameuss
> ---
> .../selftests/kvm/s390x/ucontrol_test.c | 83 +++
> 1 file changed, 83 insertions
On Tue, 9 Jul 2024 14:57:01 +0200
Christoph Schlameuss wrote:
> Add test case running code interacting with registers within a
> ucontrol VM.
>
> * Add uc_gprs test case
>
> The test uses the same VM setup using the fixture and debug macros
> introduced in earlier patches in this series.
>
>
On Tue, 9 Jul 2024 14:56:57 +0200
Christoph Schlameuss wrote:
> Subsequent tests do require direct manipulation of the SIE instruction.
> This commit introduces the SIE definition for the selftests.
>
> There are already definitions of this within the kernel.
> This differs in two ways.
> * Thi
hugepages.
>
> To allow testing of the ucontrol interface the kernel needs a
> non-default config containing CONFIG_KVM_S390_UCONTROL.
> This config needs to be set to built-in (y) as this cannot be built as
> module.
>
> Signed-off-by: Christoph Schlameuss
Reviewed-by:
nes in existing
> code.
>
> Signed-off-by: Christoph Schlameuss
Reviewed-by: Claudio Imbrenda
> ---
> tools/testing/selftests/kvm/include/s390x/processor.h | 5 +
> tools/testing/selftests/kvm/lib/s390x/processor.c | 10 +-
> tools/testing/selftest
On Tue, 9 Jul 2024 14:57:04 +0200
Christoph Schlameuss wrote:
> Add a test case verifying KVM_SET_USER_MEMORY_REGION and
> KVM_SET_USER_MEMORY_REGION2 cannot be executed on ucontrol VMs.
>
> Executing this test case on not patched kernels will cause a null
> pointer dereference in the host kern
created with S390 user
> + * controlled virtual machines,
this line does not need to end like this, I guess?
> + * the resulting vcpu fd can be memory mapped at page offset
> + * KVM_S390_SIE_PAGE_OFFSET in order to obtain a memory map
> + * of the virtual cpu's hardware control block.
> + */
with the comment fixed:
Reviewed-by: Claudio Imbrenda
[...]
On Mon, 18 Dec 2023 13:18:14 +0100
Nina Schoetterl-Glausch wrote:
[...]
> > > diff --git a/tools/testing/selftests/kvm/s390x/memop.c
> > > b/tools/testing/selftests/kvm/s390x/memop.c
> > > index bb3ca9a5d731..2eba9575828e 100644
> > > --- a/tools/testing/selftests/kvm/s390x/memop.c
> > > +++ b/
On Fri, 15 Dec 2023 17:11:25 +0100
Nina Schoetterl-Glausch wrote:
> If an integer's type has x bits, shifting the integer left by x or more
> is undefined behavior.
> This can happen in the rotate function when attempting to do a rotation
> of the whole value by 0.
is 0 the only problematic valu
17 matches
Mail list logo