From patchwork Fri Sep 27 19:39:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 174652 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp3978206ill; Fri, 27 Sep 2019 12:51:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqzr5dCCqjlYQjHokz8hvVOby9m1qnOkDnQZiAbTR6/TD165LMPnuiFIhQ+kmKNzI+O23YVn X-Received: by 2002:aed:35ef:: with SMTP id d44mr12192538qte.306.1569613918265; Fri, 27 Sep 2019 12:51:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569613918; cv=none; d=google.com; s=arc-20160816; b=foqzYb4b/M1qZ0pJvgzlSMueBuoZZ0lTo1I8GPHfvwS6MtaVd7vFEhzympESQLCDEt 1PRXI7wuFx9gGGv1vNg41+uRH083/EqfX6vLOBEltoaFW3SyRPCXFJ4RTwr/hSvODHUB 3FjwXY9aQyVgcB9kYCr8U4twLyFS9iCnlJSUZ6kadxxxfTalTbUHyHGpIw7ry4BPyUSz dFO6RmxFkqrW67zjpVZQqfSnLMDFIi4LfyvyLbMjaMgTKTwUWlwb4gDp68pyXpi2/ST9 RhfiF/EHwJmWR4+oTtIyxQZOuLjnVWt0Ifkr4SG1ZM/KsAHogHHVsmw7pDJGixOigcMe stgQ== 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=ik4J8OMJJMJA7G5grjrKf+gGfUAWSTXqqgidtWRv3bs=; b=QxVG5PNdvMhcGAjxawGZc5pCdzohs8MA/WChWOrXQriSebHrRk3ZxA713MC0JUgSY2 24fyq/BFxZTwyDmezXxhQNPP+cHFYhgXqqTtQsO6e1Q3bOGu03xrwXoKBCJWfenkZiuO YgC9F96Mt1AtasCvc0UzlKvpaN8v9220t51QL6P3xwEl/l6O6wb2FDJ/TOa0xwFH6i0E +mb7V/aG0/3Ksv7KbIVhKRKF53Kga4MjQbimWmCTF+v8t+3juOv50KW1OW98F+hEGeib +L8MWvDcHdb22nPfgUd/KUa2XYW9K4w/2QqB5KhbqRcE9WHkox4ye+c2O9iJH0POHjiP 1DRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=YliPyxt7; 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 t3si5562938qtj.56.2019.09.27.12.51.58 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 27 Sep 2019 12:51:58 -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=YliPyxt7; 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]:56938 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iDwHV-0006YO-Kh for patch@linaro.org; Fri, 27 Sep 2019 15:51:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46550) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iDw5k-0003KA-6c for qemu-devel@nongnu.org; Fri, 27 Sep 2019 15:39:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iDw5i-0006Pz-9y for qemu-devel@nongnu.org; Fri, 27 Sep 2019 15:39:47 -0400 Received: from mail-pg1-x543.google.com ([2607:f8b0:4864:20::543]:43385) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iDw5h-0006PY-Tv for qemu-devel@nongnu.org; Fri, 27 Sep 2019 15:39:46 -0400 Received: by mail-pg1-x543.google.com with SMTP id v27so3989885pgk.10 for ; Fri, 27 Sep 2019 12:39:45 -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=ik4J8OMJJMJA7G5grjrKf+gGfUAWSTXqqgidtWRv3bs=; b=YliPyxt7NJLKMzxHwiMdJkQKeRxqyOn/ftluoNdVD678Pey9mOggbD2uVZAVdMBGhc mNArwFJBnDulRVmsyF+pAp2NCnqOAHb+uZFsavwVzkkubmasfPhrNNe73YSEkEO2CzG+ 5fEUtFAB3dYD2sTmoGfnZVvhtY2RUZsL6c71kMNIkNrB9aYVTznQMfnqKqpkPlDOfU9p 7GsrxWVGif4qXcMPHqTPAfQkqlseDyDKH1loNWaGYjgLhy3+1uihRpeftZGbwX0EUHSy zkL5BWPszLwSERYE7rnHUpgpW0RSygZEeMdUihGcHwxv29KiBXzTEv3invg32NzM+O+1 bOoQ== 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=ik4J8OMJJMJA7G5grjrKf+gGfUAWSTXqqgidtWRv3bs=; b=mlCAU+vNQ7l/r3P6EAhLDZt96DUQcjHUJsDiNHq3t66huvnT5MjpS0oNvAzhhPxDSW 1JvOoQ9y45ACCGKqXUWcSlbs4+A+Wn4orhgUJG3JQl40PvrC+r6i+XK9y2DftOs2z2QS 2cdBOvSp0VPF3r02UtyomuNxypZ4xb5ZxLV6IJv+9fow+YSpdQEQlkiZ0rbMUiPrlrF2 6WVh1zDUjP+kJWd4FXv6cJxEmhQfblLdg0Ewwel5PKH2zB6P5hyg3QrKo5b0cRDZuLh9 4bwwOAFdh3cCFHU0HnF1tDLN3rzj6x7j8BQfKHXrWfycXKeWfDMPzGRTqrpRRPrR2wO8 H8JA== X-Gm-Message-State: APjAAAXw/JPjRLgwctsfITePKXsTDicjpIEhD/N84WasnMx5iGzMxghN j14d6tyFxlec9XpCehkijukTtBBgXXA= X-Received: by 2002:a63:6e4c:: with SMTP id j73mr11002096pgc.452.1569613184332; Fri, 27 Sep 2019 12:39:44 -0700 (PDT) Received: from localhost.localdomain ([12.206.46.62]) by smtp.gmail.com with ESMTPSA id 192sm3676403pfb.110.2019.09.27.12.39.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Sep 2019 12:39:43 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v4 08/18] target/s390x: Remove exc argument to mmu_translate_asce Date: Fri, 27 Sep 2019 12:39:15 -0700 Message-Id: <20190927193925.23567-9-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190927193925.23567-1-richard.henderson@linaro.org> References: <20190927193925.23567-1-richard.henderson@linaro.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::543 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. Reviewed-by: David Hildenbrand Signed-off-by: Richard Henderson --- target/s390x/mmu_helper.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.17.1 diff --git a/target/s390x/mmu_helper.c b/target/s390x/mmu_helper.c index 48ebc62497..aa8712221e 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); @@ -424,7 +424,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);