Skip to content

Arm: Enable GICv3 for AArch32 (v8R)

Ayan Kumar Halder xen-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest12 patches 46 repliesIn review
  2. v1 RFC1 of 12 patches 2 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12xen/Arm: vGICv3: Sysreg emulation is applicable for Aarch64 onlyxen/arch/arm/vgic-v3.c+4 -02 replies
2/12xen/Arm: GICv3: Move the macros to compute the affnity level to arm64/arm32xen/arch/arm/include/asm/arm32/processor.h xen/arch/arm/include/asm/arm64/processor.h xen/arch/arm/include/asm/processor.h+13 -68 replies
3/12xen/Arm: vreg: Support vreg_reg64_* helpers on Aarch32xen/arch/arm/include/asm/vreg.h+20 -683 replies
4/12xen/Arm: vGICv3: Adapt emulation of GICR_TYPER for AArch32xen/arch/arm/vgic-v3.c+6 -45 replies
5/12xen/Arm: GICv3: Fix GICR_{PENDBASER, PROPBASER} emulation on 32-bit hostxen/arch/arm/include/asm/gic_v3_defs.h+8 -82 replies
6/12xen/Arm: vGICv3: Fix emulation of ICC_SGI1R on AArch32xen/arch/arm/vgic-v3.c+1 -12 replies
7/12xen/Arm: GICv3: Define ICH_LR<n>_EL2 on AArch32xen/arch/arm/gic-v3.c xen/arch/arm/include/asm/arm32/sysregs.h xen/arch/arm/include/asm/arm64/sysregs.h +2 more+131 -693 replies
8/12xen/Arm: GICv3: Define ICH_AP0R<n> and ICH_AP1R<n> for AArch32xen/arch/arm/include/asm/arm32/sysregs.h xen/arch/arm/include/asm/cpregs.h+11 -12 replies
9/12xen/Arm: GICv3: Define GIC registers for AArch32xen/arch/arm/include/asm/cpregs.h+16 -06 replies
10/12xen/Arm: GICv3: Use ULL instead of UL for 64bitsxen/arch/arm/gic-v3-lpi.c xen/arch/arm/gic-v3.c xen/arch/arm/include/asm/gic_v3_defs.h +2 more+17 -163 replies
11/12xen/Arm: GICv3: Define macros to read/write 64 bitxen/arch/arm/include/asm/arm32/io.h+21 -05 replies
12/12xen/Arm: GICv3: Enable GICv3 for AArch32SUPPORT.md xen/arch/arm/Kconfig xen/arch/arm/include/asm/cpufeature.h+9 -25 replies

Reviews trailers per patch

3 of 12 patches have a Reviewed-by or Acked-by.

PatchMichal OrzelJulien Grall
1/12
2/12
3/12
4/12
5/12R-b A-b
6/12R-b A-b
7/12
8/12R-b A-b
9/12
10/12
11/12
12/12

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [XEN v2 00/12] Arm: Enable GICv3 for AArch32 (v8R)

Hi All,

Please find the following patches to enable GICv3 for AArch32. This is a pre-requisite to support Xen on Cortex-R52 (AArch32-v8R system)

Let me know your thoughts.

Changes from v1 :-
1. Updated in the changelog for each of the patches.

Ayan Kumar Halder (12):
xen/Arm: vGICv3: Sysreg emulation is applicable for Aarch64 only xen/Arm: GICv3: Move the macros to compute the affnity level to

    arm64/arm32

xen/Arm: vreg: Support vreg_reg64_* helpers on Aarch32 xen/Arm: vGICv3: Adapt emulation of GICR_TYPER for AArch32 xen/Arm: GICv3: Fix GICR_{PENDBASER, PROPBASER} emulation on 32-bit
host
xen/Arm: vGICv3: Fix emulation of ICC_SGI1R on AArch32 xen/Arm: GICv3: Define ICH_LR<n>_EL2 on AArch32
xen/Arm: GICv3: Define ICH_AP0R<n> and ICH_AP1R<n> for AArch32 xen/Arm: GICv3: Define GIC registers for AArch32 xen/Arm: GICv3: Use ULL instead of UL for 64bits xen/Arm: GICv3: Define macros to read/write 64 bit xen/Arm: GICv3: Enable GICv3 for AArch32

 SUPPORT.md                                 |   6 +
 xen/arch/arm/Kconfig                       |   4 +-
 xen/arch/arm/gic-v3-lpi.c                  |   8 +-
 xen/arch/arm/gic-v3.c                      | 132 ++++++++++-----------
 xen/arch/arm/include/asm/arm32/io.h        |  21 ++++
 xen/arch/arm/include/asm/arm32/processor.h |   5 +
 xen/arch/arm/include/asm/arm32/sysregs.h   |  18 ++-
 xen/arch/arm/include/asm/arm64/processor.h |   8 ++
 xen/arch/arm/include/asm/arm64/sysregs.h   |   3 +
 xen/arch/arm/include/asm/cpregs.h          |  69 +++++++++++
 xen/arch/arm/include/asm/cpufeature.h      |   1 +
 xen/arch/arm/include/asm/gic_v3_defs.h     |  24 ++--
 xen/arch/arm/include/asm/gic_v3_its.h      |   2 +-
 xen/arch/arm/include/asm/processor.h       |   6 -
 xen/arch/arm/include/asm/vreg.h            |  88 ++++----------
 xen/arch/arm/vgic-v3-its.c                 |  17 +--
 xen/arch/arm/vgic-v3.c                     |  16 ++-
 17 files changed, 255 insertions(+), 173 deletions(-)
Signature · 1 line
2.17.1