All of lore.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: Marcelo Tosatti <mtosatti@redhat.com>
Cc: Blue Swirl <blauwirbel@gmail.com>,
	qemu-devel@nongnu.org, Gleb Natapov <gleb@redhat.com>
Subject: [Qemu-devel] Re: PATCH: document QEMU<->ACPIBIOS PCI hotplug interface (v2)
Date: Tue, 21 Dec 2010 16:50:11 +0200	[thread overview]
Message-ID: <4D10BEA3.4010404@redhat.com> (raw)
In-Reply-To: <20101221144145.GB7315@amt.cnet>

On 12/21/2010 04:41 PM, Marcelo Tosatti wrote:
> Document how QEMU communicates with ACPI BIOS
> for PCI hotplug.
>
> Signed-off-by: Marcelo Tosatti<mtosatti@redhat.com>
>
> --- /dev/null	2010-12-14 09:23:48.414180082 -0200
> +++ qemu/docs/specs/acpi_pci_hotplug.txt	2010-12-20 15:00:26.000000000 -0200
> @@ -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):
> +-----------------------------------------
> +
> +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):
> +---------------------------------------------------------------
> +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):
> +-----------------------------------------------------
> +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):
> +----------------------------------------
> +
> +Used by ACPI BIOS _EJ0 method to request device removal. One bit per slot.
> +Reads return 0.
> +
> +PCI removability status (IO port 0xae0c-0xae0f):
> +-----------------------------------------------
> +
> +Used by ACPI BIOS _RMV method to indicate removability status to OS. One
> +bit per slot.
> +
> +

Do we support byte and word access to those ports, or just dword access?

With this documentation, I'm fine with the _RMV DSDT patch.

-- 
error compiling committee.c: too many arguments to function

  reply	other threads:[~2010-12-21 15:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-08 17:11 [Qemu-devel] acpi_piix4: expose no_hotplug attribute via i/o port Marcelo Tosatti
2010-12-20 17:09 ` [Qemu-devel] document QEMU<->ACPIBIOS PCI hotplug interface Marcelo Tosatti
2010-12-20 20:11   ` Blue Swirl
2010-12-21 14:39     ` Marcelo Tosatti
2010-12-21 14:41   ` [Qemu-devel] PATCH: document QEMU<->ACPIBIOS PCI hotplug interface (v2) Marcelo Tosatti
2010-12-21 14:50     ` Avi Kivity [this message]
2011-01-05 16:00 ` [Qemu-devel] Re: acpi_piix4: expose no_hotplug attribute via i/o port Michael S. Tsirkin
2011-01-05 16:02   ` Michael S. Tsirkin
2011-01-05 19:32 ` Michael S. Tsirkin
2011-01-06 18:48   ` Marcelo Tosatti

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D10BEA3.4010404@redhat.com \
    --to=avi@redhat.com \
    --cc=blauwirbel@gmail.com \
    --cc=gleb@redhat.com \
    --cc=mtosatti@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.