From patchwork Thu Jan 11 12:02:17 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: 761837 Delivered-To: patch@linaro.org Received: by 2002:a5d:6e02:0:b0:337:62d3:c6d5 with SMTP id h2csp2356953wrz; Thu, 11 Jan 2024 04:04:26 -0800 (PST) X-Google-Smtp-Source: AGHT+IFg30sX3i5wFpb7jiaqod2aeiqvNZZ9WI5pTZPFAZ0SONgpeaGpYPhwfJzwOAdZJ1kwAe9q X-Received: by 2002:a25:8b85:0:b0:dbe:9cee:7d11 with SMTP id j5-20020a258b85000000b00dbe9cee7d11mr824923ybl.59.1704974665741; Thu, 11 Jan 2024 04:04:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704974665; cv=none; d=google.com; s=arc-20160816; b=Dy6ZREKwSjMdhvnfwNkIDo/IA5wCJ4Djp0eJ7H+7Q2Xtmka78DeQEimb4qu2uG5TEn XFuog+CtteNyCinizVqdbMcYCPkiJp5Ay3RQPfzb/vtRRyBnOJhMk1AWLaRtlP6LH1bM /sXnrI128Kggnui1ICZ7P2mu9I1xtLF7abkIyVb9LNs6V8bNazj27C25+yfaOtYdLIh5 qiq2ExoUqFwkvsEsJEwJavD/noLNzBkTpTA0SnKjYjnY7yJqphTuO4U3ZIKTG0Ak4N+o W+bH1TIOfCbfOZy88GjsNpNmqDaMderj9aOyNFAcINBQwOD3Jvs6wyHmcQCfueARYbqk 6Twg== 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=4BIuwPbYdxJMB/pV1cRmbXcNLrWs80/U0Lys0z45UQg=; fh=y6r03noUWfICwPfR8EsTiKAurGXRKk6addDWsOQRxKo=; b=hEDgqkudqwUOX+qksOc7gtsg8/7iYJoMOslGEpIsu9GbFJO8CxMyZRE+m5O9g5e4iL O+cau7it4Z8gnkzswE/GB6sxMabX9YogYxMBIlObOIRh6lazuOo34R7BmLJu8kMCa4T6 FmFEp47N8YAJ/mvURI60aiIwLWcZbA0eHrR8VK9iIgpT0jJsDIJt8Da1bhxZ3UdoRgRD y1GvSXoMsglyQe7hnoGtjZ5Wl8k0AAHaIO+FHPHyuOhA1FjCpb8ZMC6YaDjZ/8icjpyo YLZfMKTVxiJC72fg26cPFD04iApG9l+qHjsTCmwWm7Bn6IcHCM1LEvyM99osiO4dD3ab sxGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=j4Nmo328; 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 j2-20020a056102000200b0046706bd988dsi42805vsp.117.2024.01.11.04.04.25 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 11 Jan 2024 04:04:25 -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=j4Nmo328; 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 1rNtmf-00033R-Cu; Thu, 11 Jan 2024 07:03:42 -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 1rNtm3-0002px-R8 for qemu-devel@nongnu.org; Thu, 11 Jan 2024 07:03:05 -0500 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 1rNtly-0007Jj-1D for qemu-devel@nongnu.org; Thu, 11 Jan 2024 07:03:00 -0500 Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-40e5afc18f5so10577985e9.3 for ; Thu, 11 Jan 2024 04:02:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704974552; x=1705579352; 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=4BIuwPbYdxJMB/pV1cRmbXcNLrWs80/U0Lys0z45UQg=; b=j4Nmo328umgO0ft337tUcbwpLadOQftuZn5wcFyxZ+BvxGKYWNj16MDn13oYIfQtQI XP3aKyGUg0iFGi3cPc/KM+0EoDPyYDoMzsSyhpwywBqOYkH/PaJURcB3cNlG6V6AYD8k jZHftEbjt2E1VlUD9Bk2RnR7Bn/VbkUGvBxwbJE2X+qYTnLXzIi1AxO+ZAP1uusD+ZFl gxiAIJnlgpf3z8SJXCQZGkG2+xom6xj12S7WoyfTDRMyAC4wVQ/hgh91ahZKr8g/U0sY mkAGF4081pRzLNxv6E2SYGH53JFSUuYqTTCQKDYNkQxfrpvdd/aMscZ7+8ydf+Guffrs /HwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704974552; x=1705579352; 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=4BIuwPbYdxJMB/pV1cRmbXcNLrWs80/U0Lys0z45UQg=; b=GXxgbThUVufkjqH3rfWdliQKokpsTcWfdtbmjONshPm3rQeEQJ0kjhdK4CLj52fmh/ rLym4HQgrRkQQIPjr323FTUPQyYFXgtbavqB3O3X984CXCU4b+fbvv9fpo0gwe1OGCS9 gdjlVhu2P3qC/NQpKxC5ymC4mAasSpUn0SOG8Ff7EuieJ7Y+2RSjxt12zZCLfFRZbcbn 5kggRJJs8Ngo+GbPtTgSXUpmULTMB0cPhOHGYXGSWI9WvkhC5ES+EAh5xHw2ghaPkvmA 8dp61oDsojRLGAr/vqVXvkVNhE2Wi/DoVRKTIwhrZy+fYxvCaDG23R650MPp6LF/hqeu Q5qw== X-Gm-Message-State: AOJu0Yzafmepi1k+1tqJmzTcKAkl+WswM1egclOJ7ZRy6uYEmjh69IXf nAZYCVpfG6omo8r9ZcA9Xr7vfrVL44fSKuBuriRQnwHIaZG0aw== X-Received: by 2002:a05:600c:4ec7:b0:40e:51bc:6b19 with SMTP id g7-20020a05600c4ec700b0040e51bc6b19mr320010wmq.170.1704974552387; Thu, 11 Jan 2024 04:02:32 -0800 (PST) Received: from m1x-phil.lan (vau06-h02-176-184-43-236.dsl.sta.abo.bbox.fr. [176.184.43.236]) by smtp.gmail.com with ESMTPSA id p21-20020a05600c359500b0040e3488f16dsm1679412wmq.12.2024.01.11.04.02.30 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 11 Jan 2024 04:02:32 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Richard Henderson , Weiwei Li , Alistair Francis , qemu-s390x@nongnu.org, Michael Tokarev , David Hildenbrand , Christian Borntraeger , qemu-riscv@nongnu.org, Palmer Dabbelt , Bin Meng , qemu-trivial@nongnu.org, Halil Pasic , Paolo Bonzini , Ilya Leoshkevich , Eduardo Habkost , Laurent Vivier , Liu Zhiwei , Eric Farman , Thomas Huth , Daniel Henrique Barboza , =?utf-8?q?Philippe_Mat?= =?utf-8?q?hieu-Daud=C3=A9?= Subject: [PATCH 1/5] accel: Rename accel_init_ops_interfaces() to include 'system' Date: Thu, 11 Jan 2024 13:02:17 +0100 Message-ID: <20240111120221.35072-2-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240111120221.35072-1-philmd@linaro.org> References: <20240111120221.35072-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, 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 --- 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);