[virtio-dev] Re: [v4 PATCH] ALSA: virtio: Fix "Coverity: virtsnd_kctl_tlv_op(): Uninitialized variables" warning.

2024-02-16 Thread Michael S. Tsirkin
On Fri, Feb 16, 2024 at 02:42:37PM +0100, Takashi Iwai wrote: > On Fri, 16 Feb 2024 12:27:48 +0100, > Michael S. Tsirkin wrote: > > > > On Fri, Feb 16, 2024 at 11:06:43AM +0100, Aiswarya Cyriac wrote: > > > This commit fixes the following warning when building virtio_snd driver. > > > > > > " >

[virtio-dev] Re: [v4 PATCH] ALSA: virtio: Fix "Coverity: virtsnd_kctl_tlv_op(): Uninitialized variables" warning.

2024-02-16 Thread Michael S. Tsirkin
On Fri, Feb 16, 2024 at 11:06:43AM +0100, Aiswarya Cyriac wrote: > This commit fixes the following warning when building virtio_snd driver. > > " > *** CID 1583619: Uninitialized variables (UNINIT) > sound/virtio/virtio_kctl.c:294 in virtsnd_kctl_tlv_op() > 288 > 289 break; >

Re: [virtio-dev] [RFC PATCH v3] virtio-can: Device specification.

2024-02-16 Thread Cornelia Huck
On Fri, Jun 09 2023, Mikhail Golubev-Ciuchea wrote: > From: Harald Mommer > > virtio-can is a virtual CAN device. It provides a way to give access to > a CAN controller from a driver guest. The device is aimed to be used by > driver guests running a HLOS as well as by driver guests running a >

[virtio-dev] [v4 PATCH] ALSA: virtio: Fix "Coverity: virtsnd_kctl_tlv_op(): Uninitialized variables" warning.

2024-02-16 Thread Aiswarya Cyriac
This commit fixes the following warning when building virtio_snd driver. " *** CID 1583619: Uninitialized variables (UNINIT) sound/virtio/virtio_kctl.c:294 in virtsnd_kctl_tlv_op() 288 289 break; 290 } 291 292 kfree(tlv); 293 vvv CID 1583619:

[virtio-dev] Re: [PATCH v4 1/1] Add suspend support for virtio PCI devices

2024-02-16 Thread Michael S. Tsirkin
On Fri, Feb 16, 2024 at 05:24:32PM +0900, David Stevens wrote: > Add a virtio power management PCI capability to allow drivers to suspend > virtio PCI devices. This allows drivers to suspend devices at the virtio > level before suspending them at the PCI transport layer. This allows > drivers to

[virtio-dev] [PATCH v4 1/1] Add suspend support for virtio PCI devices

2024-02-16 Thread David Stevens
Add a virtio power management PCI capability to allow drivers to suspend virtio PCI devices. This allows drivers to suspend devices at the virtio level before suspending them at the PCI transport layer. This allows drivers to do a two phase suspend, which prevents notifications from being ignored

[virtio-dev] [PATCH v4 0/1] Define a low power mode for devices

2024-02-16 Thread David Stevens
The Linux patch [1] added support for suspending virtio devices using native PCI power management. However, Linux does PCI power management during the noirq phase of suspend and resume. Without a mechanism to suspend/resume virtio devices when the driver is suspended/resumed in the early phase of