Skip to content
Commit 7b1bcd6b authored by Sudan Landge's avatar Sudan Landge Committed by Jason A. Donenfeld
Browse files

virt: vmgenid: add support for devicetree bindings



Extend the vmgenid platform driver to support devicetree bindings. With
this support, hypervisors can send vmgenid notifications to the virtual
machine without the need to enable ACPI. The bindings are located at:
Documentation/devicetree/bindings/rng/microsoft,vmgenid.yaml

Since this is no longer ACPI-dependent, remove the dependency from
Kconfig and protect the ACPI code with a single ifdef.

Signed-off-by: default avatarSudan Landge <sudanl@amazon.com>
Reviewed-by: default avatarAlexander Graf <graf@amazon.com>
Tested-by: default avatarBabis Chalios <bchalios@amazon.es>
[Jason: - Small style cleanups and refactoring.
        - Re-work ACPI conditionalization. ]
Signed-off-by: default avatarJason A. Donenfeld <Jason@zx2c4.com>
parent a4aded1f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment