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: 170186 Delivered-To: patch@linaro.org Received: by 2002:a92:512:0:0:0:0:0 with SMTP id q18csp4237116ile; Wed, 31 Jul 2019 09:30:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqyg45GOp5fTIyy2jdii5j784i5y/LttAeWrUCyLaYFnGg14VQjz3gaJnVFAEMIXyXsD0sgU X-Received: by 2002:a37:6ac3:: with SMTP id f186mr79621510qkc.281.1564590614686; Wed, 31 Jul 2019 09:30:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564590614; cv=none; d=google.com; s=arc-20160816; b=zU3ePkCghdLn9Yq9g30WlveN8CPvVnU9ZkY64nDaYBev0I62Eq2UIjmS9I2bfifyHK PN8K3cCOKMdZCFh4l+YYGEuDPTxE/2MlYJruDbsWOKe6nQM5dUP3Au7WtsbteAChZBnE aOy8yXtQEzNzJxw7EtWeptpyey7yxoUgtXyHJXULPJqVU+pWuLK1tYTMjc2sGtUkNcxg 7GcU+pSA638HbuufFm1KI+eIyNnbf3R98OV3iLGirrTe67+BK2Ewx6AjQ80uNtjZPWIb 06xcvkHG9L9AE7I0psq2pUUmE8C/O78YLnEtDL96E/a6Ltu/IAyJCAnqYUchI8fGUwVp lifQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature; bh=2kztZJN5eNMXPYR/yV/k5e4rXASSvPn0RzjkaYHqSic=; b=sLiZQGuYDZpushvQ3IcTuMoPPsG91DdvldoXcGVkiosbL8S+qCLBy5SKrr8uK6uOI1 +4KfzmYx1luM1asOCf794ZQC942eNO6IJ2JcPjCQ7KAySCKJDHPFjbQzxVSMz1urxKwf U+vQghbkClx/qa01GdeVwuNkxXTxIOnnhUiIobve9FgBTKz0Jr2ri/ydfDINXs9NCtPe aLTOaFkZE351uQds6Jb8qWij2py9hY/XpFqHlWYW0wMfzPcUs4avbRWXOo7XzpLhSf6j 4gU9SYtFmj9I7DCa7oGWpD5JmcfaynliWIhyRW8WH9gEbEYUX0iYmbRqwase04xMJ6n0 XtAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=sixXPJUt; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 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 Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id g37si37467660qvd.137.2019.07.31.09.30.14 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 31 Jul 2019 09:30:14 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=sixXPJUt; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 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]:42788 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hsrUS-0007jE-TG for patch@linaro.org; Wed, 31 Jul 2019 12:30:12 -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-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+patch=linaro.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(-) -- 2.20.1 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. */