[PATCH v4] virtio: Make vring_new_virtqueue support for packed vring

2024-10-12 Thread huangwenyu1998
From: Wenyu Huang It used for testing in tools/virtio/vringh_test.c. If vring_new_virtqueue supports packed vring, we can add support for packed vring to vringh and test it. Signed-off-by: Wenyu Huang --- Changes in v2: Make the commit title and description more clearer. Changes in v3: Remove t

Re: [PATCH net-next 2/3] connector/cn_proc: Kunit tests for threads hash table

2024-10-12 Thread Anjali Kulkarni
From: Simon Horman Sent: Saturday, October 12, 2024 2:45 AM To: Anjali Kulkarni Cc: da...@davemloft.net; Liam Howlett; eduma...@google.com; k...@kernel.org; pab...@redhat.com; mi...@redhat.com; pet...@infradead.org; juri.le...@redhat.com; vincent.guit..

Re: [PATCH 08/13] media: i2c: imx214: Add vblank and hblank controls

2024-10-12 Thread André Apitzsch
Hi Dave, Am Montag, dem 07.10.2024 um 18:29 +0100 schrieb Dave Stevenson: > Hi Andre > > On Sun, 6 Oct 2024 at 22:41, André wrote: > > > > Hi Dave, > > > > Am Freitag, dem 13.09.2024 um 18:40 +0100 schrieb Dave Stevenson: > > > On Thu, 12 Sept 2024 at 15:51, Dave Stevenson > > > wrote: > > >

[RFC PATCH v2 2/2] rtc: add driver for Marvell 88PM886 PMIC RTC

2024-10-12 Thread Karel Balej
RTC lives on the chip's base register page. Add the relevant register definitions and implement a basic set/read time functionality. Tested with the samsung,coreprimevelte smartphone which contains this PMIC and whose vendor kernel tree has also served as the sole reference for this. Signed-off-by

[RFC PATCH v2 1/2] mfd: 88pm886: add the RTC cell

2024-10-12 Thread Karel Balej
Add a MFD cell for the chip's real-time clock. Signed-off-by: Karel Balej --- Notes: RFC v2: - Break out the register definitions and reword the commit message accordingly. - RFC v1: https://lore.kernel.org/r/20240920161518.32346-1-bal...@matfyz.cz/ drivers/mfd/88pm886.c | 1

Re: [PATCH] rpmsg_ns: Work around TI non-standard message

2024-10-12 Thread kernel test robot
kernel/git/remoteproc/linux.git rpmsg-next patch link:https://lore.kernel.org/r/20241011123922.23135-1-richard%40nod.at patch subject: [PATCH] rpmsg_ns: Work around TI non-standard message config: x86_64-randconfig-121-20241012 (https://download.01.org/0day-ci/archive/20241012/202410122348.irtwfe4s-...

[PATCH net-next v21 11/14] mm: page_frag: add testing for the newly added prepare API

2024-10-12 Thread Yunsheng Lin
Add testing for the newly added prepare API, for both aligned and non-aligned API, also probe API is also tested along with prepare API. CC: Alexander Duyck Signed-off-by: Yunsheng Lin --- .../selftests/mm/page_frag/page_frag_test.c | 76 +-- tools/testing/selftests/mm/run_vmt

[PATCH net-next v21 02/14] mm: move the page fragment allocator from page_alloc into its own file

2024-10-12 Thread Yunsheng Lin
Inspired by [1], move the page fragment allocator from page_alloc into its own c file and header file, as we are about to make more change for it to replace another page_frag implementation in sock.c As this patchset is going to replace 'struct page_frag' with 'struct page_frag_cache' in sched.h,

[PATCH net-next v21 04/14] mm: page_frag: avoid caller accessing 'page_frag_cache' directly

2024-10-12 Thread Yunsheng Lin
Use appropriate frag_page API instead of caller accessing 'page_frag_cache' directly. CC: Alexander Duyck Signed-off-by: Yunsheng Lin Reviewed-by: Alexander Duyck Acked-by: Chuck Lever --- drivers/vhost/net.c | 2 +- include/linux/page_frag_cache.h

[PATCH net-next v21 01/14] mm: page_frag: add a test module for page_frag

2024-10-12 Thread Yunsheng Lin
The testing is done by ensuring that the fragment allocated from a frag_frag_cache instance is pushed into a ptr_ring instance in a kthread binded to a specified cpu, and a kthread binded to a specified cpu will pop the fragment from the ptr_ring and free the fragment. CC: Alexander Duyck Signed-

Re: [PATCH v3 03/11] iommufd: Introduce IOMMUFD_OBJ_VIOMMU and its related struct

2024-10-12 Thread Zhangfei Gao
On Sat, 12 Oct 2024 at 12:49, Nicolin Chen wrote: > > On Sat, Oct 12, 2024 at 11:23:07AM +0800, Zhangfei Gao wrote: > > > > diff --git a/drivers/iommu/iommufd/viommu_api.c > > > b/drivers/iommu/iommufd/viommu_api.c > > > new file mode 100644 > > > index ..c1731f080d6b > > > --- /dev/n

Re: [PATCH net-next 2/3] connector/cn_proc: Kunit tests for threads hash table

2024-10-12 Thread Simon Horman
On Fri, Oct 11, 2024 at 05:45:31PM -0700, Anjali Kulkarni wrote: > Kunit tests to test hash table add, delete, duplicate add and delete. > Add following configs and compile kernel code: > > CONFIG_CONNECTOR=y > CONFIG_PROC_EVENTS=y > CONFIG_NET=y > CONFIG_KUNIT=m/y > CONFIG_CN_HASH_KUNIT_TEST=m/y

Re: [PATCH net-next 1/3] connector/cn_proc: Add hash table for threads

2024-10-12 Thread Simon Horman
On Fri, Oct 11, 2024 at 05:45:30PM -0700, Anjali Kulkarni wrote: > Add a new type PROC_CN_MCAST_NOTIFY to proc connector API, which allows a > thread to notify the kernel that it has exited abnormally. Thread can also > send the exit status code it wants returned in the notification with it. > Exit

Re: [PATCH] selftests: clone3: Use the capget and capset syscall directly

2024-10-12 Thread zhouyuhang
On 2024/10/11 22:21, Shuah Khan wrote: On 10/11/24 00:59, zhouyuhang wrote: On 2024/10/10 23:50, Shuah Khan wrote: On 10/10/24 06:16, zhouyuhang wrote: From: zhouyuhang The libcap commit aca076443591 ("Make cap_t operations thread safe.") added a __u8 mutex at the beginning of the struct

[PATCH v3] lib/crc16_kunit.c: add KUnit tests for crc16

2024-10-12 Thread Vinicius Peixoto
Add Kunit tests for the kernel's implementation of the standard CRC-16 algorithm (). The test data consists of 100 randomly-generated test cases, validated against a naive CRC-16 implementation. This test follows roughly the same logic as lib/crc32test.c, but without the performance measurements.