* [PATCH 1/1] virt: vmgenid: Recognize new CID added by Hyper-V
@ 2022-03-24 19:20 Michael Kelley
2022-03-25 3:47 ` Jason A. Donenfeld
0 siblings, 1 reply; 2+ messages in thread
From: Michael Kelley @ 2022-03-24 19:20 UTC (permalink / raw)
To: Jason, tytso, ardb, andy.shevchenko, hdegoede, graf, rafael,
linux-kernel
Cc: mikelley
In the Windows spec for VM Generation ID, the originally
specified CID is longer than allowed by the ACPI spec.
Hyper-V has added "VMGENCTR" as a second valid CID
that is conformant, while retaining the original CID
for compatibility with Windows guests.
Add this new CID to the list recognized by the driver.
Signed-off-by: Michael Kelley <mikelley@microsoft.com>
---
drivers/virt/vmgenid.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/virt/vmgenid.c b/drivers/virt/vmgenid.c
index 0ae1a39..a1c467a 100644
--- a/drivers/virt/vmgenid.c
+++ b/drivers/virt/vmgenid.c
@@ -78,6 +78,7 @@ static void vmgenid_notify(struct acpi_device *device, u32 event)
}
static const struct acpi_device_id vmgenid_ids[] = {
+ { "VMGENCTR", 0 },
{ "VM_GEN_COUNTER", 0 },
{ }
};
--
1.8.3.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 1/1] virt: vmgenid: Recognize new CID added by Hyper-V
2022-03-24 19:20 [PATCH 1/1] virt: vmgenid: Recognize new CID added by Hyper-V Michael Kelley
@ 2022-03-25 3:47 ` Jason A. Donenfeld
0 siblings, 0 replies; 2+ messages in thread
From: Jason A. Donenfeld @ 2022-03-25 3:47 UTC (permalink / raw)
To: Michael Kelley
Cc: Theodore Ts'o, Ard Biesheuvel, Andy Shevchenko,
Hans de Goede, Alexander Graf, Rafael J. Wysocki, LKML
Hi Michael,
On Thu, Mar 24, 2022 at 1:20 PM Michael Kelley <mikelley@microsoft.com> wrote:
>
> In the Windows spec for VM Generation ID, the originally
> specified CID is longer than allowed by the ACPI spec.
> Hyper-V has added "VMGENCTR" as a second valid CID
> that is conformant, while retaining the original CID
> for compatibility with Windows guests.
>
> Add this new CID to the list recognized by the driver.
Thanks for the patch. Applied to crng/random.git.
Jason
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-03-25 3:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-24 19:20 [PATCH 1/1] virt: vmgenid: Recognize new CID added by Hyper-V Michael Kelley
2022-03-25 3:47 ` Jason A. Donenfeld
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.