All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chao Liu <chao.liu.zevorn@gmail.com>
To: Daniel Henrique Barboza <daniel.barboza@oss.qualcomm.com>
Cc: qemu-devel@nongnu.org, qemu-riscv@nongnu.org,
	alistair.francis@wdc.com,  liwei1518@gmail.com,
	zhiwei_liu@linux.alibaba.com, philmd@oss.qualcomm.com,
	 pierrick.bouvier@oss.qualcomm.com,
	Palmer Dabbelt <palmer@dabbelt.com>
Subject: Re: [PATCH 04/24] target/riscv: move pmp files to tcg subdir
Date: Sat, 27 Jun 2026 19:51:06 +0800	[thread overview]
Message-ID: <aj-5H76DGwxXs7pu@ChaodeMacBook-Pro.local> (raw)
In-Reply-To: <20260622193141.1449724-5-daniel.barboza@oss.qualcomm.com>

On Mon, Jun 22, 2026 at 04:31:20PM +0800, Daniel Henrique Barboza wrote:
> A trivial header change is required too.
> 
> Signed-off-by: Daniel Henrique Barboza <daniel.barboza@oss.qualcomm.com>
Reviewed-by: Chao Liu <chao.liu.zevorn@gmail.com>

> ---
>  target/riscv/cpu.h           | 2 +-
>  target/riscv/meson.build     | 1 -
>  target/riscv/tcg/meson.build | 1 +
>  target/riscv/{ => tcg}/pmp.c | 0
>  target/riscv/{ => tcg}/pmp.h | 0
>  5 files changed, 2 insertions(+), 2 deletions(-)
>  rename target/riscv/{ => tcg}/pmp.c (100%)
>  rename target/riscv/{ => tcg}/pmp.h (100%)
> 
> diff --git a/target/riscv/cpu.h b/target/riscv/cpu.h
> index bdd28d329b..f0c78c1474 100644
> --- a/target/riscv/cpu.h
> +++ b/target/riscv/cpu.h
> @@ -183,7 +183,7 @@ extern RISCVCPUImpliedExtsRule *riscv_multi_ext_implied_rules[];
>  #define MMU_USER_IDX 3
>  
>  #if !defined(CONFIG_USER_ONLY)
> -#include "pmp.h"
> +#include "tcg/pmp.h"
>  #endif
>  
>  #define RV_VLEN_MAX 1024
> diff --git a/target/riscv/meson.build b/target/riscv/meson.build
> index 61874ed0af..42d0f6d538 100644
> --- a/target/riscv/meson.build
> +++ b/target/riscv/meson.build
> @@ -22,7 +22,6 @@ riscv_ss.add(files(
>  riscv_system_ss = ss.source_set()
>  riscv_system_ss.add(files(
>    'arch_dump.c',
> -  'pmp.c',
>    'monitor.c',
>    'machine.c',
>    'time_helper.c',
> diff --git a/target/riscv/tcg/meson.build b/target/riscv/tcg/meson.build
> index 5684fcf985..a05ab642f4 100644
> --- a/target/riscv/tcg/meson.build
> +++ b/target/riscv/tcg/meson.build
> @@ -21,6 +21,7 @@ riscv_ss.add(files(
>  riscv_system_ss.add(files(
>    'debug.c',
>    'mips_csr.c',
> +  'pmp.c',
>    'pmu.c',
>    'th_csr.c',
>  ))
> diff --git a/target/riscv/pmp.c b/target/riscv/tcg/pmp.c
> similarity index 100%
> rename from target/riscv/pmp.c
> rename to target/riscv/tcg/pmp.c
> diff --git a/target/riscv/pmp.h b/target/riscv/tcg/pmp.h
> similarity index 100%
> rename from target/riscv/pmp.h
> rename to target/riscv/tcg/pmp.h
> -- 
> 2.43.0
> 


  parent reply	other threads:[~2026-06-27 11:51 UTC|newest]

Thread overview: 71+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-22 19:31 [PATCH 00/24] target/riscv: move TCG files and fix --disable-tcg Daniel Henrique Barboza
2026-06-22 19:31 ` [PATCH 01/24] target/riscv: Remove unused tcg/tcg.h include Daniel Henrique Barboza
2026-06-27 11:03   ` Chao Liu
2026-06-22 19:31 ` [PATCH 02/24] target/riscv: move TCG only files to tcg subdir Daniel Henrique Barboza
2026-06-22 20:52   ` Philippe Mathieu-Daudé
2026-06-27 11:04   ` Chao Liu
2026-06-22 19:31 ` [PATCH 03/24] target/riscv/machine.c: do not migrate pmp state with kvm Daniel Henrique Barboza
2026-06-22 21:25   ` Philippe Mathieu-Daudé
2026-06-23 10:25     ` Philippe Mathieu-Daudé
2026-06-23 14:59     ` Richard Henderson
2026-06-27 11:45   ` Chao Liu
2026-06-22 19:31 ` [PATCH 04/24] target/riscv: move pmp files to tcg subdir Daniel Henrique Barboza
2026-06-22 20:53   ` Philippe Mathieu-Daudé
2026-06-27 11:51   ` Chao Liu [this message]
2026-06-22 19:31 ` [PATCH 05/24] target/riscv: make some riscv_sysemu_ops TCG only Daniel Henrique Barboza
2026-06-22 21:30   ` Philippe Mathieu-Daudé
2026-06-23 15:02     ` Richard Henderson
2026-06-23 17:25     ` Daniel Henrique Barboza
2026-06-23 21:15       ` Daniel Henrique Barboza
2026-06-22 19:31 ` [PATCH 06/24] target/riscv: move pmu.h to tcg subdir Daniel Henrique Barboza
2026-06-22 19:31 ` [PATCH 07/24] target/riscv: move debug.h " Daniel Henrique Barboza
2026-06-22 20:55   ` Philippe Mathieu-Daudé
2026-06-22 19:31 ` [PATCH 08/24] target/riscv: remove csr.h from kvm-cpu.c Daniel Henrique Barboza
2026-06-22 20:57   ` Philippe Mathieu-Daudé
2026-06-22 19:31 ` [PATCH 09/24] target/riscv: move csr.h to tcg subdir Daniel Henrique Barboza
2026-06-22 20:58   ` Philippe Mathieu-Daudé
2026-06-22 19:31 ` [PATCH 10/24] target/riscv: move custom_csrs logic to tcg-cpu.c Daniel Henrique Barboza
2026-06-22 21:02   ` Philippe Mathieu-Daudé
2026-06-23 19:19     ` Daniel Henrique Barboza
2026-06-22 19:31 ` [PATCH 11/24] target/riscv: move riscv_cpu_set_nmi() " Daniel Henrique Barboza
2026-06-22 21:04   ` Philippe Mathieu-Daudé
2026-06-23 19:59     ` Daniel Henrique Barboza
2026-06-22 19:31 ` [PATCH 12/24] target/riscv: move valid_vm_* satp arrays to cpu.c Daniel Henrique Barboza
2026-06-22 19:31 ` [PATCH 13/24] target/riscv: move some irq helpers " Daniel Henrique Barboza
2026-06-22 21:07   ` Philippe Mathieu-Daudé
2026-06-22 19:31 ` [PATCH 14/24] target/riscv: move riscv_cpu_claim_interrupts " Daniel Henrique Barboza
2026-06-22 21:08   ` Philippe Mathieu-Daudé
2026-06-22 19:31 ` [PATCH 15/24] target/riscv/cpu.c: handle TCG bits of riscv_cpu_dump_state Daniel Henrique Barboza
2026-06-22 19:31 ` [PATCH 16/24] target/riscv: gate riscv_cpu_update_mip with tcg_enabled() Daniel Henrique Barboza
2026-06-22 21:12   ` Philippe Mathieu-Daudé
2026-06-23 20:40     ` Daniel Henrique Barboza
2026-06-22 19:31 ` [PATCH 17/24] target/riscv/cpu.c: filter TCG only bits in riscv_cpu_reset_hold() Daniel Henrique Barboza
2026-06-22 21:13   ` Philippe Mathieu-Daudé
2026-06-24 11:19     ` Daniel Henrique Barboza
2026-06-22 19:31 ` [PATCH 18/24] hw/riscv/riscv_hart.c isolate tcg only bits Daniel Henrique Barboza
2026-06-22 21:15   ` Philippe Mathieu-Daudé
2026-06-22 19:31 ` [PATCH 19/24] target/riscv/gdbstub.c: isolate TCG only checks Daniel Henrique Barboza
2026-06-22 19:31 ` [PATCH 20/24] target/riscv: move riscv_cpu_set_rdtime_fn to riscv_aclint Daniel Henrique Barboza
2026-06-22 21:16   ` Philippe Mathieu-Daudé
2026-06-22 19:31 ` [PATCH 21/24] target/riscv/tcg: remove unused riscv_cpu_get_geilen() Daniel Henrique Barboza
2026-06-22 19:31 ` [PATCH 22/24] target/riscv: move riscv_cpu_set_geilen() to riscv-imsic Daniel Henrique Barboza
2026-06-22 19:31 ` [PATCH 23/24] target/riscv: move riscv_cpu_set_aia_ireg_rmw_cb() to riscv_imsic Daniel Henrique Barboza
2026-06-22 21:17   ` Philippe Mathieu-Daudé
2026-06-22 19:31 ` [PATCH 24/24] gitlab-ci.d/crossbuilds: add riscv64 KVM-only build job Daniel Henrique Barboza
2026-06-22 20:52 ` [PATCH 00/24] target/riscv: move TCG files and fix --disable-tcg Pierrick Bouvier
2026-06-22 21:04   ` Daniel Henrique Barboza
2026-06-22 21:23   ` Philippe Mathieu-Daudé
2026-06-22 21:34     ` Pierrick Bouvier
2026-06-23  8:17       ` Philippe Mathieu-Daudé
2026-06-23  9:48       ` Daniel Henrique Barboza
2026-06-23  9:58         ` Peter Maydell
2026-06-23 11:38           ` Daniel Henrique Barboza
2026-06-23 16:10             ` Pierrick Bouvier
2026-06-23 19:01               ` Daniel Henrique Barboza
2026-06-23 19:16                 ` Pierrick Bouvier
2026-06-26  1:41                   ` Alistair Francis
2026-06-26 15:28                     ` Pierrick Bouvier
2026-06-27  3:31                   ` Konstantin Ryabitsev
2026-06-27  7:00                     ` Pierrick Bouvier
2026-06-26  1:37             ` Alistair Francis
2026-06-26 15:25               ` 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=aj-5H76DGwxXs7pu@ChaodeMacBook-Pro.local \
    --to=chao.liu.zevorn@gmail.com \
    --cc=alistair.francis@wdc.com \
    --cc=daniel.barboza@oss.qualcomm.com \
    --cc=liwei1518@gmail.com \
    --cc=palmer@dabbelt.com \
    --cc=philmd@oss.qualcomm.com \
    --cc=pierrick.bouvier@oss.qualcomm.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-riscv@nongnu.org \
    --cc=zhiwei_liu@linux.alibaba.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.