From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45426) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YF6Qz-00016P-JY for qemu-devel@nongnu.org; Sat, 24 Jan 2015 14:31:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YF6Qv-0006dH-KJ for qemu-devel@nongnu.org; Sat, 24 Jan 2015 14:31:53 -0500 Received: from mail-lb0-f182.google.com ([209.85.217.182]:43036) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YF6Qv-0006d1-EA for qemu-devel@nongnu.org; Sat, 24 Jan 2015 14:31:49 -0500 Received: by mail-lb0-f182.google.com with SMTP id l4so2442466lbv.13 for ; Sat, 24 Jan 2015 11:31:47 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: <1422037228-5363-1-git-send-email-peter.maydell@linaro.org> <1422037228-5363-5-git-send-email-peter.maydell@linaro.org> From: Peter Maydell Date: Sat, 24 Jan 2015 19:31:27 +0000 Message-ID: Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] [PATCH 04/11] target-arm: Define correct mmu_idx values and pass them in TB flags 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 24 January 2015 at 16:36, Greg Bellows wrote: > I understand what the code is doing, my point is that you rely on > arm_is_secure_below_el3 to deal with EL2 when you could have just as easily > checked for el<2. Not a big deal though. Well, I rely on the architecture to tell me that it isn't possible for arm_is_secure_below_el3 to be true if we're in EL2. Otherwise there'd be a bug in that function... -- PMM