From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55103) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQtkl-0001fT-Ck for qemu-devel@nongnu.org; Wed, 03 Feb 2016 04:29:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQtki-00078C-63 for qemu-devel@nongnu.org; Wed, 03 Feb 2016 04:29:35 -0500 Received: from mx1.redhat.com ([209.132.183.28]:42088) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQtki-000784-0Y for qemu-devel@nongnu.org; Wed, 03 Feb 2016 04:29:32 -0500 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (Postfix) with ESMTPS id 784C0C09FAA6 for ; Wed, 3 Feb 2016 09:29:31 +0000 (UTC) Message-ID: <1454491768.4967.56.camel@redhat.com> From: Gerd Hoffmann Date: Wed, 03 Feb 2016 10:29:28 +0100 In-Reply-To: <20160202200845.5260.64183.stgit@gimli.home> References: <20160202033735.29810.41508.stgit@gimli.home> <20160202200845.5260.64183.stgit@gimli.home> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 Subject: Re: [Qemu-devel] [RFC PATCH v2 7/7] vfio/pci: Find and expose Intel IGD OpRegion List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alex Williamson Cc: qemu-devel@nongnu.org On Di, 2016-02-02 at 13:09 -0700, Alex Williamson wrote: > This is provided via a device specific region, look for it on Intel > VGA class devices. Our default mechanism to expose this to the BIOS > is via fw_cfg where it's expected that the BIOS will copy the data > into a reserved RAM area and update the ASL Storage register to > reference the GPA of that buffer. > We also support directly mapping > the OpRegion through to the host in response to the ASL Storage > register write, which makes the data "live" and potentially provides > write access should the underlying vfio region support writes. This should better be splitted into a separate patch. > This > option is automatically enabled if we somehow don't support fw_cfg (is > this a good idea?). I think this can't happen. And even in case it can: we have bigger problems than the opregion then. cheers, Gerd