[PATCH V3 5/5] virtio: Bind virtio device to device-tree node

2021-07-25 Thread Viresh Kumar
Bind the virtio devices with their of_node. This will help users of the virtio devices to mention their dependencies on the device in the DT itself. Like GPIO pin users can use the phandle of the device node, or the node may contain more subnodes to add i2c or spi eeproms and other users. Reviewed

[PATCH V3 4/5] uapi: virtio_ids: Sync ids with specification

2021-07-25 Thread Viresh Kumar
This synchronizes the virtio ids with the latest list from virtio specification. Signed-off-by: Viresh Kumar --- include/uapi/linux/virtio_ids.h | 12 1 file changed, 12 insertions(+) diff --git a/include/uapi/linux/virtio_ids.h b/include/uapi/linux/virtio_ids.h index 70a8057ad4bb.

[PATCH V3 3/5] dt-bindings: gpio: Add bindings for gpio-virtio

2021-07-25 Thread Viresh Kumar
This patch adds binding for virtio GPIO controller, it is based on virtio-device bindings. Signed-off-by: Viresh Kumar --- .../devicetree/bindings/gpio/gpio-virtio.yaml | 60 +++ 1 file changed, 60 insertions(+) create mode 100644 Documentation/devicetree/bindings/gpio/gpio-virt

[PATCH V3 2/5] dt-bindings: i2c: Add bindings for i2c-virtio

2021-07-25 Thread Viresh Kumar
This patch adds binding for virtio I2C device, it is based on virtio-device bindings. Acked-by: Wolfram Sang Signed-off-by: Viresh Kumar --- .../devicetree/bindings/i2c/i2c-virtio.yaml | 51 +++ 1 file changed, 51 insertions(+) create mode 100644 Documentation/devicetree/bind

[PATCH V3 1/5] dt-bindings: virtio: Add binding for virtio devices

2021-07-25 Thread Viresh Kumar
Allow virtio device sub-nodes to be added to the virtio mmio or pci nodes. The compatible property for virtio device must be of format "virtio,", where DID is virtio device ID in hexadecimal format. Signed-off-by: Viresh Kumar --- .../devicetree/bindings/virtio/mmio.yaml | 2 +- .../bindin

[PATCH V3 0/5] virtio: Add virtio-device bindings

2021-07-25 Thread Viresh Kumar
Hi, Currently the DT only provides support for following node types for virtio-mmio nodes: virtio_mmio@a00 { dma-coherent; interrupts = <0x00 0x10 0x01>; reg = <0x00 0xa00 0x00 0x200>; compatible = "virtio,mmio";

Re: [PATCH v15] i2c: virtio: add a virtio i2c frontend driver

2021-07-25 Thread Viresh Kumar
On 23-07-21, 11:03, Arnd Bergmann wrote: > > index 70a8057a..99aa27b 100644 > > --- a/include/uapi/linux/virtio_ids.h > > +++ b/include/uapi/linux/virtio_ids.h > > @@ -55,6 +55,7 @@ > > #define VIRTIO_ID_FS 26 /* virtio filesystem */ > > #define VIRTIO_ID_PMEM 27

Re: [PATCH v2] MAINTAINERS: Update for VMCI driver

2021-07-25 Thread Leon Romanovsky
On Wed, Jul 21, 2021 at 03:02:46AM -0700, Jorgen Hansen wrote: > Add maintainer info for the VMware VMCI driver. > > v2: moved pv-drivers to L: as private list Please put changelog under "---". There is no value to see vXXX in the final commit in the repo. Thanks > > Acked-by: Vishnu Dasa > S

Re: [PATCH mlx5-next] IB/mlx5: Rename is_apu_thread_cq function to is_apu_cq

2021-07-25 Thread Leon Romanovsky
On Sun, Jul 18, 2021 at 02:54:13PM +0300, Leon Romanovsky wrote: > From: Tal Gilboa > > is_apu_thread_cq() used to detect CQs which are attached to APU > threads. This was extended to support other elements as well, > so the function was renamed to is_apu_cq(). > > c_eqn_or_apu_element was exten