RE: [Automated-testing] [RFC] Test catalog template

2024-10-15 Thread Bird, Tim
> -Original Message- > From: automated-test...@lists.yoctoproject.org > On Behalf Of Don Zickus > Hi, > > At Linux Plumbers, a few dozen of us gathered together to discuss how > to expose what tests subsystem maintainers would like to run for every > patch submitted or when CI runs tests

Re: [PATCH v5 19/30] arm64: add POE signal support

2024-10-15 Thread Mark Brown
On Tue, Oct 15, 2024 at 01:25:29PM +0100, Joey Gouly wrote: > On Tue, Oct 15, 2024 at 12:41:16PM +0100, Will Deacon wrote: > > if (system_supports_poe() && err == 0 && user->poe_offset) { > > ... > > which gives the wrong impression that the POR is somehow optional, even > > if th

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

2024-10-15 Thread Christoph Schlameuss
On Tue Oct 15, 2024 at 3:22 PM CEST, Janosch Frank wrote: > On 10/15/24 10:37 AM, Christoph Schlameuss wrote: > > Add a test case manipulating s390 storage keys from within the ucontrol > > VM. > > > > Storage key instruction (ISKE, SSKE and RRBE) intercepts and > > Keyless-subset facility are dis

Re: [PATCH v5 19/30] arm64: add POE signal support

2024-10-15 Thread Dave Martin
On Tue, Oct 15, 2024 at 12:41:16PM +0100, Will Deacon wrote: > On Tue, Oct 15, 2024 at 10:59:11AM +0100, Joey Gouly wrote: > > On Mon, Oct 14, 2024 at 06:10:23PM +0100, Will Deacon wrote: > > > Kevin, Joey, > > > > > > On Wed, Oct 09, 2024 at 03:43:01PM +0100, Will Deacon wrote: > > > > On Tue, Se

Re: [PATCH v3 3/4] KVM: X86: Add documentation about behavioral difference for KVM_EXIT_BUS_LOCK

2024-10-15 Thread Sean Christopherson
x86 (lowercase 'x') On Fri, Oct 04, 2024, Manali Shukla wrote: > Add a note about behavioral difference for KVM_EXIT_X86_BUS_LOCK > between AMD CPUs and Intel CPUs in KVM_CAP_X86_BUS_LOCK_EXIT > capability documentation. This belongs in the previous patch, especially if patch 2 is split into arch

Re: [PATCH net-next 04/10] selftests: RED: Use defer for test cleanup

2024-10-15 Thread Petr Machata
Paolo Abeni writes: > On 10/9/24 14:06, Petr Machata wrote: >> @@ -450,6 +415,7 @@ __do_ecn_test() >> start_tcp_traffic $h1.$vlan $(ipaddr 1 $vlan) $(ipaddr 3 $vlan) \ >>$h3_mac tos=0x01 >> +defer stop_traffic $! >> sleep 1 >> ecn_test_common "$name" "

[PATCH v6 0/5] selftests: kvm: s390: Add ucontrol memory selftests

2024-10-15 Thread Christoph Schlameuss
This patch series adds a some not yet picked selftests to the kvm s390x selftest suite. The additional test cases are covering: * Assert KVM_EXIT_S390_UCONTROL exit on not mapped memory access * Assert functionality of storage keys in ucontrol VM * Assert that memory region operations are rejected

[PATCH v6 1/5] selftests: kvm: s390: Add uc_map_unmap VM test case

2024-10-15 Thread Christoph Schlameuss
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 memory and use pic segment translation handling to map memory on access. Sig

[PATCH v6 5/5] selftests: kvm: s390: correct IP.b length in uc_handle_sieic debug output

2024-10-15 Thread Christoph Schlameuss
The length of the interrupt parameters (IP) are: a: 2 bytes b: 4 bytes Signed-off-by: Christoph Schlameuss --- tools/testing/selftests/kvm/s390x/ucontrol_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/kvm/s390x/ucontrol_test.c b/tools/testing/

[PATCH v6 3/5] selftests: kvm: s390: Verify reject memory region operations for ucontrol VMs

2024-10-15 Thread Christoph Schlameuss
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 kernel. This is fixed with commit: commit 7816e58967d0 ("kvm: s390: Reject memo

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

2024-10-15 Thread Christoph Schlameuss
Add a test case manipulating s390 storage keys from within the ucontrol VM. Storage key instruction (ISKE, SSKE and RRBE) intercepts and Keyless-subset facility are disabled on first use, where the skeys are setup by KVM in non ucontrol VMs. Signed-off-by: Christoph Schlameuss --- .../selftests

[PATCH v6 4/5] selftests: kvm: s390: Fix whitespace confusion in ucontrol test

2024-10-15 Thread Christoph Schlameuss
Checkpatch thinks that we're doing a multiplication but we're obviously not. Fix 4 instances where we adhered to wrong checkpatch advice. Signed-off-by: Christoph Schlameuss --- tools/testing/selftests/kvm/s390x/ucontrol_test.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff

Re: [PATCH v2 5/6] iommu/arm-smmu-v3: Make smmuv3 set_dev_pasid() op support replace

2024-10-15 Thread Will Deacon
On Thu, Sep 12, 2024 at 06:04:26AM -0700, Yi Liu wrote: > From: Jason Gunthorpe > > set_dev_pasid() op is going to be enhanced to support domain replacement > of a pasid. This prepares for this op definition. > > Signed-off-by: Jason Gunthorpe > Signed-off-by: Yi Liu > --- > drivers/iommu/arm

Re: [PATCH v3 3/4] vfio: Add VFIO_DEVICE_PASID_[AT|DE]TACH_IOMMUFD_PT

2024-10-15 Thread Yi Liu
On 2024/10/14 23:49, Alex Williamson wrote: On Sat, 12 Oct 2024 21:49:05 +0800 Yi Liu wrote: On 2024/10/1 20:11, Jason Gunthorpe wrote: On Mon, Sep 30, 2024 at 07:55:08AM +, Tian, Kevin wrote: +struct vfio_device_pasid_attach_iommufd_pt { + __u32 argsz; + __u32 flags;

Re: [PATCH v5 19/30] arm64: add POE signal support

2024-10-15 Thread Joey Gouly
On Tue, Oct 15, 2024 at 12:41:16PM +0100, Will Deacon wrote: > On Tue, Oct 15, 2024 at 10:59:11AM +0100, Joey Gouly wrote: > > On Mon, Oct 14, 2024 at 06:10:23PM +0100, Will Deacon wrote: > > > Kevin, Joey, > > > > > > On Wed, Oct 09, 2024 at 03:43:01PM +0100, Will Deacon wrote: > > > > On Tue, Se

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

2024-10-15 Thread Janosch Frank
On 10/15/24 10:37 AM, Christoph Schlameuss wrote: Add a test case manipulating s390 storage keys from within the ucontrol VM. Storage key instruction (ISKE, SSKE and RRBE) intercepts and Keyless-subset facility are disabled on first use, where the skeys are setup by KVM in non ucontrol VMs. [

Re: [PATCH net-next 01/10] selftests: net: lib: Introduce deferred commands

2024-10-15 Thread Petr Machata
Paolo Abeni writes: > Hi, > > On 10/9/24 14:06, Petr Machata wrote: >> diff --git a/tools/testing/selftests/net/lib/sh/defer.sh >> b/tools/testing/selftests/net/lib/sh/defer.sh >> new file mode 100644 >> index ..8d205c3f0445 >> --- /dev/null >> +++ b/tools/testing/selftests/net/lib

Re: [PATCH net-next 04/10] selftests: RED: Use defer for test cleanup

2024-10-15 Thread Paolo Abeni
On 10/9/24 14:06, Petr Machata wrote: @@ -450,6 +415,7 @@ __do_ecn_test() start_tcp_traffic $h1.$vlan $(ipaddr 1 $vlan) $(ipaddr 3 $vlan) \ $h3_mac tos=0x01 + defer stop_traffic $! sleep 1 ecn_test_common "$name" "$get_nmarked" $vlan $limit @@

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

2024-10-15 Thread Christoph Schlameuss
Add a test case manipulating s390 storage keys from within the ucontrol VM. Storage key instruction (ISKE, SSKE and RRBE) intercepts and Keyless-subset facility are disabled on first use, where the skeys are setup by KVM in non ucontrol VMs. Signed-off-by: Christoph Schlameuss --- .../selftests

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

2024-10-15 Thread Christoph Schlameuss
Please ignore this one. I tricked myself in my patch generation and regenerated the original patch.

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

2024-10-15 Thread Christoph Schlameuss
Add a test case manipulating s390 storage keys from within the ucontrol VM. Storage key instruction (ISKE, SSKE and RRBE) intercepts and Keyless-subset facility are disabled on first use, where the skeys are setup by KVM in non ucontrol VMs. Signed-off-by: Christoph Schlameuss --- .../selftests

Re: [PATCH v2 5/6] iommu/arm-smmu-v3: Make smmuv3 set_dev_pasid() op support replace

2024-10-15 Thread Yi Liu
On 2024/10/15 16:43, Will Deacon wrote: On Thu, Sep 12, 2024 at 06:04:26AM -0700, Yi Liu wrote: From: Jason Gunthorpe set_dev_pasid() op is going to be enhanced to support domain replacement of a pasid. This prepares for this op definition. Signed-off-by: Jason Gunthorpe Signed-off-by: Yi Li

Re: [PATCH v5 19/30] arm64: add POE signal support

2024-10-15 Thread Joey Gouly
On Mon, Oct 14, 2024 at 06:10:23PM +0100, Will Deacon wrote: > Kevin, Joey, > > On Wed, Oct 09, 2024 at 03:43:01PM +0100, Will Deacon wrote: > > On Tue, Sep 24, 2024 at 01:27:58PM +0200, Kevin Brodsky wrote: > > > On 22/08/2024 17:11, Joey Gouly wrote: > > > > @@ -1178,6 +1237,9 @@ static void set

Re: [PATCH net-next 01/10] selftests: net: lib: Introduce deferred commands

2024-10-15 Thread Paolo Abeni
Hi, On 10/9/24 14:06, Petr Machata wrote: diff --git a/tools/testing/selftests/net/lib/sh/defer.sh b/tools/testing/selftests/net/lib/sh/defer.sh new file mode 100644 index ..8d205c3f0445 --- /dev/null +++ b/tools/testing/selftests/net/lib/sh/defer.sh @@ -0,0 +1,115 @@ +#!/bin/bash +

Re: [PATCH v5 19/30] arm64: add POE signal support

2024-10-15 Thread Mark Brown
On Tue, Oct 15, 2024 at 10:59:11AM +0100, Joey Gouly wrote: > On Mon, Oct 14, 2024 at 06:10:23PM +0100, Will Deacon wrote: > > Looking a little more at this, I think we have quite a weird behaviour > > on arm64 as it stands. It looks like we rely on the signal frame to hold > > the original POR_EL

Re: [PATCH v5 19/30] arm64: add POE signal support

2024-10-15 Thread Will Deacon
On Tue, Oct 15, 2024 at 10:59:11AM +0100, Joey Gouly wrote: > On Mon, Oct 14, 2024 at 06:10:23PM +0100, Will Deacon wrote: > > Kevin, Joey, > > > > On Wed, Oct 09, 2024 at 03:43:01PM +0100, Will Deacon wrote: > > > On Tue, Sep 24, 2024 at 01:27:58PM +0200, Kevin Brodsky wrote: > > > > On 22/08/202

Re: [PATCH v3 2/4] KVM: SVM: Enable Bus lock threshold exit

2024-10-15 Thread Sean Christopherson
On Fri, Oct 04, 2024, Manali Shukla wrote: > When a VMRUN instruction is executed, the bus lock threshold count is > loaded into an internal count register. Before the processor executes > a bus lock in the guest, it checks the value of this register: > > - If the value is greater than '0', the p

Re: [PATCH v5 19/30] arm64: add POE signal support

2024-10-15 Thread Catalin Marinas
On Tue, Oct 15, 2024 at 12:41:16PM +0100, Will Deacon wrote: > On Tue, Oct 15, 2024 at 10:59:11AM +0100, Joey Gouly wrote: > > On Mon, Oct 14, 2024 at 06:10:23PM +0100, Will Deacon wrote: > > > Looking a little more at this, I think we have quite a weird behaviour > > > on arm64 as it stands. It lo

Re: [PATCH v3 3/4] vfio: Add VFIO_DEVICE_PASID_[AT|DE]TACH_IOMMUFD_PT

2024-10-15 Thread Alex Williamson
On Tue, 15 Oct 2024 19:07:52 +0800 Yi Liu wrote: > On 2024/10/14 23:49, Alex Williamson wrote: > > On Sat, 12 Oct 2024 21:49:05 +0800 > > Yi Liu wrote: > > > >> On 2024/10/1 20:11, Jason Gunthorpe wrote: > >>> On Mon, Sep 30, 2024 at 07:55:08AM +, Tian, Kevin wrote: > >>> > >

Re: [PATCH v2 5/6] iommu/arm-smmu-v3: Make smmuv3 set_dev_pasid() op support replace

2024-10-15 Thread Jason Gunthorpe
On Tue, Oct 15, 2024 at 09:43:24AM +0100, Will Deacon wrote: > > @@ -2890,6 +2891,7 @@ int arm_smmu_set_pasid(struct arm_smmu_master *master, > > * already attached, no need to set old_domain. > > */ > > .ssid = pasid, > > + .old_domain = old, > > ni

Re: [PATCH v3 3/4] vfio: Add VFIO_DEVICE_PASID_[AT|DE]TACH_IOMMUFD_PT

2024-10-15 Thread Yi Liu
On 2024/10/16 00:22, Alex Williamson wrote: On Tue, 15 Oct 2024 19:07:52 +0800 Yi Liu wrote: On 2024/10/14 23:49, Alex Williamson wrote: On Sat, 12 Oct 2024 21:49:05 +0800 Yi Liu wrote: On 2024/10/1 20:11, Jason Gunthorpe wrote: On Mon, Sep 30, 2024 at 07:55:08AM +, Tian, Kevin wro

kselftest/next build: 7 builds: 2 failed, 5 passed, 1 warning (v6.12-rc3-5-gecfe6870abac)

2024-10-15 Thread kernelci.org bot
kselftest/next build: 7 builds: 2 failed, 5 passed, 1 warning (v6.12-rc3-5-gecfe6870abac) Full Build Summary: https://kernelci.org/build/kselftest/branch/next/kernel/v6.12-rc3-5-gecfe6870abac/ Tree: kselftest Branch: next Git Describe: v6.12-rc3-5-gecfe6870abac Git Commit: ecfe6870abac400036d80