RE: [PATCH net-next 0/3] lan743x: This series of patches are for lan743x driver testing

2024-09-08 Thread Mohan.Prasad
Hello Andrew, Thank you very much for the feedback and the brief explanation. > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > On Fri, Sep 06, 2024 at 06:45:53AM +, mohan.pra...@microchip.com > wrote: > > Hello Andrew, > > > > Thank you for y

Re: [PATCH 5/5] KVM: VMX: Always honor guest PAT on CPUs that support self-snoop

2024-09-08 Thread Yan Zhao
On Thu, Sep 05, 2024 at 05:43:17PM +0800, Yan Zhao wrote: > On Wed, Sep 04, 2024 at 05:41:06PM -0700, Sean Christopherson wrote: > > On Wed, Sep 04, 2024, Yan Zhao wrote: > > > On Wed, Sep 04, 2024 at 10:28:02AM +0800, Yan Zhao wrote: > > > > On Tue, Sep 03, 2024 at 06:20:27PM +0200, Vitaly Kuznets

Re: [PATCH v6 1/2] selftests: Rename sigaltstack to generic signal

2024-09-08 Thread Dev Jain
On 9/7/24 01:29, Shuah Khan wrote: On 9/4/24 23:56, Dev Jain wrote: On 9/4/24 22:35, Shuah Khan wrote: On 9/3/24 22:52, Dev Jain wrote: On 9/4/24 03:14, Shuah Khan wrote: On 8/30/24 10:29, Dev Jain wrote: On 8/27/24 17:16, Dev Jain wrote: On 8/27/24 17:14, Shuah Khan wrote: On 8/22/2

Re: [PATCH] remoteproc: k3-r5: Decouple firmware booting from probe routine

2024-09-08 Thread Beleswar Prasad Padhi
On 07/09/24 15:41, Kumar, Udit wrote: On 9/6/2024 3:10 PM, Beleswar Padhi wrote: The current implementation of the waiting mechanism in probe() waits for the 'released_from_reset' flag to be set which is done in k3_r5_rproc_prepare() as part of rproc_fw_boot(). This causes unexpected failures

[RESEND PATCH v1 7/7] vhost: Add new UAPI to support change to task mode

2024-09-08 Thread Cindy Lu
Add a new UAPI to support setting the vhost device to use task mode. The user space application needs to use VHOST_SET_ENFORCE_TASK to set the mode. This setting must be set before VHOST_SET_OWNER is set. Signed-off-by: Cindy Lu --- drivers/vhost/vhost.c | 16 +++- include/uapi/

[RESEND PATCH v1 6/7] vhost: Add kthread support in function vhost_worker_create

2024-09-08 Thread Cindy Lu
Split the function vhost_worker_create to support both task and kthread         Added back the previous old function vhost_worker_create and rename it to vhost_worker_create_khtread to support the khtread. The new vhost_worker_create will be selected which to use based on the value of the paramete

[RESEND PATCH v1 5/7] vhost: Add the cgroup related function

2024-09-08 Thread Cindy Lu
Add back the previously removed cgroup function to support the kthread The biggest change for this part is in vhost_attach_cgroups() and vhost_worker_cgroups_kthread(). This is because of the change in struct dev->worker_xa. The old function was remove in commit 6e890c5d5021 ('vhost: use vhost_tas

[RESEND PATCH v1 4/7] vhost: Add the vhost_worker to support kthread

2024-09-08 Thread Cindy Lu
Add back the previously removed vhost_worker function to support the kthread and rename it 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 1cdaafa1b8b ('vhost: repl

[RESEND PATCH v1 3/7] vhost: Add kthread support in function vhost_workers_free()

2024-09-08 Thread Cindy Lu
Added back the previously removed function vhost_workers_free() and renamed it to vhost_workers_free_khtread(). The new vhost_workers_free() will select the different mode based on the value of the parameter. The old function vhost_workers_free was change to support task in commit 6e890c5d5021 ('v

[RESEND PATCH v1 2/7] vhost: Add kthread support in function vhost_worker_queue()

2024-09-08 Thread Cindy Lu
Added back the previously removed function vhost_worker_queue() and renamed it to vhost_worker_queue_khtread(). The new vhost_worker_queue() will select the different mode based on the value of the parameter. The old function vhost_work_queue() was change to support task in commit 6e890c5d5021 ('

[RESEND PATCH v1 1/7] vhost: Add a new module_param for enable kthread

2024-09-08 Thread Cindy Lu
Add a new module parameter to enable kthread while loading modules. This parameter will identify if the vhost will use kthread or a task. The default value will be true. Signed-off-by: Cindy Lu --- drivers/vhost/vhost.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/vhost/vhost.c

[RESEND PATCH v1 0/7]vhost: Add support of kthread API

2024-09-08 Thread Cindy Lu
In commit 6e890c5d5021 ("vhost: use vhost_tasks for worker threads"), vhost removed the support for the kthread API. However, there are still situations where there is a request to use kthread. In this PATCH, the support of kthread is added back. Additionally, a module_param is added to enforce whi

[PATCH v1 7/7] vhost: Add new UAPI to support change to task mode

2024-09-08 Thread Cindy Lu
Add a new UAPI to support setting the vhost device to use task mode. The user space application needs to use VHOST_SET_ENFORCE_TASK to set the mode. This setting must be set before VHOST_SET_OWNER is set. Signed-off-by: Cindy Lu --- drivers/vhost/vhost.c | 16 +++- include/uapi/

[PATCH v1 6/7] vhost: Add kthread support in function vhost_worker_create

2024-09-08 Thread Cindy Lu
Split the function vhost_worker_create to support both task and kthread         Added back the previous old function vhost_worker_create and rename it to vhost_worker_create_khtread to support the khtread. The new vhost_worker_create will be selected which to use based on the value of the paramete

[PATCH v1 5/7] vhost: Add the cgroup related function

2024-09-08 Thread Cindy Lu
Add back the previously removed cgroup function to support the kthread The biggest change for this part is in vhost_attach_cgroups() and vhost_worker_cgroups_kthread(). This is because of the change in struct dev->worker_xa. The old function was remove in commit 6e890c5d5021 ('vhost: use vhost_tas

[PATCH v1 4/7] vhost: Add the vhost_worker to support kthread

2024-09-08 Thread Cindy Lu
Add back the previously removed vhost_worker function to support the kthread and rename it 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 1cdaafa1b8b ('vhost: repl

[PATCH v1 2/7] vhost: Add kthread support in function vhost_worker_queue()

2024-09-08 Thread Cindy Lu
Added back the previously removed function vhost_worker_queue() and renamed it to vhost_worker_queue_khtread(). The new vhost_worker_queue() will select the different mode based on the value of the parameter. The old function vhost_work_queue() was change to support task in commit 6e890c5d5021 ('

[PATCH v1 3/7] vhost: Add kthread support in function vhost_workers_free()

2024-09-08 Thread Cindy Lu
Added back the previously removed function vhost_workers_free() and renamed it to vhost_workers_free_khtread(). The new vhost_workers_free() will select the different mode based on the value of the parameter. The old function vhost_workers_free was change to support task in commit 6e890c5d5021 ('v

[PATCH v1 1/7] vhost: Add a new module_param for enable kthread

2024-09-08 Thread Cindy Lu
Add a new module parameter to enable kthread while loading modules. This parameter will identify if the vhost will use kthread or a task. The default value will be true. Signed-off-by: Cindy Lu module_param --- drivers/vhost/vhost.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers

[PATCH v1 0/7] vhost: Add support of kthread API

2024-09-08 Thread Cindy Lu
Tested the user application with QEMU. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In commit 6e890c5d5021 ("vhost: use vhost_tasks for worker threads"), vhost removed the support for the kthread API. However, there are still situations where there is a

RE: [RFC 05/31] x86/compiler: Tweak __UNIQUE_ID naming

2024-09-08 Thread David Laight
From: Peter Zijlstra > Sent: 03 September 2024 08:57 > > On Mon, Sep 02, 2024 at 08:59:48PM -0700, Josh Poimboeuf wrote: > > Add an underscore between the "name" and the counter so tooling can > > distinguish between the non-unique and unique portions of the symbol > > name. > > > > This will come

Re: [PATCH RFC 1/3] Revert "virtio_net: rx remove premapped failover code"

2024-09-08 Thread Michael S. Tsirkin
Could you pls repeat this testing for v2? I had to revert more patches for that one. On Wed, Aug 14, 2024 at 04:19:06PM +0100, Darren Kenny wrote: > Hi Michael, > > I've tested this on the system that was reproducing the panic, and it > everything is working now as expected. > > For the series t