Re: [PATCH v2 2/9] dt-bindings: remoteproc: qcom,msm8916-mss-pil: Add MSM8226

2025-01-26 Thread Krzysztof Kozlowski
On Sun, Jan 26, 2025 at 09:57:21PM +0100, Luca Weiss wrote: > From: Matti Lehtimäki > > Add support for external power block headswitch (BHS) registers. > Similarly to MSM8974 also MSM8226 has the mx voltage rail exposed as > regulator and only cx voltage rail as power domain. > > Signed-off-by:

Re: [PATCH v2 1/9] dt-bindings: remoteproc: qcom,msm8916-mss-pil: Support platforms with one power domain

2025-01-26 Thread Krzysztof Kozlowski
On Sun, Jan 26, 2025 at 09:57:20PM +0100, Luca Weiss wrote: > From: Matti Lehtimäki > > Add support for platforms such as MSM8974 which have the mx voltage rail > exposed as regulator and only cx voltage rail as power domain. > > Signed-off-by: Matti Lehtimäki > Signed-off-by: Luca Weiss > ---

[RFC PATCH 2/2] livepatch: Implement livepatch hybrid mode

2025-01-26 Thread Yafang Shao
The atomic replace livepatch mechanism was introduced to handle scenarios where we want to unload a specific livepatch without unloading others. However, its current implementation has significant shortcomings, making it less than ideal in practice. Below are the key downsides: - It is expensive

[RFC PATCH 0/2] livepatch: Add support for hybrid mode

2025-01-26 Thread Yafang Shao
The atomic replace livepatch mechanism was introduced to handle scenarios where we want to unload a specific livepatch without unloading others. However, its current implementation has significant shortcomings, making it less than ideal in practice. Below are the key downsides: - It is expensive

[RFC PATCH 1/2] livepatch: Add replaceable attribute

2025-01-26 Thread Yafang Shao
Add a new attribute "replaceable" to allow the coexsist of both atomic replace livepatch and non atomic replace livepatch. If the replaceable is set to 0, the livepatch won't be replaced by a atomic replace livepatch. This is a preparation for the followup patch. Signed-off-by: Yafang Shao ---

[PATCH] udp: gso: fix MTU check for small packets

2025-01-26 Thread Yan Zhai
Commit 4094871db1d6 ("udp: only do GSO if # of segs > 1") avoided GSO for small packets. But the kernel currently dismisses GSO requests only after checking MTU on gso_size. This means any packets, regardless of their payload sizes, would be dropped when MTU is smaller than requested gso_size. Mean

Re: [PATCH RFC v2 rcu] Fix get_state_synchronize_rcu_full() GP-start detection

2025-01-26 Thread Joel Fernandes
On Sun, Jan 26, 2025 at 9:55 PM Joel Fernandes wrote: > > On Sun, Jan 26, 2025 at 9:03 PM Paul E. McKenney wrote: > > > > On Sun, Jan 26, 2025 at 08:22:23PM -0500, Joel Fernandes wrote: > > > On Sun, Jan 26, 2025 at 8:13 PM Joel Fernandes > > > wrote: > > > > > > > > Hi, Paul and Frederic, > >

Re: [PATCH RFC v2 rcu] Fix get_state_synchronize_rcu_full() GP-start detection

2025-01-26 Thread Joel Fernandes
On Sun, Jan 26, 2025 at 9:03 PM Paul E. McKenney wrote: > > On Sun, Jan 26, 2025 at 08:22:23PM -0500, Joel Fernandes wrote: > > On Sun, Jan 26, 2025 at 8:13 PM Joel Fernandes > > wrote: > > > > > > Hi, Paul and Frederic, > > > > > > [...] > > > > > > On Sat, Jan 25, 2025 at 12:03:58AM +0100, Fre

Re: [PATCH RFC v2 rcu] Fix get_state_synchronize_rcu_full() GP-start detection

2025-01-26 Thread Paul E. McKenney
On Sun, Jan 26, 2025 at 08:22:23PM -0500, Joel Fernandes wrote: > On Sun, Jan 26, 2025 at 8:13 PM Joel Fernandes wrote: > > > > Hi, Paul and Frederic, > > > > [...] > > > > > On Sat, Jan 25, 2025 at 12:03:58AM +0100, Frederic Weisbecker wrote: > > > > > > Le Fri, Dec 13, 2024 at 11:49:49AM -0800,

Re: [PATCH RFC v2 rcu] Fix get_state_synchronize_rcu_full() GP-start detection

2025-01-26 Thread Joel Fernandes
On Sun, Jan 26, 2025 at 8:13 PM Joel Fernandes wrote: > > Hi, Paul and Frederic, > > [...] > > > > On Sat, Jan 25, 2025 at 12:03:58AM +0100, Frederic Weisbecker wrote: > > > > > Le Fri, Dec 13, 2024 at 11:49:49AM -0800, Paul E. McKenney a écrit : > > > > > > diff --git a/kernel/rcu/rcu.h b/kernel/

Re: [PATCH RFC v2 rcu] Fix get_state_synchronize_rcu_full() GP-start detection

2025-01-26 Thread Joel Fernandes
Hi, Paul and Frederic, [...] > > > On Sat, Jan 25, 2025 at 12:03:58AM +0100, Frederic Weisbecker wrote: > > > > Le Fri, Dec 13, 2024 at 11:49:49AM -0800, Paul E. McKenney a écrit : > > > > > diff --git a/kernel/rcu/rcu.h b/kernel/rcu/rcu.h > > > > > index 2f9c9272cd486..d2a91f705a4ab 100644 > > >

Re: [GIT PULL] Modules changes for v6.14-rc1

2025-01-26 Thread pr-tracker-bot
The pull request you sent on Sun, 26 Jan 2025 15:05:47 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/modules/linux.git/ > tags/modules-6.14-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/41bfad507c04c3d0cced1277243aed6733616184 Thank you! -- Deet-doot-

[PATCH v2 2/9] dt-bindings: remoteproc: qcom,msm8916-mss-pil: Add MSM8226

2025-01-26 Thread Luca Weiss
From: Matti Lehtimäki Add support for external power block headswitch (BHS) registers. Similarly to MSM8974 also MSM8226 has the mx voltage rail exposed as regulator and only cx voltage rail as power domain. Signed-off-by: Matti Lehtimäki Signed-off-by: Luca Weiss --- Changes in v2: - Improv

[PATCH v2 3/9] remoteproc: qcom_q6v5_mss: Handle platforms with one power domain

2025-01-26 Thread Luca Weiss
For example MSM8974 has mx voltage rail exposed as regulator and only cx voltage rail is exposed as power domain. This power domain (cx) is attached internally in power domain and cannot be attached in this driver. Fixes: 8750cf392394 ("remoteproc: qcom_q6v5_mss: Allow replacing regulators with p

[PATCH v2 1/9] dt-bindings: remoteproc: qcom,msm8916-mss-pil: Support platforms with one power domain

2025-01-26 Thread Luca Weiss
From: Matti Lehtimäki Add support for platforms such as MSM8974 which have the mx voltage rail exposed as regulator and only cx voltage rail as power domain. Signed-off-by: Matti Lehtimäki Signed-off-by: Luca Weiss --- New patch in v2 split from previous first patch - Improve description of

[PATCH v2 4/9] remoteproc: qcom_q6v5_mss: Add modem support on MSM8226

2025-01-26 Thread Luca Weiss
Add support for the external power block headswitch register needed by MSM8226 and some other qcom platforms. Co-developed-by: Matti Lehtimäki Signed-off-by: Matti Lehtimäki Signed-off-by: Luca Weiss --- Changes in v2: - Remove cx-supply from MSM8226 "fallback_proxy_supply" because it's a

[PATCH v2 0/9] Modem support for MSM8226

2025-01-26 Thread Luca Weiss
This series adds support for modem remoteproc found on MSM8226. It also adds needed device tree nodes and enables modem used for location service on matisse-wifi. Also bam-dmux node is added for mobile data which is used on 3G/4G-enabled devices. Signed-off-by: Luca Weiss --- Changes in v2: - Dr

[PATCH v2 9/9] ARM: dts: qcom: msm8226-samsung-matisse-common: Enable modem

2025-01-26 Thread Luca Weiss
From: Matti Lehtimäki Enable modem remoteproc on samsung,matisse-wifi & matisselte. Signed-off-by: Matti Lehtimäki Signed-off-by: Luca Weiss --- arch/arm/boot/dts/qcom/qcom-msm8226-samsung-matisse-common.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/qcom/qc

[PATCH v2 5/9] ARM: dts: qcom: msm8226: Add node for TCSR halt regs

2025-01-26 Thread Luca Weiss
From: Matti Lehtimäki Add a syscon device node for the TCSR halt regs needed by modem and other remoteprocs. Signed-off-by: Matti Lehtimäki Signed-off-by: Luca Weiss --- arch/arm/boot/dts/qcom/qcom-msm8226.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/qcom/qc

[PATCH v2 7/9] ARM: dts: qcom: msm8226: Add modem remoteproc node

2025-01-26 Thread Luca Weiss
Add a node for the modem remoteproc found on MSM8226. For the apq8026 smartwatches, delete the modem reserved-memory again since they have very little RAM in the first place anyways, and all of these devices don't have functional modem firmware anyways - these watches don't even have GPS. Co-deve

[PATCH v2 8/9] ARM: dts: qcom: msm8226: Add BAM DMUX Ethernet/IP device

2025-01-26 Thread Luca Weiss
BAM DMUX is used as the network interface to the modem. Signed-off-by: Luca Weiss --- arch/arm/boot/dts/qcom/qcom-msm8226.dtsi | 26 ++ 1 file changed, 26 insertions(+) diff --git a/arch/arm/boot/dts/qcom/qcom-msm8226.dtsi b/arch/arm/boot/dts/qcom/qcom-msm8226.dtsi inde

[PATCH v2 6/9] ARM: dts: qcom: msm8226: Add smsm node

2025-01-26 Thread Luca Weiss
From: Matti Lehtimäki Add smsm node for remoteproc cores. Signed-off-by: Matti Lehtimäki Co-developed-by: Luca Weiss Signed-off-by: Luca Weiss --- arch/arm/boot/dts/qcom/qcom-msm8226.dtsi | 34 1 file changed, 34 insertions(+) diff --git a/arch/arm/boot/dts/

Re: [linus:master] ec9d6356bf: WARNING:at_kernel/rcu/rcutorture.c:#rcutorture_one_extend_check[rcutorture]

2025-01-26 Thread Paul E. McKenney
he same patch/commit), kindly add following tags > | Reported-by: kernel test robot > | Closes: https://lore.kernel.org/oe-lkp/202501261429.c1f117d8-...@intel.com > > > The kernel config and materials to reproduce are available at: > https://download.01.org/0day-ci/archive/20250

[PATCH AUTOSEL 6.13 02/16] bpf: Improve verifier log for resource leak on exit

2025-01-26 Thread Sasha Levin
From: Kumar Kartikeya Dwivedi [ Upstream commit cbd8730aea8d79cda6b0f3c18b406dfdef0c1b80 ] The verifier log when leaking resources on BPF_EXIT may be a bit confusing, as it's a problem only when finally existing from the main prog, not from any of the subprogs. Hence, update the verifier error s

[PATCH AUTOSEL 5.15 14/14] selftests/net/ipsec: Fix Null pointer dereference in rtattr_pack()

2025-01-26 Thread Sasha Levin
From: Liu Ye [ Upstream commit 3a0b7fa095212b51ed63892540c4f249991a2d74 ] Address Null pointer dereference / undefined behavior in rtattr_pack (note that size is 0 in the bad case). Flagged by cppcheck as: tools/testing/selftests/net/ipsec.c:230:25: warning: Possible null pointer derefe

[PATCH AUTOSEL 5.10 12/12] selftests/net/ipsec: Fix Null pointer dereference in rtattr_pack()

2025-01-26 Thread Sasha Levin
From: Liu Ye [ Upstream commit 3a0b7fa095212b51ed63892540c4f249991a2d74 ] Address Null pointer dereference / undefined behavior in rtattr_pack (note that size is 0 in the bad case). Flagged by cppcheck as: tools/testing/selftests/net/ipsec.c:230:25: warning: Possible null pointer derefe

[PATCH AUTOSEL 6.1 17/17] selftests/net/ipsec: Fix Null pointer dereference in rtattr_pack()

2025-01-26 Thread Sasha Levin
From: Liu Ye [ Upstream commit 3a0b7fa095212b51ed63892540c4f249991a2d74 ] Address Null pointer dereference / undefined behavior in rtattr_pack (note that size is 0 in the bad case). Flagged by cppcheck as: tools/testing/selftests/net/ipsec.c:230:25: warning: Possible null pointer derefe

[PATCH AUTOSEL 6.6 19/19] selftests/net/ipsec: Fix Null pointer dereference in rtattr_pack()

2025-01-26 Thread Sasha Levin
From: Liu Ye [ Upstream commit 3a0b7fa095212b51ed63892540c4f249991a2d74 ] Address Null pointer dereference / undefined behavior in rtattr_pack (note that size is 0 in the bad case). Flagged by cppcheck as: tools/testing/selftests/net/ipsec.c:230:25: warning: Possible null pointer derefe

[PATCH AUTOSEL 6.12 28/29] selftests/net/ipsec: Fix Null pointer dereference in rtattr_pack()

2025-01-26 Thread Sasha Levin
From: Liu Ye [ Upstream commit 3a0b7fa095212b51ed63892540c4f249991a2d74 ] Address Null pointer dereference / undefined behavior in rtattr_pack (note that size is 0 in the bad case). Flagged by cppcheck as: tools/testing/selftests/net/ipsec.c:230:25: warning: Possible null pointer derefe

[PATCH AUTOSEL 6.13 34/35] selftests/net/ipsec: Fix Null pointer dereference in rtattr_pack()

2025-01-26 Thread Sasha Levin
From: Liu Ye [ Upstream commit 3a0b7fa095212b51ed63892540c4f249991a2d74 ] Address Null pointer dereference / undefined behavior in rtattr_pack (note that size is 0 in the bad case). Flagged by cppcheck as: tools/testing/selftests/net/ipsec.c:230:25: warning: Possible null pointer derefe

[GIT PULL] Modules changes for v6.14-rc1

2025-01-26 Thread Petr Pavlu
The following changes since commit ffd294d346d185b70e28b1a28abe367bbfe53c04: Linux 6.13 (2025-01-19 15:51:45 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/modules/linux.git/ tags/modules-6.14-rc1 for you to fetch changes up to f3b93547b91ad849

[PATCH] selftests/vDSO: Fix undefined CLONE_NEWTIME by including

2025-01-26 Thread Purva Yeshi
Fix the build failure caused by the undefined `CLONE_NEWTIME`. Include the `linux/sched.h` header file where the function is defined to ensure successful compilation of the selftests. Signed-off-by: Purva Yeshi --- tools/testing/selftests/vDSO/vdso_test_getrandom.c | 2 ++ 1 file changed, 2 i

Re: [RFC net-next v3 2/4] virtio_net: Prepare for NAPI to queue mapping

2025-01-26 Thread Jason Wang
On Sat, Jan 25, 2025 at 4:19 AM Joe Damato wrote: > > On Fri, Jan 24, 2025 at 09:14:54AM +0800, Jason Wang wrote: > > On Thu, Jan 23, 2025 at 10:47 AM Joe Damato wrote: > > > > > > On Thu, Jan 23, 2025 at 10:40:43AM +0800, Jason Wang wrote: > > > > On Thu, Jan 23, 2025 at 1:41 AM Joe Damato wrot