From patchwork Thu Sep 26 16:26:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 174497 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp2311314ill; Thu, 26 Sep 2019 09:54:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqz8xCMiGYrviJuIHfLkolz/eLt6rILtGajyaf7jdzIeQ7ZJqvpXcpMaWeVx05eN85G6Z4B4 X-Received: by 2002:ac8:6047:: with SMTP id k7mr4933448qtm.238.1569516870620; Thu, 26 Sep 2019 09:54:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569516870; cv=none; d=google.com; s=arc-20160816; b=DrwkkMexpFdQqixR+JNnImM8NAjI9pk9hwHGUC9ujXu0a+lSmU95F/vDb4mgC4EYEv HjK85KPXgN+shhmp8q0ypqOT3Tl2ialHKoZzBvcuIzh1iY0b0vxbFGfqE7Cb9pPV8kSI SUhzjTBVO+N2M5E9JTBEW/BQdHN2g2d4Gs6MV2Sfb7I2XFwWIp8RPPcowXh5v+O/yTbZ L1dww6mzm6MBCPbb6R3QHfHugYjM/asr0oCuakosaed33Rcmo6qDPvAsK82meYvCZ9yW gMCKY4sq6rRe90qwsIusAG9r9cEY+eNCPAJTDWqIYtII0Wf8QNA1tJHB+mG/Yrm0zOvt dJ4A== 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:references:in-reply-to :message-id:date:subject:to:from:dkim-signature; bh=cUqChLJA+fIshq8B7yRM6YeWhj6qyz75SemmNRFWmr4=; b=V7Uc8iOC5TGcmhFnaPUoEUu+8bEpPCUiKvlSKhc+Xkna0G9mKtXiuYAHDsmPLxk/zt 7XdXFWnSOwOAhPTpB6ELnyOgNtVEzV+WLF3h9iHNzlvudmW3cnTvTNE2HicUbiqZ/81a kQfLSQfSfD/V6H3GKjyZlCSDY7RDPkE4I5NieFZI4wvH5B9UAlbeLzrOCdPrPohw7ZHr LW5iq/xJQs7oC/DqQtx6t9u+l+FTm5seeCaT+IrCR0v8KA2iR+QJfQUVNz0s9Rr0c6ub dq0DTDj8Mc35GzE2b15zSjqnZXaBnghgBuFgt/8AJQsv7meJHKnMLpmqiUtZpnpcJ37L f40g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=rAgFxqVq; 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 30si2108369qkr.152.2019.09.26.09.54.30 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 26 Sep 2019 09:54:30 -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=rAgFxqVq; 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]:41048 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iDX2D-0004Df-EG for patch@linaro.org; Thu, 26 Sep 2019 12:54:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41246) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iDWcE-0002fd-19 for qemu-devel@nongnu.org; Thu, 26 Sep 2019 12:27:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iDWc9-0004kW-0V for qemu-devel@nongnu.org; Thu, 26 Sep 2019 12:27:36 -0400 Received: from mail-pg1-f194.google.com ([209.85.215.194]:42963) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iDWc8-0004j2-Md for qemu-devel@nongnu.org; Thu, 26 Sep 2019 12:27:32 -0400 Received: by mail-pg1-f194.google.com with SMTP id z12so1826290pgp.9 for ; Thu, 26 Sep 2019 09:27:32 -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; bh=cUqChLJA+fIshq8B7yRM6YeWhj6qyz75SemmNRFWmr4=; b=rAgFxqVqZkBEYMLrS1NZUjgw3larVh6yAuqyxZiEHcOPodACYtRiLpN0PeD3jbglMO yKXd69Qr8Tb6zpUUf4qZ5J4ib9QBQRjmzmKUlwaZZ2p/A3PhfJA1pODnvuLkgHdTnLKB HKqbjs3KwMqCUYy7mf2gGAtlrGm7WZ3mxqtWYhij3t+6qyi+F1+od60FQnsAW+BqFEjQ K1zBvwF6Z3/3yk6gCSIisJ2kF3KVnS7MiDq0CdJiG9zsbm94EAnHJbtt4gk6duOIvPQn hVCQeEfDz/9UCkkyWN0qTT5jmL7662f19B/v1BgyQk8KWUR4+3Gx2jGj+VVKVLNFvhUf v21Q== 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; bh=cUqChLJA+fIshq8B7yRM6YeWhj6qyz75SemmNRFWmr4=; b=SVAFoIU8bmDzd5nTf76w6y2Soe/QCU4eHaKfaZ2NKcVzSqi6Z2wGeB/Q8NrUdrZNQ9 Iw+8EB++W/sfSVZ3elnzWkFeWw4RNk6RUI2l2VraiLAVBhv+rzAjNMXfoM+0IjrncixJ E3YGcImXQqcYvWrtGtT/TQ3IREkJtwD7A3umqGY/SGZeGIbhivwC6uDkmS0thUCubs9N WBvSiFXyL0AYZ9hZ1vcpSc4wFbNN0QAl7Bt4WXbPQJhuhoMVDbvuuzXL1cMBmAzRflKV RPBIiQPIIxoOvC/eccozgabQSjjNT8Yt9dMaLrN4irxg5R1C0lZM5NWomuRwxV3QemYo vsug== X-Gm-Message-State: APjAAAUKqzUbE9fqGrTbBZaIDn3188N443cxxisO9F+XRlAi5PrEnKI+ DTw01Tn0vdElOHtlMl4MY9dfHLlpHfo= X-Received: by 2002:a63:7556:: with SMTP id f22mr4327140pgn.222.1569515190896; Thu, 26 Sep 2019 09:26:30 -0700 (PDT) Received: from localhost.localdomain ([12.157.10.114]) by smtp.gmail.com with ESMTPSA id 64sm4453169pfx.31.2019.09.26.09.26.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Sep 2019 09:26:30 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v3 09/18] target/s390x: Remove exc argument to mmu_translate_asce Date: Thu, 26 Sep 2019 09:26:06 -0700 Message-Id: <20190926162615.31168-10-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190926162615.31168-1-richard.henderson@linaro.org> References: <20190926162615.31168-1-richard.henderson@linaro.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.215.194 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: qemu-s390x@nongnu.org, david@redhat.com Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Now that mmu_translate_asce returns the exception instead of raising it, the argument is unused. Signed-off-by: Richard Henderson --- target/s390x/mmu_helper.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.17.1 Reviewed-by: David Hildenbrand diff --git a/target/s390x/mmu_helper.c b/target/s390x/mmu_helper.c index b783c62bd7..ed6570db62 100644 --- a/target/s390x/mmu_helper.c +++ b/target/s390x/mmu_helper.c @@ -113,7 +113,7 @@ static inline int read_table_entry(hwaddr gaddr, uint64_t *entry) static int mmu_translate_asce(CPUS390XState *env, target_ulong vaddr, uint64_t asc, uint64_t asce, target_ulong *raddr, - int *flags, int rw, bool exc) + int *flags, int rw) { const bool edat1 = (env->cregs[0] & CR0_EDAT) && s390_has_feat(S390_FEAT_EDAT); @@ -402,7 +402,7 @@ int mmu_translate(CPUS390XState *env, target_ulong vaddr, int rw, uint64_t asc, } /* perform the DAT translation */ - r = mmu_translate_asce(env, vaddr, asc, asce, raddr, flags, rw, exc); + r = mmu_translate_asce(env, vaddr, asc, asce, raddr, flags, rw); if (unlikely(r)) { if (exc) { trigger_access_exception(env, r, ilen, tec);