Re: [PATCH v2 1/4] PCI: qcom-ep: Mark BAR0/BAR2 as 64bit BARs and BAR1/BAR3 as RESERVED

2024-11-29 Thread Bjorn Helgaas
On Fri, Nov 29, 2024 at 02:54:12PM +0530, Manivannan Sadhasivam wrote: > On all Qcom endpoint SoCs, BAR0/BAR2 are 64bit BARs by default and software > cannot change the type. So mark the those BARs as 64bit BARs and also mark > the successive BAR1/BAR3 as RESERVED BARs so that the EPF drivers canno

Re: [GIT PULL] Modules fixes for v6.13-rc1

2024-11-29 Thread pr-tracker-bot
The pull request you sent on Thu, 28 Nov 2024 11:27:00 -0800: > git://git.kernel.org/pub/scm/linux/kernel/git/modules/linux.git/ > tags/modules-6.13-rc1-v2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/93e064ce854abfacdeb0ac526a13ad29d093e813 Thank you! -- Deet-do

Re: [GIT PULL] Modules fixes for v6.13-rc1

2024-11-29 Thread Linus Torvalds
On Thu, 28 Nov 2024 at 11:27, Luis Chamberlain wrote: > > This consists of 3 fixes, the main one build that we build the kallsyms > test modules all over again if we just run make twice. Thanks, my empty builds went from 43s back to 23s where they belong. (Obviously when some core header file ch

Re: [PATCH v2 4/4] selftests: pci_endpoint: Migrate to Kselftest framework

2024-11-29 Thread Manivannan Sadhasivam
On Fri, Nov 29, 2024 at 06:13:12PM +0100, Niklas Cassel wrote: > On Fri, Nov 29, 2024 at 10:22:56PM +0530, Manivannan Sadhasivam wrote: > > On Fri, Nov 29, 2024 at 05:42:26PM +0100, Niklas Cassel wrote: > > > On Fri, Nov 29, 2024 at 10:05:55PM +0530, Manivannan Sadhasivam wrote: > > > > On Fri, Nov

Re: [PATCH v2 4/4] selftests: pci_endpoint: Migrate to Kselftest framework

2024-11-29 Thread Niklas Cassel
On Fri, Nov 29, 2024 at 10:22:56PM +0530, Manivannan Sadhasivam wrote: > On Fri, Nov 29, 2024 at 05:42:26PM +0100, Niklas Cassel wrote: > > On Fri, Nov 29, 2024 at 10:05:55PM +0530, Manivannan Sadhasivam wrote: > > > On Fri, Nov 29, 2024 at 02:51:26PM +0100, Niklas Cassel wrote: > > > > Hello Mani,

Re: [PATCH net-next v11 18/23] ovpn: implement peer add/get/dump/delete via netlink

2024-11-29 Thread Sabrina Dubroca
2024-11-14, 11:32:36 +0100, Antonio Quartulli wrote: > On 13/11/2024 12:05, Sabrina Dubroca wrote: > > 2024-11-12, 15:26:59 +0100, Antonio Quartulli wrote: > > > On 11/11/2024 16:41, Sabrina Dubroca wrote: > > > > 2024-10-29, 11:47:31 +0100, Antonio Quartulli wrote: > > > > > +void ovpn_peer_hash_v

Re: [PATCH RFT v12 4/8] fork: Add shadow stack support to clone3()

2024-11-29 Thread Yury Khrustalev
On Thu, Oct 31, 2024 at 07:25:05PM +, Mark Brown wrote: > Unlike with the normal stack there is no API for configuring the the shadow > stack for a new thread, instead the kernel will dynamically allocate a new > shadow stack with the same size as the normal stack. This appears to be due > to t

Re: [PATCH v2 4/4] selftests: pci_endpoint: Migrate to Kselftest framework

2024-11-29 Thread Manivannan Sadhasivam
On Fri, Nov 29, 2024 at 05:42:26PM +0100, Niklas Cassel wrote: > On Fri, Nov 29, 2024 at 10:05:55PM +0530, Manivannan Sadhasivam wrote: > > On Fri, Nov 29, 2024 at 02:51:26PM +0100, Niklas Cassel wrote: > > > Hello Mani, > > > > > > On Fri, Nov 29, 2024 at 02:54:15PM +0530, Manivannan Sadhasivam w

Re: [PATCH v2 4/4] selftests: pci_endpoint: Migrate to Kselftest framework

2024-11-29 Thread Niklas Cassel
On Fri, Nov 29, 2024 at 10:05:55PM +0530, Manivannan Sadhasivam wrote: > On Fri, Nov 29, 2024 at 02:51:26PM +0100, Niklas Cassel wrote: > > Hello Mani, > > > > On Fri, Nov 29, 2024 at 02:54:15PM +0530, Manivannan Sadhasivam wrote: > > > Migrate the PCI endpoint test to Kselftest framework. All the

Re: [PATCH v2 4/4] selftests: pci_endpoint: Migrate to Kselftest framework

2024-11-29 Thread Manivannan Sadhasivam
On Fri, Nov 29, 2024 at 02:51:26PM +0100, Niklas Cassel wrote: > Hello Mani, > > On Fri, Nov 29, 2024 at 02:54:15PM +0530, Manivannan Sadhasivam wrote: > > Migrate the PCI endpoint test to Kselftest framework. All the tests that > > were part of the previous pcitest.sh file were migrated. > > > >

Re: [PATCH v2 2/4] misc: pci_endpoint_test: Fix the return value of IOCTL

2024-11-29 Thread Manivannan Sadhasivam
On Fri, Nov 29, 2024 at 07:51:30PM +0900, Damien Le Moal wrote: > On 11/29/24 18:24, Manivannan Sadhasivam wrote: > > IOCTLs are supposed to return 0 for success and negative error codes for > > failure. Currently, this driver is returning 0 for failure and 1 for > > success, that's not correct. He

Re: [PATCH RFT v12 2/8] Documentation: userspace-api: Add shadow stack API documentation

2024-11-29 Thread Yury Khrustalev
On Thu, Oct 31, 2024 at 07:25:03PM +, Mark Brown wrote: > There are a number of architectures with shadow stack features which we are > presenting to userspace with as consistent an API as we can (though there > are some architecture specifics). Especially given that there are some > important

Re: [PATCH net-next v11 09/23] ovpn: implement basic RX path (UDP)

2024-11-29 Thread Sabrina Dubroca
2024-11-26, 02:32:38 +0200, Sergey Ryazanov wrote: > On 15.11.2024 17:02, Antonio Quartulli wrote: > > On 11/11/2024 02:54, Sergey Ryazanov wrote: > > [...] > > > > +    skb_reset_transport_header(skb); > > > > +    skb_probe_transport_header(skb); > > > > +    skb_reset_inner_headers(skb); > > > >

Re: [PATCH v2 1/4] PCI: qcom-ep: Mark BAR0/BAR2 as 64bit BARs and BAR1/BAR3 as RESERVED

2024-11-29 Thread Dmitry Baryshkov
On Fri, Nov 29, 2024 at 02:54:12PM +0530, Manivannan Sadhasivam wrote: > On all Qcom endpoint SoCs, BAR0/BAR2 are 64bit BARs by default and software > cannot change the type. So mark the those BARs as 64bit BARs and also mark > the successive BAR1/BAR3 as RESERVED BARs so that the EPF drivers canno

Re: [PATCH HID] selftests/hid: fix kfunc inclusions with newer bpftool

2024-11-29 Thread Benjamin Tissoires
On Thu, 28 Nov 2024 14:27:16 +0100, Benjamin Tissoires wrote: > bpftool now embeds the kfuncs definitions directly in the generated > vmlinux.h > > This is great, but because the selftests dir might be compiled with > HID_BPF disabled, we have no guarantees to be able to compile the > sources with

Re: [PATCH RFC 2/6] mm/slub: add sheaf support for batching kfree_rcu() operations

2024-11-29 Thread Uladzislau Rezki
Hello! > On 11/28/24 5:24 PM, Uladzislau Rezki wrote: > > On Mon, Nov 25, 2024 at 12:18:19PM +0100, Uladzislau Rezki wrote: > >>> On 11/20/24 13:37, Uladzislau Rezki wrote: > Thank you. Let me try to start moving it into mm/. I am thinking to place > it to the slab_common.c file. I am no

Re: [PATCH RFC 2/6] mm/slub: add sheaf support for batching kfree_rcu() operations

2024-11-29 Thread Vlastimil Babka
On 11/28/24 5:24 PM, Uladzislau Rezki wrote: > On Mon, Nov 25, 2024 at 12:18:19PM +0100, Uladzislau Rezki wrote: >>> On 11/20/24 13:37, Uladzislau Rezki wrote: Thank you. Let me try to start moving it into mm/. I am thinking to place it to the slab_common.c file. I am not sure if it makes

Re: [PATCH v2 4/4] selftests: pci_endpoint: Migrate to Kselftest framework

2024-11-29 Thread Niklas Cassel
Hello Mani, On Fri, Nov 29, 2024 at 02:54:15PM +0530, Manivannan Sadhasivam wrote: > Migrate the PCI endpoint test to Kselftest framework. All the tests that > were part of the previous pcitest.sh file were migrated. > > Below is the exclusive list of tests: > > 1. BAR Tests (BAR0 to BAR5) > 2.

Re: [PATCH net-next v11 09/23] ovpn: implement basic RX path (UDP)

2024-11-29 Thread Sabrina Dubroca
2024-11-27, 02:40:02 +0100, Antonio Quartulli wrote: > On 26/11/2024 09:49, Antonio Quartulli wrote: > [...] > > > > > > The potential issue is tricky since we create it patch-by-patch. > > > > > > Up to this patch the socket releasing procedure looks solid and > > > reliable. E.g. the P2P netdev

[RFC PATCH v2 2/2] KVM: selftests: update guest_memfd write tests

2024-11-29 Thread Nikita Kalyazin
This is to reflect that the write syscall is now implemented for guest_memfd. Signed-off-by: Nikita Kalyazin --- .../testing/selftests/kvm/guest_memfd_test.c | 85 +-- 1 file changed, 79 insertions(+), 6 deletions(-) diff --git a/tools/testing/selftests/kvm/guest_memfd_test.c

[RFC PATCH v2 1/2] KVM: guest_memfd: add generic population via write

2024-11-29 Thread Nikita Kalyazin
write syscall populates guest_memfd with user-supplied data in a generic way, ie no vendor-specific preparation is performed. This is supposed to be used in non-CoCo setups where guest memory is not hardware-encrypted. The following behaviour is implemented: - only page-aligned count and offset

[RFC PATCH v2 0/2] KVM: guest_memfd: use write for population

2024-11-29 Thread Nikita Kalyazin
As discussed in the v1 [1], with guest_memfd moving from KVM to mm, it is more practical to have a non-KVM-specific API to populate guest memory in a generic way. The series proposes using the write syscall for this purpose instead of a KVM ioctl as in the v1. The approach also has an advantage t

[syzbot] [wpan?] WARNING in __dev_change_net_namespace (3)

2024-11-29 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:9f16d5e6f220 Merge tag 'for-linus' of git://git.kernel.org.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=14e6775f98 kernel config: https://syzkaller.appspot.com/x/.config?x=fb680913ee293bcc das

Re: [PATCH v2 2/4] misc: pci_endpoint_test: Fix the return value of IOCTL

2024-11-29 Thread Damien Le Moal
On 11/29/24 18:24, Manivannan Sadhasivam wrote: > IOCTLs are supposed to return 0 for success and negative error codes for > failure. Currently, this driver is returning 0 for failure and 1 for > success, that's not correct. Hence, fix it! > > Reported-by: Greg Kroah-Hartman > Closes: https://lor

[PATCH v2 0/4] Migrate PCI Endpoint Subsystem tests to Kselftest

2024-11-29 Thread Manivannan Sadhasivam
Hi, This series carries forward the effort to add Kselftest for PCI Endpoint Subsystem started by Aman Gupta [1] a while ago. I reworked the initial version based on another patch that fixes the return values of IOCTLs in pci_endpoint_test driver and did many cleanups. Since the resulting work mod

[PATCH v2 4/4] selftests: pci_endpoint: Migrate to Kselftest framework

2024-11-29 Thread Manivannan Sadhasivam
Migrate the PCI endpoint test to Kselftest framework. All the tests that were part of the previous pcitest.sh file were migrated. Below is the exclusive list of tests: 1. BAR Tests (BAR0 to BAR5) 2. Legacy IRQ Tests 3. MSI Interrupt Tests (MSI1 to MSI32) 4. MSI-X Interrupt Tests (MSI-X1 to MSI-X2

[PATCH v2 2/4] misc: pci_endpoint_test: Fix the return value of IOCTL

2024-11-29 Thread Manivannan Sadhasivam
IOCTLs are supposed to return 0 for success and negative error codes for failure. Currently, this driver is returning 0 for failure and 1 for success, that's not correct. Hence, fix it! Reported-by: Greg Kroah-Hartman Closes: https://lore.kernel.org/all/yvzng5ronxeap...@kroah.com Fixes: 2c156ac71

[PATCH v2 3/4] selftests: Move PCI Endpoint tests from tools/pci to Kselftests

2024-11-29 Thread Manivannan Sadhasivam
This just moves the existing tests under tools/pci to tools/testing/selftests/pci_endpoint and adjusts the paths in Makefile accordingly. Migration to Kselftest framework will be done in subsequent commits. Signed-off-by: Manivannan Sadhasivam --- Documentation/PCI/endpoint/pci-test-howto.rst

[PATCH v2 1/4] PCI: qcom-ep: Mark BAR0/BAR2 as 64bit BARs and BAR1/BAR3 as RESERVED

2024-11-29 Thread Manivannan Sadhasivam
On all Qcom endpoint SoCs, BAR0/BAR2 are 64bit BARs by default and software cannot change the type. So mark the those BARs as 64bit BARs and also mark the successive BAR1/BAR3 as RESERVED BARs so that the EPF drivers cannot use them. Cc: stable+noauto...@kernel.org # depends on patch introducing o

[paulmckrcu:dev.2024.11.11a] [rcutorture] d26acb0256: WARNING:at_kernel/rcu/rcutorture.c:#rcutorture_one_extend_check[rcutorture]

2024-11-29 Thread kernel test robot
uce are available at: https://download.01.org/0day-ci/archive/20241129/202411291603.52f83cd4-...@intel.com [ 62.709400][ T404] [ cut here ] [ 62.709782][ T404] rcutorture_one_extend_check during change: Current 0x20 To add 0x20 To remove 0x0 [ 62.710433][ T404] WARN

[PATCH] selftests: arm coresight: sysfsmode testing

2024-11-29 Thread Linu Cherian
Add sysfs mode selftest for ARM Coresight hardware tracer. Signed-off-by: Linu Cherian --- .../drivers/hwtracing/coresight/Makefile | 5 + .../hwtracing/coresight/sysfs_test_trace.sh | 144 ++ 2 files changed, 149 insertions(+) create mode 100644 tools/testing/selftests