Re: [PATCH v7 26/39] arm64/ptrace: Expose GCS via ptrace and core files

2023-12-10 Thread Mark Brown
On Sat, Dec 09, 2023 at 08:49:02PM -0300, Thiago Jung Bauermann wrote: > Mark Brown writes: > > Provide a new register type NT_ARM_GCS reporting the current GCS mode > > and pointer for EL0. Due to the interactions with allocation and > > deallocation of Guarded Control Stacks we do not permit a

Re: [PATCH v6 5/5] selftests/mm: add UFFDIO_MOVE ioctl test

2023-12-10 Thread Mark Brown
On Wed, Dec 06, 2023 at 02:36:59AM -0800, Suren Baghdasaryan wrote: > Add tests for new UFFDIO_MOVE ioctl which uses uffd to move source > into destination buffer while checking the contents of both after > the move. After the operation the content of the destination buffer > should match the origi

Re: [PATCH v6 5/5] selftests/mm: add UFFDIO_MOVE ioctl test

2023-12-10 Thread Suren Baghdasaryan
On Sun, Dec 10, 2023 at 6:26 AM Mark Brown wrote: > > On Wed, Dec 06, 2023 at 02:36:59AM -0800, Suren Baghdasaryan wrote: > > Add tests for new UFFDIO_MOVE ioctl which uses uffd to move source > > into destination buffer while checking the contents of both after > > the move. After the operation t

Re: [RFC PATCH v2 1/7] bpf: Introduce BPF_PROG_TYPE_VNET_HASH

2023-12-10 Thread Song Liu
On Sat, Dec 9, 2023 at 11:03 PM Akihiko Odaki wrote: > > On 2023/11/22 14:36, Akihiko Odaki wrote: > > On 2023/11/22 14:25, Song Liu wrote: [...] > > Now the discussion is stale again so let me summarize the discussion: > > A tuntap device can have an eBPF steering program to let the userspace > d

Re: [net-next v1 09/16] page_pool: device memory support

2023-12-10 Thread Yunsheng Lin
On 2023/12/9 0:05, Mina Almasry wrote: > On Fri, Dec 8, 2023 at 1:30 AM Yunsheng Lin wrote: >> >> >> As mentioned before, it seems we need to have the above checking every >> time we need to do some per-page handling in page_pool core, is there >> a plan in your mind how to remove those kind of ch

Re: [net-next v1 06/16] netdev: support binding dma-buf to netdevice

2023-12-10 Thread Mina Almasry
On Sat, Dec 9, 2023 at 3:29 PM David Ahern wrote: > > On 12/8/23 12:22 PM, Mina Almasry wrote: > > On Fri, Dec 8, 2023 at 9:48 AM David Ahern wrote: > >> > >> On 12/7/23 5:52 PM, Mina Almasry wrote: > > ... > >>> + > >>> + xa_for_each(&binding->bound_rxq_list, xa_idx, rxq) { > >>> +

Re: [net-next v1 09/16] page_pool: device memory support

2023-12-10 Thread Mina Almasry
On Sun, Dec 10, 2023 at 6:04 PM Yunsheng Lin wrote: > > On 2023/12/9 0:05, Mina Almasry wrote: > > On Fri, Dec 8, 2023 at 1:30 AM Yunsheng Lin wrote: > >> > >> > >> As mentioned before, it seems we need to have the above checking every > >> time we need to do some per-page handling in page_pool c

RE: [PATCH v6 0/6] iommufd: Add nesting infrastructure (part 2/2)

2023-12-10 Thread Tian, Kevin
> From: Jason Gunthorpe > Sent: Saturday, December 9, 2023 9:47 AM > > What is in a Nested domain: > Intel: A single IO page table refereed to by a PASID entry > Each vDomain-ID,PASID allocates a unique nesting domain > AMD: A GCR3 table pointer > Nesting domains are created for e

Re: [net-next v1 08/16] memory-provider: dmabuf devmem memory provider

2023-12-10 Thread Mina Almasry
On Sat, Dec 9, 2023 at 7:05 PM Pavel Begunkov wrote: > > On 12/8/23 23:25, Mina Almasry wrote: > > On Fri, Dec 8, 2023 at 2:56 PM Pavel Begunkov > > wrote: > >> > >> On 12/8/23 00:52, Mina Almasry wrote: > > ... > >>> + if (pool->p.queue) > >>> + binding = READ_ONCE(pool->p.queue

Re: [PATCH v6 5/5] selftests/mm: add UFFDIO_MOVE ioctl test

2023-12-10 Thread Suren Baghdasaryan
On Sun, Dec 10, 2023 at 5:01 PM Suren Baghdasaryan wrote: > > On Sun, Dec 10, 2023 at 6:26 AM Mark Brown wrote: > > > > On Wed, Dec 06, 2023 at 02:36:59AM -0800, Suren Baghdasaryan wrote: > > > Add tests for new UFFDIO_MOVE ioctl which uses uffd to move source > > > into destination buffer while

Re: [net-next v1 09/16] page_pool: device memory support

2023-12-10 Thread Mina Almasry
On Sun, Dec 10, 2023 at 6:26 PM Mina Almasry wrote: > > On Sun, Dec 10, 2023 at 6:04 PM Yunsheng Lin wrote: > > > > On 2023/12/9 0:05, Mina Almasry wrote: > > > On Fri, Dec 8, 2023 at 1:30 AM Yunsheng Lin > > > wrote: > > >> > > >> > > >> As mentioned before, it seems we need to have the above

[PATCH v3 4/4] selftest/bpf: Test a perf bpf program that suppresses side effects.

2023-12-10 Thread Kyle Huey
The test sets a hardware breakpoint and uses a bpf program to suppress the side effects of a perf event sample, including I/O availability signals, SIGTRAPs, and decrementing the event counter limit, if the ip matches the expected value. Then the function with the breakpoint is executed multiple ti

Re: [RFC PATCH v2 1/7] bpf: Introduce BPF_PROG_TYPE_VNET_HASH

2023-12-10 Thread Akihiko Odaki
On 2023/12/11 10:40, Song Liu wrote: On Sat, Dec 9, 2023 at 11:03 PM Akihiko Odaki wrote: On 2023/11/22 14:36, Akihiko Odaki wrote: On 2023/11/22 14:25, Song Liu wrote: [...] Now the discussion is stale again so let me summarize the discussion: A tuntap device can have an eBPF steering

Re: [PATCH v6 2/6] iommufd: Add IOMMU_HWPT_INVALIDATE

2023-12-10 Thread Yi Liu
On 2023/12/7 17:04, Tian, Kevin wrote: From: Liu, Yi L Sent: Thursday, December 7, 2023 2:59 PM On 2023/11/17 21:07, Yi Liu wrote: @@ -613,4 +614,38 @@ struct iommu_hwpt_get_dirty_bitmap { #define IOMMU_HWPT_GET_DIRTY_BITMAP _IO(IOMMUFD_TYPE, \ IOMMUFD_CMD_HWPT_GET_DIRTY_BITMAP)

Re: [PATCH v6 2/6] iommufd: Add IOMMU_HWPT_INVALIDATE

2023-12-10 Thread Yi Liu
On 2023/12/7 22:42, Jason Gunthorpe wrote: On Thu, Dec 07, 2023 at 09:04:00AM +, Tian, Kevin wrote: From: Liu, Yi L Sent: Thursday, December 7, 2023 2:59 PM On 2023/11/17 21:07, Yi Liu wrote: @@ -613,4 +614,38 @@ struct iommu_hwpt_get_dirty_bitmap { #define IOMMU_HWPT_GET_DIRTY_BITMAP