Re: [PATCH 2/3] selftests: kvm: s390: Add uc_skey VM test case

2024-08-30 Thread Christoph Schlameuss
On Fri Aug 23, 2024 at 9:59 AM CEST, Janosch Frank wrote: > On 8/19/24 6:00 PM, Christoph Schlameuss wrote: > > On Fri Aug 16, 2024 at 4:36 PM CEST, Janosch Frank wrote: > >> On 8/15/24 5:45 PM, Christoph Schlameuss wrote: > [...] > >>> +TEST_F(uc_kvm, uc_skey) > >>> +{ > >>> + u64 test_vaddr = sel

Re: [PATCH 2/3] selftests: kvm: s390: Add uc_skey VM test case

2024-08-23 Thread Janosch Frank
On 8/19/24 6:00 PM, Christoph Schlameuss wrote: On Fri Aug 16, 2024 at 4:36 PM CEST, Janosch Frank wrote: On 8/15/24 5:45 PM, Christoph Schlameuss wrote: [...] +TEST_F(uc_kvm, uc_skey) +{ + u64 test_vaddr = self->base_gpa + VM_MEM_SIZE - (SZ_1M / 2); + struct kvm_sync_regs *sync_re

Re: [PATCH 2/3] selftests: kvm: s390: Add uc_skey VM test case

2024-08-19 Thread Christoph Schlameuss
On Fri Aug 16, 2024 at 4:36 PM CEST, Janosch Frank wrote: > On 8/15/24 5:45 PM, 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 |

Re: [PATCH 2/3] selftests: kvm: s390: Add uc_skey VM test case

2024-08-16 Thread Janosch Frank
On 8/15/24 5:45 PM, 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 | 76 +++ 1 file changed, 76 insertions(+) diff --git a/tools/tes

[PATCH 2/3] selftests: kvm: s390: Add uc_skey VM test case

2024-08-15 Thread Christoph Schlameuss
Add a test case manipulating s390 storage keys from within the ucontrol VM. Signed-off-by: Christoph Schlameuss --- .../selftests/kvm/s390x/ucontrol_test.c | 76 +++ 1 file changed, 76 insertions(+) diff --git a/tools/testing/selftests/kvm/s390x/ucontrol_test.c b/tools/te