[PATCH] crypto: virtio - Use helper to set reqsize

2022-11-22 Thread Herbert Xu
The value of reqsize must only be changed through the helper. Signed-off-by: Herbert Xu diff --git a/drivers/crypto/virtio/virtio_crypto_akcipher_algs.c b/drivers/crypto/virtio/virtio_crypto_akcipher_algs.c index 168195672e2e..b2979be613b8 100644 --- a/drivers/crypto/virtio/virtio_crypto_akciph

Re: [PATCH v2] virtio_console: Introduce an ID allocator for virtual console numbers

2022-11-22 Thread Thomas Huth
On 14/11/2022 18.38, Cédric Le Goater wrote: When a virtio console port is initialized, it is registered as an hvc console using a virtual console number. If a KVM guest is started with multiple virtio console devices, the same vtermno (or virtual console number) can be used to allocate different

Re: [PATCH 7/7] drm/fb-helper: Don't use the preferred depth for the BPP default

2022-11-22 Thread Daniel Vetter
On Wed, Nov 16, 2022 at 05:09:17PM +0100, Thomas Zimmermann wrote: > If no preferred value for bits-per-pixel has been given, fall back > to 32. Never use the preferred depth. The color depth is the number > of color/alpha bits per pixel, while bpp is the overall number of > bits in most cases. >

Re: [PATCH v3] virtio_console: Introduce an ID allocator for virtual console numbers

2022-11-22 Thread Thomas Huth
On 22/11/2022 14.46, Cédric Le Goater wrote: When a virtio console port is initialized, it is registered as an hvc console using a virtual console number. If a KVM guest is started with multiple virtio console devices, the same vtermno (or virtual console number) can be used to allocate different

Re: [PATCH v2 12/44] cpuidle,dt: Push RCU-idle into driver

2022-11-22 Thread Ulf Hansson
On Wed, 16 Nov 2022 at 16:29, Peter Zijlstra wrote: > > > Sorry; things keep getting in the way of finishing this :/ > > As such, I need a bit of time to get on-track again.. > > On Tue, Oct 04, 2022 at 01:03:57PM +0200, Ulf Hansson wrote: > > > > --- a/drivers/acpi/processor_idle.c > > > +++ b/dr

Re: [PATCH v2] virtio_console: Introduce an ID allocator for virtual console numbers

2022-11-22 Thread Amit Shah
On Mon, 2022-11-14 at 18:38 +0100, Cédric Le Goater wrote: > When a virtio console port is initialized, it is registered as an hvc > console using a virtual console number. If a KVM guest is started with > multiple virtio console devices, the same vtermno (or virtual console > number) can be used t

Re: [PATCH v2] virtio_net: Fix probe failed when modprobe virtio_net

2022-11-22 Thread Michael S. Tsirkin
On Tue, Nov 22, 2022 at 11:00:46PM +0800, Li Zetao wrote: > When doing the following test steps, an error was found: > step 1: modprobe virtio_net succeeded > # modprobe virtio_net<-- OK > > step 2: fault injection in register_netdevice() > # modprobe -r virtio_net <-- OK >

Re: [PATCH V2] vdpa: allow provisioning device features

2022-11-22 Thread Si-Wei Liu
On 11/16/2022 7:33 PM, Jason Wang wrote: This patch allows device features to be provisioned via vdpa. This will be useful for preserving migration compatibility between source and destination: # vdpa dev add name dev1 mgmtdev pci/:02:00.0 device_features 0x30002 Miss the actual "vdp

RE: [PATCH] crypto: virtio - Use helper to set reqsize

2022-11-22 Thread Gonglei (Arei) via Virtualization
> -Original Message- > From: Herbert Xu [mailto:herb...@gondor.apana.org.au] > Sent: Tuesday, November 22, 2022 5:42 PM > To: Gonglei (Arei) ; > virtualization@lists.linux-foundation.org; Linux Crypto Mailing List > > Subject: [PATCH] crypto: virtio - Use helper to set reqsize > > The v

Re: [PATCH v2 4/9] dt-bindings: drop redundant part of title (end)

2022-11-22 Thread Dmitry Torokhov
On Mon, Nov 21, 2022 at 12:06:10PM +0100, Krzysztof Kozlowski wrote: > .../devicetree/bindings/input/pine64,pinephone-keyboard.yaml| 2 +- > .../devicetree/bindings/input/touchscreen/chipone,icn8318.yaml | 2 +- > .../devicetree/bindings/input/touchscreen/pixcir,pixcir_ts.yaml | 2 +- > .../d

Re: [PATCH v2 6/9] dt-bindings: drop redundant part of title (end, part three)

2022-11-22 Thread Dmitry Torokhov
On Mon, Nov 21, 2022 at 12:06:12PM +0100, Krzysztof Kozlowski wrote: > .../bindings/input/touchscreen/cypress,cy8ctma140.yaml | 2 +- > .../bindings/input/touchscreen/cypress,cy8ctma340.yaml | 2 +- > .../devicetree/bindings/input/touchscreen/edt-ft5x06.yaml | 2 +- > Docum

Re: [PATCH v2 7/9] dt-bindings: drop redundant part of title (beginning)

2022-11-22 Thread Dmitry Torokhov
On Mon, Nov 21, 2022 at 12:06:13PM +0100, Krzysztof Kozlowski wrote: > Documentation/devicetree/bindings/input/gpio-keys.yaml | 2 +- > Documentation/devicetree/bindings/input/microchip,cap11xx.yaml | 2 +- Acked-by: Dmitry Torokhov -- Dmitry __

Re: [PATCH v2 9/9] dt-bindings: drop redundant part of title (manual)

2022-11-22 Thread Dmitry Torokhov
On Mon, Nov 21, 2022 at 12:06:15PM +0100, Krzysztof Kozlowski wrote: > Documentation/devicetree/bindings/input/fsl,scu-key.yaml| 2 +- > Documentation/devicetree/bindings/input/matrix-keymap.yaml | 2 +- Acked-by: Dmitry Torokhov -- Dmitry __

Re: [PATCH V2] vdpa: allow provisioning device features

2022-11-22 Thread Jason Wang
On Wed, Nov 23, 2022 at 6:29 AM Si-Wei Liu wrote: > > > > On 11/16/2022 7:33 PM, Jason Wang wrote: > > This patch allows device features to be provisioned via vdpa. This > > will be useful for preserving migration compatibility between source > > and destination: > > > > # vdpa dev add name dev1 m

Re: [PATCH 6/7] vdpa/mlx5: Avoid using reslock in event_handler

2022-11-22 Thread Jason Wang
On Mon, Nov 14, 2022 at 4:58 PM Eli Cohen wrote: > > > From: Jason Wang > > Sent: Monday, 14 November 2022 9:53 > > To: Eli Cohen > > Cc: m...@redhat.com; linux-ker...@vger.kernel.org; > > virtualization@lists.linux- > > foundation.org; si-wei@oracle.com; epere...@redhat.com; > > l...@redha

Re: [PATCH V2] vdpa: allow provisioning device features

2022-11-22 Thread Jason Wang
On Wed, Nov 23, 2022 at 3:53 AM David Ahern wrote: > > On 11/16/22 8:33 PM, Jason Wang wrote: > > diff --git a/vdpa/include/uapi/linux/vdpa.h b/vdpa/include/uapi/linux/vdpa.h > > index 94e4dad1..7c961991 100644 > > --- a/vdpa/include/uapi/linux/vdpa.h > > +++ b/vdpa/include/uapi/linux/vdpa.h > > @