kselftest/fixes build: 6 builds: 2 failed, 4 passed, 1 warning (v6.12-rc1-7-g160c826b4dd0d)

2024-10-01 Thread kernelci.org bot
kselftest/fixes build: 6 builds: 2 failed, 4 passed, 1 warning (v6.12-rc1-7-g160c826b4dd0d) Full Build Summary: https://kernelci.org/build/kselftest/branch/fixes/kernel/v6.12-rc1-7-g160c826b4dd0d/ Tree: kselftest Branch: fixes Git Describe: v6.12-rc1-7-g160c826b4dd0d Git Commit: 160c826b4dd0d57

Re: [RFC PATCH v2 1/5] x86/cpu: Add virt tag in /proc/cpuinfo

2024-10-01 Thread Sean Christopherson
On Tue, Oct 01, 2024, Manali Shukla wrote: > Add support for generating Virtualization feature names in capflags.c > and use the resulting x86_virt_flags to print the virt flags in > /proc/cpuinfo. > > Currently, it is difficult to check if a feature is supported in _KVM_. > Manually querying cpui

Re: [PATCH v2 net-next] wireguard: allowedips: Add WGALLOWEDIP_F_REMOVE_ME flag

2024-10-01 Thread Jordan Rife
Hi Jason, Just reaching out to see if you've had a chance to take a look at this. Thanks! -Jordan

[PATCH v2] selftests/proc: Add test to check unmapped process

2024-10-01 Thread Siddharth Menon
Introduce test 'test_proc_pid_mem' to address the issue in the TODO. Check if VMsize is 0 to determine whether the process has been unmapped. The child process cannot signal the parent that it has unmapped itself, as it no longer exists. This includes unmapping the text segment, preventing the chil

[PATCH HID v3 9/9] selftests/hid: add test for assigning a given device to hid-generic

2024-10-01 Thread Benjamin Tissoires
We use a well known VID/PID on a driver that doesn't need to talk to the device, ensures we created the device against the target driver, then load our program and ensure we have unbound to this driver and use hid-generic instead. Reviewed-by: Peter Hutterer Signed-off-by: Benjamin Tissoires --

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

2024-10-01 Thread Jason Gunthorpe
On Mon, Sep 30, 2024 at 07:55:08AM +, Tian, Kevin wrote: > > +struct vfio_device_pasid_attach_iommufd_pt { > > + __u32 argsz; > > + __u32 flags; > > + __u32 pasid; > > + __u32 pt_id; > > +}; > > + > > +#define VFIO_DEVICE_PASID_ATTACH_IOMMUFD_PT_IO(VFIO_TYPE, > > VFIO_B

Re: [PATCH] selftests: vDSO: align getrandom states to cache line

2024-10-01 Thread Shuah Khan
On 9/28/24 20:55, Jason A. Donenfeld wrote: This prevents false sharing, which makes a large difference on machines with several NUMA nodes, such as on a dual socket Intel(R) Xeon(R) Gold 6338 CPU @ 2.00GHz, where the "bench-multi" test goes from 2.7s down to 1.9s. While this is just test code, i

Re: [RFC PATCH v2 3/5] KVM: SVM: Enable Bus lock threshold exit

2024-10-01 Thread Tom Lendacky
On 10/1/24 01:34, Manali Shukla wrote: > From: Nikunj A Dadhania > > Virtual machines can exploit bus locks to degrade the performance of > the system. Bus locks can be caused by Non-WB(Write back) and > misaligned locked RMW (Read-modify-Write) instructions and require > systemwide synchronizati