From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:52271) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RwsHh-0006U2-6V for qemu-devel@nongnu.org; Mon, 13 Feb 2012 04:33:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RwsHX-0008OY-4X for qemu-devel@nongnu.org; Mon, 13 Feb 2012 04:33:21 -0500 Received: from mx1.redhat.com ([209.132.183.28]:30746) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RwsHW-0008OM-UA for qemu-devel@nongnu.org; Mon, 13 Feb 2012 04:33:11 -0500 Date: Mon, 13 Feb 2012 11:33:08 +0200 From: "Michael S. Tsirkin" Message-ID: <20120213093223.GA26979@redhat.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: [Qemu-devel] [PATCH RFC] seabios: add OSHP method stub List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: seabios@seabios.org Cc: Kevin Wolf , kvm@vger.kernel.org, qemu-devel@nongnu.org, Isaku Yamahata , Avi Kivity To allow guests to load the native SHPC driver for a bridge, we must declare an OSHP method for the appropriate device which lets the OS take control of the SHPC. As we don't access SHPC at the moment, we don't need to do anything - just report success. Signed-off-by: Michael S. Tsirkin --- diff --git a/src/ssdt-pcihp.dsl b/src/ssdt-pcihp.dsl index 442e7a8..3f50169 100644 --- a/src/ssdt-pcihp.dsl +++ b/src/ssdt-pcihp.dsl @@ -24,6 +24,7 @@ DefinitionBlock ("ssdt-pcihp.aml", "SSDT", 0x01, "BXPC", "BXSSDTPCIHP", 0x1) ACPI_EXTRACT_METHOD_STRING aml_ej0_name \ Method (_EJ0, 1) { Return(PCEJ(0x##slot)) } \ Name (_SUN, 0x##slot) \ + Method (OSHP, 1) { Return(0x0) } \ } hotplug_slot(03)