On Fri, Nov 29, 2024 at 10:00:30PM +0530, Manivannan Sadhasivam wrote:
> On Fri, Nov 29, 2024 at 07:51:30PM +0900, Damien Le Moal wrote:
> > On 11/29/24 18:24, Manivannan Sadhasivam wrote:
> > > IOCTLs are supposed to return 0 for success and negative error codes for
> > > failure. Currently, this
When multi-core SCP support was added, the driver was made to populate
platform devices for all the sub-nodes. This ended up adding platform
devices for the rpmsg sub-nodes as well, which never actually get used,
since rpmsg devices are registered through the rpmsg interface.
Limit of_platform_pop
The active-backup bonding mode supports XFRM ESP offload. However, when
a bond is added using command like `ip link add bond0 type bond mode 1
miimon 100`, the `ethtool -k` command shows that the XFRM ESP offload is
disabled. This occurs because, in bond_newlink(), we change bond link
first and reg
This introduces a test for IPSec offload over bonding, utilizing netdevsim
for the testing process, as veth interfaces do not support IPSec offload.
The test will ensure that the IPSec offload functionality remains operational
even after a failover event occurs in the bonding configuration.
Signed
The first patch fixes the xfrm offload feature during setup active-backup
mode. The second patch add a ipsec offload testing.
Hangbin Liu (2):
bonding: fix xfrm offload feature setup on active-backup mode
selftests: bonding: add ipsec offload test
drivers/net/bonding/bond_main.c
I tested this series v4 patches with virtio-net regression tests, all
cases test pass. But I hit a bug
https://bugzilla.kernel.org/show_bug.cgi?id=219588, only judging from
call trace info it should be a CPU issue, and not related to the
current patch.
Tested-by: Lei Yang
On Tue, Dec 10, 2024 at
Hi Charlie,
On 2024-12-06 11:52 AM, Charlie Jenkins wrote:
> When compiling the pointer masking tests with -Wall this warning
> is present:
>
> pointer_masking.c: In function ‘test_tagged_addr_abi_sysctl’:
> pointer_masking.c:203:9: warning: ignoring return value of ‘pwrite’
> declared with attri
Good: next-20240822
> BAD: next-20240823 and next-20240826
This is an open issue from August.
The reported kernel warning is still seen on linux next and mainline
while running selftests: core: unshare_test.
Linux version: 6.13.0-rc2-next-20241210
>
> Reported-by: Linux Kernel Fun
On Thu, Dec 05, 2024 at 08:46:14PM +0100, Christophe Leroy wrote:
> This series reworks module loading to avoid leaving the module in a
> stale state when protecting ro_after_init section fails.
>
> Once module init has succeded it is too late to cancel loading.
> If setting ro_after_init data sec
On Tue, Dec 10, 2024 at 11:27:06PM +0900, Masahiro Yamada wrote:
> On Tue, Dec 10, 2024 at 9:42 PM Neal Gompa wrote:
> >
> > On Mon, Nov 25, 2024 at 10:34 AM Sami Tolvanen
> > wrote:
> > >
> > > On Mon, Nov 25, 2024 at 4:41 PM Miguel Ojeda
> > > wrote:
> > > >
> > > > On Mon, Nov 25, 2024 at 2:
On Mon, Dec 9, 2024 at 6:48 PM Antonio Quartulli wrote:
[...]
> +/**
> + * ovpn_nl_peer_modify - modify the peer attributes according to the
> incoming msg
> + * @peer: the peer to modify
> + * @info: generic netlink info from the user request
> + * @attrs: the attributes from the user request
>
On 11/12/2024 01:09, Shuah Khan wrote:
> On 11/22/24 00:49, Li Zhijian wrote:
>> After `make run_tests`, the git status complains:
>> Untracked files:
>> (use "git add ..." to include in what will be committed)
>> zram/err.log
>>
>> This file will be cleaned up when execute 'make cl
Hi Bjorn, Hi Konrad,
gentle reminder that this patch is still open.
Link:
https://lore.kernel.org/linux-arm-msm/20241114220718.12248-1-ja...@rocketmail.com/T/#u
On 14.11.24 23:07, Jakob Hauser wrote:
From: Stephan Gerhold
Add the Samsung S6E88A0-AMS427AP24 panel to the device tree for the
On 11/12/2024 01:10, Shuah Khan wrote:
> On 11/22/24 00:37, Li Zhijian wrote:
>> Compiled binary files should be added to .gitignore
>>
>> 'git status' complains:
>> Untracked files:
>> (use "git add ..." to include in what will be committed)
>> filesystems/statmount/statmount_test_ns
>>
>>
Compiled binary files should be added to .gitignore
'git status' complains:
Untracked files:
(use "git add ..." to include in what will be committed)
filesystems/statmount/statmount_test_ns
Cc: Shuah Khan
Cc: Christian Brauner
Cc: Miklos Szeredi
Cc: Josef Bacik
Reviewed-by: Charlie Jenki
After `make run_tests`, the git status complains:
Untracked files:
(use "git add ..." to include in what will be committed)
zram/err.log
This file will be cleaned up when execute 'make clean'
Cc: Shuah Khan
Signed-off-by: Li Zhijian
---
Hello,
Cover letter is here.
This patch set a
Currently the rseq constructor, rseq_init(), assumes that glibc always
has the support for rseq symbols (__rseq_size for instance). However,
glibc supports rseq from version 2.35 onwards. As a result, for the
systems that run glibc less than 2.35, the global rseq_size remains
initialized to -1U. Wh
On Sun, Nov 10, 2024 at 02:47:47PM +, Zilin Guan wrote:
> There is one access to rdp->gpwrap in the __note_gp_changes() function
> that does not use READ_ONCE() for protection, while other accesses to
> rdp->gpwrap do use READ_ONCE(). When using the 8*TREE03 and
> CONFIG_NR_CPUS=8 configuration
* Aleksa Sarai:
> sched_getattr(2) doesn't care about trailing non-zero bytes in the
> (ksize > usize) case, so just use copy_struct_to_user() without checking
> ignored_trailing.
I think this is what causes glibc's misc/tst-sched_setattr test to fail
on recent kernels. The previous non-modifyin
On Wed, Dec 11, 2024 at 12:41:46AM +0800, Cindy Lu wrote:
Add a new UAPI to enable setting the vhost device to task mode.
The userspace application can use VHOST_SET_INHERIT_FROM_OWNER
to configure the mode if necessary.
This setting must be applied before VHOST_SET_OWNER, as the worker
will be c
On Wed, Dec 11, 2024 at 12:41:44AM +0800, Cindy Lu wrote:
The function vhost_worker_queue() uses a function pointer in
vhost_worker, which is initialized based on the inherit_owner
value.
Signed-off-by: Cindy Lu
---
drivers/vhost/vhost.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
On Wed, Dec 11, 2024 at 12:41:43AM +0800, Cindy Lu wrote:
Restored the previous functions kthread_wakeup and kthread_stop.
nit: "Add back the previously removed"
Also add 2 new function pointer.
"Also add 2 new function pointers to wakeup and stop the workers."
The function vhost_worker_c
On Wed, Dec 11, 2024 at 12:41:42AM +0800, Cindy Lu wrote:
Add back the previously removed cgroup function to support the kthread
nit: missing . at the end
The biggest change for this part is in vhost_attach_cgroups() and
vhost_attach_task_to_cgroups().
It's not clear what the big change is,
On Wed, Dec 11, 2024 at 12:41:41AM +0800, Cindy Lu wrote:
Add the previously removed function vhost_worker() back
to support the kthread and rename it to vhost_run_work_kthread_list.
The old function vhost_worker was change to support task in
s/change/changed
commit 6e890c5d5021 ("vhost: use
On Wed, Dec 11, 2024 at 12:41:40AM +0800, Cindy Lu wrote:
The vhost now uses vhost_task and workers as a child of the owner thread.
While this aligns with containerization principles,it confuses some legacy
nit: missing space in "principles,it"
userspace app, Therefore, we are reintroducing k
On Wed, Dec 11, 2024 at 12:41:39AM +0800, Cindy Lu wrote:
In commit 6e890c5d5021 ("vhost: use vhost_tasks for worker threads"),
missing something here?
The vhost now uses vhost_task and operates as a child of the owner thread.
This aligns with containerization principles, But it has confused
On 11/22/24 00:37, Li Zhijian wrote:
Compiled binary files should be added to .gitignore
'git status' complains:
Untracked files:
(use "git add ..." to include in what will be committed)
filesystems/statmount/statmount_test_ns
Cc: Shuah Khan
Cc: Christian Brauner
Cc: Miklos Szeredi
Cc:
On 11/22/24 00:49, Li Zhijian wrote:
After `make run_tests`, the git status complains:
Untracked files:
(use "git add ..." to include in what will be committed)
zram/err.log
This file will be cleaned up when execute 'make clean'
Cc: Shuah Khan
Signed-off-by: Li Zhijian
---
Hello
On 11/22/24 01:13, Viresh Kumar wrote:
On 22-11-24, 15:47, Li Zhijian wrote:
After `make run_tests`, the git status complains:
Untracked files:
(use "git add ..." to include in what will be committed)
cpufreq/cpufreq_selftest.dmesg_cpufreq.txt
cpufreq/cpufreq_selftest.dmes
On Mon, Dec 09, 2024 at 09:53:31AM +0100, Antonio Quartulli wrote:
> The ovpn-cli tool can be compiled and used as selftest for the ovpn
> kernel module.
>
> [NOTE: it depends on libmedtls for decoding base64-encoded keys]
>
> ovpn-cli implements the netlink and RTNL APIs and can thus be integrat
The vhost_scsi VHOST_NEW_WORKER requires the inherit_owner
setting to be true. So we need to implement a check for this.
Signed-off-by: Cindy Lu
---
drivers/vhost/scsi.c | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/vhost/scsi.c b/drivers/vhost/scsi.c
index 718fa4e0b31e..0d
Add a new UAPI to enable setting the vhost device to task mode.
The userspace application can use VHOST_SET_INHERIT_FROM_OWNER
to configure the mode if necessary.
This setting must be applied before VHOST_SET_OWNER, as the worker
will be created in the VHOST_SET_OWNER function
Signed-off-by: Cindy
The function vhost_worker_destroy() uses a function pointer in
vhost_worker, which is initialized based on the inherit_owner
value.
Signed-off-by: Cindy Lu
---
drivers/vhost/vhost.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c
The function vhost_worker_queue() uses a function pointer in
vhost_worker, which is initialized based on the inherit_owner
value.
Signed-off-by: Cindy Lu
---
drivers/vhost/vhost.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.
Restored the previous functions kthread_wakeup and kthread_stop.
Also add 2 new function pointer. The function vhost_worker_create
Will initializes this pointer based on the value of inherit_owner.
Signed-off-by: Cindy Lu
---
drivers/vhost/vhost.c | 84 +++
Add back the previously removed cgroup function to support the kthread
The biggest change for this part is in vhost_attach_cgroups() and
vhost_attach_task_to_cgroups().
The old function was remove in
commit 6e890c5d5021 ("vhost: use vhost_tasks for worker threads")
Signed-off-by: Cindy Lu
---
d
Add the previously removed function vhost_worker() back
to support the kthread and rename it to vhost_run_work_kthread_list.
The old function vhost_worker was change to support task in
commit 6e890c5d5021 ("vhost: use vhost_tasks for worker threads")
change to xarray in
commit 1cdaafa1b8b4 ("vhost
The vhost now uses vhost_task and workers as a child of the owner thread.
While this aligns with containerization principles,it confuses some legacy
userspace app, Therefore, we are reintroducing kthread API support.
Introduce a new parameter to enable users to choose between
kthread and task mode
In commit 6e890c5d5021 ("vhost: use vhost_tasks for worker threads"),
The vhost now uses vhost_task and operates as a child of the owner thread.
This aligns with containerization principles, But it has confused some legacy
userspace applications. Therefore, we are reintroducing support
for the kth
On Mon, Dec 09, 2024 at 09:53:17AM +0100, Antonio Quartulli wrote:
> Packets received over the socket are forwarded to the user device.
>
> Implementation is UDP only. TCP will be added by a later patch.
>
> Note: no decryption/decapsulation exists yet, packets are forwarded as
> they arrive with
As a final step an initialization of kvfree_rcu() functionality is
copied into slab_common.c from the tree.c file as well as shrinker
related code.
The function is temporary marked as "__maybe_unused" to eliminate
a compiler warnings.
Signed-off-by: Uladzislau Rezki (Sony)
---
mm/slab_common.c
A final move of kvfree_rcu() functionality into slab_common.c file:
- Rename kfree_rcu_batch_init() to the kvfree_rcu_init();
- Invoke the kvfree_rcu_init() function from main.c after rcu_init();
- Move the rest of functionality to the slab_common.c file;
- Fully remove kvfree_rcu() from the kerne
Copy main functions of kvfree_rcu() from the kernel/rcu/tree.c
to the slab_common.c file. In order to prevent a compiler warnings
about defined but not used functions, below ones:
run_page_cache_worker()
fill_page_cache_func()
kfree_rcu_monitor()
kfree_rcu_work()
drain_page_cache()
are temporary
This patch copies main data structures of kvfree_rcu() API
from the kernel/rcu/tree.c into slab_common.c file. Later on,
it will be removed from the tree.c.
Signed-off-by: Uladzislau Rezki (Sony)
---
mm/slab_common.c | 95
1 file changed, 95 inser
This is to start a smooth process of moving a main functionality
to the SLAB. Therefore this patch:
- adds a support(temporary) to reclaim freed objects over call_rcu();
- disconnects a main functionality of kvfree_rcu() API by using call_rcu();
- directly reclaims an object for a single-argument
Hello!
This series is based on v6.12 kernel. It is an attempt to move the kvfree_rcu()
into MM from the kernel/rcu/ place. I split the series into a few patches so it
is easier to follow a migration process.
As a result of this series, the main functionality is located under MM.
Uladzislau Rezki
On Tue, Dec 10, 2024 at 9:42 PM Neal Gompa wrote:
>
> On Mon, Nov 25, 2024 at 10:34 AM Sami Tolvanen
> wrote:
> >
> > On Mon, Nov 25, 2024 at 4:41 PM Miguel Ojeda
> > wrote:
> > >
> > > On Mon, Nov 25, 2024 at 2:29 PM Neal Gompa wrote:
> > > >
> > > > As my Acked-by was removed, I'm sorry to s
On 2024-12-10 14:52:23 [+0100], Petr Pavlu wrote:
>
> Reviewed-by: Petr Pavlu
>
> I'm going to wait for a few days if others want to comment and then plan
> to take this through the modules tree for 6.13-rcX fixes.
thank you.
> [Luis asked me to look after the modules tree for a while, with th
On 12/5/24 17:06, Sebastian Andrzej Siewior wrote:
> Since the dynamic preemption has been enabled for PREEMPT_RT we have now
> CONFIG_PREEMPT and CONFIG_PREEMPT_RT set simultaneously. This affects
> the vermagic strings which comes now PREEMPT with PREEMPT_RT enabled.
>
> The PREEMPT_RT module us
On Mon, Nov 25, 2024 at 10:34 AM Sami Tolvanen wrote:
>
> On Mon, Nov 25, 2024 at 4:41 PM Miguel Ojeda
> wrote:
> >
> > On Mon, Nov 25, 2024 at 2:29 PM Neal Gompa wrote:
> > >
> > > As my Acked-by was removed, I'm sorry to say that there is no point
> > > for me to provide feedback since it is u
Hi André,
Thanks for the update.
On Sat, Dec 07, 2024 at 09:47:59PM +0100, André Apitzsch via B4 Relay wrote:
> From: André Apitzsch
>
> Check the chip ID and stop probing if it is no imx214 sensor.
>
> Acked-by: Ricardo Ribalda
> Signed-off-by: André Apitzsch
> ---
> drivers/media/i2c/imx2
Hi André,
On Sat, Dec 07, 2024 at 09:47:55PM +0100, André Apitzsch via B4 Relay wrote:
> From: André Apitzsch
>
> The imx214 camera is capable of either two-lane or four-lane operation.
>
> Currently only the four-lane mode is supported, as proper pixel rates
> and link frequences for the two-l
On Sun, Dec 08, 2024 at 10:19:51PM +0100, Ricardo Ribalda Delgado wrote:
> > > + state = v4l2_subdev_get_locked_active_state(&imx214->sd);
> >
> > Sakari, I see that other drivers assume that the active is locked in
> > set_ctrl. Is this correct?
>
> imx214->sd.state_lock = imx214->c
If the selftest is not running as root, it should skip not
fail and give an appropriate warning to the user. This patch adds
ksft_exit_skip() if the test is not running as root.
Logs:
Before change:
TAP version 13
1..1
ok 1 # SKIP This test needs root to run!
After change:
TAP version 13
1..1
On Fri, 6 Dec 2024, Charlie Jenkins wrote:
> When compiling these selftests the host-tools directory is generated.
> Add it to the .gitignore so git doesn't see these files as trackable.
>
> Signed-off-by: Charlie Jenkins
Applied, thank you.
--
Jiri Kosina
SUSE Labs
I tested this patch with virtio-net regression tests, everything works fine.
Tested-by: Lei Yang
On Tue, Nov 5, 2024 at 3:27 PM Cindy Lu wrote:
>
> In commit 6e890c5d5021 ("vhost: use vhost_tasks for worker threads"),
> The vhost now use vhost_task and workers working as a child of the owner
>
On 12/4/2024 4:14 PM, Petr Pavlu wrote:
On 11/28/24 21:23, Daniel Gomez wrote:
On 11/12/2024 3:35 PM, Petr Pavlu wrote:
On 11/12/24 10:43, Daniel Gomez wrote:
On Mon Nov 11, 2024 at 7:53 PM CET, Christophe Leroy wrote:
Le 09/11/2024 à 23:17, Daniel Gomez a écrit :
On Sat Nov 9, 2024 at 11:
Hello:
This series was applied to netdev/net.git (main)
by Paolo Abeni :
On Fri, 6 Dec 2024 10:10:41 +0900 you wrote:
> When virtnet_close is followed by virtnet_open, some TX completions can
> possibly remain unconsumed, until they are finally processed during the
> first NAPI poll after the ne
On 12/10/24 00:14, Bjorn Andersson wrote:
> On Thu, Nov 28, 2024 at 09:42:10AM GMT, Arnaud Pouliquen wrote:
>> This patch updates the rproc_ops structures to include two new optional
>> operations.
>>
>> - The load_fw() op is responsible for loading the remote processor
>> non-ELF firmware image
On 12/6/24 02:10, Koichiro Den wrote:
> When virtnet_close is followed by virtnet_open, some TX completions can
> possibly remain unconsumed, until they are finally processed during the
> first NAPI poll after the netdev_tx_reset_queue(), resulting in a crash
> [1]. Commit b96ed2c97c79 ("virtio_net
Hello Bjorn,
On 12/6/24 23:07, Bjorn Andersson wrote:
> On Thu, Nov 28, 2024 at 09:42:09AM GMT, Arnaud Pouliquen wrote:
>> Add a remoteproc TEE (Trusted Execution Environment) driver
>> that will be probed by the TEE bus. If the associated Trusted
>> application is supported on secure part this dr
61 matches
Mail list logo