Skip to content

RFC xen/arm: Add support for Huawei hip04-d01 platform

Frediano Ziglio xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest4 patches 15 repliesIn review

Changes from v5 from the cover letter

- do not change gic-v2.c code but use a copy.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4xen/arm: Duplicate gic-v2.c file to support hip04 platform versionxen/arch/arm/Makefile xen/arch/arm/gic-hip04.c+789 -111 replies
2/4xen/arm: Make gic-v2 code handle hip04-d01 platformxen/arch/arm/domain_build.c xen/arch/arm/gic-hip04.c xen/arch/arm/gic.c +1 more+31 -192 replies
3/4xen/arm: handle GICH register changes for hip04-d01 platformxen/arch/arm/gic-hip04.c+5 -01 reply
4/4xen/arm: Force dom0 to use normal GICv2 driver on Hip04 platformxen/arch/arm/gic-hip04.c+3 -71 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH v5.99.1 RFC 0/4] xen/arm: Add support for Huawei hip04-d01 platform

This set of patches add Xen support for hip04-d01 platform (see https://wiki.linaro.org/Boards/D01 for details).

Changes from v5:
- do not change gic-v2.c code but use a copy.

To be considered RFC, to see if better to use copy or other techniques.

Changes from v4:
- rebased to new version;
- removed patch for computing GIC addresses as it apply to all platforms;
- removed patches to platform (cpu and system operations) as now they can use a bootwrapper which provide them.

Changes from v3:
- change the way regs property is computed for GICv2 (Julien Grall);
- revert order of compaible names for GIC (Julien Grall).

Changes from v2:
- rewrote DTS fix patch (Ian Campbell);
- use is_hip04 macro instead of doing explicit test (Julien Grall);
- do not use quirks to distinguish this platform (Ian Cambell);
- move some GIC constants to C files instead of header (Julien Grall);
- minor changes (Julien Grall).

Changes from v1:
- style (Julien Grall);
- make gicv2_send_SGI faster (Julien Grall);
- cleanup correctly if hip04_smp_init fails (Julien Grall);
- remove quirks using compatibility (Ian Campbell);
- other minor suggestions by Julien Grall.

Frediano Ziglio (4):
xen/arm: Duplicate gic-v2.c file to support hip04 platform version xen/arm: Make gic-v2 code handle hip04-d01 platform xen/arm: handle GICH register changes for hip04-d01 platform xen/arm: Force dom0 to use normal GICv2 driver on Hip04 platform

 xen/arch/arm/Makefile       |   2 +-
 xen/arch/arm/domain_build.c |   1 +
 xen/arch/arm/gic-hip04.c    | 796 ++++++++++++++++++++++++++++++++++++++++++++
 xen/arch/arm/gic.c          |   3 +-
 xen/include/asm-arm/gic.h   |   3 +
 5 files changed, 803 insertions(+), 2 deletions(-)
 create mode 100644 xen/arch/arm/gic-hip04.c
Signature · 1 line
1.9.1