Re: [PATCH] virtio: Remove virtio devices on device_shutdown()

2025-02-16 Thread Ning, Hongyu
On 2025/2/17 11:29, Jason Wang wrote: On Fri, Feb 14, 2025 at 8:16 PM Michael S. Tsirkin wrote: On Fri, Feb 14, 2025 at 08:56:56AM +0100, Eric Auger wrote: Hi, On 2/14/25 8:21 AM, Ning, Hongyu wrote: On 2025/2/6 16:59, Eric Auger wrote: Hi, On 2/4/25 12:46 PM, Eric Auger wrote: Hi,

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

2025-02-16 Thread Jianfeng Liu
Hi, I encountered error when running make clean under tools. Since tools/pci is moved to selftests, pci_clean in Makefile shoud be also removed. Best regards, Jianfeng

[linux-next:master] [lib/prime_numbers] 313b38a6ec: kernel-selftests.lib.prime_numbers.sh.fail

2025-02-16 Thread kernel test robot
Hello, kernel test robot noticed "kernel-selftests.lib.prime_numbers.sh.fail" on: commit: 313b38a6ecb46db4002925af91b64df4f2b76d1f ("lib/prime_numbers: convert self-test to KUnit") https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master [test failed on linux-next/master 0ae0f

Re: [PATCH] virtio: Remove virtio devices on device_shutdown()

2025-02-16 Thread Jason Wang
On Fri, Feb 14, 2025 at 8:16 PM Michael S. Tsirkin wrote: > > On Fri, Feb 14, 2025 at 08:56:56AM +0100, Eric Auger wrote: > > Hi, > > > > On 2/14/25 8:21 AM, Ning, Hongyu wrote: > > > > > > > > > On 2025/2/6 16:59, Eric Auger wrote: > > >> Hi, > > >> > > >> On 2/4/25 12:46 PM, Eric Auger wrote: >

Re: [PATCH v3] rcu/cpu_stall_cputime: fix the hardirq count for x86 architecture

2025-02-16 Thread Boqun Feng
Hi Yongliang, On Sun, Feb 16, 2025 at 04:41:09PM +0800, Yongliang Gao wrote: > From: Yongliang Gao > > When counting the number of hardirqs in the x86 architecture, > it is essential to add arch_irq_stat_cpu to ensure accuracy. > > For example, a CPU loop within the rcu_read_lock function. > >

Re: [PATCH v8 3/4] scanf: convert self-test to KUnit

2025-02-16 Thread Andy Shevchenko
On Sat, Feb 15, 2025 at 02:52:22PM -0500, Tamir Duberstein wrote: > On Sat, Feb 15, 2025 at 1:51 PM kernel test robot wrote: > I am not able to reproduce these warnings with clang 19.1.7. They also > don't obviously make sense to me. Please, when reply, remove boielrplate stuff! I have just was

[PATCH 1/4] media: i2c: imx214: Calculate link bit rate from clock frequency

2025-02-16 Thread André Apitzsch via B4 Relay
From: André Apitzsch Replace the magic link bit rate number (4800) by its calculation based on the used parameters and the provided external clock frequency. The link bit rate is output bitrate multiplied by the number lanes. The output bitrate is the OPPXCK clock frequency multiplied by the num

[PATCH 0/4] media: i2c: imx214: Add support for 23.88MHz clock

2025-02-16 Thread André Apitzsch via B4 Relay
The imx214 driver currently supports only a 24MHz external clock. But there are devices, like Qualcomm-MSM8916-based phones, which cannot provide this frequency. To make the sensor usable by those devices, add support for 23.88MHz clock. Signed-off-by: André Apitzsch --- André Apitzsch (4):

[PATCH 4/4] media: i2c: imx214: Add support for 23.88MHz clock

2025-02-16 Thread André Apitzsch via B4 Relay
From: André Apitzsch Qualcomm MSM8916 devices only provide an external clock of 23.88MHz. Make the sensor usable by those devices by adding support for this frequency. Signed-off-by: André Apitzsch --- drivers/media/i2c/imx214.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(

[PATCH 3/4] media: i2c: imx214: Read clock frequency from device tree

2025-02-16 Thread André Apitzsch via B4 Relay
From: André Apitzsch Replace the hard coded external clock frequency by the one read from device tree. Signed-off-by: André Apitzsch --- drivers/media/i2c/imx214.c | 99 -- 1 file changed, 79 insertions(+), 20 deletions(-) diff --git a/drivers/media

[PATCH 2/4] media: i2c: imx214: Prepare for variable clock frequency

2025-02-16 Thread André Apitzsch via B4 Relay
From: André Apitzsch Move clock frequency related parameters out of the constant register sequences, such that the hard coded external clock frequency can be replaced by a variable in the next commit. Signed-off-by: André Apitzsch --- drivers/media/i2c/imx214.c | 64 +++

[PATCH] selftests/core: fix repeated word in close_range_test.c comment

2025-02-16 Thread Imanol
Fixes a minor grammatical issue in a comment in close_range_test.c where "and and" was mistakenly repeated. Signed-off-by: Imanol --- tools/testing/selftests/core/close_range_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/core/close_range_test.

Re: [PATCH] tools/nolibc: add support for N64 and N32 ABIs

2025-02-16 Thread Maciej W. Rozycki
On Wed, 12 Feb 2025, Thomas Weißschuh wrote: > diff --git a/tools/include/nolibc/arch-mips.h > b/tools/include/nolibc/arch-mips.h > index > 753a8ed2cf695f0b5eac4b5e4d317fdb383ebf93..638520a3427a985fdbd5f5a49b55853bbadeee75 > 100644 > --- a/tools/include/nolibc/arch-mips.h > +++ b/tools/include/

Re: [PATCHv3 net 0/2] bonding: fix incorrect mac address setting

2025-02-16 Thread Nikolay Aleksandrov
On 2/7/25 11:29, Hangbin Liu wrote: > The mac address on backup slave should be convert from Solicited-Node > Multicast address, not from bonding unicast target address. > > v3: also fix the mac setting for slave_set_ns_maddr. (Jay) > Add function description for slave_set_ns_maddr/slave_set_n

Re: [PATCH v7 4/8] mm/huge_memory: add buddy allocator like (non-uniform) folio_split()

2025-02-16 Thread Zi Yan
On 16 Feb 2025, at 5:32, David Hildenbrand wrote: > On 11.02.25 16:50, Zi Yan wrote: >> folio_split() splits a large folio in the same way as buddy allocator >> splits a large free page for allocation. The purpose is to minimize the >> number of folios after the split. For example, if user wants t

Re: [PATCH net-next v5 7/8] net: pktgen: remove all superfluous index assignements

2025-02-16 Thread Simon Horman
On Thu, Feb 13, 2025 at 12:19:19PM +0100, Peter Seiderer wrote: > Remove all superfluous index ('i += len') assignements (value not used > afterwards). > > Signed-off-by: Peter Seiderer > --- > Changes v4 -> v5 > - new patch (suggested by Simon Horman) > --- > net/core/pktgen.c | 52 ++

Re: [PATCH net-next v5 4/8] net: pktgen: fix mpls maximum labels list parsing

2025-02-16 Thread Simon Horman
On Thu, Feb 13, 2025 at 12:19:16PM +0100, Peter Seiderer wrote: > Fix mpls maximum labels list parsing up to MAX_MPLS_LABELS/16 entries > (instead of up to MAX_MPLS_LABELS - 1). > > Addresses the following: > > $ echo "mpls > 0f00,0f01,0f02,0f03,0f04,0f05,0f06,0

Re: [PATCH net-next v5 1/8] net: pktgen: fix mix of int/long

2025-02-16 Thread Simon Horman
On Thu, Feb 13, 2025 at 12:19:13PM +0100, Peter Seiderer wrote: > Fix mix of int/long (and multiple conversion from/to) by using consequently > size_t for i and max and ssize_t for len and adjust function signatures > of hex32_arg(), count_trail_chars(), num_arg() and strn_len() accordingly. > > S

Re: [PATCH v7 4/8] mm/huge_memory: add buddy allocator like (non-uniform) folio_split()

2025-02-16 Thread David Hildenbrand
On 11.02.25 16:50, Zi Yan wrote: folio_split() splits a large folio in the same way as buddy allocator splits a large free page for allocation. The purpose is to minimize the number of folios after the split. For example, if user wants to free the 3rd subpage in a order-9 folio, folio_split() wil

Re: [PATCH] tools/nolibc: add support for N64 and N32 ABIs

2025-02-16 Thread Willy Tarreau
On Wed, Feb 12, 2025 at 07:49:53PM +0100, Thomas Weißschuh wrote: > +#if defined(_ABIO32) > + > #define _NOLIBC_SYSCALL_CLOBBERLIST \ > "memory", "cc", "at", "v1", "hi", "lo", \ > "t0", "t1", "t2", "t3", "t4", "t5", "t6", "t7", "t8", "t9" > +#define _NOLIBC_SYSCALL_STACK_RESERVE "addiu

Re: [PATCH] selftests/nolibc: only run constructor tests on nolibc

2025-02-16 Thread Willy Tarreau
On Wed, Feb 12, 2025 at 07:01:01PM +0100, Thomas Weißschuh wrote: > The nolibc testsuite can be run against other libcs to test for > interoperability. Some aspects of the constructor execution are not > standardized and musl does not provide all tested feature, for one it > does not provide argume

Re: ftp ipvs connect failed in ipv6

2025-02-16 Thread Julian Anastasov
Hello, On Sat, 15 Feb 2025, m30030393 wrote: > Tue, 11 Feb 2025, Julian Anastasov wrote: > >> > >>On Mon, 10 Feb 2025, mengkanglai wrote: > >> > >>> Hello: > >>> I found a problem with ftp ipvs. > >>> I create 3 virtual machine in one host. One is the FTP client, the other > >>> is the

Re: [PATCH net-next v5 2/8] net: pktgen: enable 'param=value' parsing

2025-02-16 Thread Simon Horman
On Thu, Feb 13, 2025 at 12:00:19PM +0100, Peter Seiderer wrote: > Enable more flexible parameters syntax, allowing 'param=value' in > addition to the already supported 'param value' pattern (additional > this gives the skipping '=' in count_trail_chars() a purpose). > > Tested with: > > $ e

Re: [PATCH net-next v5 8/8] net: pktgen: use defines for the various dec/hex number parsing digits lengths

2025-02-16 Thread Simon Horman
On Fri, Feb 14, 2025 at 08:11:45PM -0800, Jakub Kicinski wrote: > On Thu, 13 Feb 2025 12:00:25 +0100 Peter Seiderer wrote: > > Use defines for the various dec/hex number parsing digits lengths > > (hex32_arg/num_arg calls). > > I don't understand the value of this patch, TBH. > > Example: > > +#

[PATCH v3] rcu/cpu_stall_cputime: fix the hardirq count for x86 architecture

2025-02-16 Thread Yongliang Gao
From: Yongliang Gao When counting the number of hardirqs in the x86 architecture, it is essential to add arch_irq_stat_cpu to ensure accuracy. For example, a CPU loop within the rcu_read_lock function. Before: [ 70.910184] rcu: INFO: rcu_preempt self-detected stall on CPU [ 70.910436] rcu: