From patchwork Thu Oct 17 13:15:48 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: 1178712 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) 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="YAkTgFK8"; 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 46vC4P0qYkz9sCJ for ; Fri, 18 Oct 2019 01:59:33 +1100 (AEDT) Received: from localhost ([::1]:50056 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iL7FS-0007gf-IK for incoming@patchwork.ozlabs.org; Thu, 17 Oct 2019 10:59:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41251) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iL6FW-0004eQ-58 for qemu-devel@nongnu.org; Thu, 17 Oct 2019 09:55:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iL6FV-0004Ew-4p for qemu-devel@nongnu.org; Thu, 17 Oct 2019 09:55:30 -0400 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]:36041) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iL6FU-0004Dg-Ta for qemu-devel@nongnu.org; Thu, 17 Oct 2019 09:55:29 -0400 Received: by mail-wr1-x444.google.com with SMTP id w18so1909863wrt.3 for ; Thu, 17 Oct 2019 06:55:24 -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=X0Zojohlrp9hFXtLnwWUFyqJ6AI3VRmKHspf1lmW8O0=; b=YAkTgFK8cdQ4XRc7ABRysChOsklvrvrjaWLHy2ocyi9fUsZxjmV/S7J9VEa/AVTYXo k1hdzuOj5UC40sXLDJdLbpr9pybP8+1WTKrcYrhcpdT9ZBPHflDILpyL7tWuOq7ALQk8 aQyenGGtQuqjI4I04g3Lo2nUrjfmyJYwY8kns2llX8g6T35NNTyYy1LKUrJ62PI/XKVX G5KceYoOkuWoF/H/Y5QQ2wkR0/91BaTqa5p77HszLxJFqatu8E3/xLCCG+05pgxzVOq2 wE+QzL4KQrnC0XLbnetumR4Hu1SOqGYRmLiWH1UzQIxbAE5iRlHqoPe8Nhhpp6cNDOHe 9ePg== 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=X0Zojohlrp9hFXtLnwWUFyqJ6AI3VRmKHspf1lmW8O0=; b=uaE1cTyvQWR5jiFbQrtF8hebGMCoLTDjxoBC+qCVYY77TDUZ8Xq2SCYTzpL1XJ5/MF RnLVHaVf/jmuoZq/KkeEH6nLvfUXqzpQb6lkXF48yMWKh07Yb2UGeq9koh19DYuSkKOg 4Ee7DvJvlMeoFWMqdHpFJSJWB8igC4L2j0XaAk8Relo5On5jwnW0CZ3XbYdlEGjkvow+ ftLzftAYS0tYB9XI0v2cUrYyydiCxuDALKmCzMa8bjIbK/4g+sOKhzR10mYM9lqEIdRe CUoQiHVJp9nA5wkWdrRh97yZ0lQ7DbOddi+NtlxhxKy9466FBM6I8tVVjHOOejFgS6xO +Tfg== X-Gm-Message-State: APjAAAX8ANV8XQ+0tR9jmpX2Vm+FDdlKXVw3Rlly542WwNhrAODrW6Nl WZtBkVcVVEFf7wmRGbbdpIkfig== X-Google-Smtp-Source: APXvYqwcNgSP/5/Gg1Rn4SePio61klSnyFtQORMsrnSAepF3PCzPenuOpOtnuAULabuVWKs6rMi+tQ== X-Received: by 2002:a5d:44c5:: with SMTP id z5mr3036840wrr.252.1571320523468; Thu, 17 Oct 2019 06:55:23 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id t203sm2701881wmf.42.2019.10.17.06.55.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Oct 2019 06:55:21 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 7321E1FF8F; Thu, 17 Oct 2019 14:16:18 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v6 27/54] target/hppa: fetch code with translator_ld Date: Thu, 17 Oct 2019 14:15:48 +0100 Message-Id: <20191017131615.19660-28-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191017131615.19660-1-alex.bennee@linaro.org> References: <20191017131615.19660-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::444 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: robert.foley@futurewei.com, Richard Henderson , peter.puhov@futurewei.com, aaron@os.amperecomputing.com, cota@braap.org, =?utf-8?q?Alex_Benn?= =?utf-8?b?w6ll?= , 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 c1b2822f60..2f8d407a82 100644 --- a/target/hppa/translate.c +++ b/target/hppa/translate.c @@ -4221,7 +4221,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. */