From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39811) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGCIs-0004l0-Kz for qemu-devel@nongnu.org; Tue, 27 Jan 2015 15:00:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YGCIn-00070P-Gn for qemu-devel@nongnu.org; Tue, 27 Jan 2015 15:00:02 -0500 Received: from mail-la0-f41.google.com ([209.85.215.41]:56174) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGCIn-00070F-Al for qemu-devel@nongnu.org; Tue, 27 Jan 2015 14:59:57 -0500 Received: by mail-la0-f41.google.com with SMTP id gm9so15354482lab.0 for ; Tue, 27 Jan 2015 11:59:56 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: <1422037228-5363-1-git-send-email-peter.maydell@linaro.org> <1422037228-5363-10-git-send-email-peter.maydell@linaro.org> From: Peter Maydell Date: Tue, 27 Jan 2015 19:59:36 +0000 Message-ID: Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] [PATCH 09/11] target-arm: Use mmu_idx in get_phys_addr() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Greg Bellows Cc: "Edgar E. Iglesias" , Andrew Jones , =?UTF-8?B?QWxleCBCZW5uw6ll?= , QEMU Developers , Patch Tracking On 27 January 2015 at 19:49, Greg Bellows wrote: > On Tue, Jan 27, 2015 at 12:12 PM, Peter Maydell > wrote: >> g_assert_not_reached(), but it didn't seem worth cluttering >> the switch with a bunch of extra labels just to assert that >> they weren't reachable. >> > > I see how it could clutter things, but given that the routine is generic we > probably should just like we do in regime_el(). Not a big deal, so I'll add them, but the routine isn't generic -- it's purely a local utility routine for the benefit of the get_phys_addr family of functions and not intended to be called from elsewhere. -- PMM