2013-07-24 19:56:04 +04:00
|
|
|
static unsigned char AcpiDsdtAmlCode[] = {
|
|
|
|
0x44,
|
|
|
|
0x53,
|
|
|
|
0x44,
|
|
|
|
0x54,
|
2014-07-28 19:34:14 +04:00
|
|
|
0xf7,
|
|
|
|
0xa,
|
2013-07-24 19:56:04 +04:00
|
|
|
0x0,
|
|
|
|
0x0,
|
|
|
|
0x1,
|
2014-08-04 12:16:07 +04:00
|
|
|
0x1f,
|
2013-07-24 19:56:04 +04:00
|
|
|
0x42,
|
|
|
|
0x58,
|
|
|
|
0x50,
|
|
|
|
0x43,
|
|
|
|
0x0,
|
|
|
|
0x0,
|
|
|
|
0x42,
|
|
|
|
0x58,
|
|
|
|
0x44,
|
|
|
|
0x53,
|
|
|
|
0x44,
|
|
|
|
0x54,
|
|
|
|
0x0,
|
|
|
|
0x0,
|
|
|
|
0x1,
|
|
|
|
0x0,
|
|
|
|
0x0,
|
|
|
|
0x0,
|
|
|
|
0x49,
|
|
|
|
0x4e,
|
|
|
|
0x54,
|
|
|
|
0x4c,
|
2014-08-04 12:16:07 +04:00
|
|
|
0x28,
|
|
|
|
0x5,
|
|
|
|
0x10,
|
2013-07-24 19:56:04 +04:00
|
|
|
0x20,
|
|
|
|
0x10,
|
|
|
|
0x49,
|
|
|
|
0x4,
|
|
|
|
0x5c,
|
|
|
|
0x0,
|
|
|
|
0x5b,
|
|
|
|
0x80,
|
|
|
|
0x44,
|
|
|
|
0x42,
|
|
|
|
0x47,
|
|
|
|
0x5f,
|
|
|
|
0x1,
|
|
|
|
0xb,
|
|
|
|
0x2,
|
|
|
|
0x4,
|
|
|
|
0x1,
|
|
|
|
0x5b,
|
|
|
|
0x81,
|
|
|
|
0xb,
|
|
|
|
0x44,
|
|
|
|
0x42,
|
|
|
|
0x47,
|
|
|
|
0x5f,
|
|
|
|
0x1,
|
|
|
|
0x44,
|
|
|
|
0x42,
|
|
|
|
0x47,
|
|
|
|
0x42,
|
|
|
|
0x8,
|
|
|
|
0x14,
|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
|
|
|
0x1,
|
|
|
|
0x10,
|
|
|
|
0x4e,
|
acpi-build: append description for non-hotplug
As reported in
http://article.gmane.org/gmane.comp.emulators.qemu/253987
Mac OSX actually requires describing all occupied slots
in ACPI - even if hotplug isn't enabled.
I didn't expect this so I dropped description of all
non hotpluggable slots from ACPI.
As a result: before
commit 99fd437dee468609de8218f0eb3b16621fb6a9c9 (enable
hotplug for pci bridges), PCI cards show up in the "device tree" of OS X
(System Information). E.g., on MountainLion users have:
Hardware -> PCI Cards:
Card Type Driver Installed Slot
*ethernet Ethernet Controller Yes PCI Slot 2
pci8086,2934 USB UHC Yes PCI Slot 29
ethernet:
Type: Ethernet Controller
Driver Installed: Yes
MSI: No
Bus: PCI
Slot PCI Slot 2
Vendor ID: 0x8086
Device ID: 0x100e
Subsystem Vendor ID: 0x1af4
Subsystem ID: 0x1100
Revision ID: 0x0003
Hardware -> Ethernet Cards
ethernet:
Type: Ethernet Controller
Bus: PCI
Slot PCI Slot 2
Vendor ID: 0x8086
Device ID: 0x100e
Subsystem Vendor ID: 0x1af4
Subsystem ID: 0x1100
Revision ID: 0x0003
BSD name: en0
Kext name: AppleIntel8254XEthernet.kext
Location: /System/Library/Extensions/...
Version: 3.1.1b1
After commit 99fd437dee468609de8218f0eb3b16621fb6a9c9, users get:
Hardware -> PCI Cards:
This computer doesn't contain any PCI cards. If you installed PCI
cards, make sure they're properly installed.
Hardware -> Ethernet Cards
ethernet:
Type: Ethernet Controller
Bus: PCI
Vendor ID: 0x8086
Device ID: 0x100e
Subsystem Vendor ID: 0x1af4
Subsystem ID: 0x1100
Revision ID: 0x0003
BSD name: en0
Kext name: AppleIntel8254XEthernet.kext
Location: /System/Library/Extensions/...
Version: 3.1.1b1
Ethernet still works, but it's not showing up on the PCI bus, and it
no longer thinks it's plugged in to slot #2, as it used to before the
change.
To fix, append description for all occupied non hotpluggable PCI slots.
One need to be careful when doing this: VGA devices
are now described in SSDT, so we need to drop description from DSDT.
And ISA devices are used in DSDT so drop them from SSDT.
Reported-by: Gabriel L. Somlo <gsomlo@gmail.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Also update generated dsdt and pcihp hex dump files.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2014-02-04 19:43:47 +04:00
|
|
|
0x18,
|
2013-07-24 19:56:04 +04:00
|
|
|
0x2e,
|
|
|
|
0x5f,
|
|
|
|
0x53,
|
|
|
|
0x42,
|
|
|
|
0x5f,
|
|
|
|
0x50,
|
|
|
|
0x43,
|
|
|
|
0x49,
|
|
|
|
0x30,
|
|
|
|
0x8,
|
|
|
|
0x43,
|
|
|
|
0x52,
|
|
|
|
0x45,
|
|
|
|
0x53,
|
|
|
|
0x11,
|
|
|
|
0x42,
|
|
|
|
0xa,
|
acpi-build: append description for non-hotplug
As reported in
http://article.gmane.org/gmane.comp.emulators.qemu/253987
Mac OSX actually requires describing all occupied slots
in ACPI - even if hotplug isn't enabled.
I didn't expect this so I dropped description of all
non hotpluggable slots from ACPI.
As a result: before
commit 99fd437dee468609de8218f0eb3b16621fb6a9c9 (enable
hotplug for pci bridges), PCI cards show up in the "device tree" of OS X
(System Information). E.g., on MountainLion users have:
Hardware -> PCI Cards:
Card Type Driver Installed Slot
*ethernet Ethernet Controller Yes PCI Slot 2
pci8086,2934 USB UHC Yes PCI Slot 29
ethernet:
Type: Ethernet Controller
Driver Installed: Yes
MSI: No
Bus: PCI
Slot PCI Slot 2
Vendor ID: 0x8086
Device ID: 0x100e
Subsystem Vendor ID: 0x1af4
Subsystem ID: 0x1100
Revision ID: 0x0003
Hardware -> Ethernet Cards
ethernet:
Type: Ethernet Controller
Bus: PCI
Slot PCI Slot 2
Vendor ID: 0x8086
Device ID: 0x100e
Subsystem Vendor ID: 0x1af4
Subsystem ID: 0x1100
Revision ID: 0x0003
BSD name: en0
Kext name: AppleIntel8254XEthernet.kext
Location: /System/Library/Extensions/...
Version: 3.1.1b1
After commit 99fd437dee468609de8218f0eb3b16621fb6a9c9, users get:
Hardware -> PCI Cards:
This computer doesn't contain any PCI cards. If you installed PCI
cards, make sure they're properly installed.
Hardware -> Ethernet Cards
ethernet:
Type: Ethernet Controller
Bus: PCI
Vendor ID: 0x8086
Device ID: 0x100e
Subsystem Vendor ID: 0x1af4
Subsystem ID: 0x1100
Revision ID: 0x0003
BSD name: en0
Kext name: AppleIntel8254XEthernet.kext
Location: /System/Library/Extensions/...
Version: 3.1.1b1
Ethernet still works, but it's not showing up on the PCI bus, and it
no longer thinks it's plugged in to slot #2, as it used to before the
change.
To fix, append description for all occupied non hotpluggable PCI slots.
One need to be careful when doing this: VGA devices
are now described in SSDT, so we need to drop description from DSDT.
And ISA devices are used in DSDT so drop them from SSDT.
Reported-by: Gabriel L. Somlo <gsomlo@gmail.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Also update generated dsdt and pcihp hex dump files.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2014-02-04 19:43:47 +04:00
|
|
|
0xa,
|
|
|
|
0x9e,
|
2013-07-24 19:56:04 +04:00
|
|
|
0x88,
|
|
|
|
0xd,
|
|
|
|
0x0,
|
|
|
|
0x2,
|
|
|
|
0xc,
|
|
|
|
0x0,
|
|
|
|
0x0,
|
|
|
|
0x0,
|
|
|
|
0x0,
|
|
|
|
0x0,
|
|
|
|
0xff,
|
|
|
|
0x0,
|
|
|
|
0x0,
|
|
|
|
0x0,
|
|
|
|
0x0,
|
|
|
|
0x1,
|
|
|
|
0x47,
|
|
|
|
0x1,
|
|
|
|
0xf8,
|
|
|
|
0xc,
|
|
|
|
0xf8,
|
|
|
|
0xc,
|
|
|
|
0x1,
|
|
|
|
0x8,
|
|
|
|
0x88,
|
|
|
|
0xd,
|
|
|
|
0x0,
|
|
|
|
0x1,
|
|
|
|
0xc,
|
|
|
|
0x3,
|
|
|
|
0x0,
|
|
|
|
0x0,
|
|
|
|
0x0,
|
|
|
|
0x0,
|
|
|
|
0xf7,
|
|
|
|
0xc,
|
|
|
|
0x0,
|
|
|
|
0x0,
|
|
|
|
0xf8,
|
|
|
|
0xc,
|
|
|
|
0x88,
|
|
|
|
0xd,
|
|
|
|
0x0,
|
|
|
|
0x1,
|
|
|
|
0xc,
|
|
|
|
0x3,
|
|
|
|
0x0,
|
|
|
|
0x0,
|
|
|
|
0x0,
|
|
|
|
0xd,
|
|
|
|
0xff,
|
acpi-build: append description for non-hotplug
As reported in
http://article.gmane.org/gmane.comp.emulators.qemu/253987
Mac OSX actually requires describing all occupied slots
in ACPI - even if hotplug isn't enabled.
I didn't expect this so I dropped description of all
non hotpluggable slots from ACPI.
As a result: before
commit 99fd437dee468609de8218f0eb3b16621fb6a9c9 (enable
hotplug for pci bridges), PCI cards show up in the "device tree" of OS X
(System Information). E.g., on MountainLion users have:
Hardware -> PCI Cards:
Card Type Driver Installed Slot
*ethernet Ethernet Controller Yes PCI Slot 2
pci8086,2934 USB UHC Yes PCI Slot 29
ethernet:
Type: Ethernet Controller
Driver Installed: Yes
MSI: No
Bus: PCI
Slot PCI Slot 2
Vendor ID: 0x8086
Device ID: 0x100e
Subsystem Vendor ID: 0x1af4
Subsystem ID: 0x1100
Revision ID: 0x0003
Hardware -> Ethernet Cards
ethernet:
Type: Ethernet Controller
Bus: PCI
Slot PCI Slot 2
Vendor ID: 0x8086
Device ID: 0x100e
Subsystem Vendor ID: 0x1af4
Subsystem ID: 0x1100
Revision ID: 0x0003
BSD name: en0
Kext name: AppleIntel8254XEthernet.kext
Location: /System/Library/Extensions/...
Version: 3.1.1b1
After commit 99fd437dee468609de8218f0eb3b16621fb6a9c9, users get:
Hardware -> PCI Cards:
This computer doesn't contain any PCI cards. If you installed PCI
cards, make sure they're properly installed.
Hardware -> Ethernet Cards
ethernet:
Type: Ethernet Controller
Bus: PCI
Vendor ID: 0x8086
Device ID: 0x100e
Subsystem Vendor ID: 0x1af4
Subsystem ID: 0x1100
Revision ID: 0x0003
BSD name: en0
Kext name: AppleIntel8254XEthernet.kext
Location: /System/Library/Extensions/...
Version: 3.1.1b1
Ethernet still works, but it's not showing up on the PCI bus, and it
no longer thinks it's plugged in to slot #2, as it used to before the
change.
To fix, append description for all occupied non hotpluggable PCI slots.
One need to be careful when doing this: VGA devices
are now described in SSDT, so we need to drop description from DSDT.
And ISA devices are used in DSDT so drop them from SSDT.
Reported-by: Gabriel L. Somlo <gsomlo@gmail.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Also update generated dsdt and pcihp hex dump files.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2014-02-04 19:43:47 +04:00
|
|
|
0xad,
|
|
|
|
0x0,
|
|
|
|
0x0,
|
|
|
|
0x0,
|
|
|
|
0xa1,
|
|
|
|
0x88,
|
|
|
|
0xd,
|
|
|
|
0x0,
|
|
|
|
0x1,
|
|
|
|
0xc,
|
|
|
|
0x3,
|
|
|
|
0x0,
|
|
|
|
0x0,
|
|
|
|
0xf,
|
|
|
|
0xae,
|
2013-07-24 19:56:04 +04:00
|
|
|
0xff,
|
acpi-build: append description for non-hotplug
As reported in
http://article.gmane.org/gmane.comp.emulators.qemu/253987
Mac OSX actually requires describing all occupied slots
in ACPI - even if hotplug isn't enabled.
I didn't expect this so I dropped description of all
non hotpluggable slots from ACPI.
As a result: before
commit 99fd437dee468609de8218f0eb3b16621fb6a9c9 (enable
hotplug for pci bridges), PCI cards show up in the "device tree" of OS X
(System Information). E.g., on MountainLion users have:
Hardware -> PCI Cards:
Card Type Driver Installed Slot
*ethernet Ethernet Controller Yes PCI Slot 2
pci8086,2934 USB UHC Yes PCI Slot 29
ethernet:
Type: Ethernet Controller
Driver Installed: Yes
MSI: No
Bus: PCI
Slot PCI Slot 2
Vendor ID: 0x8086
Device ID: 0x100e
Subsystem Vendor ID: 0x1af4
Subsystem ID: 0x1100
Revision ID: 0x0003
Hardware -> Ethernet Cards
ethernet:
Type: Ethernet Controller
Bus: PCI
Slot PCI Slot 2
Vendor ID: 0x8086
Device ID: 0x100e
Subsystem Vendor ID: 0x1af4
Subsystem ID: 0x1100
Revision ID: 0x0003
BSD name: en0
Kext name: AppleIntel8254XEthernet.kext
Location: /System/Library/Extensions/...
Version: 3.1.1b1
After commit 99fd437dee468609de8218f0eb3b16621fb6a9c9, users get:
Hardware -> PCI Cards:
This computer doesn't contain any PCI cards. If you installed PCI
cards, make sure they're properly installed.
Hardware -> Ethernet Cards
ethernet:
Type: Ethernet Controller
Bus: PCI
Vendor ID: 0x8086
Device ID: 0x100e
Subsystem Vendor ID: 0x1af4
Subsystem ID: 0x1100
Revision ID: 0x0003
BSD name: en0
Kext name: AppleIntel8254XEthernet.kext
Location: /System/Library/Extensions/...
Version: 3.1.1b1
Ethernet still works, but it's not showing up on the PCI bus, and it
no longer thinks it's plugged in to slot #2, as it used to before the
change.
To fix, append description for all occupied non hotpluggable PCI slots.
One need to be careful when doing this: VGA devices
are now described in SSDT, so we need to drop description from DSDT.
And ISA devices are used in DSDT so drop them from SSDT.
Reported-by: Gabriel L. Somlo <gsomlo@gmail.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Also update generated dsdt and pcihp hex dump files.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2014-02-04 19:43:47 +04:00
|
|
|
0xae,
|
|
|
|
0x0,
|
2013-07-24 19:56:04 +04:00
|
|
|
0x0,
|
acpi-build: append description for non-hotplug
As reported in
http://article.gmane.org/gmane.comp.emulators.qemu/253987
Mac OSX actually requires describing all occupied slots
in ACPI - even if hotplug isn't enabled.
I didn't expect this so I dropped description of all
non hotpluggable slots from ACPI.
As a result: before
commit 99fd437dee468609de8218f0eb3b16621fb6a9c9 (enable
hotplug for pci bridges), PCI cards show up in the "device tree" of OS X
(System Information). E.g., on MountainLion users have:
Hardware -> PCI Cards:
Card Type Driver Installed Slot
*ethernet Ethernet Controller Yes PCI Slot 2
pci8086,2934 USB UHC Yes PCI Slot 29
ethernet:
Type: Ethernet Controller
Driver Installed: Yes
MSI: No
Bus: PCI
Slot PCI Slot 2
Vendor ID: 0x8086
Device ID: 0x100e
Subsystem Vendor ID: 0x1af4
Subsystem ID: 0x1100
Revision ID: 0x0003
Hardware -> Ethernet Cards
ethernet:
Type: Ethernet Controller
Bus: PCI
Slot PCI Slot 2
Vendor ID: 0x8086
Device ID: 0x100e
Subsystem Vendor ID: 0x1af4
Subsystem ID: 0x1100
Revision ID: 0x0003
BSD name: en0
Kext name: AppleIntel8254XEthernet.kext
Location: /System/Library/Extensions/...
Version: 3.1.1b1
After commit 99fd437dee468609de8218f0eb3b16621fb6a9c9, users get:
Hardware -> PCI Cards:
This computer doesn't contain any PCI cards. If you installed PCI
cards, make sure they're properly installed.
Hardware -> Ethernet Cards
ethernet:
Type: Ethernet Controller
Bus: PCI
Vendor ID: 0x8086
Device ID: 0x100e
Subsystem Vendor ID: 0x1af4
Subsystem ID: 0x1100
Revision ID: 0x0003
BSD name: en0
Kext name: AppleIntel8254XEthernet.kext
Location: /System/Library/Extensions/...
Version: 3.1.1b1
Ethernet still works, but it's not showing up on the PCI bus, and it
no longer thinks it's plugged in to slot #2, as it used to before the
change.
To fix, append description for all occupied non hotpluggable PCI slots.
One need to be careful when doing this: VGA devices
are now described in SSDT, so we need to drop description from DSDT.
And ISA devices are used in DSDT so drop them from SSDT.
Reported-by: Gabriel L. Somlo <gsomlo@gmail.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Also update generated dsdt and pcihp hex dump files.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2014-02-04 19:43:47 +04:00
|
|
|
0xf1,
|
2013-07-24 19:56:04 +04:00
|
|
|
0x0,
|
acpi-build: append description for non-hotplug
As reported in
http://article.gmane.org/gmane.comp.emulators.qemu/253987
Mac OSX actually requires describing all occupied slots
in ACPI - even if hotplug isn't enabled.
I didn't expect this so I dropped description of all
non hotpluggable slots from ACPI.
As a result: before
commit 99fd437dee468609de8218f0eb3b16621fb6a9c9 (enable
hotplug for pci bridges), PCI cards show up in the "device tree" of OS X
(System Information). E.g., on MountainLion users have:
Hardware -> PCI Cards:
Card Type Driver Installed Slot
*ethernet Ethernet Controller Yes PCI Slot 2
pci8086,2934 USB UHC Yes PCI Slot 29
ethernet:
Type: Ethernet Controller
Driver Installed: Yes
MSI: No
Bus: PCI
Slot PCI Slot 2
Vendor ID: 0x8086
Device ID: 0x100e
Subsystem Vendor ID: 0x1af4
Subsystem ID: 0x1100
Revision ID: 0x0003
Hardware -> Ethernet Cards
ethernet:
Type: Ethernet Controller
Bus: PCI
Slot PCI Slot 2
Vendor ID: 0x8086
Device ID: 0x100e
Subsystem Vendor ID: 0x1af4
Subsystem ID: 0x1100
Revision ID: 0x0003
BSD name: en0
Kext name: AppleIntel8254XEthernet.kext
Location: /System/Library/Extensions/...
Version: 3.1.1b1
After commit 99fd437dee468609de8218f0eb3b16621fb6a9c9, users get:
Hardware -> PCI Cards:
This computer doesn't contain any PCI cards. If you installed PCI
cards, make sure they're properly installed.
Hardware -> Ethernet Cards
ethernet:
Type: Ethernet Controller
Bus: PCI
Vendor ID: 0x8086
Device ID: 0x100e
Subsystem Vendor ID: 0x1af4
Subsystem ID: 0x1100
Revision ID: 0x0003
BSD name: en0
Kext name: AppleIntel8254XEthernet.kext
Location: /System/Library/Extensions/...
Version: 3.1.1b1
Ethernet still works, but it's not showing up on the PCI bus, and it
no longer thinks it's plugged in to slot #2, as it used to before the
change.
To fix, append description for all occupied non hotpluggable PCI slots.
One need to be careful when doing this: VGA devices
are now described in SSDT, so we need to drop description from DSDT.
And ISA devices are used in DSDT so drop them from SSDT.
Reported-by: Gabriel L. Somlo <gsomlo@gmail.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Also update generated dsdt and pcihp hex dump files.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2014-02-04 19:43:47 +04:00
|
|
|
0x88,
|
|
|
|
0xd,
|
|
|
|
0x0,
|
|
|
|
0x1,
|
|
|
|
0xc,
|
|
|
|
0x3,
|
2013-07-24 19:56:04 +04:00
|
|
|
0x0,
|
acpi-build: append description for non-hotplug
As reported in
http://article.gmane.org/gmane.comp.emulators.qemu/253987
Mac OSX actually requires describing all occupied slots
in ACPI - even if hotplug isn't enabled.
I didn't expect this so I dropped description of all
non hotpluggable slots from ACPI.
As a result: before
commit 99fd437dee468609de8218f0eb3b16621fb6a9c9 (enable
hotplug for pci bridges), PCI cards show up in the "device tree" of OS X
(System Information). E.g., on MountainLion users have:
Hardware -> PCI Cards:
Card Type Driver Installed Slot
*ethernet Ethernet Controller Yes PCI Slot 2
pci8086,2934 USB UHC Yes PCI Slot 29
ethernet:
Type: Ethernet Controller
Driver Installed: Yes
MSI: No
Bus: PCI
Slot PCI Slot 2
Vendor ID: 0x8086
Device ID: 0x100e
Subsystem Vendor ID: 0x1af4
Subsystem ID: 0x1100
Revision ID: 0x0003
Hardware -> Ethernet Cards
ethernet:
Type: Ethernet Controller
Bus: PCI
Slot PCI Slot 2
Vendor ID: 0x8086
Device ID: 0x100e
Subsystem Vendor ID: 0x1af4
Subsystem ID: 0x1100
Revision ID: 0x0003
BSD name: en0
Kext name: AppleIntel8254XEthernet.kext
Location: /System/Library/Extensions/...
Version: 3.1.1b1
After commit 99fd437dee468609de8218f0eb3b16621fb6a9c9, users get:
Hardware -> PCI Cards:
This computer doesn't contain any PCI cards. If you installed PCI
cards, make sure they're properly installed.
Hardware -> Ethernet Cards
ethernet:
Type: Ethernet Controller
Bus: PCI
Vendor ID: 0x8086
Device ID: 0x100e
Subsystem Vendor ID: 0x1af4
Subsystem ID: 0x1100
Revision ID: 0x0003
BSD name: en0
Kext name: AppleIntel8254XEthernet.kext
Location: /System/Library/Extensions/...
Version: 3.1.1b1
Ethernet still works, but it's not showing up on the PCI bus, and it
no longer thinks it's plugged in to slot #2, as it used to before the
change.
To fix, append description for all occupied non hotpluggable PCI slots.
One need to be careful when doing this: VGA devices
are now described in SSDT, so we need to drop description from DSDT.
And ISA devices are used in DSDT so drop them from SSDT.
Reported-by: Gabriel L. Somlo <gsomlo@gmail.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Also update generated d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pi-build: append description for non-hotplug
As reported in
http://article.gmane.org/gmane.comp.emulators.qemu/253987
Mac OSX actually requires describing all occupied slots
in ACPI - even if hotplug isn't enabled.
I didn't expect this so I dropped description of all
non hotpluggable slots from ACPI.
As a result: before
commit 99fd437dee468609de8218f0eb3b16621fb6a9c9 (enable
hotplug for pci bridges), PCI cards show up in the "device tree" of OS X
(System Information). E.g., on MountainLion users have:
Hardware -> PCI Cards:
Card Type Driver Installed Slot
*ethernet Ethernet Controller Yes PCI Slot 2
pci8086,2934 USB UHC Yes PCI Slot 29
ethernet:
Type: Ethernet Controller
Driver Installed: Yes
MSI: No
Bus: PCI
Slot PCI Slot 2
Vendor ID: 0x8086
Device ID: 0x100e
Subsystem Vendor ID: 0x1af4
Subsystem ID: 0x1100
Revision ID: 0x0003
Hardware -> Ethernet Cards
ethernet:
Type: Ethernet Controller
Bus: PCI
Slot PCI Slot 2
Vendor ID: 0x8086
Device ID: 0x100e
Subsystem Vendor ID: 0x1af4
Subsystem ID: 0x1100
Revision ID: 0x0003
BSD name: en0
Kext name: AppleIntel8254XEthernet.kext
Location: /System/Library/Extensions/...
Version: 3.1.1b1
After commit 99fd437dee468609de8218f0eb3b16621fb6a9c9, users get:
Hardware -> PCI Cards:
This computer doesn't contain any PCI cards. If you installed PCI
cards, make sure they're properly installed.
Hardware -> Ethernet Cards
ethernet:
Type: Ethernet Controller
Bus: PCI
Vendor ID: 0x8086
Device ID: 0x100e
Subsystem Vendor ID: 0x1af4
Subsystem ID: 0x1100
Revision ID: 0x0003
BSD name: en0
Kext name: AppleIntel8254XEthernet.kext
Location: /System/Library/Extensions/...
Version: 3.1.1b1
Ethernet still works, but it's not showing up on the PCI bus, and it
no longer thinks it's plugged in to slot #2, as it used to before the
change.
To fix, append description for all occupied non hotpluggable PCI slots.
One need to be careful when doing this: VGA devices
are now described in SSDT, so we need to drop description from DSDT.
And ISA devices are used in DSDT so drop them from SSDT.
Reported-by: Gabriel L. Somlo <gsomlo@gmail.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Also update generated dsdt and pcihp hex dump files.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2014-02-04 19:43:47 +04:00
|
|
|
0x8c,
|
2013-07-24 19:56:04 +04:00
|
|
|
0x50,
|
|
|
|
0x53,
|
|
|
|
0x33,
|
|
|
|
0x32,
|
|
|
|
0x8a,
|
|
|
|
0x43,
|
|
|
|
0x52,
|
|
|
|
0x45,
|
|
|
|
0x53,
|
|
|
|
0xa,
|
acpi-build: append description for non-hotplug
As reported in
http://article.gmane.org/gmane.comp.emulators.qemu/253987
Mac OSX actually requires describing all occupied slots
in ACPI - even if hotplug isn't enabled.
I didn't expect this so I dropped description of all
non hotpluggable slots from ACPI.
As a result: before
commit 99fd437dee468609de8218f0eb3b16621fb6a9c9 (enable
hotplug for pci bridges), PCI cards show up in the "device tree" of OS X
(System Information). E.g., on MountainLion users have:
Hardware -> PCI Cards:
Card Type Driver Installed Slot
*ethernet Ethernet Controller Yes PCI Slot 2
pci8086,2934 USB UHC Yes PCI Slot 29
ethernet:
Type: Ethernet Controller
Driver Installed: Yes
MSI: No
Bus: PCI
Slot PCI Slot 2
Vendor ID: 0x8086
Device ID: 0x100e
Subsystem Vendor ID: 0x1af4
Subsystem ID: 0x1100
Revision ID: 0x0003
Hardware -> Ethernet Cards
ethernet:
Type: Ethernet Controller
Bus: PCI
Slot PCI Slot 2
Vendor ID: 0x8086
Device ID: 0x100e
Subsystem Vendor ID: 0x1af4
Subsystem ID: 0x1100
Revision ID: 0x0003
BSD name: en0
Kext name: AppleIntel8254XEthernet.kext
Location: /System/Library/Extensions/...
Version: 3.1.1b1
After commit 99fd437dee468609de8218f0eb3b16621fb6a9c9, users get:
Hardware -> PCI Cards:
This computer doesn't contain any PCI cards. If you installed PCI
cards, make sure they're properly installed.
Hardware -> Ethernet Cards
ethernet:
Type: Ethernet Controller
Bus: PCI
Vendor ID: 0x8086
Device ID: 0x100e
Subsystem Vendor ID: 0x1af4
Subsystem ID: 0x1100
Revision ID: 0x0003
BSD name: en0
Kext name: AppleIntel8254XEthernet.kext
Location: /System/Library/Extensions/...
Version: 3.1.1b1
Ethernet still works, but it's not showing up on the PCI bus, and it
no longer thinks it's plugged in to slot #2, as it used to before the
change.
To fix, append description for all occupied non hotpluggable PCI slots.
One need to be careful when doing this: VGA devices
are now described in SSDT, so we need to drop description from DSDT.
And ISA devices are used in DSDT so drop them from SSDT.
Reported-by: Gabriel L. Somlo <gsomlo@gmail.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Also update generated dsdt and pcihp hex dump files.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2014-02-04 19:43:47 +04:00
|
|
|
0x90,
|
2013-07-24 19:56:04 +04:00
|
|
|
0x50,
|
|
|
|
0x45,
|
|
|
|
0x33,
|
|
|
|
0x32,
|
|
|
|
0x8a,
|
|
|
|
0x43,
|
|
|
|
0x52,
|
|
|
|
0x45,
|
|
|
|
0x53,
|
|
|
|
0xa,
|
acpi-build: append description for non-hotplug
As reported in
http://article.gmane.org/gmane.comp.emulators.qemu/253987
Mac OSX actually requires describing all occupied slots
in ACPI - even if hotplug isn't enabled.
I didn't expect this so I dropped description of all
non hotpluggable slots from ACPI.
As a result: before
commit 99fd437dee468609de8218f0eb3b16621fb6a9c9 (enable
hotplug for pci bridges), PCI cards show up in the "device tree" of OS X
(System Information). E.g., on MountainLion users have:
Hardware -> PCI Cards:
Card Type Driver Installed Slot
*ethernet Ethernet Controller Yes PCI Slot 2
pci8086,2934 USB UHC Yes PCI Slot 29
ethernet:
Type: Ethernet Controller
Driver Installed: Yes
MSI: No
Bus: PCI
Slot PCI Slot 2
Vendor ID: 0x8086
Device ID: 0x100e
Subsystem Vendor ID: 0x1af4
Subsystem ID: 0x1100
Revision ID: 0x0003
Hardware -> Ethernet Cards
ethernet:
Type: Ethernet Controller
Bus: PCI
Slot PCI Slot 2
Vendor ID: 0x8086
Device ID: 0x100e
Subsystem Vendor ID: 0x1af4
Subsystem ID: 0x1100
Revision ID: 0x0003
BSD name: en0
Kext name: AppleIntel8254XEthernet.kext
Location: /System/Library/Extensions/...
Version: 3.1.1b1
After commit 99fd437dee468609de8218f0eb3b16621fb6a9c9, users get:
Hardware -> PCI Cards:
This computer doesn't contain any PCI cards. If you installed PCI
cards, make sure they're properly installed.
Hardware -> Ethernet Cards
ethernet:
Type: Ethernet Controller
Bus: PCI
Vendor ID: 0x8086
Device ID: 0x100e
Subsystem Vendor ID: 0x1af4
Subsystem ID: 0x1100
Revision ID: 0x0003
BSD name: en0
Kext name: AppleIntel8254XEthernet.kext
Location: /System/Library/Extensions/...
Version: 3.1.1b1
Ethernet still works, but it's not showing up on the PCI bus, and it
no longer thinks it's plugged in to slot #2, as it used to before the
change.
To fix, append description for all occupied non hotpluggable PCI slots.
One need to be careful when doing this: VGA devices
are now described in SSDT, so we need to drop description from DSDT.
And ISA devices are used in DSDT so drop them from SSDT.
Reported-by: Gabriel L. Somlo <gsomlo@gmail.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Also update generated dsdt and pcihp hex dump files.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2014-02-04 19:43:47 +04:00
|
|
|
0x98,
|
2013-07-24 19:56:04 +04:00
|
|
|
0x50,
|
|
|
|
0x4c,
|
|
|
|
0x33,
|
|
|
|
0x32,
|
|
|
|
0x70,
|
|
|
|
0x50,
|
|
|
|
0x30,
|
|
|
|
0x53,
|
|
|
|
0x5f,
|
|
|
|
0x50,
|
|
|
|
0x53,
|
|
|
|
0x33,
|
|
|
|
0x32,
|
|
|
|
0x70,
|
|
|
|
0x50,
|
|
|
|
0x30,
|
|
|
|
0x45,
|
|
|
|
0x5f,
|
|
|
|
0x50,
|
|
|
|
0x45,
|
|
|
|
0x33,
|
|
|
|
0x32,
|
|
|
|
0x70,
|
|
|
|
0x72,
|
|
|
|
0x74,
|
|
|
|
0x50,
|
|
|
|
0x30,
|
|
|
|
0x45,
|
|
|
|
0x5f,
|
|
|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
|
|
|
0x43,
|
|
|
|
0x2,
|
|
|
|
0xa,
|
|
|
|
0x60,
|
|
|
|
0xa,
|
|
|
|
0x4,
|
|
|
|
0x5b,
|
|
|
|
0x81,
|
|
|
|
0x26,
|
|
|
|
0x5e,
|
|
|
|
0x2e,
|
|
|
|
0x50,
|
|
|
|
0x58,
|
|
|
|
0x31,
|
|
|
|
0x33,
|
|
|
|
0x50,
|
|
|
|
0x31,
|
|
|
|
0x33,
|
|
|
|
0x43,
|
|
|
|
0x0,
|
|
|
|
0x0,
|
|
|
|
0x48,
|
|
|
|
0x2f,
|
|
|
|
0x0,
|
|
|
|
0x7,
|
|
|
|
0x4c,
|
|
|
|
0x50,
|
|
|
|
0x45,
|
|
|
|
0x4e,
|
|
|
|
0x1,
|
|
|
|
0x0,
|
|
|
|
0x38,
|
|
|
|
0x0,
|
|
|
|
0x3,
|
|
|
|
0x43,
|
|
|
|
0x41,
|
|
|
|
0x45,
|
|
|
|
0x4e,
|
|
|
|
0x1,
|
|
|
|
0x0,
|
|
|
|
0x3,
|
|
|
|
0x43,
|
|
|
|
0x42,
|
|
|
|
0x45,
|
|
|
|
0x4e,
|
|
|
|
0x1,
|
|
|
|
0x8,
|
|
|
|
0x46,
|
|
|
|
0x44,
|
|
|
|
0x45,
|
|
|
|
0x4e,
|
|
|
|
0x1,
|
|
|
|
0x10,
|
acpi-build: append description for non-hotplug
As reported in
http://article.gmane.org/gmane.comp.emulators.qemu/253987
Mac OSX actually requires describing all occupied slots
in ACPI - even if hotplug isn't enabled.
I didn't expect this so I dropped description of all
non hotpluggable slots from ACPI.
As a result: before
commit 99fd437dee468609de8218f0eb3b16621fb6a9c9 (enable
hotplug for pci bridges), PCI cards show up in the "device tree" of OS X
(System Information). E.g., on MountainLion users have:
Hardware -> PCI Cards:
Card Type Driver Installed Slot
*ethernet Ethernet Controller Yes PCI Slot 2
pci8086,2934 USB UHC Yes PCI Slot 29
ethernet:
Type: Ethernet Controller
Driver Installed: Yes
MSI: No
Bus: PCI
Slot PCI Slot 2
Vendor ID: 0x8086
Device ID: 0x100e
Subsystem Vendor ID: 0x1af4
Subsystem ID: 0x1100
Revision ID: 0x0003
Hardware -> Ethernet Cards
ethernet:
Type: Ethernet Controller
Bus: PCI
Slot PCI Slot 2
Vendor ID: 0x8086
Device ID: 0x100e
Subsystem Vendor ID: 0x1af4
Subsystem ID: 0x1100
Revision ID: 0x0003
BSD name: en0
Kext name: AppleIntel8254XEthernet.kext
Location: /System/Library/Extensions/...
Version: 3.1.1b1
After commit 99fd437dee468609de8218f0eb3b16621fb6a9c9, users get:
Hardware -> PCI Cards:
This computer doesn't contain any PCI cards. If you installed PCI
cards, make sure they're properly installed.
Hardware -> Ethernet Cards
ethernet:
Type: Ethernet Controller
Bus: PCI
Vendor ID: 0x8086
Device ID: 0x100e
Subsystem Vendor ID: 0x1af4
Subsystem ID: 0x1100
Revision ID: 0x0003
BSD name: en0
Kext name: AppleIntel8254XEthernet.kext
Location: /System/Library/Extensions/...
Version: 3.1.1b1
Ethernet still works, but it's not showing up on the PCI bus, and it
no longer thinks it's plugged in to slot #2, as it used to before the
change.
To fix, append description for all occupied non hotpluggable PCI slots.
One need to be careful when doing this: VGA devices
are now described in SSDT, so we need to drop description from DSDT.
And ISA devices are used in DSDT so drop them from SSDT.
Reported-by: Gabriel L. Somlo <gsomlo@gmail.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Also update generated dsdt and pcihp hex dump files.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2014-02-04 19:43:47 +04:00
|
|
|
0x4a,
|
2014-01-09 20:36:39 +04:00
|
|
|
0x1e,
|
2013-07-24 19:56:04 +04:00
|
|
|
0x2f,
|
|
|
|
0x3,
|
|
|
|
0x5f,
|
|
|
|
0x53,
|
|
|
|
0x42,
|
|
|
|
0x5f,
|
|
|
|
0x50,
|
|
|
|
0x43,
|
|
|
|
0x49,
|
|
|
|
0x30,
|
|
|
|
0x49,
|
|
|
|
0x53,
|
|
|
|
0x41,
|
|
|
|
0x5f,
|
|
|
|
0x5b,
|
|
|
|
0x82,
|
acpi-build: append description for non-hotplug
As reported in
http://article.gmane.org/gmane.comp.emulators.qemu/253987
Mac OSX actually requires describing all occupied slots
in ACPI - even if hotplug isn't enabled.
I didn't expect this so I dropped description of all
non hotpluggable slots from ACPI.
As a result: before
commit 99fd437dee468609de8218f0eb3b16621fb6a9c9 (enable
hotplug for pci bridges), PCI cards show up in the "device tree" of OS X
(System Information). E.g., on MountainLion users have:
Hardware -> PCI Cards:
Card Type Driver Installed Slot
*ethernet Ethernet Controller Yes PCI Slot 2
pci8086,2934 USB UHC Yes PCI Slot 29
ethernet:
Type: Ethernet Controller
Driver Installed: Yes
MSI: No
Bus: PCI
Slot PCI Slot 2
Vendor ID: 0x8086
Device ID: 0x100e
Subsystem Vendor ID: 0x1af4
Subsystem ID: 0x1100
Revision ID: 0x0003
Hardware -> Ethernet Cards
ethernet:
Type: Ethernet Controller
Bus: PCI
Slot PCI Slot 2
Vendor ID: 0x8086
Device ID: 0x100e
Subsystem Vendor ID: 0x1af4
Subsystem ID: 0x1100
Revision ID: 0x0003
BSD name: en0
Kext name: AppleIntel8254XEthernet.kext
Location: /System/Library/Extensions/...
Version: 3.1.1b1
After commit 99fd437dee468609de8218f0eb3b16621fb6a9c9, users get:
Hardware -> PCI Cards:
This computer doesn't contain any PCI cards. If you installed PCI
cards, make sure they're properly installed.
Hardware -> Ethernet Cards
ethernet:
Type: Ethernet Controller
Bus: PCI
Vendor ID: 0x8086
Device ID: 0x100e
Subsystem Vendor ID: 0x1af4
Subsystem ID: 0x1100
Revision ID: 0x0003
BSD name: en0
Kext name: AppleIntel8254XEthernet.kext
Location: /System/Library/Extensions/...
Version: 3.1.1b1
Ethernet still works, but it's not showing up on the PCI bus, and it
no longer thinks it's plugged in to slot #2, as it used to before the
change.
To fix, append description for all occupied non hotpluggable PCI slots.
One need to be careful when doing this: VGA devices
are now described in SSDT, so we need to drop description from DSDT.
And ISA devices are used in DSDT so drop them from SSDT.
Reported-by: Gabriel L. Somlo <gsomlo@gmail.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Also update generated dsdt and pcihp hex dump files.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2014-02-04 19:43:47 +04:00
|
|
|
0x2c,
|
2014-01-09 20:36:39 +04:00
|
|
|
0x53,
|
|
|
|
0x4d,
|
|
|
|
0x43,
|
|
|
|
0x5f,
|
|
|
|
0x8,
|
|
|
|
0x5f,
|
|
|
|
0x48,
|
|
|
|
0x49,
|
|
|
|
0x44,
|
|
|
|
0xc,
|
|
|
|
0x6,
|
|
|
|
0x10,
|
|
|
|
0x0,
|
|
|
|
0x1,
|
|
|
|
0x8,
|
|
|
|
0x5f,
|
|
|
|
0x53,
|
|
|
|
0x54,
|
|
|
|
0x41,
|
acpi-build: append description for non-hotplug
As reported in
http://article.gmane.org/gmane.comp.emulators.qemu/253987
Mac OSX actually requires describing all occupied slots
in ACPI - even if hotplug isn't enabled.
I didn't expect this so I dropped description of all
non hotpluggable slots from ACPI.
As a result: before
commit 99fd437dee468609de8218f0eb3b16621fb6a9c9 (enable
hotplug for pci bridges), PCI cards show up in the "device tree" of OS X
(System Information). E.g., on MountainLion users have:
Hardware -> PCI Cards:
Card Type Driver Installed Slot
*ethernet Ethernet Controller Yes PCI Slot 2
pci8086,2934 USB UHC Yes PCI Slot 29
ethernet:
Type: Ethernet Controller
Driver Installed: Yes
MSI: No
Bus: PCI
Slot PCI Slot 2
Vendor ID: 0x8086
Device ID: 0x100e
Subsystem Vendor ID: 0x1af4
Subsystem ID: 0x1100
Revision ID: 0x0003
Hardware -> Ethernet Cards
ethernet:
Type: Ethernet Controller
Bus: PCI
Slot PCI Slot 2
Vendor ID: 0x8086
Device ID: 0x100e
Subsystem Vendor ID: 0x1af4
Subsystem ID: 0x1100
Revision ID: 0x0003
BSD name: en0
Kext name: AppleIntel8254XEthernet.kext
Location: /System/Library/Extensions/...
Version: 3.1.1b1
After commit 99fd437dee468609de8218f0eb3b16621fb6a9c9, users get:
Hardware -> PCI Cards:
This computer doesn't contain any PCI cards. If you installed PCI
cards, make sure they're properly installed.
Hardware -> Ethernet Cards
ethernet:
Type: Ethernet Controller
Bus: PCI
Vendor ID: 0x8086
Device ID: 0x100e
Subsystem Vendor ID: 0x1af4
Subsystem ID: 0x1100
Revision ID: 0x0003
BSD name: en0
Kext name: AppleIntel8254XEthernet.kext
Location: /System/Library/Extensions/...
Version: 3.1.1b1
Ethernet still works, but it's not showing up on the PCI bus, and it
no longer thinks it's plugged in to slot #2, as it used to before the
change.
To fix, append description for all occupied non hotpluggable PCI slots.
One need to be careful when doing this: VGA devices
are now described in SSDT, so we need to drop description from DSDT.
And ISA devices are used in DSDT so drop them from SSDT.
Reported-by: Gabriel L. Somlo <gsomlo@gmail.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Also update generated dsdt and pcihp hex dump files.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2014-02-04 19:43:47 +04:00
|
|
|
0xa,
|
|
|
|
0xf0,
|
2014-01-09 20:36:39 +04:00
|
|
|
0x8,
|
|
|
|
0x5f,
|
|
|
|
0x43,
|
|
|
|
0x52,
|
|
|
|
0x53,
|
|
|
|
0x11,
|
|
|
|
0x10,
|
|
|
|
0xa,
|
|
|
|
0xd,
|
|
|
|
0x47,
|
|
|
|
0x1,
|
|
|
|
0x0,
|
|
|
|
0x3,
|
|
|
|
0x0,
|
|
|
|
0x3,
|
|
|
|
0x1,
|
|
|
|
0x20,
|
|
|
|
0x22,
|
|
|
|
0x40,
|
|
|
|
0x0,
|
|
|
|
0x79,
|
|
|
|
0x0,
|
|
|
|
0x5b,
|
|
|
|
0x82,
|
|
|
|
0x2d,
|
2013-07-24 19:56:04 +04:00
|
|
|
0x52,
|
|
|
|
0x54,
|
|
|
|
0x43,
|
|
|
|
0x5f,
|
|
|
|
0x8,
|
|
|
|
0x5f,
|
|
|
|
0x48,
|
|
|
|
0x49,
|
|
|
|
0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68,
|
|
|
|
0x42,
|
|
|
|
0x4e,
|
|
|
|
0x55,
|
2014-01-09 20:36:39 +04:00
|
|
|
0x4d,
|
|
|
|
0x70,
|
2013-07-24 19:56:04 +04:00
|
|
|
0x79,
|
|
|
|
0x1,
|
2014-01-09 20:36:39 +04:00
|
|
|
0x69,
|
2013-07-24 19:56:04 +04:00
|
|
|
0x0,
|
2014-01-09 20:36:39 +04:00
|
|
|
0x42,
|
|
|
|
0x30,
|
|
|
|
0x45,
|
|
|
|
0x4a,
|
|
|
|
0x5b,
|
|
|
|
0x27,
|
|
|
|
0x42,
|
|
|
|
0x4c,
|
2013-07-24 19:56:04 +04:00
|
|
|
0x43,
|
2014-01-09 20:36:39 +04:00
|
|
|
0x4b,
|
|
|
|
0xa4,
|
2013-07-24 19:56:04 +04:00
|
|
|
0x0,
|
|
|
|
0x10,
|
2014-07-28 19:34:14 +04:00
|
|
|
0x4e,
|
|
|
|
0x36,
|
2013-07-24 19:56:04 +04:00
|
|
|
0x5f,
|
|
|
|
0x53,
|
|
|
|
0x42,
|
|
|
|
0x5f,
|
|
|
|
0x10,
|
2014-07-28 19:34:14 +04:00
|
|
|
0x4b,
|
|
|
|
0xa,
|
2013-07-24 19:56:04 +04:00
|
|
|
0x50,
|
|
|
|
0x43,
|
|
|
|
0x49,
|
|
|
|
0x30,
|
2014-07-28 19:34:14 +04:00
|
|
|
0x14,
|
|
|
|
0x44,
|
|
|
|
0xa,
|
2013-07-24 19:56:04 +04:00
|
|
|
0x5f,
|
|
|
|
0x50,
|
|
|
|
0x52,
|
|
|
|
0x54,
|
|
|
|
0x0,
|
2014-07-28 19:34:14 +04:00
|
|
|
0x70,
|
2013-07-24 19:56:04 +04:00
|
|
|
0x12,
|
2014-07-28 19:34:14 +04:00
|
|
|
0x2,
|
|
|
|
0x80,
|
|
|
|
0x60,
|
|
|
|
0x70,
|
2013-07-24 19:56:04 +04:00
|
|
|
0x0,
|
2014-07-28 19:34:14 +04:00
|
|
|
0x61,
|
|
|
|
0xa2,
|
|
|
|
0x42,
|
|
|
|
0x9,
|
|
|
|
0x95,
|
|
|
|
0x61,
|
|
|
|
0xa,
|
|
|
|
0x80,
|
|
|
|
0x70,
|
|
|
|
0x7a,
|
|
|
|
0x61,
|
2013-07-24 19:56:04 +04:00
|
|
|
0xa,
|
|
|
|
0x2,
|
|
|
|
0x0,
|
2014-07-28 19:34:14 +04:00
|
|
|
0x62,
|
|
|
|
0x70,
|
|
|
|
0x7b,
|
|
|
|
0x72,
|
|
|
|
0x61,
|
|
|
|
0x62,
|
|
|
|
0x0,
|
2013-07-24 19:56:04 +04:00
|
|
|
0xa,
|
|
|
|
0x3,
|
|
|
|
0x0,
|
2014-07-28 19:34:14 +04:00
|
|
|
0x63,
|
|
|
|
0xa0,
|
|
|
|
0x10,
|
|
|
|
0x93,
|
|
|
|
0x63,
|
|
|
|
0x0,
|
|
|
|
0x70,
|
2013-07-24 19:56:04 +04:00
|
|
|
0x12,
|
2014-07-28 19:34:14 +04:00
|
|
|
0x9,
|
2013-07-24 19:56:04 +04:00
|
|
|
0x4,
|
|
|
|
0x0,
|
|
|
|
0x0,
|
|
|
|
0x4c,
|
|
|
|
0x4e,
|
|
|
|
0x4b,
|
2014-07-28 19:34:14 +04:00
|
|
|
0x44,
|
2013-07-24 19:56:04 +04:00
|
|
|
0x0,
|
2014-07-28 19:34:14 +04:00
|
|
|
0x64,
|
|
|
|
0xa0,
|
|
|
|
0x24,
|
|
|
|
0x93,
|
|
|
|
0x63,
|
2013-07-24 19:56:04 +04:00
|
|
|
0x1,
|
2014-07-28 19:34:14 +04:00
|
|
|
0xa0,
|
|
|
|
0x11,
|
|
|
|
0x93,
|
|
|
|
0x61,
|
|
|
|
0xa,
|
|
|
|
0x4,
|
|
|
|
0x70,
|
2013-07-24 19:56:04 +04:00
|
|
|
0x12,
|
2014-07-28 19:34:14 +04:00
|
|
|
0x9,
|
2013-07-24 19:56:04 +04:00
|
|
|
0x4,
|
|
|
|
0x0,
|
2014-07-28 19:34:14 +04:00
|
|
|
0x0,
|
2013-07-24 19:56:04 +04:00
|
|
|
0x4c,
|
|
|
|
0x4e,
|
|
|
|
0x4b,
|
2014-07-28 19:34:14 +04:00
|
|
|
0x53,
|
2013-07-24 19:56:04 +04:00
|
|
|
0x0,
|
2014-07-28 19:34:14 +04:00
|
|
|
0x64,
|
|
|
|
0xa1,
|
|
|
|
0xd,
|
|
|
|
0x70,
|
2013-07-24 19:56:04 +04:00
|
|
|
0x12,
|
2014-07-28 19:34:14 +04:00
|
|
|
0x9,
|
2013-07-24 19:56:04 +04:00
|
|
|
0x4,
|
|
|
|
0x0,
|
2014-07-28 19:34:14 +04:00
|
|
|
0x0,
|
2013-07-24 19:56:04 +04:00
|
|
|
0x4c,
|
|
|
|
0x4e,
|
|
|
|
0x4b,
|
2014-07-28 19:34:14 +04:00
|
|
|
0x41,
|
2013-07-24 19:56:04 +04:00
|
|
|
0x0,
|
2014-07-28 19:34:14 +04:00
|
|
|
0x64,
|
|
|
|
0xa0,
|
|
|
|
0x11,
|
|
|
|
0x93,
|
|
|
|
0x63,
|
|
|
|
0xa,
|
|
|
|
0x2,
|
|
|
|
0x70,
|
2013-07-24 19:56:04 +04:00
|
|
|
0x12,
|
2014-07-28 19:34:14 +04:00
|
|
|
0x9,
|
2013-07-24 19:56:04 +04:00
|
|
|
0x4,
|
|
|
|
0x0,
|
|
|
|
0x0,
|
|
|
|
0x4c,
|
|
|
|
0x4e,
|
|
|
|
0x4b,
|
|
|
|
0x42,
|
|
|
|
0x0,
|
2014-07-28 19:34:14 +04:00
|
|
|
0x64,
|
|
|
|
0xa0,
|
|
|
|
0x11,
|
|
|
|
0x93,
|
|
|
|
0x63,
|
|
|
|
0xa,
|
|
|
|
0x3,
|
|
|
|
0x70,
|
2013-07-24 19:56:04 +04:00
|
|
|
0x12,
|
2014-07-28 19:34:14 +04:00
|
|
|
0x9,
|
2013-07-24 19:56:04 +04:00
|
|
|
0x4,
|
|
|
|
0x0,
|
|
|
|
0x0,
|
|
|
|
0x4c,
|
|
|
|
0x4e,
|
|
|
|
0x4b,
|
2014-07-28 19:34:14 +04:00
|
|
|
0x43,
|
2013-07-24 19:56:04 +04:00
|
|
|
0x0,
|
2014-07-28 19:34:14 +04:00
|
|
|
0x64,
|
|
|
|
0x70,
|
|
|
|
0x7d,
|
|
|
|
0x79,
|
|
|
|
0x62,
|
2013-07-24 19:56:04 +04:00
|
|
|
0xa,
|
2014-07-28 19:34:14 +04:00
|
|
|
0x10,
|
2013-07-24 19:56:04 +04:00
|
|
|
0x0,
|
2014-07-28 19:34:14 +04:00
|
|
|
0xb,
|
2013-07-24 19:56:04 +04:00
|
|
|
0xff,
|
|
|
|
0xff,
|
|
|
|
0x0,
|
2014-07-28 19:34:14 +04:00
|
|
|
0x88,
|
|
|
|
0x64,
|
2013-07-24 19:56:04 +04:00
|
|
|
0x0,
|
|
|
|
0x0,
|
2014-07-28 19:34:14 +04:00
|
|
|
0x70,
|
|
|
|
0x7b,
|
|
|
|
0x61,
|
|
|
|
0xa,
|
2013-07-24 19:56:04 +04:00
|
|
|
0x3,
|
|
|
|
0x0,
|
2014-07-28 19:34:14 +04:00
|
|
|
0x88,
|
|
|
|
0x64,
|
2013-07-24 19:56:04 +04:00
|
|
|
0x1,
|
|
|
|
0x0,
|
2014-07-28 19:34:14 +04:00
|
|
|
0x70,
|
|
|
|
0x64,
|
|
|
|
0x88,
|
|
|
|
0x60,
|
|
|
|
0x61,
|
2013-07-24 19:56:04 +04:00
|
|
|
0x0,
|
2014-07-28 19:34:14 +04:00
|
|
|
0x75,
|
|
|
|
0x61,
|
|
|
|
0xa4,
|
|
|
|
0x60,
|
2013-07-24 19:56:04 +04:00
|
|
|
0x5b,
|
|
|
|
0x81,
|
|
|
|
0x24,
|
|
|
|
0x2f,
|
|
|
|
0x3,
|
|
|
|
0x50,
|
|
|
|
0x43,
|
|
|
|
0x49,
|
|
|
|
0x30,
|
|
|
|
0x49,
|
|
|
|
0x53,
|
|
|
|
0x41,
|
|
|
|
0x5f,
|
|
|
|
0x50,
|
|
|
|
0x34,
|
|
|
|
0x30,
|
|
|
|
0x43,
|
|
|
|
0x1,
|
|
|
|
0x50,
|
|
|
|
0x52,
|
|
|
|
0x51,
|
|
|
|
0x30,
|
|
|
|
0x8,
|
|
|
|
0x50,
|
|
|
|
0x52,
|
|
|
|
0x51,
|
|
|
|
0x31,
|
|
|
|
0x8,
|
|
|
|
0x50,
|
|
|
|
0x52,
|
|
|
|
0x51,
|
|
|
|
0x32,
|
|
|
|
0x8,
|
|
|
|
0x50,
|
|
|
|
0x52,
|
|
|
|
0x51,
|
|
|
|
0x33,
|
|
|
|
0x8,
|
|
|
|
0x14,
|
|
|
|
0x13,
|
|
|
|
0x49,
|
|
|
|
0x51,
|
|
|
|
0x53,
|
|
|
|
0x54,
|
|
|
|
0x1,
|
|
|
|
0xa0,
|
|
|
|
0x9,
|
|
|
|
0x7b,
|
|
|
|
0xa,
|
|
|
|
0x80,
|
|
|
|
0x68,
|
|
|
|
0x0,
|
|
|
|
0xa4,
|
|
|
|
0xa,
|
|
|
|
0x9,
|
|
|
|
0xa4,
|
|
|
|
0xa,
|
|
|
|
0xb,
|
|
|
|
0x14,
|
|
|
|
0x36,
|
|
|
|
0x49,
|
|
|
|
0x51,
|
|
|
|
0x43,
|
|
|
|
0x52,
|
ACPI DSDT: Make control method `IQCR` serialized
Forward-port the following commit from seabios:
commit 995bbeef78b338370f426bf8d0399038c3fa259c
Author: Paul Menzel <paulepanter@users.sourceforge.net>
Date: Thu Oct 3 11:30:52 2013 +0200
The ASL Optimizing Compiler version 20130823-32 [Sep 11 2013] issues the
following warning.
$ make
[…]
Compiling IASL out/src/fw/acpi-dsdt.hex
out/src/fw/acpi-dsdt.dsl.i 360: Method(IQCR, 1, NotSerialized) {
Remark 2120 - ^ Control Method should be made Serialized (due to creation of named objects within)
[…]
ASL Input: out/src/fw/acpi-dsdt.dsl.i - 475 lines, 19181 bytes, 316 keywords
AML Output: out/src/fw/acpi-dsdt.aml - 4407 bytes, 159 named objects, 157 executable opcodes
Listing File: out/src/fw/acpi-dsdt.lst - 143715 bytes
Hex Dump: out/src/fw/acpi-dsdt.hex - 41661 bytes
Compilation complete. 0 Errors, 0 Warnings, 1 Remarks, 246 Optimizations
[…]
After changing the parameter from `NotSerialized` to `Serialized`, the
remark is indeed gone and there is no size change.
The remark was added in ACPICA version 20130517 [1] and gives the
following explanation.
If a thread blocks within the method for any reason, and another thread
enters the method, the method will fail because an attempt will be
made to create the same (named) object twice.
In this case, issue a remark that the method should be marked
serialized. ACPICA BZ 909.
[1] https://github.com/acpica/acpica/commit/ba84d0fc18ba910a47a3f71c68a43543c06e6831
Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reported-by: Marcel Apfelbaum <marcel.a@redhat.com>
Tested-by: Marcel Apfelbaum <marcel.a@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2013-11-14 16:12:47 +04:00
|
|
|
0x9,
|
2013-07-24 19:56:04 +04:00
|
|
|
0x8,
|
|
|
|
0x50,
|
|
|
|
0x52,
|
|
|
|
0x52,
|
|
|
|
0x30,
|
|
|
|
0x11,
|
|
|
|
0xe,
|
|
|
|
0xa,
|
|
|
|
0xb,
|
|
|
|
0x89,
|
|
|
|
0x6,
|
|
|
|
0x0,
|
|
|
|
0x9,
|
|
|
|
0x1,
|
|
|
|
0x0,
|
|
|
|
0x0,
|
|
|
|
0x0,
|
|
|
|
0x0,
|
|
|
|
0x79,
|
|
|
|
0x0,
|
|
|
|
0x8a,
|
|
|
|
0x50,
|
|
|
|
0x52,
|
|
|
|
0x52,
|
|
|
|
0x30,
|
|
|
|
0xa,
|
|
|
|
0x5,
|
|
|
|
0x50,
|
|
|
|
0x52,
|
|
|
|
0x52,
|
|
|
|
0x49,
|
|
|
|
0xa0,
|
|
|
|
0xb,
|
|
|
|
0x95,
|
|
|
|
0x68,
|
|
|
|
0xa,
|
|
|
|
0x80,
|
|
|
|
0x70,
|
|
|
|
0x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|
|
|
0x11,
|
|
|
|
0xe,
|
|
|
|
0xa,
|
|
|
|
0xb,
|
|
|
|
0x89,
|
|
|
|
0x6,
|
|
|
|
0x0,
|
|
|
|
0x9,
|
|
|
|
0x1,
|
|
|
|
0x9,
|
|
|
|
0x0,
|
|
|
|
0x0,
|
|
|
|
0x0,
|
|
|
|
0x79,
|
|
|
|
0x0,
|
|
|
|
0x14,
|
|
|
|
0x9,
|
|
|
|
0x5f,
|
|
|
|
0x53,
|
|
|
|
0x54,
|
|
|
|
0x41,
|
|
|
|
0x0,
|
|
|
|
0xa4,
|
|
|
|
0xa,
|
|
|
|
0xb,
|
|
|
|
0x14,
|
|
|
|
0x6,
|
|
|
|
0x5f,
|
|
|
|
0x44,
|
|
|
|
0x49,
|
|
|
|
0x53,
|
|
|
|
0x0,
|
|
|
|
0x14,
|
|
|
|
0xb,
|
|
|
|
0x5f,
|
|
|
|
0x43,
|
|
|
|
0x52,
|
|
|
|
0x53,
|
|
|
|
0x0,
|
|
|
|
0xa4,
|
|
|
|
0x5f,
|
|
|
|
0x50,
|
|
|
|
0x52,
|
|
|
|
0x53,
|
|
|
|
0x14,
|
|
|
|
0x6,
|
|
|
|
0x5f,
|
|
|
|
0x53,
|
|
|
|
0x52,
|
|
|
|
0x53,
|
|
|
|
0x1,
|
|
|
|
0x10,
|
2014-04-10 20:03:18 +04:00
|
|
|
0x42,
|
acpi-build: append description for non-hotplug
As reported in
http://article.gmane.org/gmane.comp.emulators.qemu/253987
Mac OSX actually requires describing all occupied slots
in ACPI - even if hotplug isn't enabled.
I didn't expect this so I dropped description of all
non hotpluggable slots from ACPI.
As a result: before
commit 99fd437dee468609de8218f0eb3b16621fb6a9c9 (enable
hotplug for pci bridges), PCI cards show up in the "device tree" of OS X
(System Information). E.g., on MountainLion users have:
Hardware -> PCI Cards:
Card Type Driver Installed Slot
*ethernet Ethernet Controller Yes PCI Slot 2
pci8086,2934 USB UHC Yes PCI Slot 29
ethernet:
Type: Ethernet Controller
Driver Installed: Yes
MSI: No
Bus: PCI
Slot PCI Slot 2
Vendor ID: 0x8086
Device ID: 0x100e
Subsystem Vendor ID: 0x1af4
Subsystem ID: 0x1100
Revision ID: 0x0003
Hardware -> Ethernet Cards
ethernet:
Type: Ethernet Controller
Bus: PCI
Slot PCI Slot 2
Vendor ID: 0x8086
Device ID: 0x100e
Subsystem Vendor ID: 0x1af4
Subsystem ID: 0x1100
Revision ID: 0x0003
BSD name: en0
Kext name: AppleIntel8254XEthernet.kext
Location: /System/Library/Extensions/...
Version: 3.1.1b1
After commit 99fd437dee468609de8218f0eb3b16621fb6a9c9, users get:
Hardware -> PCI Cards:
This computer doesn't contain any PCI cards. If you installed PCI
cards, make sure they're properly installed.
Hardware -> Ethernet Cards
ethernet:
Type: Ethernet Controller
Bus: PCI
Vendor ID: 0x8086
Device ID: 0x100e
Subsystem Vendor ID: 0x1af4
Subsystem ID: 0x1100
Revision ID: 0x0003
BSD name: en0
Kext name: AppleIntel8254XEthernet.kext
Location: /System/Library/Extensions/...
Version: 3.1.1b1
Ethernet still works, but it's not showing up on the PCI bus, and it
no longer thinks it's plugged in to slot #2, as it used to before the
change.
To fix, append description for all occupied non hotpluggable PCI slots.
One need to be careful when doing this: VGA devices
are now described in SSDT, so we need to drop description from DSDT.
And ISA devices are used in DSDT so drop them from SSDT.
Reported-by: Gabriel L. Somlo <gsomlo@gmail.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Also update generated dsdt and pcihp hex dump files.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2014-02-04 19:43:47 +04:00
|
|
|
0x11,
|
2013-07-24 19:56:04 +04:00
|
|
|
0x5f,
|
|
|
|
0x53,
|
|
|
|
0x42,
|
|
|
|
0x5f,
|
|
|
|
0x14,
|
|
|
|
0x35,
|
|
|
|
0x43,
|
|
|
|
0x50,
|
|
|
|
0x4d,
|
|
|
|
0x41,
|
|
|
|
0x1,
|
|
|
|
0x70,
|
|
|
|
0x83,
|
|
|
|
0x88,
|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0x7a,
|
|
|
|
0x62,
|
|
|
|
0x1,
|
|
|
|
0x62,
|
|
|
|
0xa1,
|
|
|
|
0xc,
|
|
|
|
0x70,
|
|
|
|
0x83,
|
|
|
|
0x88,
|
|
|
|
0x65,
|
|
|
|
0x7a,
|
|
|
|
0x60,
|
|
|
|
0xa,
|
|
|
|
0x3,
|
|
|
|
0x0,
|
|
|
|
0x0,
|
|
|
|
0x62,
|
|
|
|
0x70,
|
|
|
|
0x7b,
|
|
|
|
0x62,
|
|
|
|
0x1,
|
|
|
|
0x0,
|
|
|
|
0x63,
|
|
|
|
0xa0,
|
|
|
|
0x22,
|
|
|
|
0x92,
|
|
|
|
0x93,
|
|
|
|
0x61,
|
|
|
|
0x63,
|
|
|
|
0x70,
|
|
|
|
0x63,
|
|
|
|
0x88,
|
|
|
|
0x43,
|
|
|
|
0x50,
|
|
|
|
0x4f,
|
|
|
|
0x4e,
|
|
|
|
0x60,
|
|
|
|
0x0,
|
|
|
|
0xa0,
|
|
|
|
0xa,
|
|
|
|
0x93,
|
|
|
|
0x63,
|
|
|
|
0x1,
|
|
|
|
0x4e,
|
|
|
|
0x54,
|
|
|
|
0x46,
|
|
|
|
0x59,
|
|
|
|
0x60,
|
|
|
|
0x1,
|
|
|
|
0xa1,
|
|
|
|
0x8,
|
|
|
|
0x4e,
|
|
|
|
0x54,
|
|
|
|
0x46,
|
|
|
|
0x59,
|
|
|
|
0x60,
|
|
|
|
0xa,
|
|
|
|
0x3,
|
|
|
|
0x75,
|
|
|
|
0x60,
|
acpi-build: append description for non-hotplug
As reported in
http://article.gmane.org/gmane.comp.emulators.qemu/253987
Mac OSX actually requires describing all occupied slots
in ACPI - even if hotplug isn't enabled.
I didn't expect this so I dropped description of all
non hotpluggable slots from ACPI.
As a result: before
commit 99fd437dee468609de8218f0eb3b16621fb6a9c9 (enable
hotplug for pci bridges), PCI cards show up in the "device tree" of OS X
(System Information). E.g., on MountainLion users have:
Hardware -> PCI Cards:
Card Type Driver Installed Slot
*ethernet Ethernet Controller Yes PCI Slot 2
pci8086,2934 USB UHC Yes PCI Slot 29
ethernet:
Type: Ethernet Controller
Driver Installed: Yes
MSI: No
Bus: PCI
Slot PCI Slot 2
Vendor ID: 0x8086
Device ID: 0x100e
Subsystem Vendor ID: 0x1af4
Subsystem ID: 0x1100
Revision ID: 0x0003
Hardware -> Ethernet Cards
ethernet:
Type: Ethernet Controller
Bus: PCI
Slot PCI Slot 2
Vendor ID: 0x8086
Device ID: 0x100e
Subsystem Vendor ID: 0x1af4
Subsystem ID: 0x1100
Revision ID: 0x0003
BSD name: en0
Kext name: AppleIntel8254XEthernet.kext
Location: /System/Library/Extensions/...
Version: 3.1.1b1
After commit 99fd437dee468609de8218f0eb3b16621fb6a9c9, users get:
Hardware -> PCI Cards:
This computer doesn't contain any PCI cards. If you installed PCI
cards, make sure they're properly installed.
Hardware -> Ethernet Cards
ethernet:
Type: Ethernet Controller
Bus: PCI
Vendor ID: 0x8086
Device ID: 0x100e
Subsystem Vendor ID: 0x1af4
Subsystem ID: 0x1100
Revision ID: 0x0003
BSD name: en0
Kext name: AppleIntel8254XEthernet.kext
Location: /System/Library/Extensions/...
Version: 3.1.1b1
Ethernet still works, but it's not showing up on the PCI bus, and it
no longer thinks it's plugged in to slot #2, as it used to before the
change.
To fix, append description for all occupied non hotpluggable PCI slots.
One need to be careful when doing this: VGA devices
are now described in SSDT, so we need to drop description from DSDT.
And ISA devices are used in DSDT so drop them from SSDT.
Reported-by: Gabriel L. Somlo <gsomlo@gmail.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Also update generated dsdt and pcihp hex dump files.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2014-02-04 19:43:47 +04:00
|
|
|
0x5b,
|
|
|
|
0x82,
|
2014-04-10 20:03:18 +04:00
|
|
|
0x29,
|
acpi-build: append description for non-hotplug
As reported in
http://article.gmane.org/gmane.comp.emulators.qemu/253987
Mac OSX actually requires describing all occupied slots
in ACPI - even if hotplug isn't enabled.
I didn't expect this so I dropped description of all
non hotpluggable slots from ACPI.
As a result: before
commit 99fd437dee468609de8218f0eb3b16621fb6a9c9 (enable
hotplug for pci bridges), PCI cards show up in the "device tree" of OS X
(System Information). E.g., on MountainLion users have:
Hardware -> PCI Cards:
Card Type Driver Installed Slot
*ethernet Ethernet Controller Yes PCI Slot 2
pci8086,2934 USB UHC Yes PCI Slot 29
ethernet:
Type: Ethernet Controller
Driver Installed: Yes
MSI: No
Bus: PCI
Slot PCI Slot 2
Vendor ID: 0x8086
Device ID: 0x100e
Subsystem Vendor ID: 0x1af4
Subsystem ID: 0x1100
Revision ID: 0x0003
Hardware -> Ethernet Cards
ethernet:
Type: Ethernet Controller
Bus: PCI
Slot PCI Slot 2
Vendor ID: 0x8086
Device ID: 0x100e
Subsystem Vendor ID: 0x1af4
Subsystem ID: 0x1100
Revision ID: 0x0003
BSD name: en0
Kext name: AppleIntel8254XEthernet.kext
Location: /System/Library/Extensions/...
Version: 3.1.1b1
After commit 99fd437dee468609de8218f0eb3b16621fb6a9c9, users get:
Hardware -> PCI Cards:
This computer doesn't contain any PCI cards. If you installed PCI
cards, make sure they're properly installed.
Hardware -> Ethernet Cards
ethernet:
Type: Ethernet Controller
Bus: PCI
Vendor ID: 0x8086
Device ID: 0x100e
Subsystem Vendor ID: 0x1af4
Subsystem ID: 0x1100
Revision ID: 0x0003
BSD name: en0
Kext name: AppleIntel8254XEthernet.kext
Location: /System/Library/Extensions/...
Version: 3.1.1b1
Ethernet still works, but it's not showing up on the PCI bus, and it
no longer thinks it's plugged in to slot #2, as it used to before the
change.
To fix, append description for all occupied non hotpluggable PCI slots.
One need to be careful when doing this: VGA devices
are now described in SSDT, so we need to drop description from DSDT.
And ISA devices are used in DSDT so drop them from SSDT.
Reported-by: Gabriel L. Somlo <gsomlo@gmail.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Also update generated dsdt and pcihp hex dump files.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2014-02-04 19:43:47 +04:00
|
|
|
0x50,
|
|
|
|
0x52,
|
|
|
|
0x45,
|
|
|
|
0x53,
|
|
|
|
0x8,
|
|
|
|
0x5f,
|
|
|
|
0x48,
|
|
|
|
0x49,
|
|
|
|
0x44,
|
2014-04-10 20:03:18 +04:00
|
|
|
0xc,
|
acpi-build: append description for non-hotplug
As reported in
http://article.gmane.org/gmane.comp.emulators.qemu/253987
Mac OSX actually requires describing all occupied slots
in ACPI - even if hotplug isn't enabled.
I didn't expect this so I dropped description of all
non hotpluggable slots from ACPI.
As a result: before
commit 99fd437dee468609de8218f0eb3b16621fb6a9c9 (enable
hotplug for pci bridges), PCI cards show up in the "device tree" of OS X
(System Information). E.g., on MountainLion users have:
Hardware -> PCI Cards:
Card Type Driver Installed Slot
*ethernet Ethernet Controller Yes PCI Slot 2
pci8086,2934 USB UHC Yes PCI Slot 29
ethernet:
Type: Ethernet Controller
Driver Installed: Yes
MSI: No
Bus: PCI
Slot PCI Slot 2
Vendor ID: 0x8086
Device ID: 0x100e
Subsystem Vendor ID: 0x1af4
Subsystem ID: 0x1100
Revision ID: 0x0003
Hardware -> Ethernet Cards
ethernet:
Type: Ethernet Controller
Bus: PCI
Slot PCI Slot 2
Vendor ID: 0x8086
Device ID: 0x100e
Subsystem Vendor ID: 0x1af4
Subsystem ID: 0x1100
Revision ID: 0x0003
BSD name: en0
Kext name: AppleIntel8254XEthernet.kext
Location: /System/Library/Extensions/...
Version: 3.1.1b1
After commit 99fd437dee468609de8218f0eb3b16621fb6a9c9, users get:
Hardware -> PCI Cards:
This computer doesn't contain any PCI cards. If you installed PCI
cards, make sure they're properly installed.
Hardware -> Ethernet Cards
ethernet:
Type: Ethernet Controller
Bus: PCI
Vendor ID: 0x8086
Device ID: 0x100e
Subsystem Vendor ID: 0x1af4
Subsystem ID: 0x1100
Revision ID: 0x0003
BSD name: en0
Kext name: AppleIntel8254XEthernet.kext
Location: /System/Library/Extensions/...
Version: 3.1.1b1
Ethernet still works, but it's not showing up on the PCI bus, and it
no longer thinks it's plugged in to slot #2, as it used to before the
change.
To fix, append description for all occupied non hotpluggable PCI slots.
One need to be careful when doing this: VGA devices
are now described in SSDT, so we need to drop description from DSDT.
And ISA devices are used in DSDT so drop them from SSDT.
Reported-by: Gabriel L. Somlo <gsomlo@gmail.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Also update generated dsdt and pcihp hex dump files.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2014-02-04 19:43:47 +04:00
|
|
|
0x41,
|
2014-04-10 20:03:18 +04:00
|
|
|
0xd0,
|
|
|
|
0xa,
|
|
|
|
0x6,
|
acpi-build: append description for non-hotplug
As reported in
http://article.gmane.org/gmane.comp.emulators.qemu/253987
Mac OSX actually requires describing all occupied slots
in ACPI - even if hotplug isn't enabled.
I didn't expect this so I dropped description of all
non hotpluggable slots from ACPI.
As a result: before
commit 99fd437dee468609de8218f0eb3b16621fb6a9c9 (enable
hotplug for pci bridges), PCI cards show up in the "device tree" of OS X
(System Information). E.g., on MountainLion users have:
Hardware -> PCI Cards:
Card Type Driver Installed Slot
*ethernet Ethernet Controller Yes PCI Slot 2
pci8086,2934 USB UHC Yes PCI Slot 29
ethernet:
Type: Ethernet Controller
Driver Installed: Yes
MSI: No
Bus: PCI
Slot PCI Slot 2
Vendor ID: 0x8086
Device ID: 0x100e
Subsystem Vendor ID: 0x1af4
Subsystem ID: 0x1100
Revision ID: 0x0003
Hardware -> Ethernet Cards
ethernet:
Type: Ethernet Controller
Bus: PCI
Slot PCI Slot 2
Vendor ID: 0x8086
Device ID: 0x100e
Subsystem Vendor ID: 0x1af4
Subsystem ID: 0x1100
Revision ID: 0x0003
BSD name: en0
Kext name: AppleIntel8254XEthernet.kext
Location: /System/Library/Extensions/...
Version: 3.1.1b1
After commit 99fd437dee468609de8218f0eb3b16621fb6a9c9, users get:
Hardware -> PCI Cards:
This computer doesn't contain any PCI cards. If you installed PCI
cards, make sure they're properly installed.
Hardware -> Ethernet Cards
ethernet:
Type: Ethernet Controller
Bus: PCI
Vendor ID: 0x8086
Device ID: 0x100e
Subsystem Vendor ID: 0x1af4
Subsystem ID: 0x1100
Revision ID: 0x0003
BSD name: en0
Kext name: AppleIntel8254XEthernet.kext
Location: /System/Library/Extensions/...
Version: 3.1.1b1
Ethernet still works, but it's not showing up on the PCI bus, and it
no longer thinks it's plugged in to slot #2, as it used to before the
change.
To fix, append description for all occupied non hotpluggable PCI slots.
One need to be careful when doing this: VGA devices
are now described in SSDT, so we need to drop description from DSDT.
And ISA devices are used in DSDT so drop them from SSDT.
Reported-by: Gabriel L. Somlo <gsomlo@gmail.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Also update generated dsdt and pcihp hex dump files.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2014-02-04 19:43:47 +04:00
|
|
|
0x8,
|
|
|
|
0x5f,
|
|
|
|
0x43,
|
|
|
|
0x52,
|
|
|
|
0x53,
|
|
|
|
0x11,
|
|
|
|
0xd,
|
|
|
|
0xa,
|
|
|
|
0xa,
|
|
|
|
0x47,
|
|
|
|
0x1,
|
|
|
|
0x0,
|
|
|
|
0xaf,
|
|
|
|
0x0,
|
|
|
|
0xaf,
|
|
|
|
0x0,
|
|
|
|
0x20,
|
|
|
|
0x79,
|
|
|
|
0x0,
|
|
|
|
0x8,
|
|
|
|
0x5f,
|
|
|
|
0x53,
|
|
|
|
0x54,
|
|
|
|
0x41,
|
|
|
|
0xa,
|
|
|
|
0xb,
|
2013-07-24 19:56:04 +04:00
|
|
|
0x10,
|
2014-06-08 16:58:59 +04:00
|
|
|
0x45,
|
|
|
|
0xd,
|
2013-07-24 19:56:04 +04:00
|
|
|
0x5f,
|
|
|
|
0x47,
|
|
|
|
0x50,
|
|
|
|
0x45,
|
|
|
|
0x8,
|
|
|
|
0x5f,
|
|
|
|
0x48,
|
|
|
|
0x49,
|
|
|
|
0x44,
|
|
|
|
0xd,
|
|
|
|
0x41,
|
|
|
|
0x43,
|
|
|
|
0x50,
|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f,
|
|
|
|
0x4c,
|
|
|
|
0x30,
|
|
|
|
0x37,
|
|
|
|
0x0,
|
|
|
|
0x14,
|
|
|
|
0x6,
|
|
|
|
0x5f,
|
|
|
|
0x4c,
|
|
|
|
0x30,
|
|
|
|
0x38,
|
|
|
|
0x0,
|
|
|
|
0x14,
|
|
|
|
0x6,
|
|
|
|
0x5f,
|
|
|
|
0x4c,
|
|
|
|
0x30,
|
|
|
|
0x39,
|
|
|
|
0x0,
|
|
|
|
0x14,
|
|
|
|
0x6,
|
|
|
|
0x5f,
|
|
|
|
0x4c,
|
|
|
|
0x30,
|
|
|
|
0x41,
|
|
|
|
0x0,
|
|
|
|
0x14,
|
|
|
|
0x6,
|
|
|
|
0x5f,
|
|
|
|
0x4c,
|
|
|
|
0x30,
|
|
|
|
0x42,
|
|
|
|
0x0,
|
|
|
|
0x14,
|
|
|
|
0x6,
|
|
|
|
0x5f,
|
|
|
|
0x4c,
|
|
|
|
0x30,
|
|
|
|
0x43,
|
|
|
|
0x0,
|
|
|
|
0x14,
|
|
|
|
0x6,
|
|
|
|
0x5f,
|
|
|
|
0x4c,
|
|
|
|
0x30,
|
|
|
|
0x44,
|
|
|
|
0x0,
|
|
|
|
0x14,
|
|
|
|
0x6,
|
|
|
|
0x5f,
|
|
|
|
0x4c,
|
|
|
|
0x30,
|
|
|
|
0x45,
|
|
|
|
0x0,
|
|
|
|
0x14,
|
|
|
|
0x6,
|
|
|
|
0x5f,
|
|
|
|
0x4c,
|
|
|
|
0x30,
|
|
|
|
0x46,
|
|
|
|
0x0
|
|
|
|
};
|
2014-01-09 20:36:39 +04:00
|
|
|
static unsigned short piix_dsdt_applesmc_sta[] = {
|
acpi-build: append description for non-hotplug
As reported in
http://article.gmane.org/gmane.comp.emulators.qemu/253987
Mac OSX actually requires describing all occupied slots
in ACPI - even if hotplug isn't enabled.
I didn't expect this so I dropped description of all
non hotpluggable slots from ACPI.
As a result: before
commit 99fd437dee468609de8218f0eb3b16621fb6a9c9 (enable
hotplug for pci bridges), PCI cards show up in the "device tree" of OS X
(System Information). E.g., on MountainLion users have:
Hardware -> PCI Cards:
Card Type Driver Installed Slot
*ethernet Ethernet Controller Yes PCI Slot 2
pci8086,2934 USB UHC Yes PCI Slot 29
ethernet:
Type: Ethernet Controller
Driver Installed: Yes
MSI: No
Bus: PCI
Slot PCI Slot 2
Vendor ID: 0x8086
Device ID: 0x100e
Subsystem Vendor ID: 0x1af4
Subsystem ID: 0x1100
Revision ID: 0x0003
Hardware -> Ethernet Cards
ethernet:
Type: Ethernet Controller
Bus: PCI
Slot PCI Slot 2
Vendor ID: 0x8086
Device ID: 0x100e
Subsystem Vendor ID: 0x1af4
Subsystem ID: 0x1100
Revision ID: 0x0003
BSD name: en0
Kext name: AppleIntel8254XEthernet.kext
Location: /System/Library/Extensions/...
Version: 3.1.1b1
After commit 99fd437dee468609de8218f0eb3b16621fb6a9c9, users get:
Hardware -> PCI Cards:
This computer doesn't contain any PCI cards. If you installed PCI
cards, make sure they're properly installed.
Hardware -> Ethernet Cards
ethernet:
Type: Ethernet Controller
Bus: PCI
Vendor ID: 0x8086
Device ID: 0x100e
Subsystem Vendor ID: 0x1af4
Subsystem ID: 0x1100
Revision ID: 0x0003
BSD name: en0
Kext name: AppleIntel8254XEthernet.kext
Location: /System/Library/Extensions/...
Version: 3.1.1b1
Ethernet still works, but it's not showing up on the PCI bus, and it
no longer thinks it's plugged in to slot #2, as it used to before the
change.
To fix, append description for all occupied non hotpluggable PCI slots.
One need to be careful when doing this: VGA devices
are now described in SSDT, so we need to drop description from DSDT.
And ISA devices are used in DSDT so drop them from SSDT.
Reported-by: Gabriel L. Somlo <gsomlo@gmail.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Also update generated dsdt and pcihp hex dump files.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2014-02-04 19:43:47 +04:00
|
|
|
0x353
|
2014-01-09 20:36:39 +04:00
|
|
|
};
|