From patchwork Tue Mar 7 15:50:53 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 95011 Delivered-To: patch@linaro.org Received: by 10.140.82.71 with SMTP id g65csp1954334qgd; Tue, 7 Mar 2017 08:11:23 -0800 (PST) X-Received: by 10.31.179.73 with SMTP id c70mr539224vkf.81.1488903083609; Tue, 07 Mar 2017 08:11:23 -0800 (PST) Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id b29si205728uac.162.2017.03.07.08.11.23 for (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 07 Mar 2017 08:11:23 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:51438 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1clHhp-0003Rs-5I for patch@linaro.org; Tue, 07 Mar 2017 11:11:21 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45895) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1clHO9-0002Z1-MA for qemu-devel@nongnu.org; Tue, 07 Mar 2017 10:51:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1clHO6-0005sB-VU for qemu-devel@nongnu.org; Tue, 07 Mar 2017 10:51:01 -0500 Received: from mail-wm0-x22c.google.com ([2a00:1450:400c:c09::22c]:36336) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1clHO6-0005rv-OM for qemu-devel@nongnu.org; Tue, 07 Mar 2017 10:50:58 -0500 Received: by mail-wm0-x22c.google.com with SMTP id n11so93217227wma.1 for ; Tue, 07 Mar 2017 07:50:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=u76TdsZFGC5KIw55mGuldq9tX12uX6Lept7b4raDbmo=; b=SLXTGDBnPXCI/rLAmR1hjG2j0fw91rRffThy5WQIhJbWqZekjqirLrFtiC8fldPuZT 2WZUV1r7xdyHoF/l7KymFpaX5GIgWRh/6l6Nikjj5Ypo/7EyjRCKu7cn6kpcyksDDnZa AgK/XYZyr3xPiSLAqQN4f4y8YEkOrAtcwwcoE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=u76TdsZFGC5KIw55mGuldq9tX12uX6Lept7b4raDbmo=; b=Se2HRQRp4Jt94qK8vn8l+ij1u09zznaAev7MCp2BEOQwi3SUztzVKtE3sN60+Hrv7o upaEtRwI+wsvkoyImdu+AkxSn0zUssijF/RyRjUTtAkhXs7yNpxjLVHVSVGq0teNEBOY uJ3K5Cfj7HjIuqiFwmQS6DVq60SsFCH00TN5/SO5ruppA3Dm0li5b6JRQrh/oJfsxWhY xDBSW+e/PoQduN9Sve3GMzXXeHlS32bP2EoZjViiiEXrrKAqEhX0WvfdK5jCB7oplNNc ETPmDhO4plYkLnq/kj36BmdlcTb79BAvdtvbsgg4SQCyTuEBYbyI4WYGNQLro1kXstdA lzgg== X-Gm-Message-State: AMke39nN+ORczvVQrpsjN3Y9TpOzfIepdPtvplvaCK3w8RUrQhwchDBZmmuEt+z/aa3XkjMj X-Received: by 10.28.59.193 with SMTP id i184mr1503898wma.97.1488901857679; Tue, 07 Mar 2017 07:50:57 -0800 (PST) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id z88sm497381wrb.26.2017.03.07.07.50.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 Mar 2017 07:50:53 -0800 (PST) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 327093E3034; Tue, 7 Mar 2017 15:50:55 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org, rth@twiddle.net, pbonzini@redhat.com Date: Tue, 7 Mar 2017 15:50:53 +0000 Message-Id: <20170307155054.5833-11-alex.bennee@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170307155054.5833-1-alex.bennee@linaro.org> References: <20170307155054.5833-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::22c Subject: [Qemu-devel] [PATCH v3 10/11] target/arm/helper: make it clear the EC field is also in hex X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mttcg@listserver.greensocs.com, nikunj@linux.vnet.ibm.com, a.rigo@virtualopensystems.com, qemu-devel@nongnu.org, cota@braap.org, "open list:ARM" , bobby.prani@gmail.com, =?utf-8?q?Alex_Benn=C3=A9e?= , fred.konrad@greensocs.com Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" ..just like the rest of the displayed ESR register. Otherwise people might scratch their heads if a not obviously hex number is displayed for the EC field. Signed-off-by: Alex Bennée Reviewed-by: Peter Maydell Reviewed-by: KONRAD Frederic --- target/arm/helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.11.0 Reviewed-by: Philippe Mathieu-Daudé diff --git a/target/arm/helper.c b/target/arm/helper.c index 3f4211b572..76b608f0ba 100644 --- a/target/arm/helper.c +++ b/target/arm/helper.c @@ -6857,7 +6857,7 @@ void arm_cpu_do_interrupt(CPUState *cs) new_el); if (qemu_loglevel_mask(CPU_LOG_INT) && !excp_is_internal(cs->exception_index)) { - qemu_log_mask(CPU_LOG_INT, "...with ESR %x/0x%" PRIx32 "\n", + qemu_log_mask(CPU_LOG_INT, "...with ESR 0x%x/0x%" PRIx32 "\n", env->exception.syndrome >> ARM_EL_EC_SHIFT, env->exception.syndrome); }