From patchwork Tue Apr 2 14:24:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 1918877 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=FC32CwpQ; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-ppc-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=patchwork.ozlabs.org) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4V89Gd1M7Gz1yZ3 for ; Wed, 3 Apr 2024 01:28:25 +1100 (AEDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rrf4Y-0000tP-Ob; Tue, 02 Apr 2024 10:25:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rrf4V-0000rB-Hk for qemu-ppc@nongnu.org; Tue, 02 Apr 2024 10:25:07 -0400 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rrf4S-0007je-Vf for qemu-ppc@nongnu.org; Tue, 02 Apr 2024 10:25:07 -0400 Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-4156201223bso12413855e9.0 for ; Tue, 02 Apr 2024 07:25:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712067903; x=1712672703; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=GBDHfu1WWwUZX0nO+1GdOpxUbxXBz6m2k2jhIHnZ7lw=; b=FC32CwpQHzC0Nynp1HeXvJGICZ0KibfLDnEKf4H09QTjps8uDomnjvVW/e1GCK+/Ht agBr3RxNQAarPv0wys3yAjf8AJ9oCXESQ57lwQxE9thWuvJjPpl1GI1LVwWHgNEt3gpl 649ex7LqjWzafD2G42Nn3NOjJgxaLzsS6EEwnGdpylET7ZYg9BvAMQQ25S+47WXsi47/ 3BtSpC8y6G0gRAZIt1eaazUi0U+CHjkmvcSHa+9PC5hbdwFh9VjI4u+OILC17LOXEKMH Y8Zzh05gO3Sm1gB3xGKcZK1gL257VYhhGLlnKMNo2nkspWJL/a9DNixq6W+JUtl14pp9 JyOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712067903; x=1712672703; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=GBDHfu1WWwUZX0nO+1GdOpxUbxXBz6m2k2jhIHnZ7lw=; b=TjmtmlbcnDZEee3rTICHsUSu75GSn13U5qubxFLwl0YBw52H9dC21VGQAewrooX+9r QsQn6xKLe0Z2PrPFFBOpM0Rio4d+eWoNHo90hAPzXM/u69wUITwjLbk/2s9kouGLtl5d 1r2XXDK4U7JMULwVL4GHaDe+MJrFxOYJ24nYbQcZnSMhiui3whG0LJSG+we8y5HX2Olm Viqqcz1zAFCUFsqwrOucxYFoR1a2prfzGy+tEt7Xu8sKRvydC9Pq8vY57nCXenGO59en NnVLrbrqkeumSv2NXoi1ZCixNOxdEXQ85oCTFnuJoQYZJrCxJs2R/gSManZRF/3OW/Qc iAOA== X-Gm-Message-State: AOJu0YxwTld4RdvfhUihzfVzJj9jPTUUjeO9j/g9AJKcVtOrgUcCZL0Q vF0Fl2fyrD9Ips576tGi3B5ecOOEevXvwRcXw0UzoCSChl6ap0n9PqYh6FmGJxSABlpQrwP/2hW Ijsc= X-Google-Smtp-Source: AGHT+IFpk8y897vy3GKRfLVLbASH/dGJmNFBcUt+XZFp/SrU6uy80VtaD+l+UcRvZXxo8gJhJBoamg== X-Received: by 2002:a05:600c:3b29:b0:413:4299:ec9f with SMTP id m41-20020a05600c3b2900b004134299ec9fmr11034767wms.5.1712067902875; Tue, 02 Apr 2024 07:25:02 -0700 (PDT) Received: from m1x-phil.lan ([176.187.202.91]) by smtp.gmail.com with ESMTPSA id fs11-20020a05600c3f8b00b004146dd6bfe2sm18023274wmb.47.2024.04.02.07.25.00 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 02 Apr 2024 07:25:02 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-ppc@nongnu.org, qemu-block@nongnu.org, qemu-arm@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Nicholas Piggin , Daniel Henrique Barboza Subject: [PULL 04/15] target/ppc: Rename init_excp_4xx_softmmu() -> init_excp_4xx() Date: Tue, 2 Apr 2024 16:24:19 +0200 Message-ID: <20240402142431.70700-5-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240402142431.70700-1-philmd@linaro.org> References: <20240402142431.70700-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::332; envelope-from=philmd@linaro.org; helo=mail-wm1-x332.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-ppc@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-ppc-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-ppc-bounces+incoming=patchwork.ozlabs.org@nongnu.org Unify with other init_excp_FOO() in the same file. Signed-off-by: Philippe Mathieu-Daudé Acked-by: Nicholas Piggin Message-Id: <20240313213339.82071-5-philmd@linaro.org> --- target/ppc/cpu_init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/ppc/cpu_init.c b/target/ppc/cpu_init.c index 22fdea093b..6241de62ce 100644 --- a/target/ppc/cpu_init.c +++ b/target/ppc/cpu_init.c @@ -1642,7 +1642,7 @@ static void register_8xx_sprs(CPUPPCState *env) /*****************************************************************************/ /* Exception vectors models */ -static void init_excp_4xx_softmmu(CPUPPCState *env) +static void init_excp_4xx(CPUPPCState *env) { #if !defined(CONFIG_USER_ONLY) env->excp_vectors[POWERPC_EXCP_CRITICAL] = 0x00000100; @@ -2120,7 +2120,7 @@ static void init_proc_405(CPUPPCState *env) env->id_tlbs = 0; env->tlb_type = TLB_EMB; #endif - init_excp_4xx_softmmu(env); + init_excp_4xx(env); env->dcache_line_size = 32; env->icache_line_size = 32; /* Allocate hardware IRQ controller */