qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] i386:acpi: Remove _HID from the SMBus ACPI entry
@ 2020-01-06 15:27 minyard
  2020-01-07 15:52 ` Igor Mammedov
  2020-01-07 16:58 ` Igor Mammedov
  0 siblings, 2 replies; 7+ messages in thread
From: minyard @ 2020-01-06 15:27 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Maydell, Corey Minyard, Michael S . Tsirkin, Shannon Zhao,
	wanghaibin.wang, Igor Mammedov

From: Corey Minyard <cminyard@mvista.com>

Per the ACPI spec (version 6.1, section 6.1.5 _HID) it is not required
on enumerated buses (like PCI in this case), _ADR is required (and is
already there).  And the _HID value is wrong.  Linux appears to ignore
the _HID entry, but it confuses Windows.

Signed-off-by: Corey Minyard <cminyard@mvista.com>
Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: Igor Mammedov <imammedo@redhat.com>
---
 hw/i386/acpi-build.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c
index 7b8da62d41..ab73a8f4c8 100644
--- a/hw/i386/acpi-build.c
+++ b/hw/i386/acpi-build.c
@@ -1815,7 +1815,6 @@ static void build_smb0(Aml *table, I2CBus *smbus, int devnr, int func)
     Aml *scope = aml_scope("_SB.PCI0");
     Aml *dev = aml_device("SMB0");
 
-    aml_append(dev, aml_name_decl("_HID", aml_eisaid("APP0005")));
     aml_append(dev, aml_name_decl("_ADR", aml_int(devnr << 16 | func)));
     build_acpi_ipmi_devices(dev, BUS(smbus), "\\_SB.PCI0.SMB0");
     aml_append(scope, dev);
-- 
2.17.1



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

end of thread, other threads:[~2020-01-13 16:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-06 15:27 [PATCH] i386:acpi: Remove _HID from the SMBus ACPI entry minyard
2020-01-07 15:52 ` Igor Mammedov
2020-01-07 16:58 ` Igor Mammedov
2020-01-07 20:11   ` Corey Minyard
2020-01-13 14:05     ` Michael S. Tsirkin
2020-01-13 14:42       ` minyard
2020-01-13 16:08         ` no-reply

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).