[PATCH v2 0/2] gic: read bpr from property

Manos Pitsidianakis posted 2 patches 2 weeks, 2 days ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20261106-gic._5Fread._5Fbpr._5Ffrom._5Fproperty-v2-0-9f096cce4814@linaro.org
Maintainers: Peter Maydell <peter.maydell@linaro.org>
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(-)
[PATCH v2 0/2] gic: read bpr from property
Posted by Manos Pitsidianakis 2 weeks, 2 days ago
Calculate minimum binary point from the num-priority-bits property,
instead of hardcoding it.

Signed-off-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
---
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/20261105-gic_read_bpr_from_property-v1-1-7e7392bfd321@linaro.org

---
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 <manos.pitsidianakis@linaro.org>
Re: [PATCH v2 0/2] gic: read bpr from property
Posted by Peter Maydell 2 weeks, 2 days ago
On Fri, 6 Nov 2026 at 07:12, Manos Pitsidianakis
<manos.pitsidianakis@linaro.org> wrote:
>
> Calculate minimum binary point from the num-priority-bits property,
> instead of hardcoding it.
>
> Signed-off-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
> ---
> 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/20261105-gic_read_bpr_from_property-v1-1-7e7392bfd321@linaro.org
>
> ---
> Manos Pitsidianakis (2):
>       gicv2: do not hardcode minimum binary point
>       hw/intc/arm_gic.c: move num-priority-bits check

Applied to target-arm.next, thanks. I moved the second patch
to be first, since it's a prerequisite for the change we
make in patch 2, and adjusted its commit message accordingly.

-- PMM