From patchwork Wed Oct 4 09:06:15 2023 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: 1843164 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=aufznRQh; 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-devel-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 4S0pjk0Y22z1ypx for ; Wed, 4 Oct 2023 20:07:22 +1100 (AEDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qnxqP-0000BZ-P7; Wed, 04 Oct 2023 05:07:01 -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 1qnxqC-0008KQ-4x for qemu-devel@nongnu.org; Wed, 04 Oct 2023 05:06:52 -0400 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qnxpy-0007HE-8S for qemu-devel@nongnu.org; Wed, 04 Oct 2023 05:06:47 -0400 Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-40651a726acso17721135e9.1 for ; Wed, 04 Oct 2023 02:06:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1696410392; x=1697015192; darn=nongnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=qNBSS5i6sU4lyaj8Yfkc45yB1bV/cBSP3bR/QJlwa/s=; b=aufznRQhp6pTADROYYqbNIfDqbK4vGlwKZA57FgDKhmxzh2zL+PBjlKkDTjKNYuMic yp76kMoRaYZJ0hC9zlU/Lf1nmDvvXe28GNC9LR0EpX5YD7Ban5FjPFPi6NGrgqht4Aym 6552gg0F268MQpZrhXXd2JwdfYO7HtkCQb8zDAlY1DDbUQAGWGVmldbM4QRhyTEQX0F9 HhQWAbB9ix5t1vBZ1+DlwkCrVwCKM7DSlYuaV3+FFlvCcX7mbvPc8qBqrYwx5tY+WY9R /QXmVwhgmfVfc3X4/5FA8lGny2XGI/pJeT59DfsbVCXIorg3saTgVPVQoQeuKCpB3zrc Mu5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696410392; x=1697015192; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=qNBSS5i6sU4lyaj8Yfkc45yB1bV/cBSP3bR/QJlwa/s=; b=aYophJSOv0G6IV5RlQcOW+PupqOJ2pCRV/5fwpA7LcdvWuUN+Hf62Wpw0MH+V/f7AY RhNZTSIRf/I/Fe0gotS/OsKv5oJ8b4MACMGSOEQmZKJ4KUvPIazziHB/hghZ0Nr5psu/ UgmtpzIiAKmiao+5DhSPFoL4GXAsHAHHKrH4PrCTl+qOxiZQ4aEKLo3Go0pBmUwIDl+f 1KZwG6qb/uBDNpD2Vo2zuO0HYAHhQqeXh9OBeKa35ASoaVpl/32B7VfX9YyBcg2EoIlS MfhZKcl1qamLNCVrZY5cUZT+XCgp6wppFs0HM7xTXSWkeJmfdgz72njuULvcHOVwtEox fzrg== X-Gm-Message-State: AOJu0YyS0Trl5cYJCAVL2hi1bAF+obmJGefndSWHCSuMWzKN/GgazwKb 0iwIXjz4BQ7xPcvvKrc5G0HuP/Q9RmACiFaVJEY= X-Google-Smtp-Source: AGHT+IEdYCr4A8Zv1QnAoN23ZEEmmH3LN00c+tG7rJT8B8mg6Y4NxigL5SwMuMNDUtOTL1yJkWZH7g== X-Received: by 2002:a5d:460a:0:b0:321:521f:836f with SMTP id t10-20020a5d460a000000b00321521f836fmr1870415wrq.26.1696410392331; Wed, 04 Oct 2023 02:06:32 -0700 (PDT) Received: from m1x-phil.lan (5ep85-h01-176-173-163-52.dslam.bbox.fr. [176.173.163.52]) by smtp.gmail.com with ESMTPSA id v10-20020adff68a000000b003197869bcd7sm3501098wrp.13.2023.10.04.02.06.31 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 04 Oct 2023 02:06:31 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-riscv@nongnu.org, Thomas Huth , qemu-ppc@nongnu.org, qemu-s390x@nongnu.org, qemu-arm@nongnu.org, Paolo Bonzini , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH 00/13] misc: Rename 'softmmu' -> 'system' Date: Wed, 4 Oct 2023 11:06:15 +0200 Message-ID: <20231004090629.37473-1-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32f; envelope-from=philmd@linaro.org; helo=mail-wm1-x32f.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.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org This series finishes the cleanup which remove the confusion of using 'softmmu' when we really mean 'system emulation', as opposition to 'user emulation'. Now that Richard posted its "tcg: Allow softmmu for user-only" series, this is particularly relevant: https://lore.kernel.org/qemu-devel/20231003174356.1602279-1-richard.henderson@linaro.org/ Philippe Mathieu-Daudé (13): softmmu/trace-events: Fix a typo travis-ci: Correct invalid mentions of 'softmmu' by 'system' cpu: Correct invalid mentions of 'softmmu' by 'system-mode' fuzz: Correct invalid mentions of 'softmmu' by 'system' tcg: Correct invalid mentions of 'softmmu' by 'system-mode' accel: Rename accel_softmmu* -> accel_system* gdbstub: Rename 'softmmu' -> 'system' semihosting: Rename softmmu_FOO_user() -> uaccess_FOO_user() target/i386: Rename i386_softmmu_kvm_ss -> i386_kvm_ss hw/virtio/meson: Rename softmmu_virtio_ss -> system_virtio_ss meson: Rename softmmu_mods -> system_mods meson: Rename target_softmmu_arch -> target_system_arch system: Rename softmmu/ directory as system/ MAINTAINERS | 44 +++++++++---------- docs/devel/build-system.rst | 4 +- docs/devel/qtest.rst | 2 +- docs/devel/testing.rst | 2 +- tests/tcg/s390x/pgm-specification.mak | 2 +- meson.build | 22 +++++----- accel/{accel-softmmu.h => accel-system.h} | 6 +-- gdbstub/internals.h | 4 +- include/qemu/atomic128.h | 4 +- .../{softmmu-uaccess.h => uaccess.h} | 24 +++++----- include/sysemu/runstate-action.h | 2 +- include/tcg/tcg-op-common.h | 2 +- softmmu/trace.h | 1 - {softmmu => system}/timers-state.h | 0 system/trace.h | 1 + tests/qtest/fuzz/fuzz.h | 4 +- accel/accel-common.c | 2 +- accel/{accel-softmmu.c => accel-system.c} | 6 +-- accel/tcg/user-exec.c | 2 +- cpu.c | 2 +- gdbstub/{softmmu.c => system.c} | 2 +- hw/core/cpu-common.c | 4 +- semihosting/arm-compat-semi.c | 4 +- semihosting/config.c | 2 +- semihosting/guestfd.c | 2 +- semihosting/syscalls.c | 2 +- semihosting/uaccess.c | 14 +++--- stubs/semihost.c | 4 +- {softmmu => system}/arch_init.c | 0 {softmmu => system}/async-teardown.c | 0 {softmmu => system}/balloon.c | 0 {softmmu => system}/bootdevice.c | 0 {softmmu => system}/cpu-throttle.c | 0 {softmmu => system}/cpu-timers.c | 0 {softmmu => system}/cpus.c | 0 {softmmu => system}/datadir.c | 0 {softmmu => system}/device_tree.c | 0 {softmmu => system}/dirtylimit.c | 0 {softmmu => system}/dma-helpers.c | 0 {softmmu => system}/globals.c | 0 {softmmu => system}/icount.c | 0 {softmmu => system}/ioport.c | 0 {softmmu => system}/main.c | 0 {softmmu => system}/memory.c | 2 +- {softmmu => system}/memory_mapping.c | 0 {softmmu => system}/physmem.c | 6 ++- {softmmu => system}/qdev-monitor.c | 0 {softmmu => system}/qemu-seccomp.c | 0 {softmmu => system}/qtest.c | 0 {softmmu => system}/rtc.c | 0 {softmmu => system}/runstate-action.c | 0 {softmmu => system}/runstate-hmp-cmds.c | 0 {softmmu => system}/runstate.c | 0 {softmmu => system}/tpm-hmp-cmds.c | 0 {softmmu => system}/tpm.c | 0 {softmmu => system}/vl.c | 0 {softmmu => system}/watchpoint.c | 0 target/m68k/m68k-semi.c | 2 +- target/mips/tcg/sysemu/mips-semi.c | 2 +- target/nios2/nios2-semi.c | 2 +- target/riscv/vector_helper.c | 2 +- tcg/region.c | 4 +- tcg/tcg.c | 11 ++--- tests/qtest/fuzz/fuzz.c | 2 +- tests/tcg/multiarch/system/memory.c | 4 +- tcg/aarch64/tcg-target.c.inc | 4 +- tcg/arm/tcg-target.c.inc | 2 +- tcg/i386/tcg-target.c.inc | 2 +- tcg/loongarch64/tcg-target.c.inc | 4 +- tcg/mips/tcg-target.c.inc | 4 +- tcg/ppc/tcg-target.c.inc | 4 +- tcg/riscv/tcg-target.c.inc | 4 +- tcg/s390x/tcg-target.c.inc | 4 +- tcg/sparc64/tcg-target.c.inc | 4 +- .travis.yml | 4 +- accel/meson.build | 2 +- accel/stubs/meson.build | 10 ++--- gdbstub/meson.build | 10 ++--- gdbstub/trace-events | 2 +- hw/virtio/meson.build | 22 +++++----- scripts/checkpatch.pl | 2 +- scripts/coverity-scan/COMPONENTS.md | 2 +- scripts/get_maintainer.pl | 2 +- {softmmu => system}/meson.build | 0 {softmmu => system}/trace-events | 2 +- target/alpha/meson.build | 2 +- target/arm/meson.build | 2 +- target/avr/meson.build | 2 +- target/cris/meson.build | 2 +- target/hppa/meson.build | 2 +- target/i386/kvm/meson.build | 10 ++--- target/i386/meson.build | 2 +- target/loongarch/meson.build | 2 +- target/m68k/meson.build | 2 +- target/microblaze/meson.build | 2 +- target/mips/meson.build | 2 +- target/nios2/meson.build | 2 +- target/openrisc/meson.build | 2 +- target/ppc/meson.build | 2 +- target/riscv/meson.build | 2 +- target/rx/meson.build | 2 +- target/s390x/meson.build | 2 +- target/sh4/meson.build | 2 +- target/sparc/meson.build | 2 +- target/tricore/meson.build | 2 +- target/xtensa/meson.build | 2 +- tcg/meson.build | 6 +-- tests/tcg/Makefile.target | 2 +- tests/tcg/multiarch/gdbstub/interrupt.py | 2 +- tests/tcg/multiarch/gdbstub/memory.py | 2 +- tests/tcg/s390x/pgm-specification-softmmu.S | 2 +- tests/tcg/s390x/softmmu.ld | 2 +- tests/tcg/xtensa/Makefile.softmmu-target | 2 +- tests/tcg/xtensaeb/Makefile.softmmu-target | 2 +- tests/unit/meson.build | 2 +- 115 files changed, 188 insertions(+), 181 deletions(-) rename accel/{accel-softmmu.h => accel-system.h} (77%) rename include/semihosting/{softmmu-uaccess.h => uaccess.h} (75%) delete mode 100644 softmmu/trace.h rename {softmmu => system}/timers-state.h (100%) create mode 100644 system/trace.h rename accel/{accel-softmmu.c => accel-system.c} (96%) rename gdbstub/{softmmu.c => system.c} (99%) rename {softmmu => system}/arch_init.c (100%) rename {softmmu => system}/async-teardown.c (100%) rename {softmmu => system}/balloon.c (100%) rename {softmmu => system}/bootdevice.c (100%) rename {softmmu => system}/cpu-throttle.c (100%) rename {softmmu => system}/cpu-timers.c (100%) rename {softmmu => system}/cpus.c (100%) rename {softmmu => system}/datadir.c (100%) rename {softmmu => system}/device_tree.c (100%) rename {softmmu => system}/dirtylimit.c (100%) rename {softmmu => system}/dma-helpers.c (100%) rename {softmmu => system}/globals.c (100%) rename {softmmu => system}/icount.c (100%) rename {softmmu => system}/ioport.c (100%) rename {softmmu => system}/main.c (100%) rename {softmmu => system}/memory.c (99%) rename {softmmu => system}/memory_mapping.c (100%) rename {softmmu => system}/physmem.c (99%) rename {softmmu => system}/qdev-monitor.c (100%) rename {softmmu => system}/qemu-seccomp.c (100%) rename {softmmu => system}/qtest.c (100%) rename {softmmu => system}/rtc.c (100%) rename {softmmu => system}/runstate-action.c (100%) rename {softmmu => system}/runstate-hmp-cmds.c (100%) rename {softmmu => system}/runstate.c (100%) rename {softmmu => system}/tpm-hmp-cmds.c (100%) rename {softmmu => system}/tpm.c (100%) rename {softmmu => system}/vl.c (100%) rename {softmmu => system}/watchpoint.c (100%) rename {softmmu => system}/meson.build (100%) rename {softmmu => system}/trace-events (99%)