diff options
author | Sudan Landge <sudanl@amazon.com> | 2024-04-17 12:40:46 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2024-04-27 02:38:34 +0200 |
commit | 7b1bcd6b50a615671d4dcb0ad0378a2660a1a368 (patch) | |
tree | 2f09114cfb1489dea7367ec76f409c9943e7043e /drivers/virt/Kconfig | |
parent | a4aded1ff5759a2ab754699c0408be79c9ebdda4 (diff) | |
download | lwn-7b1bcd6b50a615671d4dcb0ad0378a2660a1a368.tar.gz lwn-7b1bcd6b50a615671d4dcb0ad0378a2660a1a368.zip |
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: Sudan Landge <sudanl@amazon.com>
Reviewed-by: Alexander Graf <graf@amazon.com>
Tested-by: Babis Chalios <bchalios@amazon.es>
[Jason: - Small style cleanups and refactoring.
- Re-work ACPI conditionalization. ]
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'drivers/virt/Kconfig')
-rw-r--r-- | drivers/virt/Kconfig | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/virt/Kconfig b/drivers/virt/Kconfig index 40129b6f0eca..d8c848cf09a6 100644 --- a/drivers/virt/Kconfig +++ b/drivers/virt/Kconfig @@ -16,7 +16,6 @@ if VIRT_DRIVERS config VMGENID tristate "Virtual Machine Generation ID driver" default y - depends on ACPI help Say Y here to use the hypervisor-provided Virtual Machine Generation ID to reseed the RNG when the VM is cloned. This is highly recommended if |