From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hollis Blanchard Subject: Re: RFC/patch 2/3 portability: move x86 emulation and mmio device hook to x86.c Date: Wed, 31 Oct 2007 10:32:49 -0500 Message-ID: <1193844770.31610.9.camel@basalt> References: <1193763784.7800.17.camel@cotte.boeblingen.de.ibm.com> <1193766261.7800.45.camel@cotte.boeblingen.de.ibm.com> <1193767959.26183.26.camel@basalt> <4727CB52.8040501@qumranet.com> Reply-To: Hollis Blanchard Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: "kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org" , Carsten Otte , kvm-ppc-devel , "Zhang, Xiantao" To: Avi Kivity Return-path: In-Reply-To: <4727CB52.8040501-atKUWr5tajBWk0Htik3J/w@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org On Wed, 2007-10-31 at 02:24 +0200, Avi Kivity wrote: > > For x86 there are two kinds of mmio devices: one is the expected > system-wide mmio, and the other is mmio that depends not only on the > address, but also on which cpu originated the request. This type is > only needed for the local apic. > > Is the second type also useful for ppc? Actually yes. At least OpenPIC (one of a variety of interrupt controllers used on PowerPC systems) has per-CPU registers: A copy of each of these registers will be available to each CPU at the same physical address. -- Hollis Blanchard IBM Linux Technology Center ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/