From: Igor Mammedov <imammedo@redhat.com>
To: qemu-devel@nongnu.org
Cc: alex.bennee@linaro.org, richard.henderson@linaro.org,
pbonzini@redhat.com, imp@bsdimp.com, kevans@freebsd.org,
gaosong@loongson.cn, laurent@vivier.eu
Subject: [PATCH 1/6] bsd-user: drop not longer used target_reset_cpu()
Date: Wed, 29 Jan 2025 14:44:31 +0100 [thread overview]
Message-ID: <20250129134436.1240740-2-imammedo@redhat.com> (raw)
In-Reply-To: <20250129134436.1240740-1-imammedo@redhat.com>
target_reset_cpu() static inlines have no user,
remove them.
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
---
bsd-user/aarch64/target_arch_cpu.h | 5 -----
bsd-user/arm/target_arch_cpu.h | 4 ----
bsd-user/i386/target_arch_cpu.h | 5 -----
bsd-user/riscv/target_arch_cpu.h | 4 ----
bsd-user/x86_64/target_arch_cpu.h | 5 -----
5 files changed, 23 deletions(-)
diff --git a/bsd-user/aarch64/target_arch_cpu.h b/bsd-user/aarch64/target_arch_cpu.h
index 87fbf6d677..46a448e93f 100644
--- a/bsd-user/aarch64/target_arch_cpu.h
+++ b/bsd-user/aarch64/target_arch_cpu.h
@@ -181,9 +181,4 @@ static inline void target_cpu_clone_regs(CPUARMState *env, target_ulong newsp)
pstate_write(env, 0);
}
-static inline void target_cpu_reset(CPUArchState *env)
-{
-}
-
-
#endif /* TARGET_ARCH_CPU_H */
diff --git a/bsd-user/arm/target_arch_cpu.h b/bsd-user/arm/target_arch_cpu.h
index bc2eaa0bf4..b9583b0f92 100644
--- a/bsd-user/arm/target_arch_cpu.h
+++ b/bsd-user/arm/target_arch_cpu.h
@@ -206,8 +206,4 @@ static inline void target_cpu_clone_regs(CPUARMState *env, target_ulong newsp)
env->regs[0] = 0;
}
-static inline void target_cpu_reset(CPUArchState *env)
-{
-}
-
#endif /* TARGET_ARCH_CPU_H */
diff --git a/bsd-user/i386/target_arch_cpu.h b/bsd-user/i386/target_arch_cpu.h
index 5d4c931dec..371e702799 100644
--- a/bsd-user/i386/target_arch_cpu.h
+++ b/bsd-user/i386/target_arch_cpu.h
@@ -194,9 +194,4 @@ static inline void target_cpu_clone_regs(CPUX86State *env, target_ulong newsp)
env->regs[R_EAX] = 0;
}
-static inline void target_cpu_reset(CPUArchState *env)
-{
- cpu_reset(env_cpu(env));
-}
-
#endif /* TARGET_ARCH_CPU_H */
diff --git a/bsd-user/riscv/target_arch_cpu.h b/bsd-user/riscv/target_arch_cpu.h
index ef92f00480..d3cc5adbf4 100644
--- a/bsd-user/riscv/target_arch_cpu.h
+++ b/bsd-user/riscv/target_arch_cpu.h
@@ -141,8 +141,4 @@ static inline void target_cpu_clone_regs(CPURISCVState *env, target_ulong newsp)
env->gpr[xT0] = 0;
}
-static inline void target_cpu_reset(CPUArchState *env)
-{
-}
-
#endif /* TARGET_ARCH_CPU_H */
diff --git a/bsd-user/x86_64/target_arch_cpu.h b/bsd-user/x86_64/target_arch_cpu.h
index f82042e30a..8ec5c65fab 100644
--- a/bsd-user/x86_64/target_arch_cpu.h
+++ b/bsd-user/x86_64/target_arch_cpu.h
@@ -169,9 +169,4 @@ static inline void target_cpu_clone_regs(CPUX86State *env, target_ulong newsp)
env->regs[R_EAX] = 0;
}
-static inline void target_cpu_reset(CPUArchState *env)
-{
- cpu_reset(env_cpu(env));
-}
-
#endif /* TARGET_ARCH_CPU_H */
--
2.43.0
next prev parent reply other threads:[~2025-01-29 13:46 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-29 13:44 [PATCH 0/6] tcg: fix qemu crash when add assert_cpu_is_self() is enabled and cleanups related to cpu->created check Igor Mammedov
2025-01-29 13:44 ` Igor Mammedov [this message]
2025-01-29 13:44 ` [PATCH 2/6] loongarch: reset vcpu after it's created Igor Mammedov
2025-01-29 13:44 ` [PATCH 3/6] m68k: " Igor Mammedov
2025-01-29 13:44 ` [PATCH 4/6] tcg:tlb: use tcg_debug_assert() in assert_cpu_is_self() Igor Mammedov
2025-01-31 12:19 ` Alex Bennée
2025-01-31 13:47 ` [PATCH v2 " Igor Mammedov
2025-01-29 13:44 ` [PATCH 5/6] Revert "tcg/cputlb: remove other-cpu capability from TLB flushing" Igor Mammedov
2025-01-29 18:33 ` BALATON Zoltan
2025-01-30 8:06 ` Igor Mammedov
2025-01-29 13:44 ` [PATCH 6/6] tcg: drop cpu->created check Igor Mammedov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250129134436.1240740-2-imammedo@redhat.com \
--to=imammedo@redhat.com \
--cc=alex.bennee@linaro.org \
--cc=gaosong@loongson.cn \
--cc=imp@bsdimp.com \
--cc=kevans@freebsd.org \
--cc=laurent@vivier.eu \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=richard.henderson@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).