[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [patch 1/2] document QEMU<->ACPIBIOS PCI hotplug interface
From: |
Marcelo Tosatti |
Subject: |
[Qemu-devel] [patch 1/2] document QEMU<->ACPIBIOS PCI hotplug interface |
Date: |
Mon, 10 Jan 2011 16:55:02 -0200 |
User-agent: |
quilt/0.48-1 |
Document how QEMU communicates with ACPI BIOS for PCI hotplug.
Signed-off-by: Marcelo Tosatti <address@hidden>
Index: qemu/docs/specs/acpi_pci_hotplug.txt
===================================================================
--- /dev/null
+++ qemu/docs/specs/acpi_pci_hotplug.txt
@@ -0,0 +1,39 @@
+QEMU<->ACPI BIOS PCI hotplug interface
+--------------------------------------
+
+QEMU supports PCI hotplug via ACPI, for PCI bus 0. This document
+describes the interface between QEMU and the ACPI BIOS.
+
+ACPI GPE block (IO ports 0xafe0-0xafe3, byte access):
+-----------------------------------------
+
+Generic ACPI GPE block. Bit 1 (GPE.1) used to notify PCI hotplug/eject
+event to ACPI BIOS, via SCI interrupt.
+
+PCI slot injection notification pending (IO port 0xae00-0xae03, 4-byte access):
+---------------------------------------------------------------
+Slot injection notification pending. One bit per slot.
+
+Read by ACPI BIOS GPE.1 handler to notify OS of injection
+events.
+
+PCI slot removal notification (IO port 0xae04-0xae07, 4-byte access):
+-----------------------------------------------------
+Slot removal notification pending. One bit per slot.
+
+Read by ACPI BIOS GPE.1 handler to notify OS of removal
+events.
+
+PCI device eject (IO port 0xae08-0xae0b, 4-byte access):
+----------------------------------------
+
+Used by ACPI BIOS _EJ0 method to request device removal. One bit per slot.
+Reads return 0.
+
+PCI removability status (IO port 0xae0c-0xae0f, 4-byte access):
+-----------------------------------------------
+
+Used by ACPI BIOS _RMV method to indicate removability status to OS. One
+bit per slot.
+
+
- [Qemu-devel] [patch 0/2] [pci branch] configure pci slot removability through ACPI, Marcelo Tosatti, 2011/01/10
- [Qemu-devel] [patch 1/2] document QEMU<->ACPIBIOS PCI hotplug interface,
Marcelo Tosatti <=
- [Qemu-devel] [patch 2/2] acpi_piix4: expose no_hotplug attribute via i/o port, Marcelo Tosatti, 2011/01/10
- [Qemu-devel] Re: [patch 2/2] acpi_piix4: expose no_hotplug attribute via i/o port, Michael S. Tsirkin, 2011/01/10
- Re: [Qemu-devel] Re: [patch 2/2] acpi_piix4: expose no_hotplug attribute via i/o port, Marcelo Tosatti, 2011/01/11
- [Qemu-devel] [patch 0/2] [pci branch] configure pci slot removability through ACPI (v2), Marcelo Tosatti, 2011/01/11
- [Qemu-devel] [patch 2/2] acpi_piix4: expose no_hotplug attribute via i/o port, Marcelo Tosatti, 2011/01/11
- [Qemu-devel] [patch 1/2] document QEMU<->ACPIBIOS PCI hotplug interface, Marcelo Tosatti, 2011/01/11
- [Qemu-devel] Re: [patch 1/2] document QEMU<->ACPIBIOS PCI hotplug interface, Michael S. Tsirkin, 2011/01/17