From patchwork Wed May 19 12:51:41 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Gibson X-Patchwork-Id: 442418 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp1317038jac; Wed, 19 May 2021 06:21:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzDy1A63i6cKkk1k0h6dojIZJWbo4JE0f8VT90sqZGnPfZveDM/vF5nmSyijs27I5ToBZB7 X-Received: by 2002:a92:ad07:: with SMTP id w7mr9990216ilh.98.1621430512698; Wed, 19 May 2021 06:21:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621430512; cv=none; d=google.com; s=arc-20160816; b=lQo3QlqU1O0ho2mj8HdSGJA1B9tNOg1Be45TbD4Hbr2b/0ZGuCwN8Plbw6Rr3h69sE hdiCkdE8PrcNoH33nwu7yy8jHPX94NL98MXWU2K2yQPJGPRqGTQycBjDubA232+G+ohM S5jtx2i4YCneLNkVsbSXW+C0eZV4MDhgBsBTSEAZ9fq9zQLCo5WQE/P9IdJFYaS6S3Bu 8w+vkrvulD3oHpxoG3wObFna7j6no+Y4n9VUtOni1hMQzAZEb8Xy6VXhCIa4zBqKEZPK vBK4ggT4/KtG4qsnNb4blesN/iZP5DWSkKIP1DElNRUtkWtTj4+qzYEBx86ulbidVvrv gg4Q== 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:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=27wNmt46GzhdTSCGzQEnXEu5lRzljZgaEZJrLD8rjFo=; b=Zl2ElKRScyZsNZPMuOd84EQB2Kn2od9bWXt8eqcvMBgtuwFUajk1Z4/exFS6w7i2X4 Wi9Bpfb0ar9Ol1ia4CV9YzCDb93qvMzW2OW8OVC+rpRWPAIS/UEuaneDNhB4oxDOX7/x vOt3rO7ygqgUdkT2YKiMTIp9D/jQ21Z/GwBsRnjBnzxHK4il9PnIvjNp3T4Syx5a6Uv6 2GmtAiZYZgj1H63Zl0LT7fggCjrRK9j2jDxDqQVH9z+z7NCt9ka5GTifwxJ1GHYQP6o+ VVE6YZWPRBbusExxswqpCLMPk+9B6NU/7ZZjsWZuVk6WbJUBx7okfDuWpmknD0Xf45++ BXCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gibson.dropbear.id.au header.s=201602 header.b=YdDSE1AO; 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" Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id b1si24914344ioh.94.2021.05.19.06.21.52 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 19 May 2021 06:21:52 -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=@gibson.dropbear.id.au header.s=201602 header.b=YdDSE1AO; 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" Received: from localhost ([::1]:55074 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ljM92-0000hg-4d for patch@linaro.org; Wed, 19 May 2021 09:21:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33604) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ljLhT-00023C-As; Wed, 19 May 2021 08:53:23 -0400 Received: from ozlabs.org ([2401:3900:2:1::2]:59893) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ljLhR-0001Zw-Dz; Wed, 19 May 2021 08:53:22 -0400 Received: by ozlabs.org (Postfix, from userid 1007) id 4FlXnp57Cmz9tB1; Wed, 19 May 2021 22:52:14 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gibson.dropbear.id.au; s=201602; t=1621428734; bh=4JnAYd9TRyRFu4bSK2imsM+WTU2zQGtEP0etK1q9SSg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YdDSE1AOW4z8k3HUiuqrAzhk0kARUEBpONkvF+QH96mGh3FsFgCszm2cQG0aJaZSq mSIpggS0NMAJwfmKua130XWHmGf7ecq25rlIsEv5vnUMPp81GdURYC96YpDBQgVwEU 5hXf4ZJevIIGzkTZSSo1j3S1DYh9t6l9NhCUo8FM= From: David Gibson To: peter.maydell@linaro.org, groug@kaod.org Subject: [PULL 41/48] target/ppc: Remove type argument from ppc6xx_tlb_pte_check Date: Wed, 19 May 2021 22:51:41 +1000 Message-Id: <20210519125148.27720-42-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210519125148.27720-1-david@gibson.dropbear.id.au> References: <20210519125148.27720-1-david@gibson.dropbear.id.au> MIME-Version: 1.0 Received-SPF: pass client-ip=2401:3900:2:1::2; envelope-from=dgibson@ozlabs.org; helo=ozlabs.org X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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@linaro.org, qemu-ppc@nongnu.org, qemu-devel@nongnu.org, David Gibson Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Richard Henderson It is no longer used. Signed-off-by: Richard Henderson Message-Id: <20210518201146.794854-9-richard.henderson@linaro.org> Signed-off-by: David Gibson --- target/ppc/mmu_helper.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.31.1 diff --git a/target/ppc/mmu_helper.c b/target/ppc/mmu_helper.c index 2c813af924..0c10677ade 100644 --- a/target/ppc/mmu_helper.c +++ b/target/ppc/mmu_helper.c @@ -134,7 +134,7 @@ static int check_prot(int prot, MMUAccessType access_type) static int ppc6xx_tlb_pte_check(mmu_ctx_t *ctx, target_ulong pte0, target_ulong pte1, int h, - MMUAccessType access_type, int type) + MMUAccessType access_type) { target_ulong ptem, mmask; int access, ret, pteh, ptev, pp; @@ -316,7 +316,7 @@ static int ppc6xx_tlb_check(CPUPPCState *env, mmu_ctx_t *ctx, access_type == MMU_DATA_STORE ? 'S' : 'L', type == ACCESS_CODE ? 'I' : 'D'); switch (ppc6xx_tlb_pte_check(ctx, tlb->pte0, tlb->pte1, - 0, access_type, type)) { + 0, access_type)) { case -3: /* TLB inconsistency */ return -1;