From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51845) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHCcj-00041V-Rm for qemu-devel@nongnu.org; Wed, 04 Sep 2013 08:55:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VHCce-00057M-W6 for qemu-devel@nongnu.org; Wed, 04 Sep 2013 08:55:53 -0400 Message-ID: <52272DCF.5050804@suse.de> Date: Wed, 04 Sep 2013 14:55:43 +0200 From: =?ISO-8859-1?Q?Andreas_F=E4rber?= MIME-Version: 1.0 References: <1378285521-3230-1-git-send-email-afaerber@suse.de> <1378285521-3230-3-git-send-email-afaerber@suse.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [RFC qom-cpu 02/41] cpu: Turn cpu_mmu_index() into a CPUClass hook List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jia Liu , "qemu-devel@nongnu.org" Cc: Peter Maydell , Anthony Green , Alexander Graf , Blue Swirl , Max Filippov , Michael Walle , qemu-ppc , Paolo Bonzini , "Edgar E. Iglesias" , Guan Xuetao , Aurelien Jarno , Richard Henderson Am 04.09.2013 14:42, schrieb Jia Liu: > On Wed, Sep 4, 2013 at 5:04 PM, Andreas F=E4rber wro= te: >> Default to 0. >> >> Signed-off-by: Andreas F=E4rber Paolo has indicated that patches 2 and 3 shouldn't be applied since they touch on TCG hot paths, replacing an inline function with a dispatched one, thereby possibly leading to performance regressions. Unfortunately that still means for me that I need to write a boilerplate inline function returning MMU index 0 for each of my new microcontroller targets... :/ Andreas --=20 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=FCrnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend=F6rffer; HRB 16746 AG N=FCrnbe= rg