Skip to content

xen: deviate asm-only function definitions for Rule 8.4

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 Latest2 patches 3 repliesIn review
  2. v12 patches 6 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2xen: apply deviation for Rule 8.4 (asm-only definitions)docs/misra/safe.json xen/arch/arm/cpuerrata.c xen/arch/arm/setup.c +8 more+35 -42 replies
2/2automation: execute SAF translation before the analysis with ECLAIRautomation/eclair_analysis/prepare.sh+3 -01 reply

Reviews trailers per patch

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

PatchStefano StabelliniJan Beulich
1/2R-b A-b
2/2A-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/2] xen: deviate asm-only function definitions for Rule 8.4

As stated in 'docs/misra/rules.rst' the community decided to deviate from Rule 8.4 whereby the definitions concern entities that are only used in asm modules. The chosen deviation mechanism is that of textual deviations, through the use of /* SAF-n-safe */ comments.

The deviation of variables is postponed to a future patch.

Nicola Vetrini (2):
xen: apply deviation for Rule 8.4 (asm-only definitions)
automation: execute SAF translation before the analysis with ECLAIR

 automation/eclair_analysis/prepare.sh | 3 +++
 docs/misra/safe.json                  | 8 ++++++++
 xen/arch/arm/cpuerrata.c              | 1 +
 xen/arch/arm/setup.c                  | 1 +
 xen/arch/arm/smpboot.c                | 1 +
 xen/arch/arm/traps.c                  | 7 +++++++
 xen/arch/x86/boot/cmdline.c           | 1 +
 xen/arch/x86/boot/reloc.c             | 1 +
 xen/arch/x86/extable.c                | 4 ++--
 xen/arch/x86/setup.c                  | 1 +
 xen/arch/x86/traps.c                  | 9 +++++++++
 xen/common/efi/boot.c                 | 5 +++--
 12 files changed, 38 insertions(+), 4 deletions(-)

--
2.34.1