[PATCH v3 0/3] Fix number of priority bits for arm boards

Sai Pavan Boddu posted 3 patches 5 years, 8 months ago
Test docker-quick@centos7 passed
Test FreeBSD passed
Test docker-mingw@fedora passed
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/1582537164-764-1-git-send-email-sai.pavan.boddu@xilinx.com
Maintainers: Peter Maydell <peter.maydell@linaro.org>
hw/cpu/a9mpcore.c                |  4 ++++
hw/cpu/arm11mpcore.c             |  5 +++++
hw/intc/arm_gic.c                | 33 +++++++++++++++++++++++++++++++--
hw/intc/arm_gic_common.c         |  1 +
include/hw/intc/arm_gic.h        |  2 ++
include/hw/intc/arm_gic_common.h |  1 +
6 files changed, 44 insertions(+), 2 deletions(-)
[PATCH v3 0/3] Fix number of priority bits for arm boards
Posted by Sai Pavan Boddu 5 years, 8 months ago
This patch series implements the mask for unimplemented priority bits in
arm-gic. Which will return the expected number of priority bits on read.

Changes for V2:
    Followed gicv3 code for defining mask for unimplemented bits
    Hardcoded num priority bits for A9 and ARM11MPCore boards
Changes for V3:
    Fixed the code as suggested in V1.
    Implemented checks for max and min priority bits.

Sai Pavan Boddu (3):
  arm_gic: Mask the un-supported priority bits
  cpu/a9mpcore: Set number of GIC priority bits to 5
  cpu/arm11mpcore: Set number of GIC priority bits to 4

 hw/cpu/a9mpcore.c                |  4 ++++
 hw/cpu/arm11mpcore.c             |  5 +++++
 hw/intc/arm_gic.c                | 33 +++++++++++++++++++++++++++++++--
 hw/intc/arm_gic_common.c         |  1 +
 include/hw/intc/arm_gic.h        |  2 ++
 include/hw/intc/arm_gic_common.h |  1 +
 6 files changed, 44 insertions(+), 2 deletions(-)

-- 
2.7.4


Re: [PATCH v3 0/3] Fix number of priority bits for arm boards
Posted by Peter Maydell 5 years, 8 months ago
On Mon, 24 Feb 2020 at 09:44, Sai Pavan Boddu
<sai.pavan.boddu@xilinx.com> wrote:
>
> This patch series implements the mask for unimplemented priority bits in
> arm-gic. Which will return the expected number of priority bits on read.
>
> Changes for V2:
>     Followed gicv3 code for defining mask for unimplemented bits
>     Hardcoded num priority bits for A9 and ARM11MPCore boards
> Changes for V3:
>     Fixed the code as suggested in V1.
>     Implemented checks for max and min priority bits.
>
> Sai Pavan Boddu (3):
>   arm_gic: Mask the un-supported priority bits
>   cpu/a9mpcore: Set number of GIC priority bits to 5
>   cpu/arm11mpcore: Set number of GIC priority bits to 4

Applied to target-arm.next, thanks. (I tweaked a few of
the commit messages to give a little more detail.)

-- PMM