From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:35690) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QNTWv-0003oQ-04 for qemu-devel@nongnu.org; Fri, 20 May 2011 13:30:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QNTWt-0001Zu-W3 for qemu-devel@nongnu.org; Fri, 20 May 2011 13:30:28 -0400 Received: from mail-qw0-f45.google.com ([209.85.216.45]:61943) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QNTWt-0001Zk-Tv for qemu-devel@nongnu.org; Fri, 20 May 2011 13:30:27 -0400 Received: by qwj8 with SMTP id 8so2304991qwj.4 for ; Fri, 20 May 2011 10:30:27 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <4DD4D53F.1090108@web.de> References: <4DD3C5B9.1080908@redhat.com> <4DD3D236.90708@siemens.com> <4DD3D95E.2060105@redhat.com> <4DD3E1B3.3020405@siemens.com> <4DD3E610.1080201@siemens.com> <4DD4199E.2000702@codemonkey.ws> <4DD41DBB.2020108@web.de> <20110519082644.GC28399@redhat.com> <4DD4D53F.1090108@web.de> From: Blue Swirl Date: Fri, 20 May 2011 20:30:07 +0300 Message-ID: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [RFC] Memory API List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka Cc: Peter Maydell , Avi Kivity , Gleb Natapov , qemu-devel On Thu, May 19, 2011 at 11:30 AM, Jan Kiszka wrote: > On 2011-05-19 10:26, Gleb Natapov wrote: >> On Wed, May 18, 2011 at 09:27:55PM +0200, Jan Kiszka wrote: >>>> if an I/O is to the APIC page, >>>> =C2=A0 =C2=A0it's handled by the APIC >>> >>> That's not that simple. We need to tell apart: >>> =C2=A0- if a cpu issued the request, and which one =3D> forward to APIC >> And cpu mode may affect where access is forwarded to. If cpu is in SMM >> mode access to frame buffer may be forwarded to a memory (depends on >> chipset configuration). > > So we have a second use case for CPU-local I/O regions? SuperSparc MXCC (memory cache controller) should be CPU specific. Currently we handle this for accesses via ASI, but the registers could be mapped with MMU and then the ASI-less access would not be handled. Another case would be the cache-as-ram mode for some x86 CPUs, which Coreboot people would like to see IIRC.