All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] arm: change vendor ID for virtio-mmio
@ 2015-07-29 19:16 ` Michael S. Tsirkin
  0 siblings, 0 replies; 32+ messages in thread
From: Michael S. Tsirkin @ 2015-07-29 19:16 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Maydell, Graeme Gregory, lkml - Kernel Mailing List,
	virtualization@lists.linux-foundation.org, Shannon Zhao,
	Igor Mammedov

ACPI spec 5.0 allows the use of PCI vendor IDs.

Since we have one for virtio, it seems neater to use that
rather than LNRO. For the device ID, use 103F which is a legacy ID that
isn't used in virtio PCI spec - seems to make sense since virtio-mmio is
a legacy device but we don't know the correct device type.

Guests should probably match everything in the range 1000-103F
(just like legacy pci drivers do) which will allow us to pass in the
actual ID in the future if we want to.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
---
 hw/arm/virt-acpi-build.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/arm/virt-acpi-build.c b/hw/arm/virt-acpi-build.c
index f365140..dea61ba 100644
--- a/hw/arm/virt-acpi-build.c
+++ b/hw/arm/virt-acpi-build.c
@@ -145,7 +145,7 @@ static void acpi_dsdt_add_virtio(Aml *scope,
 
     for (i = 0; i < num; i++) {
         Aml *dev = aml_device("VR%02u", i);
-        aml_append(dev, aml_name_decl("_HID", aml_string("LNRO0005")));
+        aml_append(dev, aml_name_decl("_HID", aml_string("1AF4103F")));
         aml_append(dev, aml_name_decl("_UID", aml_int(i)));
 
         Aml *crs = aml_resource_template();
-- 
MST

^ permalink raw reply related	[flat|nested] 32+ messages in thread

end of thread, other threads:[~2015-08-03 12:09 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-29 19:16 [PATCH v2] arm: change vendor ID for virtio-mmio Michael S. Tsirkin
2015-07-29 19:16 ` [Qemu-devel] " Michael S. Tsirkin
2015-07-29 19:16 ` Michael S. Tsirkin
2015-07-30  1:23 ` [Qemu-devel] " Shannon Zhao
2015-07-30  1:23 ` Shannon Zhao
2015-07-30  8:04   ` Michael S. Tsirkin
2015-07-30  8:04     ` Michael S. Tsirkin
2015-07-30  8:04     ` Michael S. Tsirkin
2015-07-30  9:21     ` Shannon Zhao
2015-07-30  9:21       ` Shannon Zhao
2015-07-30  9:21       ` Shannon Zhao
2015-07-30 15:02       ` Michael S. Tsirkin
2015-07-30 15:02         ` Michael S. Tsirkin
2015-07-30 15:02       ` Michael S. Tsirkin
2015-07-30  9:24     ` Peter Maydell
2015-07-30  9:24       ` Peter Maydell
2015-07-30  9:24       ` Peter Maydell
2015-07-30  9:37       ` G Gregory
2015-07-30  9:37         ` G Gregory
2015-07-30  9:43         ` G Gregory
2015-07-30  9:43         ` G Gregory
2015-07-30  9:43           ` G Gregory
2015-07-30  9:37       ` G Gregory
2015-07-30 15:05       ` Michael S. Tsirkin
2015-07-30 15:05         ` Michael S. Tsirkin
2015-07-30 15:05       ` Michael S. Tsirkin
2015-07-31 12:37 ` Peter Maydell
2015-07-31 12:37   ` [Qemu-devel] " Peter Maydell
2015-07-31 12:37   ` Peter Maydell
2015-08-03 12:09   ` [Qemu-devel] " Andrew Jones
2015-08-03 12:09     ` Andrew Jones
2015-08-03 12:09     ` Andrew Jones

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.