Re: [RFC PATCH net-next v6 07/14] virtio/vsock: add common datagram send path

2024-07-29 Thread Arseniy Krasnov
On 30.07.2024 01:51, Amery Hung wrote: > On Mon, Jul 29, 2024 at 1:12 PM Arseniy Krasnov > wrote: >> >> Hi, >> >>> diff --git a/net/vmw_vsock/virtio_transport_common.c >>> b/net/vmw_vsock/virtio_transport_common.c >>> index a1c76836d798..46cd1807f8e3 100644 >>> --- a/net/vmw_vsock/virtio_trans

Re: [RFC PATCH net-next v6 09/14] virtio/vsock: add common datagram recv path

2024-07-29 Thread Amery Hung
On Tue, Jul 23, 2024 at 7:42 AM Stefano Garzarella wrote: > > On Wed, Jul 10, 2024 at 09:25:50PM GMT, Amery Hung wrote: > >From: Bobby Eshleman > > > >This commit adds the common datagram receive functionality for virtio > >transports. It does not add the vhost/virtio users of that > >functionali

Re: [RFC PATCH net-next v6 07/14] virtio/vsock: add common datagram send path

2024-07-29 Thread Amery Hung
On Mon, Jul 29, 2024 at 1:12 PM Arseniy Krasnov wrote: > > Hi, > > > diff --git a/net/vmw_vsock/virtio_transport_common.c > > b/net/vmw_vsock/virtio_transport_common.c > > index a1c76836d798..46cd1807f8e3 100644 > > --- a/net/vmw_vsock/virtio_transport_common.c > > +++ b/net/vmw_vsock/virtio_tran

RE: [PATCH v2] Drivers: hv: vmbus: Optimize boot time by concurrent execution of hv_synic_init()

2024-07-29 Thread Dexuan Cui
> From: Saurabh Sengar > Sent: Monday, July 29, 2024 12:57 AM > [...] > + /* register the callback for hotplug CPUs */ > + ret = > cpuhp_setup_state_nocalls_cpuslocked(CPUHP_AP_ONLINE_DYN, > "hyperv/vmbus:online", AFAIK, Hyper-V doesn't support vCPU "hotplug" for VMs; it does support vCP

[RFC PATCH net-next v6 07/14] virtio/vsock: add common datagram send path

2024-07-29 Thread Arseniy Krasnov
Hi, > diff --git a/net/vmw_vsock/virtio_transport_common.c > b/net/vmw_vsock/virtio_transport_common.c > index a1c76836d798..46cd1807f8e3 100644 > --- a/net/vmw_vsock/virtio_transport_common.c > +++ b/net/vmw_vsock/virtio_transport_common.c > @@ -1040,13 +1040,98 @@ int virtio_transport_shutdown(

[RFC PATCH net-next v6 01/14] af_vsock: generalize vsock_dgram_recvmsg() to all transports

2024-07-29 Thread Arseniy Krasnov
> @@ -1273,11 +1273,15 @@ static int vsock_dgram_connect(struct socket *sock, > int vsock_dgram_recvmsg(struct socket *sock, struct msghdr *msg, > size_t len, int flags) > { > + struct vsock_skb_cb *vsock_cb; > #ifdef CONFIG_BPF_SYSCALL > const struct proto *prot;

Re: [bug report] Drivers: hv: vmbus: Track decrypted status in vmbus_gpadl

2024-07-29 Thread Dan Carpenter
On Mon, Jul 29, 2024 at 05:13:56PM +, Edgecombe, Rick P wrote: > On Sat, 2024-07-27 at 00:33 -0500, Dan Carpenter wrote: > > Commit 211f514ebf1e ("Drivers: hv: vmbus: Track decrypted status in > > vmbus_gpadl") from Mar 11, 2024 (linux-next), leads to the following > > Smatch static checker war

Re: [bug report] Drivers: hv: vmbus: Track decrypted status in vmbus_gpadl

2024-07-29 Thread Edgecombe, Rick P
On Sat, 2024-07-27 at 00:33 -0500, Dan Carpenter wrote: > Commit 211f514ebf1e ("Drivers: hv: vmbus: Track decrypted status in > vmbus_gpadl") from Mar 11, 2024 (linux-next), leads to the following > Smatch static checker warning: > > drivers/hv/channel.c:870 vmbus_teardown_gpadl() >   

Re: [PATCH v3 6/7] Drivers: hv: vmbus: Get the IRQ number from DT

2024-07-29 Thread Roman Kisel
On 7/27/2024 2:17 AM, Arnd Bergmann wrote: On Sat, Jul 27, 2024, at 10:56, Krzysztof Kozlowski wrote: On 27/07/2024 00:59, Roman Kisel wrote: @@ -2338,6 +2372,21 @@ static int vmbus_device_add(struct platform_device *pdev) cur_res = &res->sibling; } + /* +

Re: [PATCH v3 6/7] Drivers: hv: vmbus: Get the IRQ number from DT

2024-07-29 Thread Roman Kisel
On 7/27/2024 1:56 AM, Krzysztof Kozlowski wrote: On 27/07/2024 00:59, Roman Kisel wrote: @@ -2338,6 +2372,21 @@ static int vmbus_device_add(struct platform_device *pdev) cur_res = &res->sibling; } + /* +* Hyper-V always assumes DMA cache coherency, and the

Re: [PATCH v3 5/7] dt-bindings: bus: Add Hyper-V VMBus cache coherency and IRQs

2024-07-29 Thread Roman Kisel
On 7/27/2024 1:53 AM, Krzysztof Kozlowski wrote: On 27/07/2024 00:59, Roman Kisel wrote: Add dt-bindings for the Hyper-V VMBus DMA cache coherency and interrupt specification. You did not add any bindings. I don't understand this description. My bad, extended the example for the interrup

[PATCH v2] Drivers: hv: vmbus: Optimize boot time by concurrent execution of hv_synic_init()

2024-07-29 Thread Saurabh Sengar
Currently on a very large system with 1780 CPUs, hv_acpi_init() takes around 3 seconds to complete. This is because of sequential synic initialization for each CPU performed by hv_synic_init(). Schedule these tasks parallelly so that each CPU executes hv_synic_init() in parallel to take full advan