From patchwork Thu Jan 18 13:32:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Nicholas Piggin X-Patchwork-Id: 763626 Delivered-To: patch@linaro.org Received: by 2002:a5d:6e5d:0:b0:337:62d3:c6d5 with SMTP id j29csp782233wrz; Thu, 18 Jan 2024 05:33:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IEjP+3miGaCsYuMZaw8d4GEaHhnkc5ma3CzeMUF9PUgh1r8tW/TE99YMAVWjKkBLzG2klre X-Received: by 2002:a05:622a:138a:b0:42a:cd0:f351 with SMTP id o10-20020a05622a138a00b0042a0cd0f351mr695353qtk.51.1705584791207; Thu, 18 Jan 2024 05:33:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705584791; cv=none; d=google.com; s=arc-20160816; b=XGtCTs3h9zgutR6syMC/K4/HEqTCsayBtHQj3mEA0SHVx9Kqlh0LuzySnp1yTexLW/ 4+Qb2+sE6RB7PPXQfVr/XtE1PDgvFEqnBQW1XC5U9tg+5n/PhSz8NdoBFMCRjZd1wFA6 AwzZKm05OUgRMlRPpfT8iDnQ29g46+bOG/W5DFgXr20CdvKEtRmJ6lIKzRLawC0WBDuR 6IvYfbsNNC3grBSIgtIaYwCeFPYpwheRN7sFq7ZOlK2AjaUi2YkPkDJ00h9bLI7pg60Q wjKLKqdGLXTdmJ6KMHqmgRR7Zo8+hP3CjXCmya4DCyMp6iJGxaDLIvmXCA6r5EBLl9Nw S6NA== 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=vHaAra0yiJpjPl5M+0aVbS5rb6YYjPPEl4Zi1Bp8Ct4=; fh=I3CvSagWLJO+wpDcc6HvKrGvnEkWHf6M8nazzdiVDKs=; b=zNiJfdCfohL7TUG4Lx4umoCtPozldVxQwYJX4FLM9pzywBsyuOV7lgVIMXnfgoHwIN +Fwlc73dwVaFuDIOAgLzDPtUwjOU7C4cFPYQ+taAh8EF7G4fUjXFj3C6u5pPD8x3BF1A PfKZ2mF45eC4jtpRs5NkiPzRpgdShHeeaNfsXb01T8iqBGb1xxM1oILCv+ewu9ZbxqYv uXqmXT+N3fL+WHHFbrFOAnZCHQMu2cxFDri2NjjpX2bUuOcNzD/1iQrJHMPyV7SNTULM 0f+CjVDPtlzOPK0M4cR1sTvFfQiQ5qbjk/C5s7jozp/NY6oecG3BQmDlWxmCh8R3VhTl /8qA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=YQ2qhE+r; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id f30-20020a05622a1a1e00b0042a09dac018si4311790qtb.193.2024.01.18.05.33.11 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 18 Jan 2024 05:33:11 -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=@gmail.com header.s=20230601 header.b=YQ2qhE+r; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rQSVd-00056X-0D; Thu, 18 Jan 2024 08:32:41 -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 1rQSVZ-00051I-CD; Thu, 18 Jan 2024 08:32:37 -0500 Received: from mail-pf1-x42b.google.com ([2607:f8b0:4864:20::42b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rQSVX-000232-It; Thu, 18 Jan 2024 08:32:37 -0500 Received: by mail-pf1-x42b.google.com with SMTP id d2e1a72fcca58-6da4a923b1bso6726548b3a.2; Thu, 18 Jan 2024 05:32:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705584752; x=1706189552; 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=vHaAra0yiJpjPl5M+0aVbS5rb6YYjPPEl4Zi1Bp8Ct4=; b=YQ2qhE+rNeuaS44IPtWZ4nsHGb7EAa7w5JCodlMByHiJEPCh7X+as9n4k8N5v1GXQS hmBJWkvux5Big9W8CGiGCgg4ozIqRcMNqom0m4uTA9d1cRzVeAEdHuC4E0AL0BVEmX0d +a1Ag9Gobj7+hjK9lSGXysgmA9JtFXU34pc7FTyZUgvDbuOa5y6+CJbP2GNTjOJaInB4 UjgTVnBfHf/rwXLQBzIJIWJ2Fe3FiW2LZs6nvPACwVPpxcbRf0g/eZoGwxQogK9NlFp4 tQZbmG2uif5Fvlzobz+yj2MSJZ7XgZGkrWW03qg8dFOpMCAfqMPWeFEMUcnt88UYtCX+ kKQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705584752; x=1706189552; 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=vHaAra0yiJpjPl5M+0aVbS5rb6YYjPPEl4Zi1Bp8Ct4=; b=BaHCuek3IHXMnsYa5pkJD62cKeRTOGx8tYdGa3YmyBTHYe2GnzBT7Yys0VKMxCrVEX X7t9SvqIvbMkQaGjgbQbTHM92omjuOwIY+a39aqqbQxrJ1R63JSUaGelYoXxtX0XvAgi T6oiNA1oXhsIv1HjNVA6eADEmjK3lJ18qMzFlCvzyccRRessT/m74sGggECyf2UlGbms 0zGGoCeO7v9EJMBffmGO4KRRVx9FNv1NVnaeKuC6mpi0XkNkbH1SHJv2JrJwXw85DQji IyLPZXcsvK/UtFVRQHyqDTTqCn1/B9DSclbwwpVqy3FoPuk4/JGC733SD62k7pTU+i+z BeoQ== X-Gm-Message-State: AOJu0Yy7krv0H70MyH2LPnPPlnbBBw3DDREKrTFAlOrT/StUS9N6aECK diZXDnD1p8m59Brm18vQTZNcv8L70QGXZTd6Gj388pIf5IBfnKEGKiPYU/SQ X-Received: by 2002:a05:6a00:3995:b0:6db:ade0:4bc9 with SMTP id fi21-20020a056a00399500b006dbade04bc9mr523623pfb.31.1705584752432; Thu, 18 Jan 2024 05:32:32 -0800 (PST) Received: from wheely.local0.net (124-171-76-150.tpgi.com.au. [124.171.76.150]) by smtp.gmail.com with ESMTPSA id a19-20020aa780d3000000b006daf1ded817sm3282551pfn.209.2024.01.18.05.32.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jan 2024 05:32:32 -0800 (PST) From: Nicholas Piggin To: qemu-ppc@nongnu.org Cc: Nicholas Piggin , David Gibson , Harsh Prateek Bora , Daniel Henrique Barboza , =?utf-8?q?C=C3=A9dric_Le_G?= =?utf-8?q?oater?= , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , qemu-devel@nongnu.org Subject: [PATCH v2 4/4] hw/ppc/spapr: Rename 'softmmu' -> 'vhyp_mmu' Date: Thu, 18 Jan 2024 23:32:06 +1000 Message-ID: <20240118133206.158453-5-npiggin@gmail.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20240118133206.158453-1-npiggin@gmail.com> References: <20240118133206.158453-1-npiggin@gmail.com> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::42b; envelope-from=npiggin@gmail.com; helo=mail-pf1-x42b.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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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 From: Philippe Mathieu-Daudé In the spirit of reducing use of the term 'softmmu', rename spapr_softmmu.c to spapr_vhyp_mmu.c. Logically, the TLB loading code that walks the hash table is the implementation of the ppc hash MMU, and the code that manipulates the hash table is the implementation of the PAPR hypervisor interface (called vhyp). Signed-off-by: Philippe Mathieu-Daudé [npiggin: Pick a different name, explain it in changelog.] Signed-off-by: Nicholas Piggin --- hw/ppc/{spapr_softmmu.c => spapr_vhyp_mmu.c} | 0 hw/ppc/meson.build | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename hw/ppc/{spapr_softmmu.c => spapr_vhyp_mmu.c} (100%) diff --git a/hw/ppc/spapr_softmmu.c b/hw/ppc/spapr_vhyp_mmu.c similarity index 100% rename from hw/ppc/spapr_softmmu.c rename to hw/ppc/spapr_vhyp_mmu.c diff --git a/hw/ppc/meson.build b/hw/ppc/meson.build index eba3406e7f..30bd2aaccf 100644 --- a/hw/ppc/meson.build +++ b/hw/ppc/meson.build @@ -31,7 +31,7 @@ ppc_ss.add(when: 'CONFIG_PSERIES', if_true: files( 'pef.c', )) ppc_ss.add(when: ['CONFIG_PSERIES', 'CONFIG_TCG'], if_true: files( - 'spapr_softmmu.c', + 'spapr_vhyp_mmu.c', )) ppc_ss.add(when: 'CONFIG_SPAPR_RNG', if_true: files('spapr_rng.c')) if host_os == 'linux'