From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34214) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XJgwF-0001Uo-3t for qemu-devel@nongnu.org; Tue, 19 Aug 2014 06:46:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XJgwA-0005lq-AV for qemu-devel@nongnu.org; Tue, 19 Aug 2014 06:46:51 -0400 Received: from mail-la0-f52.google.com ([209.85.215.52]:58277) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XJgw9-0005lf-QM for qemu-devel@nongnu.org; Tue, 19 Aug 2014 06:46:46 -0400 Received: by mail-la0-f52.google.com with SMTP id b17so5734132lan.11 for ; Tue, 19 Aug 2014 03:46:44 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <1407500294-10804-1-git-send-email-peter.maydell@linaro.org> <1407500294-10804-10-git-send-email-peter.maydell@linaro.org> <20140819095617.GG13728@toto> From: Peter Maydell Date: Tue, 19 Aug 2014 11:46:23 +0100 Message-ID: Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] [PATCH 09/11] target-arm: Implement ARMv8 single-step handling for A64 code List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Edgar E. Iglesias" Cc: QEMU Developers , David Long On 19 August 2014 11:25, Peter Maydell wrote: > On 19 August 2014 10:56, Edgar E. Iglesias wrote: >> On Fri, Aug 08, 2014 at 01:18:12PM +0100, Peter Maydell wrote: >>> --- a/target-arm/cpu.h >>> +++ b/target-arm/cpu.h >>> @@ -1211,6 +1211,10 @@ static inline bool arm_singlestep_active(CPUARMState *env) >>> #define ARM_TBFLAG_AA64_EL_MASK (0x3 << ARM_TBFLAG_AA64_EL_SHIFT) >>> #define ARM_TBFLAG_AA64_FPEN_SHIFT 2 >>> #define ARM_TBFLAG_AA64_FPEN_MASK (1 << ARM_TBFLAG_AA64_FPEN_SHIFT) >>> +#define ARM_TBFLAG_AA64_SS_ACTIVE_SHIFT 3 >>> +#define ARM_TBFLAG_AA64_SS_ACTIVE_MASK (1 << ARM_TBFLAG_AA64_SS_ACTIVE_SHIFT) >>> +#define ARM_TBFLAG_AA64_PSTATE_SS_SHIFT 3 >>> +#define ARM_TBFLAG_AA64_PSTATE_SS_MASK (1 << ARM_TBFLAG_AA64_PSTATE_SS_SHIFT) >> >> Shouldn't these shifts/masks differ? > > Oops. Yes, they certainly should. The fix is just a simple s/3/4/ for the PSTATE_SS_SHIFT define. Does anybody want a retransmit of the series for this one-liner? thanks -- PMM