Skip to content

RFC Arm: Enable GICv3 for AArch32

Ayan Kumar Halder xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest12 patches 25 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12Arm: GICv3: Sysreg emulation is applicable for Aarch64 onlyxen/arch/arm/vgic-v3.c+4 -01 reply
2/12Arm: 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+23 -145 replies
3/12Arm: GICv3: Enable vreg_reg64_* macros for AArch32xen/arch/arm/include/asm/vreg.h+8 -156 replies
4/12Arm: GICv3: Emulate GICR_TYPER on AArch32xen/arch/arm/vgic-v3.c+9 -52 replies
5/12Arm: GICv3: Emulate GICR_PENDBASER and GICR_PROPBASER on AArch32xen/arch/arm/include/asm/gic_v3_defs.h xen/arch/arm/vgic-v3.c+12 -101 reply
6/12Arm: GICv3: Emulate of ICC_SGI1R on AArch32xen/arch/arm/vgic-v3.c+1 -11 reply
7/12Arm: GICv3: Emulate 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 +1 more+126 -713 replies
8/12Arm: GICv3: Define ICH_AP0R<n> and ICH_AP1R<n> for AArch32xen/arch/arm/include/asm/arm32/sysregs.h+12 -01 reply
9/12Arm: GICv3: Define GIC registers for AArch32xen/arch/arm/include/asm/arm32/sysregs.h+16 -01 reply
10/12Arm: GICv3: Use ULL instead of UL for 64bitsxen/arch/arm/gic-v3-its.c xen/arch/arm/gic-v3-lpi.c xen/arch/arm/gic-v3.c +3 more+27 -261 reply
11/12Arm: GICv3: Define macros to read/write 64 bitxen/arch/arm/include/asm/arm32/io.h+4 -02 replies
12/12Arm: GICv3: Enable GICv3 for AArch32xen/arch/arm/Kconfig xen/arch/arm/include/asm/cpufeature.h+2 -11 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH v1 00/12] Arm: Enable GICv3 for AArch32

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.

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

    arm64/arm32

Arm: GICv3: Enable vreg_reg64_* macros for AArch32
Arm: GICv3: Emulate GICR_TYPER on AArch32
Arm: GICv3: Emulate GICR_PENDBASER and GICR_PROPBASER on AArch32
Arm: GICv3: Emulate of ICC_SGI1R on AArch32
Arm: GICv3: Emulate ICH_LR<n>_EL2 on AArch32
Arm: GICv3: Define ICH_AP0R<n> and ICH_AP1R<n> for AArch32
Arm: GICv3: Define GIC registers for AArch32
Arm: GICv3: Use ULL instead of UL for 64bits
Arm: GICv3: Define macros to read/write 64 bit
Arm: GICv3: Enable GICv3 for AArch32

 xen/arch/arm/Kconfig                       |   2 +-
 xen/arch/arm/gic-v3-its.c                  |  20 ++--
 xen/arch/arm/gic-v3-lpi.c                  |   8 +-
 xen/arch/arm/gic-v3.c                      | 132 ++++++++++-----------
 xen/arch/arm/include/asm/arm32/io.h        |   4 +
 xen/arch/arm/include/asm/arm32/processor.h |  10 ++
 xen/arch/arm/include/asm/arm32/sysregs.h   |  80 +++++++++++++
 xen/arch/arm/include/asm/arm64/processor.h |  13 ++
 xen/arch/arm/include/asm/arm64/sysregs.h   |   7 +-
 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       |  14 ---
 xen/arch/arm/include/asm/vreg.h            |  23 ++--
 xen/arch/arm/vgic-v3-its.c                 |  17 +--
 xen/arch/arm/vgic-v3.c                     |  26 ++--
 16 files changed, 242 insertions(+), 141 deletions(-)
Signature · 1 line
2.17.1