From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:47602) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QOAp1-0001E9-Tl for qemu-devel@nongnu.org; Sun, 22 May 2011 11:44:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QOAp1-0005dv-4q for qemu-devel@nongnu.org; Sun, 22 May 2011 11:44:03 -0400 Received: from mail-yx0-f173.google.com ([209.85.213.173]:56903) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QOAp1-0005dr-0A for qemu-devel@nongnu.org; Sun, 22 May 2011 11:44:03 -0400 Received: by yxk8 with SMTP id 8so2142776yxk.4 for ; Sun, 22 May 2011 08:44:02 -0700 (PDT) Message-ID: <4DD92F40.8010405@codemonkey.ws> Date: Sun, 22 May 2011 10:44:00 -0500 From: Anthony Liguori MIME-Version: 1.0 References: <1305814352-15044-1-git-send-email-avi@redhat.com> <1305814352-15044-2-git-send-email-avi@redhat.com> <4DD580FD.2030409@codemonkey.ws> <4DD6331E.8000105@redhat.com> <4DD67563.9080803@twiddle.net> <4DD67B2F.5080907@codemonkey.ws> <4DD8AF53.7020206@redhat.com> In-Reply-To: <4DD8AF53.7020206@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC v1] Add declarations for hierarchical memory region API List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: qemu-devel@nongnu.org, kvm@vger.kernel.org, Richard Henderson On 05/22/2011 01:38 AM, Avi Kivity wrote: > On 05/20/2011 05:31 PM, Anthony Liguori wrote: >>> Several alpha system chips MCE when accessed with incorrect sizes. >>> E.g. only 64-bit accesses are allowed. >> >> >> But is this a characteristic of devices or is this a characteristic of >> the chipset/CPU? > > The chipset is modelled by a MemoryRegion too. > >> >> At any rate, I'm fairly sure it doesn't belong in the MemoryRegion >> structure. >> > > Since it isn't a global property, where does it belong? The chipset should have an intercept in the dispatch path that enforces this (this assumes hierarchical dispatch). Regards, Anthony Liguori >