Skip to content

Move Xen ECLAIR configuration to analyze.yaml

Nicola Vetrini xen-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 4 repliesIn review
  2. v13 patches 6 repliesSuperseded

Changes in v2 from the cover letter

- changed subject prefix and parameter name of patch 2

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3xen/arm: platform: address violation of MISRA C Rule 7.2xen/arch/arm/platforms/brcm-raspberry-pi.c+3 -30 replies
2/3xen/rt: address violation of MISRA C Rule 8.2xen/common/sched/rt.c+1 -14 replies
3/3automation: Update ECLAIR analysis configurationautomation/eclair_analysis/prepare.sh automation/eclair_analysis/xen_arm_config automation/eclair_analysis/xen_x86_config +1 more+73 -2870 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchStefano StabelliniJuergen Gross
1/3R-b
2/3R-b R-b
3/3R-b

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 PATCH v2 0/3] Move Xen ECLAIR configuration to analyze.yaml

The initial configuration for the ECLAIR MISRA C analysis integration into Xen consisted of two fixed configuration files (one for arm64 and one for x86_64). This approach shows its downsides as configuration options may change over time.

To address this issues, the configuration can be derived from the architecture's defconfig and overridden in analyze.yaml via EXTRA_XEN_CONFIG. While doing this, some inconsistencies that were overlooked in the hand-crafted configuration files have been resolved following the advice of Stefano Stabellini and Michal Orzel.

A few regressions on clean guidelines result from such configuration changes, therefore both patches are prerequisite to the last one to keep avoid pipeline failures.

---

Changes in v2:
- changed subject prefix and parameter name of patch 2

Nicola Vetrini (3):
xen/arm: platform: address violation of MISRA C Rule 7.2 xen/rt: address violation of MISRA C Rule 8.2
automation: Update ECLAIR analysis configuration

 automation/eclair_analysis/prepare.sh      |   8 +-
 automation/eclair_analysis/xen_arm_config  | 141 --------------------
 automation/eclair_analysis/xen_x86_config  | 143 ---------------------
 automation/gitlab-ci/analyze.yaml          |  68 ++++++++++
 xen/arch/arm/platforms/brcm-raspberry-pi.c |   6 +-
 xen/common/sched/rt.c                      |   2 +-
 6 files changed, 77 insertions(+), 291 deletions(-)
 delete mode 100644 automation/eclair_analysis/xen_arm_config
 delete mode 100644 automation/eclair_analysis/xen_x86_config
Signature · 1 line
2.43.0