Calculate minimum binary point from the num-priority-bits property,
instead of hardcoding it.

Signed-off-by: Manos Pitsidianakis <[email protected]>
---
Changes in v2:
- Moved GIC_TARGETLIST_BITS back (thanks Peter)
- Added an additional patch suggested by Peter
- Link to v1: 
https://lore.kernel.org/qemu-devel/[email protected]

---
Manos Pitsidianakis (2):
      gicv2: do not hardcode minimum binary point
      hw/intc/arm_gic.c: move num-priority-bits check

 hw/intc/arm_gic.c                | 24 +++++++-----------------
 hw/intc/arm_gic_common.c         | 14 ++++++++++++--
 include/hw/intc/arm_gic.h        |  2 --
 include/hw/intc/arm_gic_common.h | 18 ++++++++++++++++--
 4 files changed, 35 insertions(+), 23 deletions(-)
---
base-commit: f29ccc287a6cfdd51d3a4fd17fbe9af3310a0ac5
change-id: 20261105-gic_read_bpr_from_property-0882afdb60f3

Best regards,
-- 
Manos Pitsidianakis <[email protected]>


Reply via email to