From patchwork Tue May 18 20:11:35 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 441241 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp586093jac; Tue, 18 May 2021 13:26:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz2mfHW+hEKWf74zNEtGgYnkT8wUo4RROMT1XX1GMyEO4+nP1tAqAEtmplVMHLzCytjkWXm X-Received: by 2002:a92:c74b:: with SMTP id y11mr6489143ilp.302.1621369569054; Tue, 18 May 2021 13:26:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621369569; cv=none; d=google.com; s=arc-20160816; b=zy0QAdP4quflfuoxbffAHKzULTkxD8Kuc2c4/wJTAewW2HPR7JNZmkbSyBL7Ev7zwH V9HZPaqdl4/Hdfed8FXTObrr6kc7nLS0XEibVcpliGsR7Gr9AyEp0lKoqasl0mIt176M kymKO4xPEU3beuXFR5RL9fU3r75P0OTs9pNf+1Hi/DPMdzlR0FEYKjwXRV76LCLMtIQv MTd1vs/dQpAcJ1h1ACIvy1dPKdD2euuz/oezqyCh+zhydEc/lMlE9S3ueaHqLEeJfMXU Lk6HGXZzLEKDx2jC7zBOmNYpcNRL7odOdH7BVsbqBhl3mDUDurL21ts7CBgcToEc1C8X /cBA== 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=uCYHwJd3aHPp89iGRxDBfWMsI6JKv06e4ILxtJtVTfA=; b=wKPjvp5QNb3yjxlbFlwfYgCUkzuKVNCJgmNCMmdANhKfV3d4sVWql8kL10/YBxoXaO JT/iLqWyEiE2zdlsJAqeZKeGNNGe2Wg3lUrOnPRzn3qIWScmkvxfNJmUAximE0d3pV+v jw9WFuc+3CSs+KIiuPzZK3w3LXl7TPXgsvuRhqx52Fa8JD4DKRvmzhDRt5mBbNKDGQql EYWqUt1mXlNaTIcSEGNTPwv2A/T1Y4zYvHOnhdLNJdIgKaqCuY9KVUNggOVxrxQhCbCq ckdvf5Jn6QZ2VfuQhdjBPsFK8L4N2Te7My7vxJMHWJRq4Tt2MVJFiOqIJM240T585js5 gtdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=UdWIE5oP; 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 o9si7210534ils.154.2021.05.18.13.26.09 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 18 May 2021 13:26:09 -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=UdWIE5oP; 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]:41896 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lj6I4-00053b-Gi for patch@linaro.org; Tue, 18 May 2021 16:26:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42874) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lj64d-0000ij-HA for qemu-devel@nongnu.org; Tue, 18 May 2021 16:12:15 -0400 Received: from mail-oo1-xc35.google.com ([2607:f8b0:4864:20::c35]:41519) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lj64Q-0006GB-Il for qemu-devel@nongnu.org; Tue, 18 May 2021 16:12:13 -0400 Received: by mail-oo1-xc35.google.com with SMTP id q17-20020a4a33110000b029020ebab0e615so591364ooq.8 for ; Tue, 18 May 2021 13:12:01 -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=uCYHwJd3aHPp89iGRxDBfWMsI6JKv06e4ILxtJtVTfA=; b=UdWIE5oPv1BNi9fV6GXVXYE9i+Vl8kHyeZH1qYh+NqvsxprJXcaMMM6gfTWzvi7SKS bnNwSv/p7jSnfi659yoQZHvp0EkcgkMg9Kh99DRBW5FZX6j5NQ/Th+22UfxENlAqfJl1 QbS5qQ+8TexlyVOTKweL0ZKdkmKDljwWGOHfJqE+prwHtGJdDY6Isj0jMu/gNe24dKLa OtP3HHBFJ3Z1X2lLj6KDFv4swamft4DvVImBpyBt4QJasjtTk7NDG3zlWhuktlDzFJgH GH7jgyZdtWQgWjm8gfEE3dytHpyHP3OB0r46AmraDfZ2qpfP/gbhs5HyFZHgVf/MUovF 6Ofw== 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=uCYHwJd3aHPp89iGRxDBfWMsI6JKv06e4ILxtJtVTfA=; b=PgZa0cHeXeiH1Tqnatb+vTzQHklk27fuhuHDbWLtiA+Uf7PRFmFHeTja4Bl+mRoCMv ZpAt1N/uOXiiN0Rf4r9hPVy5LW12XJH/hjeaPV1XEyeaLDeGlz0/KNGbxbj5Q9fdyvN/ 7MHKnrYJRWTHpwB0SEi4mytfwlbCkCtZVkjaVQPsD7RTteo7PHt5BnLuOE1iDSjzWc29 W6McrflZv+qrkb6i4K5rGAqHAWpI+crrEFco2qJctOVuWefZw8Ph7m/VX1dFKG8ECFmy XB2PwjlS7l0iwAoZ56BdrohIZSFnGdmd/iCCfrdkwb1xsV/Qeyd9R4yb3l/jHJy3zeiu sdtw== X-Gm-Message-State: AOAM531D6J72AkkVwI19w8Q+B9jKp6Ba9Z4p/VYMPjKUeuLBiOsyte30 T3mqKPMwf19UB+dI9GL26mf4FBTAcME5iSg+ X-Received: by 2002:a4a:ca0f:: with SMTP id w15mr5755041ooq.35.1621368721326; Tue, 18 May 2021 13:12:01 -0700 (PDT) Received: from localhost.localdomain ([45.235.253.15]) by smtp.gmail.com with ESMTPSA id u27sm3953204oof.38.2021.05.18.13.12.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 May 2021 13:12:01 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH 13/24] target/ppc: Remove type argument from mmubooke_get_physical_address Date: Tue, 18 May 2021 15:11:35 -0500 Message-Id: <20210518201146.794854-14-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::c35; envelope-from=richard.henderson@linaro.org; helo=mail-oo1-xc35.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=unavailable 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 83e7e0dd13..bf0fcca9be 100644 --- a/target/ppc/mmu_helper.c +++ b/target/ppc/mmu_helper.c @@ -789,8 +789,7 @@ found_tlb: static int mmubooke_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; @@ -1411,8 +1410,7 @@ static int get_physical_address_wtlb(CPUPPCState *env, mmu_ctx_t *ctx, } break; case POWERPC_MMU_BOOKE: - ret = mmubooke_get_physical_address(env, ctx, eaddr, - access_type, type); + ret = mmubooke_get_physical_address(env, ctx, eaddr, access_type); break; case POWERPC_MMU_BOOKE206: ret = mmubooke206_get_physical_address(env, ctx, eaddr, access_type,