Re: [PATCH V3 4/8] remoteproc: qcom: add hexagon based WCSS secure PIL driver

2025-01-11 Thread Kathiravan Thirumoorthy
+static int wcss_sec_start(struct rproc *rproc) +{ + struct wcss_sec *wcss = rproc->priv; + struct device *dev = wcss->dev; + const struct wcss_data *desc = of_device_get_match_data(dev); Please avoid "parsing" DT in runtime. I didn't underatand this. IIUC, you should

Re: [LTP] selftests: core: unshare_test: WARNING: at mm/util.c:671 __kvmalloc_node_noprof

2025-01-11 Thread Sasha Levin
On Wed, Dec 11, 2024 at 11:09:46AM +0530, Naresh Kamboju wrote: [Gentle Reminder] On Mon, 26 Aug 2024 at 18:50, Naresh Kamboju wrote: The following kernel warning is noticed on all arch and all devices while running selftests: core: unshare_test on Linux next-20240823 and next-20240826. Firs

Re: [PATCH] selftests: livepatch: test if ftrace can trace a livepatched function

2025-01-11 Thread Joe Lawrence
On 1/10/25 12:13, Filipe Xavier wrote: > Em 07/01/2025 13:23, Joe Lawrence escreveu: > >> On Thu, Jan 02, 2025 at 03:42:10PM -0300, Filipe Xavier wrote: >>> This new test makes sure that ftrace can trace a >>> function that was introduced by a livepatch. >>> >> Hi Filipe, >> >> Thanks for adding a

[PATCH v2] selftests: livepatch: test if ftrace can trace a livepatched function

2025-01-11 Thread Filipe Xavier
This new test makes sure that ftrace can trace a function that was introduced by a livepatch. Signed-off-by: Filipe Xavier --- Changes in v2: - functions.sh: added reset tracing on push and pop_config. - test-ftrace.sh: enabled tracing_on before test init. - nitpick: added double quotations on fi

[PATCH 3/5] remoteproc: st: Simplify with dev_err_probe

2025-01-11 Thread Krzysztof Kozlowski
Use dev_err_probe() to make error code handling simpler and handle deferred probe. Signed-off-by: Krzysztof Kozlowski --- drivers/remoteproc/st_remoteproc.c | 44 +- 1 file changed, 20 insertions(+), 24 deletions(-) diff --git a/drivers/remoteproc/st_remotepr

[PATCH 1/5] remoteproc: keystone: Simplify returning syscon PTR_ERR

2025-01-11 Thread Krzysztof Kozlowski
No need to store PTR_ERR into temporary, local 'ret' variable. Signed-off-by: Krzysztof Kozlowski --- drivers/remoteproc/keystone_remoteproc.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/remoteproc/keystone_remoteproc.c b/drivers/remoteproc/keystone_remote

[PATCH 4/5] remoteproc: keystone: Use syscon_regmap_lookup_by_phandle_args

2025-01-11 Thread Krzysztof Kozlowski
Use syscon_regmap_lookup_by_phandle_args() which is a wrapper over syscon_regmap_lookup_by_phandle() and getting the argument. Except simpler code this annotates within one line that given phandle has arguments, so grepping for code would be easier. There is also no real benefit in printing error

[PATCH 5/5] remoteproc: st: Use syscon_regmap_lookup_by_phandle_args

2025-01-11 Thread Krzysztof Kozlowski
Use syscon_regmap_lookup_by_phandle_args() which is a wrapper over syscon_regmap_lookup_by_phandle() and getting the argument. Except simpler code this annotates within one line that given phandle has arguments, so grepping for code would be easier. There is also no real benefit in printing error

[PATCH 0/5] remoteproc: Simplify few things: omap, keystone, st

2025-01-11 Thread Krzysztof Kozlowski
+--- 3 files changed, 28 insertions(+), 50 deletions(-) --- base-commit: 6ecd20965bdc21b265a0671ccf36d9ad8043f5ab change-id: 20250111-b4-syscon-phandle-args-remoteproc-06dfa873d1d1 Best regards, -- Krzysztof Kozlowski

Re: [PATCH net-next v17 25/25] testing/selftests: add test tool and scripts for ovpn module

2025-01-11 Thread Antonio Quartulli
Hey Jakub, I just realized that I forgot to fix the nla_get_uint clash triggered on Fedora. However, I'd rather not send a new patchset right away... Maybe we will be happy with this version and then I will just resend this patch alone. Best Regards, -- Antonio Quartulli OpenVPN Inc.

[PATCH 2/5] remoteproc: omap: Simplify returning syscon PTR_ERR

2025-01-11 Thread Krzysztof Kozlowski
No need to store PTR_ERR into temporary, local 'ret' variable. Signed-off-by: Krzysztof Kozlowski --- drivers/remoteproc/omap_remoteproc.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/remoteproc/omap_remoteproc.c b/drivers/remoteproc/omap_remoteproc.c index

Re: Re: [PATCH] vhost/scsi: Fix improper cleanup in vhost_scsi_set_endpoint()

2025-01-11 Thread 张浩然
Hi Kuan-Wei, On Sat, Jan 11, 2025 at 13:45:50 +0800, Kuan-Wei Chiu wrote: > Hi Haoran, > > On Sat, Jan 11, 2025 at 11:34:18AM +0800, Haoran Zhang wrote: > > Since commit 3f8ca2e115e55 ("vhost scsi: alloc cmds per vq instead of > > session"), a bug can be triggered when the host sends a duplicate

Re: [PATCH net-next v17 02/25] ovpn: add basic netlink support

2025-01-11 Thread kernel test robot
Hi Antonio, kernel test robot noticed the following build errors: [auto build test ERROR on 7b24f164cf005b9649138ef6de94aaac49c9f3d1] url: https://github.com/intel-lab-lkp/linux/commits/Antonio-Quartulli/net-introduce-OpenVPN-Data-Channel-Offload-ovpn/20250111-064544 base

Re: [External Mail] [PATCH v2 0/5] Move kvfree_rcu() into SLAB (v2)

2025-01-11 Thread Vlastimil Babka
On 1/6/25 08:21, Hyeonggon Yoo wrote: > > > On 2024-12-13 3:02 AM, Uladzislau Rezki (Sony) wrote: >> Hello! >> >> This is v2. It is based on the Linux 6.13-rc2. The first version is >> here: >> >> https://lore.kernel.org/linux-mm/20241210164035.3391747-4-ure...@gmail.com/T/ >> >> The differenc

Re: [PATCH v2 0/5] Move kvfree_rcu() into SLAB (v2)

2025-01-11 Thread Vlastimil Babka
On 12/16/24 14:07, Uladzislau Rezki wrote: > On Sun, Dec 15, 2024 at 06:30:02PM +0100, Vlastimil Babka wrote: >> On 12/12/24 19:02, Uladzislau Rezki (Sony) wrote: >> > Hello! >> > >> > This is v2. It is based on the Linux 6.13-rc2. The first version is >> > here: >> > >> > https://lore.kernel.org

Re: [PATCH 2/3] libbpf: Remove powerpc prefix from syscall function names

2025-01-11 Thread Saket Kumar Bhaskar
CCing Maddy and MPE On Fri, Jan 10, 2025 at 02:29:42PM -0800, Andrii Nakryiko wrote: > On Fri, Jan 10, 2025 at 2:49 AM Saket Kumar Bhaskar > wrote: > > > > On Thu, Nov 21, 2024 at 04:00:13PM -0800, Andrii Nakryiko wrote: > > > On Wed, Nov 20, 2024 at 6:52 AM Saket Kumar Bhaskar > > > wrote: > >