From patchwork Wed Jul 31 16:07:00 2019 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: 1139891 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="sixXPJUt"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 45zJmX46WLz9s00 for ; Thu, 1 Aug 2019 02:29:48 +1000 (AEST) Received: from localhost ([::1]:42788 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hsrU2-0007jE-5n for incoming@patchwork.ozlabs.org; Wed, 31 Jul 2019 12:29:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45175) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hsrPm-0004xz-8k for qemu-devel@nongnu.org; Wed, 31 Jul 2019 12:25:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hsrPl-0000Lu-8F for qemu-devel@nongnu.org; Wed, 31 Jul 2019 12:25:22 -0400 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]:51711) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hsrPl-0000KK-1k for qemu-devel@nongnu.org; Wed, 31 Jul 2019 12:25:21 -0400 Received: by mail-wm1-x332.google.com with SMTP id 207so61496622wma.1 for ; Wed, 31 Jul 2019 09:25:20 -0700 (PDT) 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=2kztZJN5eNMXPYR/yV/k5e4rXASSvPn0RzjkaYHqSic=; b=sixXPJUt+07ZX+aqJ0Iamag0fuRCtaFGtRLLI379yh6hh0lEr3NlNM6Huje/cHNt5R w0vaO1Eh5HLlUeqq7v7B39sbyO0FBCzMlZJ/D+RMTVpYu19viQeBC7xbePA6yxRQFryF HO6TxmIBAU/dXDQvIItN9tklOZDJKCVu3exs9TgGE3SbZ3E8O+LJNVM1agFyqLloPO5D bP3dfo46ok0XPo8yjiyFcvnUoarKzTKiF/ZAvkyoAW/7fHXIMnUw3OW9KhO3WJl6kHB6 tBwX/0t/oOfhbu4bs6PxdtaDS7BW9wN4FQ13OZXicKsX8HZn5QYWSLaMm/JLTs2lQ0qU 6O4w== 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=2kztZJN5eNMXPYR/yV/k5e4rXASSvPn0RzjkaYHqSic=; b=Yz0GNHR6Mgfeaaof4tF5PQ3p14/BVPQx9rT+bCHK80OSsfR0plftPXVzM76z22Ivy0 Doxg4+JBAMQzoyzxnndeiAwKmBkavy6nUcVfZxsMJo76aYRGafIt9Boi0dFn2ujjnpq/ dvnPzzOTOYJ0Fo8ZQVJQCpsS9IXLoDg8SGkrJOGfC/z+N2kJrxaOMG78qANcYTA6o1X2 G0vDzzsHNAXNGsYHT2/vVwztytGurPQ6qLUrRLW9T8lzsdL6VK08wZEb/DLcwigQnqNv Fn+cgt2XFo59VGLamqzhYl4ysr0O9UiJ5yoleiNA4nqWn/DdxWQ8eQ2Ctrtu5re/20zL qmGw== X-Gm-Message-State: APjAAAXfb2DjJzeSsqolAtIBrf+R9YpnniTRCseDn+H66Sqm0EUNCUxD QoRuu5cnfyziX9JnT8cg5djq+g== X-Google-Smtp-Source: APXvYqzcsxWt6zX0whmLEwx4gsxEE3TISt51tyMlNk+NzLuOD8yk7s2AmdDGh6/pHdlIeFK+RlChng== X-Received: by 2002:a1c:c78d:: with SMTP id x135mr104527300wmf.82.1564590318914; Wed, 31 Jul 2019 09:25:18 -0700 (PDT) Received: from zen.linaroharston ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id y16sm149475699wrg.85.2019.07.31.09.25.14 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 31 Jul 2019 09:25:16 -0700 (PDT) Received: from zen.linaroharston. (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id C0FC31FFBA; Wed, 31 Jul 2019 17:07:22 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Date: Wed, 31 Jul 2019 17:07:00 +0100 Message-Id: <20190731160719.11396-36-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190731160719.11396-1-alex.bennee@linaro.org> References: <20190731160719.11396-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::332 Subject: [Qemu-devel] [PATCH v4 35/54] target/hppa: fetch code with translator_ld X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Richard Henderson , aaron@os.amperecomputing.com, cota@braap.org, bobby.prani@gmail.com, =?utf-8?q?Alex_Benn=C3=A9e?= , Richard Henderson Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: "Emilio G. Cota" Signed-off-by: Emilio G. Cota Reviewed-by: Richard Henderson Signed-off-by: Alex Bennée --- target/hppa/translate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/hppa/translate.c b/target/hppa/translate.c index 188fe688cbe..36a784e2932 100644 --- a/target/hppa/translate.c +++ b/target/hppa/translate.c @@ -4217,7 +4217,7 @@ static void hppa_tr_translate_insn(DisasContextBase *dcbase, CPUState *cs) { /* Always fetch the insn, even if nullified, so that we check the page permissions for execute. */ - uint32_t insn = cpu_ldl_code(env, ctx->base.pc_next); + uint32_t insn = translator_ldl(env, ctx->base.pc_next); /* Set up the IA queue for the next insn. This will be overwritten by a branch. */