From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59854) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRijP-0007Bx-Of for qemu-devel@nongnu.org; Fri, 05 Feb 2016 10:55:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRijL-0000XO-P4 for qemu-devel@nongnu.org; Fri, 05 Feb 2016 10:55:35 -0500 Received: from mail-vk0-x22d.google.com ([2607:f8b0:400c:c05::22d]:33190) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRijL-0000XG-Ip for qemu-devel@nongnu.org; Fri, 05 Feb 2016 10:55:31 -0500 Received: by mail-vk0-x22d.google.com with SMTP id e64so59471406vkg.0 for ; Fri, 05 Feb 2016 07:55:31 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <87k2mjnta8.fsf@linaro.org> References: <1454506721-11843-1-git-send-email-peter.maydell@linaro.org> <1454506721-11843-5-git-send-email-peter.maydell@linaro.org> <87k2mjnta8.fsf@linaro.org> From: Peter Maydell Date: Fri, 5 Feb 2016 15:55:11 +0000 Message-ID: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 4/7] target-arm: Update arm_generate_debug_exceptions() to handle EL2/EL3 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?B?QWxleCBCZW5uw6ll?= Cc: "Edgar E. Iglesias" , qemu-arm , QEMU Developers , Patch Tracking On 5 February 2016 at 14:09, Alex Benn=C3=A9e wrot= e: > > Peter Maydell writes: >> @@ -1767,6 +1765,14 @@ static inline int arm_debug_target_el(CPUARMState= *env) >> >> static inline bool aa64_generate_debug_exceptions(CPUARMState *env) >> { >> + if (arm_is_secure(env)) { >> + /* MDCR_EL3.SDD disables debug events from Secure state */ > > Is it worth commenting that BRK still works? This is true for all the checks made by this family of functions so if we were going to say anything about BRK then this would not be the right spot for it. thanks -- PMM