From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41921) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XozzK-0007bX-FZ for qemu-devel@nongnu.org; Thu, 13 Nov 2014 14:23:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XozzD-0000yJ-Sy for qemu-devel@nongnu.org; Thu, 13 Nov 2014 14:23:26 -0500 Received: from mx1.redhat.com ([209.132.183.28]:59249) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XozzD-0000xm-KB for qemu-devel@nongnu.org; Thu, 13 Nov 2014 14:23:19 -0500 Message-ID: <5465050B.4070203@redhat.com> Date: Thu, 13 Nov 2014 20:22:51 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <20141030180216.GD31629@leverpostej> <5459F4CB.1000009@huawei.com> <20141111152932.GA25295@leverpostej> <20141111163101.GB23267@cbox> <20141111164807.GC25295@leverpostej> <20141111213312.GC19598@cbox> <20141112103854.GA28015@leverpostej> <546349F6.10300@redhat.com> <20141112120419.GE28015@leverpostej> <1415866226.25539.1.camel@nilsson.home.kraxel.org> <5464F590.5060507@linaro.org> In-Reply-To: <5464F590.5060507@linaro.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [Linaro-acpi] [RFC PATCH 0/7] hw/arm/virt: Dynamic ACPI v5.1 table generation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Al Stone , Gerd Hoffmann , Peter Maydell Cc: "Ian.Campbell@citrix.com" , "linaro-acpi@lists.linaro.org" , Claudio Fontana , QEMU Developers , "stefano.stabellini@citrix.com" , "tech@virtualopensystems.com" , Parth Dixit , Christoffer Dall On 13/11/2014 19:16, Al Stone wrote: >> > [root@fedora ~]# cat /proc/ioports >> > [ ... ] >> > 0600-063f : 0000:00:01.3 >> > 0600-0603 : ACPI PM1a_EVT_BLK >> > 0604-0605 : ACPI PM1a_CNT_BLK >> > 0608-060b : ACPI PM_TMR >> > 0700-070f : 0000:00:01.3 >> > 0700-0707 : piix4_smbus >> > [ ... ] > So this is problematic: the PM1a_EVT_BLK and PM1a_CNT_BLK should not > exist if hardware reduced mode ACPI is being used; the values in the > FADT should be zero so there should be no ioports (see section 5.2.9 > of the ACPI spec). If this is from an ARM platform, it _should_ be in > hardware reduced mode. QEMU will have to take that into account. No, this is x86. As mentioned elsewhere in the thread, we'd have to add a GPIO controller (e.g. PL061) to mach-virt, to replace GPE. Paolo