From patchwork Fri Jan 19 11:34:53 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: 763916 Delivered-To: patch@linaro.org Received: by 2002:a5d:4a08:0:b0:337:62d3:c6d5 with SMTP id m8csp398759wrq; Fri, 19 Jan 2024 03:41:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IHtscVVIv7UZZvUnvH35RRFcKNzbp7UJNco1QmZ5nJF5YRdk2+WBz4pmML6XN+s6oe/+9gi X-Received: by 2002:a05:622a:210:b0:429:8f67:5225 with SMTP id b16-20020a05622a021000b004298f675225mr2904956qtx.92.1705664468670; Fri, 19 Jan 2024 03:41:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705664468; cv=none; d=google.com; s=arc-20160816; b=nxb+Qzkfm5J/5soWDe3V1JKXDYqYdJvhgH5KEUiiXyuBsmzm/ICB7Ulnqn6nOFazUv 2zos8twKQqYLwx3Iqx48yyBV3BkedmjePug4cnOOWDqlaPwjBCiLPxcdwSXd/KGogRdk vEQzEePKJ2jPRHIvFIHwI+XsWguLDinMRlI2W97K+nCv6Lhsa5wnABJnfyqZp/pFW94N 5QLA0CGVq7IR0+FxgsB0FSZDbwQ1fZNw54HcyD0mEF8D5f6OUYcMWRoYlcsOSr/xjdk7 N9H8kzP5XRnubALQUNdeDla9VlRHVAH4O+osG4MRgPduQt+205qGhvH+JHIk0c0HJzcD q+cw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to: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:cc:to :from:dkim-signature; bh=wl7mxe76TBuEvV14rO6cbAGreHvKKNVNpG5LWETBxoQ=; fh=/0aowDTBust7MhosflTPkHrz6StB6kNrFDkiv8gL7GU=; b=a+2aIvvD05vbsF4hVyXWqN8/brXBZPlwjUaEK/dIbQO+MWAU8DXeZp2tn3s1WWGszX eY8jjHhxhfqGt5lQOxHH5jAmq4UfA9L5YaxfzDm4juE52lRVFlRABuCMGcwYTKuI9Etg VxueNenLdkXzP5XFylY2r78F/DjmDTJSORyLIFEgvIi+DnJ/+GYGUQtGASwABFeOYCxj qoMi5OuzcBM0KB1uMvfwg4JlQUKKrqhmRFAzFLHtZF5ImVi8Nt3Z3FXMPOQpljHsqNpF V3QMAbDZBfPveqTZhOZOYjFIPXeBSCAu86cRPjOT03jJP0w4NWMLvborGYgegZO+Bomb 5pbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HYyucrNS; 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=pass (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 l21-20020a05622a175500b00429c6fd6428si16246329qtk.601.2024.01.19.03.41.08 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 19 Jan 2024 03:41:08 -0800 (PST) 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=pass header.i=@linaro.org header.s=google header.b=HYyucrNS; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rQnBF-0004rP-Ug; Fri, 19 Jan 2024 06:37:02 -0500 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 1rQnBE-0004hg-BH for qemu-devel@nongnu.org; Fri, 19 Jan 2024 06:37:00 -0500 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rQnBC-0002uI-Bp for qemu-devel@nongnu.org; Fri, 19 Jan 2024 06:37:00 -0500 Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-40e86a9fbd9so6782335e9.1 for ; Fri, 19 Jan 2024 03:36:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1705664216; x=1706269016; 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=wl7mxe76TBuEvV14rO6cbAGreHvKKNVNpG5LWETBxoQ=; b=HYyucrNSdK1YgB5NhB2yFJ30d1OmQ17aFSAn0mlHcWixhylJ1r7/+7sxml4NC2C2VG 6YGKY6kMt0xpAN7d5RgzHeYP1md9RC9PoaIHEi7p5wGYo2zQ8X+sVbZeNQ3itXznLVLZ LpIa5k76jOsKFQu4qxCmZP++irxEnB+nl8iUY3vf0z7DLpBWCNAKxNPUNcMZIkLovZvB goARdhOnR7zG6R+AhfMIajoYAznFWl+fdTHkgd7+1CNLDoSwY/ahXJ5h2b9NHvlqd2cV zbd9RfFMFFnPTnjBPjQvvh5jZznanbVEUO64vrBP0fthTl8EnbFnHrSyt0zyHuQCL7b/ Si1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705664216; x=1706269016; 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=wl7mxe76TBuEvV14rO6cbAGreHvKKNVNpG5LWETBxoQ=; b=GR/gn6GTUulbM8nyciClOBgL5HdNSrCqlFW/Xq+2QDCLyiKoJwHxff1lAkZ3JQns0J foZTTNY34DqGgUAGeAsAEyxyBcUROdr3mERUW1aNIHnFNcHBhStUKRVpzbJ+sMVCG9JJ VFKpucgRmrZD8td8jDicHJuYvfAN2UoVXaok+9vGcJbwN2e7S0aNe3xsBhwMfZbVG7ST 8YkHWgKzVTvxPti8Y8hwG1scrYZdhGuKwO3VjJMrPtw4cPdtbTBEw/o8BBmPNY0z465p GhUr57xN4CmeoPJq6WiiH8t1SDmzOOSkqwoGXK0WI9s8KXCWlMKo5NSmy0Wb8+P8zMuD VFIg== X-Gm-Message-State: AOJu0Yy7EtWBfZNaJFYmppD/zJbmtKVsZcHpWE61UvkfYvC0yXKew2lq SsSSFLHP4/shZc8SJZnWAyvaZzmRHC+5anjekfwfBspO0+bE55TtKiHeC+m5rb2FLSOm5RUG1Bq EyN7Ytg== X-Received: by 2002:a05:6000:1742:b0:337:bf29:b6ca with SMTP id m2-20020a056000174200b00337bf29b6camr1154943wrf.23.1705664216774; Fri, 19 Jan 2024 03:36:56 -0800 (PST) Received: from localhost.localdomain (91-163-26-170.subs.proxad.net. [91.163.26.170]) by smtp.gmail.com with ESMTPSA id o2-20020a5d4a82000000b00338ca0ada22sm1402247wrq.111.2024.01.19.03.36.55 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 19 Jan 2024 03:36:56 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-riscv@nongnu.org, qemu-s390x@nongnu.org, qemu-block@nongnu.org, qemu-arm@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Daniel Henrique Barboza , Alistair Francis , Richard Henderson , Paolo Bonzini Subject: [PULL 24/36] accel: Rename accel_init_ops_interfaces() to include 'system' Date: Fri, 19 Jan 2024 12:34:53 +0100 Message-ID: <20240119113507.31951-25-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240119113507.31951-1-philmd@linaro.org> References: <20240119113507.31951-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::333; envelope-from=philmd@linaro.org; helo=mail-wm1-x333.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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@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-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org accel_init_ops_interfaces() is system specific, so rename it as accel_system_init_ops_interfaces() to ease navigating the code. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Daniel Henrique Barboza Reviewed-by: Alistair Francis Message-ID: <20240111120221.35072-2-philmd@linaro.org> --- accel/accel-system.h | 2 +- accel/accel-system.c | 2 +- accel/accel-target.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/accel/accel-system.h b/accel/accel-system.h index d41c62f21b..2d37c73c97 100644 --- a/accel/accel-system.h +++ b/accel/accel-system.h @@ -10,6 +10,6 @@ #ifndef ACCEL_SYSTEM_H #define ACCEL_SYSTEM_H -void accel_init_ops_interfaces(AccelClass *ac); +void accel_system_init_ops_interfaces(AccelClass *ac); #endif /* ACCEL_SYSTEM_H */ diff --git a/accel/accel-system.c b/accel/accel-system.c index fa8f43757c..f6c947dd82 100644 --- a/accel/accel-system.c +++ b/accel/accel-system.c @@ -62,7 +62,7 @@ void accel_setup_post(MachineState *ms) } /* initialize the arch-independent accel operation interfaces */ -void accel_init_ops_interfaces(AccelClass *ac) +void accel_system_init_ops_interfaces(AccelClass *ac) { const char *ac_name; char *ops_name; diff --git a/accel/accel-target.c b/accel/accel-target.c index 7e3cbde5df..08626c00c2 100644 --- a/accel/accel-target.c +++ b/accel/accel-target.c @@ -104,7 +104,7 @@ static void accel_init_cpu_interfaces(AccelClass *ac) void accel_init_interfaces(AccelClass *ac) { #ifndef CONFIG_USER_ONLY - accel_init_ops_interfaces(ac); + accel_system_init_ops_interfaces(ac); #endif /* !CONFIG_USER_ONLY */ accel_init_cpu_interfaces(ac);