qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/3] Fix number of priority bits for arm boards
@ 2020-02-24  9:39 Sai Pavan Boddu
  2020-02-24  9:39 ` [PATCH v3 1/3] arm_gic: Mask the un-supported priority bits Sai Pavan Boddu
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Sai Pavan Boddu @ 2020-02-24  9:39 UTC (permalink / raw)
  To: Edgar E . Iglesias, Alistair Francis, Peter Maydell,
	Anthony Liguori, afaerber
  Cc: qemu-arm, qemu-devel

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



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

end of thread, other threads:[~2020-02-25 13:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-24  9:39 [PATCH v3 0/3] Fix number of priority bits for arm boards Sai Pavan Boddu
2020-02-24  9:39 ` [PATCH v3 1/3] arm_gic: Mask the un-supported priority bits Sai Pavan Boddu
2020-02-24  9:39 ` [PATCH v3 2/3] cpu/a9mpcore: Set number of GIC priority bits to 5 Sai Pavan Boddu
2020-02-24  9:39 ` [PATCH v3 3/3] cpu/arm11mpcore: Set number of GIC priority bits to 4 Sai Pavan Boddu
2020-02-25 13:03 ` [PATCH v3 0/3] Fix number of priority bits for arm boards Peter Maydell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).