From patchwork Tue May 18 20:11:33 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 441231 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp580333jac; Tue, 18 May 2021 13:18:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxklgrzo3NEKK+F9WUhsvoDNBg3u+0ZHCy/PmIM8SxxzrU8aKAuk6sWjFWpvf/NbyA1X0CJ X-Received: by 2002:a6b:3119:: with SMTP id j25mr2404327ioa.64.1621369097079; Tue, 18 May 2021 13:18:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621369097; cv=none; d=google.com; s=arc-20160816; b=cBuhpv3mrV8nlXHsgV7BFDQu5XpHIv8PM6qINAAlAhnQ0WuLBjZcbCukFuD8xEcwfR jCs1kbNz5oxSTkm5TS+4T8knCv0gryFLiVTExvnbeYu3XKxfbdxL5pFillrdZHylXYhA U8HnTgNXHj/E2BvuNYcrWIsz4fzUQozE+znw6lzUpumPV4qRUkQ//oSEx1SVKJrYQGAa 2+OdfGfdFoX8GZvY8qkBMrMYZbrruxLq/gkBO8ZDmThbbvofvCaqwBaxoBrkBAGpysS9 UFIIoDdQiAfYsJdswdUWKYdNPAvDj0b+i5/J9kBu8cb0t1n9mzd095lOAzri+y9qAbvo Vf5Q== 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=qp5VjSCeaT10WMmzJ0whXnqim/gDuoCvf6zAj9wZwT4=; b=H6qAQlp3URQhH7zbcEXHdt31FSmBvABjyXeRidz+dJxRNXobYAuOz9VwwyXiot3lX3 uNm3a0eO83QfyST2XEGWpLMSzy3YY0bRpED++iMpnCUMy9nEIQoNgckINz/w4atbqF7q Y1E8+aSxAVTNS6O+z+0flSQF4fNw7I9/+u82ovGMF+t4ZkNBxxETeQIkJAHlQjK5YUC/ fERmJ77em5DtecJnqeR9BMYRWFzzWR3cRkLC+PT7V1dt51PiXeEXLRDdGycSIXK2E+6t 2LpAyMWwZcyWhQCbbwGb/I7k9tPxuvTgn5D0x0mrqn6kawt/g/mtsj6TK6dAaoenCVb4 sklA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=GmIT0E9d; 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 d5si20749415ioq.28.2021.05.18.13.18.17 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 18 May 2021 13:18:17 -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=GmIT0E9d; 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]:44030 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lj6AS-0003xP-GJ for patch@linaro.org; Tue, 18 May 2021 16:18:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42716) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lj64W-0000Y4-5s for qemu-devel@nongnu.org; Tue, 18 May 2021 16:12:09 -0400 Received: from mail-ot1-x336.google.com ([2607:f8b0:4864:20::336]:45578) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lj64O-0006FH-NA for qemu-devel@nongnu.org; Tue, 18 May 2021 16:12:07 -0400 Received: by mail-ot1-x336.google.com with SMTP id t10-20020a05683022eab0290304ed8bc759so9736038otc.12 for ; Tue, 18 May 2021 13:11:59 -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=qp5VjSCeaT10WMmzJ0whXnqim/gDuoCvf6zAj9wZwT4=; b=GmIT0E9dNqlPSLKX2lWhkfNbxTMjDnJPhrvCOsqWtpRcaRLDUY7RFkPprkXuj3HTSE U/l9Hm0OaXAZPBGcy0M2S1sd6AqkpIPqaTJsre3c1AVxjOFIfn6Y9sTnMF0hoyXhj4oQ TjMfvs0VJvBKRelcRc+yNxR3hHhuN0SnCiodZrMtV1U7Y2a+/o9E2J5IG04KNmiFBRou SW45+fDsYUyury84129J8bCa60nYe/+CGVpO6wAeidRjW6KDvh3Ikes0NvXh7jTFwbT0 feJpf85cc93dbdnbzjszFr9o8lyg3SHxwU2RjLGWUChG8prXM8nrJvgZznkKgZHLLQyh YC5Q== 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=qp5VjSCeaT10WMmzJ0whXnqim/gDuoCvf6zAj9wZwT4=; b=KwXOmyR75TTwtJdXLD01cxVV8bWvShKJgd5Wze+Nz+B6FOEMUOgleoOZ7XlTA4xqPU 592qQEWFZGYfQBePvvOzkcitSafS7q2qA0/pQIA5lxWrotqwqPCRvSEYFGUo708mlaU3 w9wEa33fboybX4AWcWzPYtkuifpFOugO9Tns+kCSJKh+5OZmjbPImVSMq3LV8r8Qv/FS nD5WiYTghq1gZK0kNzU+AkQZTAVDGGWVFobzfU4B07j4YHkG75oCAZ2hwnaK+pJya4Z6 LCvrL7jwb6iaKyZvOZ4h1syRjRG+dr6H6PcOiUC5nvFP64if4cLCvWczOR7Mt3Qj3F0K sr7g== X-Gm-Message-State: AOAM531C1vmXq4T8RB9NuzN6nDhCTCjqY8H0mA/Iz+31o+ue7aqp4cP8 qo8XdWB8klBuCZNsLYaMN3qoizBFham3VuuX X-Received: by 2002:a9d:3782:: with SMTP id x2mr5657632otb.228.1621368719402; Tue, 18 May 2021 13:11:59 -0700 (PDT) Received: from localhost.localdomain ([45.235.253.15]) by smtp.gmail.com with ESMTPSA id u27sm3953204oof.38.2021.05.18.13.11.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 May 2021 13:11:59 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH 11/24] target/ppc: Remove type argument from mmu40x_get_physical_address Date: Tue, 18 May 2021 15:11:33 -0500 Message-Id: <20210518201146.794854-12-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210518201146.794854-1-richard.henderson@linaro.org> References: <20210518201146.794854-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::336; envelope-from=richard.henderson@linaro.org; helo=mail-ot1-x336.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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: bruno.larsen@eldorado.org.br, qemu-ppc@nongnu.org, david@gibson.dropbear.id.au Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" It is no longer used. Signed-off-by: Richard Henderson --- target/ppc/mmu_helper.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) -- 2.25.1 diff --git a/target/ppc/mmu_helper.c b/target/ppc/mmu_helper.c index 0809210d3b..6860a2aea0 100644 --- a/target/ppc/mmu_helper.c +++ b/target/ppc/mmu_helper.c @@ -662,8 +662,7 @@ static inline void ppc4xx_tlb_invalidate_all(CPUPPCState *env) static int mmu40x_get_physical_address(CPUPPCState *env, mmu_ctx_t *ctx, target_ulong address, - MMUAccessType access_type, - int type) + MMUAccessType access_type) { ppcemb_tlb_t *tlb; hwaddr raddr; @@ -1426,8 +1425,7 @@ static int get_physical_address_wtlb(CPUPPCState *env, mmu_ctx_t *ctx, if (real_mode) { ret = check_physical(env, ctx, eaddr, access_type); } else { - ret = mmu40x_get_physical_address(env, ctx, eaddr, - access_type, type); + ret = mmu40x_get_physical_address(env, ctx, eaddr, access_type); } break; case POWERPC_MMU_BOOKE: