From: "Philippe Mathieu-Daudé" <philmd@linaro.org>
To: Richard Henderson <richard.henderson@linaro.org>, qemu-devel@nongnu.org
Subject: Re: [PATCH 14/15] include/exec: Move tb_invalidate_phys_range to translation-block.h
Date: Thu, 24 Apr 2025 09:48:20 +0200 [thread overview]
Message-ID: <52a40a95-97cb-47fd-8cf7-05dbfbde2601@linaro.org> (raw)
In-Reply-To: <35f49ccb-05fc-4143-9af1-c4a43e83d293@linaro.org>
On 24/4/25 09:36, Philippe Mathieu-Daudé wrote:
> On 24/4/25 09:33, Philippe Mathieu-Daudé wrote:
>> On 24/4/25 03:19, Richard Henderson wrote:
>>> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
>>> ---
>>> include/exec/exec-all.h | 4 ----
>>> include/exec/translation-block.h | 4 ++++
>>> 2 files changed, 4 insertions(+), 4 deletions(-)
>>>
>>> diff --git a/include/exec/exec-all.h b/include/exec/exec-all.h
>>> index 24383b6aba..90986152df 100644
>>> --- a/include/exec/exec-all.h
>>> +++ b/include/exec/exec-all.h
>>> @@ -120,10 +120,6 @@ int probe_access_full_mmu(CPUArchState *env,
>>> vaddr addr, int size,
>>> #endif /* !CONFIG_USER_ONLY */
>>> #endif /* CONFIG_TCG */
>>> -/* TranslationBlock invalidate API */
>>> -void tb_invalidate_phys_range(CPUState *cpu, tb_page_addr_t start,
>>> - tb_page_addr_t last);
>>> -
>>> #if !defined(CONFIG_USER_ONLY)
>>
>> We don't need to include "exec/translation-block.h" anymore, please
>> remove it.
>
> To squash:
>
> -- >8 --
> diff --git a/include/exec/exec-all.h b/include/exec/exec-all.h
> index 90986152df3..4c5ad98c6a9 100644
> --- a/include/exec/exec-all.h
> +++ b/include/exec/exec-all.h
> @@ -22,4 +22,6 @@
>
> +#include "exec/hwaddr.h"
> +#include "exec/memattrs.h"
> #include "exec/mmu-access-type.h"
> -#include "exec/translation-block.h"
> +#include "exec/vaddr.h"
>
> ---
>
and because "exec/translation-block.h" includes "exec/cpu-common.h":
-- >8 --
diff --git a/accel/stubs/tcg-stub.c b/accel/stubs/tcg-stub.c
index b2b9881bdfb..3b76b8b17c1 100644
--- a/accel/stubs/tcg-stub.c
+++ b/accel/stubs/tcg-stub.c
@@ -13,4 +13,3 @@
#include "qemu/osdep.h"
-#include "exec/tb-flush.h"
-#include "exec/exec-all.h"
+#include "exec/cpu-common.h"
---
next prev parent reply other threads:[~2025-04-24 7:49 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-24 1:19 [PATCH 00/15] accel/tcg: Compile tb-maint.c twice Richard Henderson
2025-04-24 1:19 ` [PATCH 01/15] accel/tcg: Add CPUState argument to page_unprotect Richard Henderson
2025-04-25 19:27 ` Pierrick Bouvier
2025-04-24 1:19 ` [PATCH 02/15] accel/tcg: Add CPUState argument to tb_invalidate_phys_page_unwind Richard Henderson
2025-04-25 19:30 ` Pierrick Bouvier
2025-04-24 1:19 ` [PATCH 03/15] accel/tcg: Add CPUState arg to tb_invalidate_phys_page_range__locked Richard Henderson
2025-04-24 6:54 ` Philippe Mathieu-Daudé
2025-04-25 19:31 ` Pierrick Bouvier
2025-04-24 1:19 ` [PATCH 04/15] accel/tcg: Merge tb_invalidate_phys_range{__locked} Richard Henderson
2025-04-24 6:57 ` Philippe Mathieu-Daudé
2025-04-25 19:35 ` Pierrick Bouvier
2025-04-24 1:19 ` [PATCH 05/15] accel/tcg: Add CPUState arg to tb_invalidate_phys_range Richard Henderson
2025-04-24 6:58 ` Philippe Mathieu-Daudé
2025-04-25 19:38 ` Pierrick Bouvier
2025-04-24 1:19 ` [PATCH 06/15] accel/tcg: Add CPUState arg to tb_invalidate_phys_range_fast Richard Henderson
2025-04-24 6:58 ` Philippe Mathieu-Daudé
2025-04-25 19:39 ` Pierrick Bouvier
2025-04-24 1:19 ` [PATCH 07/15] accel/tcg: Convert TARGET_HAS_PRECISE_SMC to TCGCPUOps.precise_smc Richard Henderson
2025-04-24 7:01 ` Philippe Mathieu-Daudé
2025-04-25 19:40 ` Pierrick Bouvier
2025-04-24 1:19 ` [PATCH 08/15] accel/tcg: Simplify CPU_TLB_DYN_MAX_BITS Richard Henderson
2025-04-25 19:41 ` Pierrick Bouvier
2025-04-24 1:19 ` [PATCH 09/15] accel/tcg: Simplify L1_MAP_ADDR_SPACE_BITS Richard Henderson
2025-04-25 19:42 ` Pierrick Bouvier
2025-04-24 1:19 ` [PATCH 10/15] accel/tcg: Merge internal-target.h into internal-common.h Richard Henderson
2025-04-24 7:02 ` Philippe Mathieu-Daudé
2025-04-25 19:42 ` Pierrick Bouvier
2025-04-24 1:19 ` [PATCH 11/15] accel/tcg: Reduce scope of tb_phys_invalidate, tb_set_jmp_target Richard Henderson
2025-04-24 7:03 ` Philippe Mathieu-Daudé
2025-04-25 19:43 ` Pierrick Bouvier
2025-04-24 1:19 ` [PATCH 12/15] accel/tcg: Use vaddr for walk_memory_regions callback Richard Henderson
2025-04-24 7:05 ` Philippe Mathieu-Daudé
2025-04-24 9:05 ` Philippe Mathieu-Daudé
2025-04-25 19:44 ` Pierrick Bouvier
2025-04-24 1:19 ` [PATCH 13/15] accel/tcg: Use vaddr in user/page-protection.h Richard Henderson
2025-04-25 19:45 ` Pierrick Bouvier
2025-04-24 1:19 ` [PATCH 14/15] include/exec: Move tb_invalidate_phys_range to translation-block.h Richard Henderson
2025-04-24 7:06 ` Philippe Mathieu-Daudé
2025-04-24 7:33 ` Philippe Mathieu-Daudé
2025-04-24 7:36 ` Philippe Mathieu-Daudé
2025-04-24 7:48 ` Philippe Mathieu-Daudé [this message]
2025-04-24 9:45 ` Philippe Mathieu-Daudé
2025-04-25 19:46 ` Pierrick Bouvier
2025-04-24 1:19 ` [PATCH 15/15] accel/tcg: Compile tb-maint.c twice Richard Henderson
2025-04-25 19:46 ` Pierrick Bouvier
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=52a40a95-97cb-47fd-8cf7-05dbfbde2601@linaro.org \
--to=philmd@linaro.org \
--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).