From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:36763) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uaovt-00060y-BP for qemu-devel@nongnu.org; Fri, 10 May 2013 11:08:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uaovr-0001yX-D9 for qemu-devel@nongnu.org; Fri, 10 May 2013 11:08:29 -0400 Message-ID: <518D0D5C.2030006@redhat.com> Date: Fri, 10 May 2013 17:08:12 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1368196799-19982-1-git-send-email-afaerber@suse.de> <87obcizxgk.fsf@codemonkey.ws> In-Reply-To: <87obcizxgk.fsf@codemonkey.ws> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH for-1.5?] target-ppc: Drop unnecessary dynamic cast in ppc_env_get_cpu() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Alexander Graf , PowerPC , =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= , aurelien@aurel32.net, qemu-devel@nongnu.org Il 10/05/2013 17:06, Anthony Liguori ha scritto: > Andreas F=C3=A4rber writes: >=20 >> A transition from CPUPPCState to PowerPCCPU can be considered safe, >> just like PowerPCCPU::env access in the opposite direction. >> >> This should slightly improve interrupt performance. >> >> Reported-by: Anthony Liguori >> Signed-off-by: Andreas F=C3=A4rber >=20 > Another option would be to leave it and do something like: ... patch 3 in my series. ;) Paolo