From patchwork Mon Nov 14 22:41:44 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anthony Liguori X-Patchwork-Id: 125626 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [140.186.70.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 93A30B721A for ; Tue, 15 Nov 2011 09:43:28 +1100 (EST) Received: from localhost ([::1]:59311 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RQ5FJ-0007Sh-1C for incoming@patchwork.ozlabs.org; Mon, 14 Nov 2011 17:43:21 -0500 Received: from eggs.gnu.org ([140.186.70.92]:52561) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RQ5F6-00074n-8m for qemu-devel@nongnu.org; Mon, 14 Nov 2011 17:43:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RQ5F4-0006va-L2 for qemu-devel@nongnu.org; Mon, 14 Nov 2011 17:43:08 -0500 Received: from e32.co.us.ibm.com ([32.97.110.150]:55526) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RQ5F4-0006sn-FV for qemu-devel@nongnu.org; Mon, 14 Nov 2011 17:43:06 -0500 Received: from /spool/local by e32.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 14 Nov 2011 15:42:49 -0700 Received: from d03relay01.boulder.ibm.com ([9.17.195.226]) by e32.co.us.ibm.com ([192.168.1.132]) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Mon, 14 Nov 2011 15:42:00 -0700 Received: from d03av04.boulder.ibm.com (d03av04.boulder.ibm.com [9.17.195.170]) by d03relay01.boulder.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id pAEMfw9i230950 for ; Mon, 14 Nov 2011 15:41:58 -0700 Received: from d03av04.boulder.ibm.com (loopback [127.0.0.1]) by d03av04.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id pAEMftWO028387 for ; Mon, 14 Nov 2011 15:41:55 -0700 Received: from titi.austin.rr.com (sig-9-65-38-167.mts.ibm.com [9.65.38.167]) by d03av04.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id pAEMfpJP027976; Mon, 14 Nov 2011 15:41:54 -0700 From: Anthony Liguori To: qemu-devel@nongnu.org Date: Mon, 14 Nov 2011 16:41:44 -0600 Message-Id: <1321310505-27845-5-git-send-email-aliguori@us.ibm.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1321310505-27845-1-git-send-email-aliguori@us.ibm.com> References: <1321310505-27845-1-git-send-email-aliguori@us.ibm.com> x-cbid: 11111422-3270-0000-0000-000001BD90C1 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 32.97.110.150 Cc: Anthony Liguori Subject: [Qemu-devel] [PATCH 4/5] docs: convert acpi_pci_hotplug to markdown X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: Anthony Liguori --- docs/specs/acpi_pci_hotplug.md | 38 ++++++++++++++++++++++++++++++++++++++ docs/specs/acpi_pci_hotplug.txt | 37 ------------------------------------- 2 files changed, 38 insertions(+), 37 deletions(-) create mode 100644 docs/specs/acpi_pci_hotplug.md delete mode 100644 docs/specs/acpi_pci_hotplug.txt diff --git a/docs/specs/acpi_pci_hotplug.md b/docs/specs/acpi_pci_hotplug.md new file mode 100644 index 0000000..9621187 --- /dev/null +++ b/docs/specs/acpi_pci_hotplug.md @@ -0,0 +1,38 @@ +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. diff --git a/docs/specs/acpi_pci_hotplug.txt b/docs/specs/acpi_pci_hotplug.txt deleted file mode 100644 index f0f74a7..0000000 --- a/docs/specs/acpi_pci_hotplug.txt +++ /dev/null @@ -1,37 +0,0 @@ -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.