Re: [PATCH net-next v2] net: replace ND_PRINTK with dynamic debug

2025-07-04 Thread Wang Liang
在 2025/7/5 9:38, Wang Liang 写道: 在 2025/7/5 0:10, Ido Schimmel 写道: On Tue, Jul 01, 2025 at 04:11:14PM +0800, Wang Liang wrote: ND_PRINTK with val > 1 only works when the ND_DEBUG was set in compilation phase. Replace it with dynamic debug. Convert ND_PRINTK with val <= 1 to net_{err,warn}_ra

Re: [PATCH net-next v2] net: replace ND_PRINTK with dynamic debug

2025-07-04 Thread Wang Liang
在 2025/7/5 0:10, Ido Schimmel 写道: On Tue, Jul 01, 2025 at 04:11:14PM +0800, Wang Liang wrote: ND_PRINTK with val > 1 only works when the ND_DEBUG was set in compilation phase. Replace it with dynamic debug. Convert ND_PRINTK with val <= 1 to net_{err,warn}_ratelimited, and convert the rest to

Re: [PATCH] MAINTAINERS: update Daniel Gomez's role and email address

2025-07-04 Thread Luis Chamberlain
k.h > MODULE SUPPORT > M: Luis Chamberlain > M: Petr Pavlu > +M: Daniel Gomez > R: Sami Tolvanen > -R: Daniel Gomez > L: linux-modu...@vger.kernel.org > L: linux-kernel@vger.kernel.org > S: Maintained > > --- > base-commit: 60481cbdfae129753633cf03f061293b6e0c8bf4 > change-id: 20250704-add-dagomez-maintainer-d48e17d43f9e > > Best regards, > -- > Daniel Gomez > >

Re: [PATCH v5 0/3] PM: domains: Detach on device_unbind_cleanup()

2025-07-04 Thread Wolfram Sang
> > The series looks good to me, please add: > > Reviewed-by: Ulf Hansson > > > > Rafael, do you intend to pick this via your tree? > > I do in general, but I haven't looked at this version yet. I'll get > to it early next week. For the I2C part: Acked-by: Wolfram Sang signature.asc Descr

Re: [PATCH v5 0/3] PM: domains: Detach on device_unbind_cleanup()

2025-07-04 Thread Rafael J. Wysocki
On Fri, Jul 4, 2025 at 1:16 PM Ulf Hansson wrote: > > On Thu, 3 Jul 2025 at 13:27, Claudiu wrote: > > > > From: Claudiu Beznea > > > > Hi, > > > > Series drops the dev_pm_domain_detach() from platform bus remove and > > adds it in device_unbind_cleanup() to avoid runtime resumming the device > >

[PATCH] MAINTAINERS: update Daniel Gomez's role and email address

2025-07-04 Thread Daniel Gomez
Petr Pavlu +M: Daniel Gomez R: Sami Tolvanen -R: Daniel Gomez L: linux-modu...@vger.kernel.org L: linux-kernel@vger.kernel.org S: Maintained --- base-commit: 60481cbdfae129753633cf03f061293b6e0c8bf4 change-id: 20250704-add-dagomez-maintainer-d48e17d43f9e Best re

Re: [PATCH] remoteproc: imx_rproc: merge ITCM and DTCM regions

2025-07-04 Thread Hiago De Franco
Hi Mathieu, On Fri, Jul 04, 2025 at 10:25:19AM -0600, Mathieu Poirier wrote: > Good morning, > > On Thu, Jul 03, 2025 at 10:08:31AM -0300, Hiago De Franco wrote: > > From: Hiago De Franco > > > > Merge the contiguous ITCM and DTCM regions into a single region to > > prevent failures when loadin

[PATCH v5] selftests/futex: Convert 32bit timespec struct to 64bit version for 32bit compatibility mode

2025-07-04 Thread Terry Tritton
sys_futex_wait() can not accept old_timespec32 struct, so userspace should convert it from 32bit to 64bit before syscall to support 32bit compatible mode. This fix is based off [1] Link: https://lore.kernel.org/all/20231203235117.29677-1-we...@suse.com/ [1] Originally-by: Wei Gao Signed-off-by:

Re: [PATCH v4] selftests/futex: Convert 32bit timespec struct to 64bit version for 32bit compatibility mode

2025-07-04 Thread Terry Tritton
> However, please check the results ./scripts/checkpatch.pl, there are a > lot of codestyle errors: Whoops! Can't believe I forgot to run check patch! Thanks for letting me know.

Re: [PATCH net-next 3/3] selftests: ethtool: Introduce ethernet PHY selftests on netdevsim

2025-07-04 Thread Simon Horman
On Fri, Jul 04, 2025 at 03:32:50PM +0200, Maxime Chevallier wrote: > On Fri, 4 Jul 2025 14:20:19 +0100 > Simon Horman wrote: > > > On Wed, Jul 02, 2025 at 10:28:05AM +0200, Maxime Chevallier wrote: > > > Now that netdevsim supports PHY device simulation, we can start writing > > > some tests to c

Re: [PATCH net-next v2] net: replace ND_PRINTK with dynamic debug

2025-07-04 Thread Simon Horman
On Fri, Jul 04, 2025 at 07:10:37PM +0300, Ido Schimmel wrote: > On Tue, Jul 01, 2025 at 04:11:14PM +0800, Wang Liang wrote: > > ND_PRINTK with val > 1 only works when the ND_DEBUG was set in compilation > > phase. Replace it with dynamic debug. Convert ND_PRINTK with val <= 1 to > > net_{err,warn}_

[ANNOUNCE] 5.10.239-rt133

2025-07-04 Thread Luis Claudio R. Goncalves
Hello RT-list! I'm pleased to announce the 5.10.239-rt133 stable release. This release is an update to the new stable 5.10.239 version and no RT-specific changes have been made. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git

Re: [PATCH] remoteproc: imx_rproc: merge ITCM and DTCM regions

2025-07-04 Thread Mathieu Poirier
Good morning, On Thu, Jul 03, 2025 at 10:08:31AM -0300, Hiago De Franco wrote: > From: Hiago De Franco > > Merge the contiguous ITCM and DTCM regions into a single region to > prevent failures when loading ELF files with large sections: > > remoteproc remoteproc0: powering up imx-rproc > remote

Re: [PATCH v6 1/1] selftests/mm/uffd: Refactor non-composite global vars into struct

2025-07-04 Thread Peter Xu
On Wed, Jul 02, 2025 at 08:50:57PM +0530, Ujwal Kundur wrote: > Refactor macros and non-composite global variable definitions into a > struct that is defined at the start of a test and is passed around > instead of relying on global vars. > > Signed-off-by: Ujwal Kundur It runs all fine here now

Re: [PATCH net-next v2] net: replace ND_PRINTK with dynamic debug

2025-07-04 Thread Ido Schimmel
On Tue, Jul 01, 2025 at 04:11:14PM +0800, Wang Liang wrote: > ND_PRINTK with val > 1 only works when the ND_DEBUG was set in compilation > phase. Replace it with dynamic debug. Convert ND_PRINTK with val <= 1 to > net_{err,warn}_ratelimited, and convert the rest to net_dbg_ratelimited. One small c

Re: [PATCH v4] selftests/futex: Convert 32bit timespec struct to 64bit version for 32bit compatibility mode

2025-07-04 Thread André Almeida
Hi Terry Em 04/07/2025 07:35, Terry Tritton escreveu: sys_futex_wait() can not accept old_timespec32 struct, so userspace should convert it from 32bit to 64bit before syscall to support 32bit compatible mode. This fix is based off [1] Link: https://lore.kernel.org/all/20231203235117.29677-1-we

Re: [PATCH v2] selftests/futex: Add futex_numa to .gitignore

2025-07-04 Thread André Almeida
Em 04/07/2025 07:37, Terry Tritton escreveu: futex_numa was never added to the .gitignore file. Add it. Fixes: 9140f57c1c13 ("futex,selftests: Add another FUTEX2_NUMA selftest") Signed-off-by: Terry Tritton Reviewed-by: André Almeida

Re: [PATCH v5 1/3] PM: domains: Add flags to specify power on attach/detach

2025-07-04 Thread Mathieu Poirier
On Thu, Jul 03, 2025 at 02:27:06PM +0300, Claudiu wrote: > From: Claudiu Beznea > > Calling dev_pm_domain_attach()/dev_pm_domain_detach() in bus driver > probe/remove functions can affect system behavior when the drivers attached > to the bus use devres-managed resources. Since devres actions may

[PATCH 15/15] selftests/futex: Remove logging.h file

2025-07-04 Thread André Almeida
Every futex selftest uses the kselftest_harness.h helper and don't need the logging.h file. Delete it. Signed-off-by: André Almeida --- tools/testing/selftests/futex/functional/Makefile | 3 +- tools/testing/selftests/futex/include/logging.h | 148 -- 2 files changed, 1 i

[PATCH 14/15] selftests/futex: Drop logging.h include from futex_numa

2025-07-04 Thread André Almeida
futex_numa doesn't really use logging.h helpers, it's only need two includes from this file. So drop it and include the two missing includes. Signed-off-by: André Almeida --- tools/testing/selftests/futex/functional/futex_numa.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH 11/15] selftests/futex: Refactor futex_waitv with kselftest_harness.h

2025-07-04 Thread André Almeida
To reduce the boilerplate code, refactor futex_waitv test to use kselftest_harness header instead of futex's logging header. Signed-off-by: André Almeida --- .../selftests/futex/functional/futex_waitv.c | 98 ++ tools/testing/selftests/futex/functional/run.sh| 2 +-

[PATCH 12/15] selftests/futex: Refactor futex_priv_hash with kselftest_harness.h

2025-07-04 Thread André Almeida
To reduce the boilerplate code, refactor futex_priv_hash test to use kselftest_harness header instead of futex's logging header. Use the fixture feature to run the same test with different parameters (with global hash enabled and disabled). Signed-off-by: André Almeida --- .../selftests/futex/f

[PATCH 13/15] selftests/futex: Refactor futex_numa_mpol with kselftest_harness.h

2025-07-04 Thread André Almeida
To reduce the boilerplate code, refactor futex_numa_mpol test to use kselftest_harness header instead of futex's logging header. Using kselftest_harness produces a side effect of having two adjacents buffers, because test_harness_run() calls mmap() before this test calling mmap(). This makes the "

[PATCH 09/15] selftests/futex: Refactor futex_wait with kselftest_harness.h

2025-07-04 Thread André Almeida
To reduce the boilerplate code, refactor futex_wait test to use kselftest_harness header instead of futex's logging header. Signed-off-by: André Almeida --- .../selftests/futex/functional/futex_wait.c| 103 - tools/testing/selftests/futex/functional/run.sh| 2 +-

[PATCH 10/15] selftests/futex: Refactor futex_requeue with kselftest_harness.h

2025-07-04 Thread André Almeida
To reduce the boilerplate code, refactor futex_requeue test to use kselftest_harness header instead of futex's logging header. Signed-off-by: André Almeida --- .../selftests/futex/functional/futex_requeue.c | 76 +++--- tools/testing/selftests/futex/functional/run.sh| 2

[PATCH 08/15] selftests/futex: Refactor futex_wait_private_mapped_file with kselftest_harness.h

2025-07-04 Thread André Almeida
To reduce the boilerplate code, refactor futex_wait_private_mapped_file test to use kselftest_harness header instead of futex's logging header. Signed-off-by: André Almeida --- .../functional/futex_wait_private_mapped_file.c| 83 ++ tools/testing/selftests/futex/functiona

[PATCH 07/15] selftests/futex: Refactor futex_wait_unitialized_heap with kselftest_harness.h

2025-07-04 Thread André Almeida
To reduce the boilerplate code, refactor futex_wait_unitialized_heap test to use kselftest_harness header instead of futex's logging header. Signed-off-by: André Almeida --- .../functional/futex_wait_uninitialized_heap.c | 76 +- tools/testing/selftests/futex/functional/r

[PATCH 06/15] selftests/futex: Refactor futex_wait_wouldblock with kselftest_harness.h

2025-07-04 Thread André Almeida
To reduce the boilerplate code, refactor futex_wait_wouldblock test to use kselftest_harness header instead of futex's logging header. Signed-off-by: André Almeida --- .../futex/functional/futex_wait_wouldblock.c | 75 +++--- tools/testing/selftests/futex/functional/run.sh

[PATCH 05/15] selftests/futex: Refactor futex_wait_timeout with kselftest_harness.h

2025-07-04 Thread André Almeida
To reduce the boilerplate code, refactor futex_wait_timeout test to use kselftest_harness header instead of futex's logging header. Signed-off-by: André Almeida --- .../futex/functional/futex_wait_timeout.c | 139 + tools/testing/selftests/futex/functional/run.sh

[PATCH 04/15] selftests/futex: Refactor futex_requeue_pi_signal_restart with kselftest_harness.h

2025-07-04 Thread André Almeida
To reduce the boilerplate code, refactor futex_requeue_pi_signal_restart test to use kselftest_harness header instead of futex's logging header. Signed-off-by: André Almeida --- .../functional/futex_requeue_pi_signal_restart.c | 129 ++--- tools/testing/selftests/futex/function

[PATCH 03/15] selftests/futex: Refactor futex_requeue_pi_mismatched_ops with kselftest_harness.h

2025-07-04 Thread André Almeida
To reduce the boilerplate code, refactor futex_requeue_pi_mismatched_ops test to use kselftest_harness header instead of futex's logging header. Signed-off-by: André Almeida --- .../functional/futex_requeue_pi_mismatched_ops.c | 80 +- tools/testing/selftests/futex/function

[PATCH 02/15] selftests/futex: Refactor futex_requeue_pi with kselftest_harness.h

2025-07-04 Thread André Almeida
To reduce the boilerplate code, refactor futex_requeue_pi test to use kselftest_harness header instead of futex's logging header. Use kselftest fixture feature to make it easy to repeat the same test with different parameters. With that, drop all repetitive test calls from run.sh. Signed-off-by:

[PATCH 00/15] selftests/futex: Refactor tests to use kselftest_harness.h

2025-07-04 Thread André Almeida
This patch series refactors all futex selftests to use kselftest_harness.h instead of futex's logging.h, as discussed here [1]. This allows to remove a lot of boilerplate code and to simplify some parts of the test logic, mainly when the test needs to exit early. The result of this is more than 50

[PATCH 01/15] selftests: kselftest: Create ksft_print_dbg_msg()

2025-07-04 Thread André Almeida
Create ksft_print_dbg_msg() so testers can enable extra debug messages when running a test with the flag -d. Signed-off-by: André Almeida --- tools/testing/selftests/kselftest.h | 13 + tools/testing/selftests/kselftest_harness.h | 13 + 2 files changed, 22 insert

[PATCH] tools/nolibc: add support for clock_nanosleep() and nanosleep()

2025-07-04 Thread Thomas Weißschuh
dir);EXPECT_SYSZR(1, test_openat()); break; --- base-commit: 1536aa0fb1e09cb50f401ec4852c60f38173d751 change-id: 20250704-nolibc-nanosleep-2476b806b0d5 Best regards, -- Thomas Weißschuh

Re: [PATCH net-next v2] net: replace ND_PRINTK with dynamic debug

2025-07-04 Thread Simon Horman
On Tue, Jul 01, 2025 at 04:11:14PM +0800, Wang Liang wrote: > ND_PRINTK with val > 1 only works when the ND_DEBUG was set in compilation > phase. Replace it with dynamic debug. Convert ND_PRINTK with val <= 1 to > net_{err,warn}_ratelimited, and convert the rest to net_dbg_ratelimited. > > Suggest

Re: [PATCH v2 09/11] clk: qcom: Add Graphics Clock controller (GPUCC) driver for Milos

2025-07-04 Thread Dmitry Baryshkov
On Fri, Jul 04, 2025 at 09:17:01AM +0200, Luca Weiss wrote: > Add support for the graphics clock controller found on Milos (e.g. > SM7635) based devices. > > Signed-off-by: Luca Weiss > --- > drivers/clk/qcom/Kconfig | 9 + > drivers/clk/qcom/Makefile | 1 + > drivers/clk/qcom/gpu

Re: [PATCH net-next v2 6/7] netpoll: move Ethernet setup to push_eth() helper

2025-07-04 Thread Breno Leitao
On Fri, Jul 04, 2025 at 02:54:50PM +0100, Simon Horman wrote: > On Wed, Jul 02, 2025 at 03:06:38AM -0700, Breno Leitao wrote: > > Refactor Ethernet header population into dedicated function, completing > > the layered abstraction with: > > > > - push_eth() for link layer > > - push_udp() for trans

Re: [PATCH v14 5/7] rust: module: update the module macro with module parameter support

2025-07-04 Thread Benno Lossin
On Fri Jul 4, 2025 at 3:51 PM CEST, Andreas Hindborg wrote: > "Benno Lossin" writes: >> On Fri Jul 4, 2025 at 2:29 PM CEST, Andreas Hindborg wrote: >>> "Benno Lossin" writes: On Wed Jul 2, 2025 at 3:18 PM CEST, Andreas Hindborg wrote: > +perm: 0, // Will not a

Re: [PATCH net-next v2 7/7] selftests: net: Add IPv6 support to netconsole basic tests

2025-07-04 Thread Simon Horman
On Wed, Jul 02, 2025 at 03:06:39AM -0700, Breno Leitao wrote: > Add IPv6 support to the netconsole basic functionality tests by: > > - Introducing separate IPv4 and IPv6 address variables (SRCIP4/SRCIP6, > DSTIP4/DSTIP6) to replace the single SRCIP/DSTIP variables > - Adding select_ipv4_or_ipv6(

Re: [PATCH net-next v2 6/7] netpoll: move Ethernet setup to push_eth() helper

2025-07-04 Thread Simon Horman
On Wed, Jul 02, 2025 at 03:06:38AM -0700, Breno Leitao wrote: > Refactor Ethernet header population into dedicated function, completing > the layered abstraction with: > > - push_eth() for link layer > - push_udp() for transport > - push_ipv4()/push_ipv6() for network > > Signed-off-by: Breno Lei

Re: [PATCH net-next v2 4/7] netpoll: factor out IPv4 header setup into push_ipv4() helper

2025-07-04 Thread Simon Horman
On Wed, Jul 02, 2025 at 03:06:36AM -0700, Breno Leitao wrote: > Move IPv4 header construction from netpoll_send_udp() into a new > static helper function push_ipv4(). This completes the refactoring > started with IPv6 header handling, creating symmetric helper functions > for both IP versions. > >

Re: [PATCH net-next v2 5/7] netpoll: factor out UDP header setup into push_udp() helper

2025-07-04 Thread Simon Horman
On Wed, Jul 02, 2025 at 03:06:37AM -0700, Breno Leitao wrote: > Move UDP header construction from netpoll_send_udp() into a new > static helper function push_udp(). This completes the protocol > layer refactoring by: > > 1. Creating a dedicated helper for UDP header assembly > 2. Removing UDP-spec

Re: [PATCH v14 5/7] rust: module: update the module macro with module parameter support

2025-07-04 Thread Andreas Hindborg
"Benno Lossin" writes: > On Fri Jul 4, 2025 at 2:29 PM CEST, Andreas Hindborg wrote: >> "Benno Lossin" writes: >>> On Wed Jul 2, 2025 at 3:18 PM CEST, Andreas Hindborg wrote: +perm: 0, // Will not appear in sysfs +level: -1,

Re: [PATCH v5 0/3] PM: domains: Detach on device_unbind_cleanup()

2025-07-04 Thread Claudiu Beznea
Hi, Ulf, On 04.07.2025 14:15, Ulf Hansson wrote: > On Thu, 3 Jul 2025 at 13:27, Claudiu wrote: >> >> From: Claudiu Beznea >> >> Hi, >> >> Series drops the dev_pm_domain_detach() from platform bus remove and >> adds it in device_unbind_cleanup() to avoid runtime resumming the device >> after it w

Re: [PATCH net-next v2 3/7] netpoll: factor out IPv6 header setup into push_ipv6() helper

2025-07-04 Thread Simon Horman
On Wed, Jul 02, 2025 at 03:06:35AM -0700, Breno Leitao wrote: > Move IPv6 header construction from netpoll_send_udp() into a new > static helper function, push_ipv6(). This refactoring reduces code > duplication and improves readability in netpoll_send_udp(). > > Signed-off-by: Breno Leitao Revi

Re: [PATCH net-next v2 2/7] netpoll: factor out UDP checksum calculation into helper

2025-07-04 Thread Simon Horman
On Wed, Jul 02, 2025 at 03:06:34AM -0700, Breno Leitao wrote: > Extract UDP checksum calculation logic from netpoll_send_udp() > into a new static helper function netpoll_udp_checksum(). This > reduces code duplication and improves readability for both IPv4 > and IPv6 cases. > > No functional chan

Re: [PATCH net-next v2 1/7] netpoll: Improve code clarity with explicit struct size calculations

2025-07-04 Thread Simon Horman
On Wed, Jul 02, 2025 at 03:06:33AM -0700, Breno Leitao wrote: > Replace pointer-dereference sizeof() operations with explicit struct names > for improved readability and maintainability. This change: > > 1. Replaces `sizeof(*udph)` with `sizeof(struct udphdr)` > 2. Replaces `sizeof(*ip6h)` with `s

[PATCH 1/2] selftests/nolibc: create /dev/full when running as PID 1

2025-07-04 Thread Thomas Weißschuh
An upcoming testcase will use /dev/full. Make sure it is always present. Signed-off-by: Thomas Weißschuh --- tools/testing/selftests/nolibc/nolibc-test.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/testing/selftests/nolibc/nolibc-test.c b/tools/testing/selftest

[PATCH 0/2] selftests/nolibc: correctly report errors from printf() and friends

2025-07-04 Thread Thomas Weißschuh
| 4 ++-- tools/testing/selftests/nolibc/nolibc-test.c | 27 ++- 2 files changed, 28 insertions(+), 3 deletions(-) --- base-commit: 1536aa0fb1e09cb50f401ec4852c60f38173d751 change-id: 20250704-nolibc-printf-error-aa54f951c0a4 Best regards, -- Thomas Weißschuh

[PATCH 2/2] selftests/nolibc: correctly report errors from printf() and friends

2025-07-04 Thread Thomas Weißschuh
When an error is encountered by printf() it needs to be reported. errno() is already set by the callback. sprintf() is different, but that keeps working and is already tested. Also add a new test. Fixes: 7e4346f4a3a6 ("tools/nolibc/stdio: add a minimal [vf]printf() implementation") Signed-off-b

Re: [PATCH net-next 3/3] selftests: ethtool: Introduce ethernet PHY selftests on netdevsim

2025-07-04 Thread Maxime Chevallier
On Fri, 4 Jul 2025 14:20:19 +0100 Simon Horman wrote: > On Wed, Jul 02, 2025 at 10:28:05AM +0200, Maxime Chevallier wrote: > > Now that netdevsim supports PHY device simulation, we can start writing > > some tests to cover a little bit all PHY-related ethtool commands. > > > > So far we only tes

Re: [PATCH RFC 07/14] fs/dax: use vmf_insert_folio_pmd() to insert the huge zero folio

2025-07-04 Thread David Hildenbrand
On 25.06.25 11:03, David Hildenbrand wrote: On 24.06.25 03:16, Alistair Popple wrote: On Tue, Jun 17, 2025 at 05:43:38PM +0200, David Hildenbrand wrote: Let's convert to vmf_insert_folio_pmd(). In the unlikely case there is already something mapped, we'll now still call trace_dax_pmd_load_hole

Re: [PATCH net-next 3/3] selftests: ethtool: Introduce ethernet PHY selftests on netdevsim

2025-07-04 Thread Simon Horman
On Wed, Jul 02, 2025 at 10:28:05AM +0200, Maxime Chevallier wrote: > Now that netdevsim supports PHY device simulation, we can start writing > some tests to cover a little bit all PHY-related ethtool commands. > > So far we only test the basic use of "ethtool --show-phys", with : > - A simple com

[PATCH] vdpa: Fix IDR memory leak in VDUSE module exit

2025-07-04 Thread Anders Roxell
Add missing idr_destroy() call in vduse_exit() to properly free the vduse_idr radix tree nodes. Without this, module load/unload cycles leak 576-byte radix tree node allocations, detectable by kmemleak as: unreferenced object (size 576): backtrace: [] radix_tree_node_alloc+0xa0/0xf0 [] i

Re: [PATCH v14 5/7] rust: module: update the module macro with module parameter support

2025-07-04 Thread Benno Lossin
On Fri Jul 4, 2025 at 2:29 PM CEST, Andreas Hindborg wrote: > "Benno Lossin" writes: >> On Wed Jul 2, 2025 at 3:18 PM CEST, Andreas Hindborg wrote: >>> +perm: 0, // Will not appear in sysfs >>> +level: -1, >>> +fla

Re: [PATCH net-next 1/3] net: netdevsim: Add PHY support in netdevsim

2025-07-04 Thread Maxime Chevallier
Hi Simon, On Fri, 4 Jul 2025 13:43:36 +0100 Simon Horman wrote: > On Wed, Jul 02, 2025 at 10:28:03AM +0200, Maxime Chevallier wrote: > > With the introduction of phy_link_topology, we have the ability to keep > > track of PHY devices that sit behind a net_device. While we still can > > only atta

Re: [PATCH net-next 1/3] net: netdevsim: Add PHY support in netdevsim

2025-07-04 Thread Simon Horman
On Wed, Jul 02, 2025 at 10:28:03AM +0200, Maxime Chevallier wrote: > With the introduction of phy_link_topology, we have the ability to keep > track of PHY devices that sit behind a net_device. While we still can > only attach one single PHY to a netdev, we can look at all these PHYs > through netl

Re: [PATCH RFC 01/14] mm/memory: drop highest_memmap_pfn sanity check in vm_normal_page()

2025-07-04 Thread David Hildenbrand
On 03.07.25 16:44, Lance Yang wrote: On 2025/7/3 20:39, David Hildenbrand wrote: On 03.07.25 14:34, Lance Yang wrote: On Mon, Jun 23, 2025 at 10:04 PM David Hildenbrand wrote: On 20.06.25 14:50, Oscar Salvador wrote: On Tue, Jun 17, 2025 at 05:43:32PM +0200, David Hildenbrand wrote: In 2

Re: [PATCH v2 10/11] dt-bindings: clock: qcom: document the Milos Video Clock Controller

2025-07-04 Thread Krzysztof Kozlowski
On 04/07/2025 09:17, Luca Weiss wrote: > Add bindings documentation for the Milos (e.g. SM7635) Video Clock > Controller. > > Signed-off-by: Luca Weiss > --- Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof

Re: [PATCH v2 08/11] dt-bindings: clock: qcom: document the Milos GPU Clock Controller

2025-07-04 Thread Krzysztof Kozlowski
On 04/07/2025 09:17, Luca Weiss wrote: > Add bindings documentation for the Milos (e.g. SM7635) Graphics Clock > Controller. > > Signed-off-by: Luca Weiss > --- Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof

Re: [PATCH v14 5/7] rust: module: update the module macro with module parameter support

2025-07-04 Thread Andreas Hindborg
"Benno Lossin" writes: > On Wed Jul 2, 2025 at 3:18 PM CEST, Andreas Hindborg wrote: >> Allow module parameters to be declared in the rust `module!` macro. >> >> Signed-off-by: Andreas Hindborg > > A few nits below, with those fixed > > Reviewed-by: Benno Lossin > >> --- >> rust/macros/helpers

Re: [PATCH v2 06/11] dt-bindings: clock: qcom: document the Milos Display Clock Controller

2025-07-04 Thread Krzysztof Kozlowski
On 04/07/2025 09:16, Luca Weiss wrote: > Add bindings documentation for the Milos (e.g. SM7635) Display Clock > Controller. > > Signed-off-by: Luca Weiss > --- Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof

Re: [PATCH v2 04/11] dt-bindings: clock: qcom: document the Milos Camera Clock Controller

2025-07-04 Thread Krzysztof Kozlowski
On 04/07/2025 09:16, Luca Weiss wrote: > Add bindings documentation for the Milos (e.g. SM7635) Camera Clock > Controller. > > Signed-off-by: Luca Weiss > --- > .../bindings/clock/qcom,milos-camcc.yaml | 51 > include/dt-bindings/clock/qcom,milos-camcc.h | 131 > +

Re: [PATCH v2 02/11] dt-bindings: clock: qcom: document the Milos Global Clock Controller

2025-07-04 Thread Krzysztof Kozlowski
On 04/07/2025 09:16, Luca Weiss wrote: > Add bindings documentation for the Milos (e.g. SM7635) Global Clock > Controller. > > Signed-off-by: Luca Weiss > --- > .../devicetree/bindings/clock/qcom,milos-gcc.yaml | 62 ++ > include/dt-bindings/clock/qcom,milos-gcc.h | 210 >

Re: [PATCH v2] selftests/mm: pagemap_scan ioctl: add PFN ZERO test cases

2025-07-04 Thread David Hildenbrand
On 02.07.25 16:20, Muhammad Usama Anjum wrote: Add test cases to test the correctness of PFN ZERO flag of pagemap_scan ioctl. Test with normal pages backed memory and huge pages backed memory. Cc: David Hildenbrand Signed-off-by: Muhammad Usama Anjum --- The bug has been fixed [1]. [1] https:

Re: [PATCH net-next 1/3] net: netdevsim: Add PHY support in netdevsim

2025-07-04 Thread kernel test robot
://lore.kernel.org/r/20250702082806.706973-2-maxime.chevallier%40bootlin.com patch subject: [PATCH net-next 1/3] net: netdevsim: Add PHY support in netdevsim config: microblaze-allmodconfig (https://download.01.org/0day-ci/archive/20250704/202507041906.jxjatvqe-...@intel.com/config) compiler: microblaze-linux

Re: [PATCH v3 0/4] kselftest/arm64: Add coverage for the interaction of vfork() and GCS

2025-07-04 Thread Mark Brown
On Fri, Jul 04, 2025 at 01:27:28PM +0200, Thomas Weißschuh wrote: > FYI nolibc now has a proper prctl() implementation you might want to use. That's open coded because we absolutely cannot tolerate the prctl() to enable GCS being anything other than inlined, returning from an actual function call

Re: [PATCH v2 11/11] clk: qcom: Add Video Clock controller (VIDEOCC) driver for Milos

2025-07-04 Thread Konrad Dybcio
On 04-Jul-25 09:17, Luca Weiss wrote: > Add support for the video clock controller found on Milos (e.g. SM7635) > based devices. > > Signed-off-by: Luca Weiss > --- Reviewed-by: Konrad Dybcio Konrad

Re: [PATCH v2 07/11] clk: qcom: Add Display Clock controller (DISPCC) driver for Milos

2025-07-04 Thread Konrad Dybcio
On 04-Jul-25 09:16, Luca Weiss wrote: > Add support for the display clock controller found on Milos (e.g. > SM7635) based devices. > > Signed-off-by: Luca Weiss > --- Reviewed-by: Konrad Dybcio Konrad

Re: [PATCH v2 05/11] clk: qcom: Add Camera Clock controller (CAMCC) driver for Milos

2025-07-04 Thread Konrad Dybcio
On 04-Jul-25 09:16, Luca Weiss wrote: > Add support for the camera clock controller found on Milos (e.g. SM7635) > based devices. > > Signed-off-by: Luca Weiss > --- Reviewed-by: Konrad Dybcio Konrad

Re: [PATCH v2 03/11] clk: qcom: Add Global Clock controller (GCC) driver for Milos

2025-07-04 Thread Konrad Dybcio
On 04-Jul-25 09:16, Luca Weiss wrote: > Add support for the global clock controller found on Milos (e.g. SM7635) > based devices. > > Signed-off-by: Luca Weiss > --- Reviewed-by: Konrad Dybcio Konrad

Re: [PATCH v14 3/7] rust: introduce module_param module

2025-07-04 Thread Andreas Hindborg
"Benno Lossin" writes: > On Fri Jul 4, 2025 at 9:37 AM CEST, Andreas Hindborg wrote: >> Andreas Hindborg writes: >> >>> "Danilo Krummrich" writes: >>> On 7/2/25 3:18 PM, Andreas Hindborg wrote: > +/// Get a shared reference to the parameter value. > +// Note: When sysfs acc

Re: [PATCH v14 3/7] rust: introduce module_param module

2025-07-04 Thread Andreas Hindborg
"Benno Lossin" writes: > On Wed Jul 2, 2025 at 3:18 PM CEST, Andreas Hindborg wrote: >> Add types and traits for interfacing the C moduleparam API. >> >> Signed-off-by: Andreas Hindborg > > I have some nits below, but overall > > Reviewed-by: Benno Lossin > >> --- >> rust/kernel/lib.rs

Re: [PATCH v3 0/4] kselftest/arm64: Add coverage for the interaction of vfork() and GCS

2025-07-04 Thread Thomas Weißschuh
On 2025-07-03 17:00:14+0100, Mark Brown wrote: > I had cause to look at the vfork() support for GCS and realised that we > don't have any direct test coverage, this series does so by adding > vfork() to nolibc and then using that in basic-gcs to provide some > simple vfork() coverage. Thanks. I ap

Re: [PATCH v5 0/3] PM: domains: Detach on device_unbind_cleanup()

2025-07-04 Thread Ulf Hansson
On Thu, 3 Jul 2025 at 13:27, Claudiu wrote: > > From: Claudiu Beznea > > Hi, > > Series drops the dev_pm_domain_detach() from platform bus remove and > adds it in device_unbind_cleanup() to avoid runtime resumming the device > after it was detached from its PM domain. > > Please provide your feed

[PATCH v3] selftests/cgroup: fix cpu.max tests

2025-07-04 Thread Shashank Balaji
Current cpu.max tests (both the normal one and the nested one) are broken. They setup cpu.max with 1000 us quota and the default period (100,000 us). A cpu hog is run for a duration of 1s as per wall clock time. This corresponds to 10 periods, hence an expected usage of 10,000 us. We want the meas

Re: [PATCH v2 01/11] clk: qcom: common: Add support to register rcg dfs in qcom_cc_really_probe

2025-07-04 Thread Konrad Dybcio
On 04-Jul-25 09:16, Luca Weiss wrote: > Add support to register the rcg dfs in qcom_cc_really_probe(). This > allows users to move the call from the probe function to static > properties. > > Signed-off-by: Luca Weiss > --- Reviewed-by: Konrad Dybcio Konrad

[PATCH v2] selftests/futex: Add futex_numa to .gitignore

2025-07-04 Thread Terry Tritton
futex_numa was never added to the .gitignore file. Add it. Fixes: 9140f57c1c13 ("futex,selftests: Add another FUTEX2_NUMA selftest") Signed-off-by: Terry Tritton --- Changes in v2: - Add Fixes tag tools/testing/selftests/futex/functional/.gitignore | 1 + 1 file changed, 1 insertion(+) diff --

[PATCH v4] selftests/futex: Convert 32bit timespec struct to 64bit version for 32bit compatibility mode

2025-07-04 Thread Terry Tritton
sys_futex_wait() can not accept old_timespec32 struct, so userspace should convert it from 32bit to 64bit before syscall to support 32bit compatible mode. This fix is based off [1] Link: https://lore.kernel.org/all/20231203235117.29677-1-we...@suse.com/ [1] Originally-by: Wei Gao Signed-off-by:

Re: [PATCH] virtio_net: simplify tx queue wake condition check

2025-07-04 Thread Lei Yang
I tested this patch with virito-net regression tests, everything works fine. Tested-by: Lei Yang On Wed, Jul 2, 2025 at 9:42 AM wrote: > > From: Liming Wu > > Consolidate the two nested if conditions for checking tx queue wake > conditions into a single combined condition. This improves code >

Re: [PATCH RESEND] ipvs: ip_vs_conn_expire_now: Rename del_timer in comment

2025-07-04 Thread Julian Anastasov
Hello, On Fri, 4 Jul 2025, WangYuli wrote: > Commit 8fa7292fee5c ("treewide: Switch/rename to timer_delete[_sync]()") > switched del_timer to timer_delete, but did not modify the comment for > ip_vs_conn_expire_now(). Now fix it. > > Signed-off-by: WangYuli Looks good to me f

Re: [PATCH v14 3/7] rust: introduce module_param module

2025-07-04 Thread Benno Lossin
On Fri Jul 4, 2025 at 9:37 AM CEST, Andreas Hindborg wrote: > Andreas Hindborg writes: > >> "Danilo Krummrich" writes: >> >>> On 7/2/25 3:18 PM, Andreas Hindborg wrote: +/// Get a shared reference to the parameter value. +// Note: When sysfs access to parameters are enabled, we

Re: [PATCH v2 0/8] vsock/virtio: SKB allocation improvements

2025-07-04 Thread Lei Yang
I tested this series of patches with virtio-net regression tests, everything works fine. Tested-by: Lei Yang On Wed, Jul 2, 2025 at 12:48 AM Will Deacon wrote: > > Hello again, > > Here is version two of the patches I previously posted here: > > https://lore.kernel.org/r/20250625131543.5155-1

Re: [PATCH v2] selftests/cgroup: improve the accuracy of cpu.max tests

2025-07-04 Thread Michal Koutný
On Fri, Jul 04, 2025 at 06:15:54PM +0900, Shashank Balaji wrote: > I forgot to add the fixes tags: > Fixes: a79906570f9646ae17 ("cgroup: Add test_cpucg_max_nested() testcase") > Fixes: 889ab8113ef1386c57 ("cgroup: Add test_cpucg_max() testcase") > > Should I send a v3 with your ack and the tags?

Re: [PATCH v2] selftests/cgroup: improve the accuracy of cpu.max tests

2025-07-04 Thread Shashank Balaji
On Fri, Jul 04, 2025 at 06:07:12PM +0900, Shashank Balaji wrote: > Hi Michal, > > On Fri, Jul 04, 2025 at 10:59:15AM +0200, Michal Koutný wrote: > > On Fri, Jul 04, 2025 at 03:49:58PM +0900, Shashank Balaji > > wrote: > > > > 1. We don't need to separately check user_usec because it'll always be

Re: [PATCH v2] selftests/cgroup: improve the accuracy of cpu.max tests

2025-07-04 Thread Shashank Balaji
Hi Michal, On Fri, Jul 04, 2025 at 10:59:15AM +0200, Michal Koutný wrote: > On Fri, Jul 04, 2025 at 03:49:58PM +0900, Shashank Balaji > wrote: > > > 1. We don't need to separately check user_usec because it'll always be > > > less than user_usec^W usage_usec, and usage_usec is what's directly >

[PATCH 58/80] remoteproc: omap: Remove redundant pm_runtime_mark_last_busy() calls

2025-07-04 Thread Sakari Ailus
pm_runtime_put_autosuspend(), pm_runtime_put_sync_autosuspend(), pm_runtime_autosuspend() and pm_request_autosuspend() now include a call to pm_runtime_mark_last_busy(). Remove the now-reduntant explicit call to pm_runtime_mark_last_busy(). Signed-off-by: Sakari Ailus --- The cover letter of the

Re: [PATCH v2] selftests/cgroup: improve the accuracy of cpu.max tests

2025-07-04 Thread Michal Koutný
On Fri, Jul 04, 2025 at 03:49:58PM +0900, Shashank Balaji wrote: > > 1. We don't need to separately check user_usec because it'll always be > > less than user_usec^W usage_usec, and usage_usec is what's directly > > affected by throttling. When kernel is not preemptible, I'd expect the system ti

[PATCH RESEND] ipvs: ip_vs_conn_expire_now: Rename del_timer in comment

2025-07-04 Thread WangYuli
Commit 8fa7292fee5c ("treewide: Switch/rename to timer_delete[_sync]()") switched del_timer to timer_delete, but did not modify the comment for ip_vs_conn_expire_now(). Now fix it. Signed-off-by: WangYuli --- net/netfilter/ipvs/ip_vs_conn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH v14 3/7] rust: introduce module_param module

2025-07-04 Thread Andreas Hindborg
Andreas Hindborg writes: > "Danilo Krummrich" writes: > >> On 7/2/25 3:18 PM, Andreas Hindborg wrote: >>> +/// Get a shared reference to the parameter value. >>> +// Note: When sysfs access to parameters are enabled, we have to pass >>> in a >>> +// held lock guard here. >>> +pu

Re: [PATCH v14 3/7] rust: introduce module_param module

2025-07-04 Thread Andreas Hindborg
"Danilo Krummrich" writes: > On 7/2/25 3:18 PM, Andreas Hindborg wrote: >> +/// Get a shared reference to the parameter value. >> +// Note: When sysfs access to parameters are enabled, we have to pass >> in a >> +// held lock guard here. >> +pub fn get(&self) -> &T { >> +

[PATCH v2 11/11] clk: qcom: Add Video Clock controller (VIDEOCC) driver for Milos

2025-07-04 Thread Luca Weiss
Add support for the video clock controller found on Milos (e.g. SM7635) based devices. Signed-off-by: Luca Weiss --- drivers/clk/qcom/Kconfig | 11 ++ drivers/clk/qcom/Makefile| 1 + drivers/clk/qcom/videocc-milos.c | 403 +++ 3 files change

[PATCH v2 03/11] clk: qcom: Add Global Clock controller (GCC) driver for Milos

2025-07-04 Thread Luca Weiss
Add support for the global clock controller found on Milos (e.g. SM7635) based devices. Signed-off-by: Luca Weiss --- drivers/clk/qcom/Kconfig |9 + drivers/clk/qcom/Makefile|1 + drivers/clk/qcom/gcc-milos.c | 3225 ++ 3 files changed, 323

[PATCH v2 10/11] dt-bindings: clock: qcom: document the Milos Video Clock Controller

2025-07-04 Thread Luca Weiss
Add bindings documentation for the Milos (e.g. SM7635) Video Clock Controller. Signed-off-by: Luca Weiss --- .../bindings/clock/qcom,milos-videocc.yaml | 53 ++ include/dt-bindings/clock/qcom,milos-videocc.h | 36 +++ 2 files changed, 89 insertions(+)

[PATCH v2 09/11] clk: qcom: Add Graphics Clock controller (GPUCC) driver for Milos

2025-07-04 Thread Luca Weiss
Add support for the graphics clock controller found on Milos (e.g. SM7635) based devices. Signed-off-by: Luca Weiss --- drivers/clk/qcom/Kconfig | 9 + drivers/clk/qcom/Makefile | 1 + drivers/clk/qcom/gpucc-milos.c | 562 + 3 files changed,

[PATCH v2 05/11] clk: qcom: Add Camera Clock controller (CAMCC) driver for Milos

2025-07-04 Thread Luca Weiss
Add support for the camera clock controller found on Milos (e.g. SM7635) based devices. Signed-off-by: Luca Weiss --- drivers/clk/qcom/Kconfig |8 + drivers/clk/qcom/Makefile |1 + drivers/clk/qcom/camcc-milos.c | 2161 3 files changed,

[PATCH v2 07/11] clk: qcom: Add Display Clock controller (DISPCC) driver for Milos

2025-07-04 Thread Luca Weiss
Add support for the display clock controller found on Milos (e.g. SM7635) based devices. Signed-off-by: Luca Weiss --- drivers/clk/qcom/Kconfig| 10 + drivers/clk/qcom/Makefile | 1 + drivers/clk/qcom/dispcc-milos.c | 974 3 files changed

[PATCH v2 08/11] dt-bindings: clock: qcom: document the Milos GPU Clock Controller

2025-07-04 Thread Luca Weiss
Add bindings documentation for the Milos (e.g. SM7635) Graphics Clock Controller. Signed-off-by: Luca Weiss --- .../bindings/clock/qcom,sm8450-gpucc.yaml | 2 + include/dt-bindings/clock/qcom,milos-gpucc.h | 56 ++ 2 files changed, 58 insertions(+) diff --git

[PATCH v2 06/11] dt-bindings: clock: qcom: document the Milos Display Clock Controller

2025-07-04 Thread Luca Weiss
Add bindings documentation for the Milos (e.g. SM7635) Display Clock Controller. Signed-off-by: Luca Weiss --- .../bindings/clock/qcom,milos-dispcc.yaml | 63 ++ include/dt-bindings/clock/qcom,milos-dispcc.h | 61 + 2 files changed, 124 inser

  1   2   >