[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1675188609-20913-1-git-send-email-ssengar@linux.microsoft.com>
Date: Tue, 31 Jan 2023 10:10:03 -0800
From: Saurabh Sengar <ssengar@...ux.microsoft.com>
To: robh+dt@...nel.org, krzysztof.kozlowski+dt@...aro.org,
kys@...rosoft.com, haiyangz@...rosoft.com, wei.liu@...nel.org,
decui@...rosoft.com, daniel.lezcano@...aro.org, tglx@...utronix.de,
virtualization@...ts.linux-foundation.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-hyperv@...r.kernel.org, mikelley@...rosoft.com,
ssengar@...rosoft.com
Subject: [PATCH v2 0/6] Device tree support for Hyper-V VMBus driver
This set of patches expands the VMBus driver to include device tree
support.
The first two patches enable compilation of Hyper-V APIs in a non-ACPI
build.
The third patch converts the VMBus driver from acpi to more generic
platform driver.
Further to add device tree documentation for VMBus, it needs to club with
other virtualization driver's documentation. For this rename the virtio
folder to more generic hypervisor, so that all the hypervisor based
devices can co-exist in a single place in device tree documentation. The
fourth patch does this renaming.
The fifth patch introduces the device tree documentation for VMBus.
The sixth patch adds device tree support to the VMBus driver. Currently
this is tested only for x86 and it may not work for other archs.
[v2]
- Convert VMBus acpi device to platform device, and added device tree support
in separate patch. This enables using same driver structure for both the flows.
- In Device tree documentation, changed virtio folder to hypervisor and moved
VMBus documentation there.
- Moved bindings before Device tree patch.
- Removed stale ".data" and ".name" field from of_device match table.
- Removed debug print.
- Fix "make DT_CHECKER_FLAGS=-m dt_binding_check" warnings.
Saurabh Sengar (6):
drivers/clocksource/hyper-v: non ACPI support in hyperv clock
Drivers: hv: allow non ACPI compilation for
hv_is_hibernation_supported
Drivers: hv: vmbus: Convert acpi_device to platform_device
dt-bindings: hypervisor: Rename virtio to hypervisor
dt-bindings: hypervisor: Add dt-bindings for VMBus
Driver: VMBus: Add device tree support
.../bindings/{virtio => hypervisor}/mmio.yaml | 2 +-
.../bindings/hypervisor/msft,vmbus.yaml | 50 ++++++
.../{virtio => hypervisor}/pci-iommu.yaml | 2 +-
.../{virtio => hypervisor}/virtio-device.yaml | 2 +-
.../devicetree/bindings/vendor-prefixes.yaml | 2 +
MAINTAINERS | 3 +-
drivers/clocksource/hyperv_timer.c | 15 +-
drivers/hv/hv_common.c | 4 +
drivers/hv/vmbus_drv.c | 153 ++++++++++++++----
9 files changed, 193 insertions(+), 40 deletions(-)
rename Documentation/devicetree/bindings/{virtio => hypervisor}/mmio.yaml (95%)
create mode 100644 Documentation/devicetree/bindings/hypervisor/msft,vmbus.yaml
rename Documentation/devicetree/bindings/{virtio => hypervisor}/pci-iommu.yaml (98%)
rename Documentation/devicetree/bindings/{virtio => hypervisor}/virtio-device.yaml (93%)
--
2.25.1
Powered by blists - more mailing lists