All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] include/hw/intc/riscv_imsic.h: remove unused macro
@ 2026-10-22 18:19 Daniel Henrique Barboza
  2026-10-23  2:10 ` Chao Liu
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Daniel Henrique Barboza @ 2026-10-22 18:19 UTC (permalink / raw)
  To: qemu-devel
  Cc: qemu-riscv, alistair.francis, liwei1518, zhiwei_liu, chao.liu,
	Daniel Henrique Barboza

Found while reading IMSIC code.

Signed-off-by: Daniel Henrique Barboza <daniel.barboza@oss.qualcomm.com>
---
 include/hw/intc/riscv_imsic.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/hw/intc/riscv_imsic.h b/include/hw/intc/riscv_imsic.h
index 0a1df1c2f8..c744836657 100644
--- a/include/hw/intc/riscv_imsic.h
+++ b/include/hw/intc/riscv_imsic.h
@@ -31,7 +31,6 @@ DECLARE_INSTANCE_CHECKER(RISCVIMSICState, RISCV_IMSIC, TYPE_RISCV_IMSIC)
 #define IMSIC_MMIO_PAGE_SZ             (1UL << IMSIC_MMIO_PAGE_SHIFT)
 #define IMSIC_MMIO_SIZE(__num_pages)   ((__num_pages) * IMSIC_MMIO_PAGE_SZ)
 
-#define IMSIC_MMIO_HART_GUEST_MAX_BTIS 6
 #define IMSIC_MMIO_GROUP_MIN_SHIFT     24
 
 #define IMSIC_HART_NUM_GUESTS(__guest_bits)           \
-- 
2.43.0



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] include/hw/intc/riscv_imsic.h: remove unused macro
  2026-10-22 18:19 [PATCH] include/hw/intc/riscv_imsic.h: remove unused macro Daniel Henrique Barboza
@ 2026-10-23  2:10 ` Chao Liu
  2026-10-23  3:59 ` Alistair Francis
  2026-10-23  5:06 ` Alistair Francis
  2 siblings, 0 replies; 4+ messages in thread
From: Chao Liu @ 2026-10-23  2:10 UTC (permalink / raw)
  To: Daniel Henrique Barboza
  Cc: qemu-devel, qemu-riscv, alistair.francis, liwei1518, zhiwei_liu

On Thu, Oct 22, 2026 at 03:19:57PM +0800, Daniel Henrique Barboza wrote:
> Found while reading IMSIC code.
> 
> Signed-off-by: Daniel Henrique Barboza <daniel.barboza@oss.qualcomm.com>
Reviewed-by: Chao Liu <chao.liu@processmission.com>

Thanks,
Chao

> ---
>  include/hw/intc/riscv_imsic.h | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/include/hw/intc/riscv_imsic.h b/include/hw/intc/riscv_imsic.h
> index 0a1df1c2f8..c744836657 100644
> --- a/include/hw/intc/riscv_imsic.h
> +++ b/include/hw/intc/riscv_imsic.h
> @@ -31,7 +31,6 @@ DECLARE_INSTANCE_CHECKER(RISCVIMSICState, RISCV_IMSIC, TYPE_RISCV_IMSIC)
>  #define IMSIC_MMIO_PAGE_SZ             (1UL << IMSIC_MMIO_PAGE_SHIFT)
>  #define IMSIC_MMIO_SIZE(__num_pages)   ((__num_pages) * IMSIC_MMIO_PAGE_SZ)
>  
> -#define IMSIC_MMIO_HART_GUEST_MAX_BTIS 6
>  #define IMSIC_MMIO_GROUP_MIN_SHIFT     24
>  
>  #define IMSIC_HART_NUM_GUESTS(__guest_bits)           \
> -- 
> 2.43.0
> 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] include/hw/intc/riscv_imsic.h: remove unused macro
  2026-10-22 18:19 [PATCH] include/hw/intc/riscv_imsic.h: remove unused macro Daniel Henrique Barboza
  2026-10-23  2:10 ` Chao Liu
@ 2026-10-23  3:59 ` Alistair Francis
  2026-10-23  5:06 ` Alistair Francis
  2 siblings, 0 replies; 4+ messages in thread
From: Alistair Francis @ 2026-10-23  3:59 UTC (permalink / raw)
  To: daniel.barboza@oss.qualcomm.com, qemu-devel@nongnu.org
  Cc: qemu-riscv@nongnu.org, chao.liu@processmission.com,
	liwei1518@gmail.com, zhiwei_liu@linux.alibaba.com

On Thu, 2026-10-22 at 15:19 -0300, Daniel Henrique Barboza wrote:
> Found while reading IMSIC code.
> 
> Signed-off-by: Daniel Henrique Barboza
> <daniel.barboza@oss.qualcomm.com>

Reviewed-by: Alistair Francis <alistair.francis@wdc.com>

Alistair

> ---
>  include/hw/intc/riscv_imsic.h | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/include/hw/intc/riscv_imsic.h
> b/include/hw/intc/riscv_imsic.h
> index 0a1df1c2f8..c744836657 100644
> --- a/include/hw/intc/riscv_imsic.h
> +++ b/include/hw/intc/riscv_imsic.h
> @@ -31,7 +31,6 @@ DECLARE_INSTANCE_CHECKER(RISCVIMSICState,
> RISCV_IMSIC, TYPE_RISCV_IMSIC)
>  #define IMSIC_MMIO_PAGE_SZ             (1UL <<
> IMSIC_MMIO_PAGE_SHIFT)
>  #define IMSIC_MMIO_SIZE(__num_pages)   ((__num_pages) *
> IMSIC_MMIO_PAGE_SZ)
>  
> -#define IMSIC_MMIO_HART_GUEST_MAX_BTIS 6
>  #define IMSIC_MMIO_GROUP_MIN_SHIFT     24
>  
>  #define IMSIC_HART_NUM_GUESTS(__guest_bits)           \

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] include/hw/intc/riscv_imsic.h: remove unused macro
  2026-10-22 18:19 [PATCH] include/hw/intc/riscv_imsic.h: remove unused macro Daniel Henrique Barboza
  2026-10-23  2:10 ` Chao Liu
  2026-10-23  3:59 ` Alistair Francis
@ 2026-10-23  5:06 ` Alistair Francis
  2 siblings, 0 replies; 4+ messages in thread
From: Alistair Francis @ 2026-10-23  5:06 UTC (permalink / raw)
  To: daniel.barboza@oss.qualcomm.com, qemu-devel@nongnu.org
  Cc: qemu-riscv@nongnu.org, chao.liu@processmission.com,
	liwei1518@gmail.com, zhiwei_liu@linux.alibaba.com

On Thu, 2026-10-22 at 15:19 -0300, Daniel Henrique Barboza wrote:
> Found while reading IMSIC code.
> 
> Signed-off-by: Daniel Henrique Barboza
> <daniel.barboza@oss.qualcomm.com>

Thanks!

Applied to riscv-to-apply.next

Alistair

> ---
>  include/hw/intc/riscv_imsic.h | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/include/hw/intc/riscv_imsic.h
> b/include/hw/intc/riscv_imsic.h
> index 0a1df1c2f8..c744836657 100644
> --- a/include/hw/intc/riscv_imsic.h
> +++ b/include/hw/intc/riscv_imsic.h
> @@ -31,7 +31,6 @@ DECLARE_INSTANCE_CHECKER(RISCVIMSICState,
> RISCV_IMSIC, TYPE_RISCV_IMSIC)
>  #define IMSIC_MMIO_PAGE_SZ             (1UL <<
> IMSIC_MMIO_PAGE_SHIFT)
>  #define IMSIC_MMIO_SIZE(__num_pages)   ((__num_pages) *
> IMSIC_MMIO_PAGE_SZ)
>  
> -#define IMSIC_MMIO_HART_GUEST_MAX_BTIS 6
>  #define IMSIC_MMIO_GROUP_MIN_SHIFT     24
>  
>  #define IMSIC_HART_NUM_GUESTS(__guest_bits)           \

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-10-23  5:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-22 18:19 [PATCH] include/hw/intc/riscv_imsic.h: remove unused macro Daniel Henrique Barboza
2026-10-23  2:10 ` Chao Liu
2026-10-23  3:59 ` Alistair Francis
2026-10-23  5:06 ` Alistair Francis

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.