Skip to contentSkip to conversation

include/hw/intc/riscv_imsic.h: remove unused macro

PATCH Applied Daniel Henrique Barboza 3 participants 4 messages Oct 22 – Oct 23 RISC-V

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 include/hw/intc/riscv_imsic.h: remove unused macro

Found while reading IMSIC code.

---
 include/hw/intc/riscv_imsic.h | 1 -
 1 file changed, 1 deletion(-)
include/hw/intc/riscv_imsic.h +0 -1
index 0a1df1c2f8..c744836657 100644
@@ -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)           \
Signature · 1 line
2.43.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 3 lines · Daniel Henrique Barboza

Found while reading IMSIC code.

Thanks,
Chao

Quoted 19 lines
---
 include/hw/intc/riscv_imsic.h | 1 -
 1 file changed, 1 deletion(-)
include/hw/intc/riscv_imsic.h +0 -1
index 0a1df1c2f8..c744836657 100644
@@ -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)           \
Signature · 1 line
2.43.0
Reviewed-by on v1 1/1
#2 lore raw
In reply to Daniel Henrique Barboza
Quoted 4 lines · Daniel Henrique Barboza

Found while reading IMSIC code.

Signed-off-by: Daniel Henrique Barboza
<[email protected]>

Alistair

Quoted 20 lines

---
 include/hw/intc/riscv_imsic.h | 1 -

 1 file changed, 1 deletion(-)
include/hw/intc/riscv_imsic.h +0 -0
index 0a1df1c2f8..c744836657 100644
@@ -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)           \

#3 lore raw
In reply to Daniel Henrique Barboza
Quoted 4 lines · Daniel Henrique Barboza

Found while reading IMSIC code.

Signed-off-by: Daniel Henrique Barboza
<[email protected]>

Thanks!

Applied to riscv-to-apply.next

Alistair

Quoted 20 lines

---
 include/hw/intc/riscv_imsic.h | 1 -

 1 file changed, 1 deletion(-)
include/hw/intc/riscv_imsic.h +0 -0
index 0a1df1c2f8..c744836657 100644
@@ -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)           \