Skip to contentSkip to conversation

drop bogus Eclair R2.1 deviation

RFC PATCH New Jan Beulich 1 participant 1 message Nov 11

lore
Share & tools
lore
#0 lore raw

RFC PATCH 1/1 drop bogus Eclair R2.1 deviation

This has no counterpart in docs/misra/deviations.rst and can't really be meant as written.

Fixes c4392ec83244 ("automation: Add ECLAIR utilities and settings")

---
Of course this causes new violations [1], compared to [2]:
- eclair-ARM64-allcode: 233 (up from 0),
- eclair-ARM64-amd: 279 (up from 0),
- eclair-x86_64-allcode: 197 (up from 7),
- eclair-x86_64-amd: 305 (up from 7).
Some of these may want deviating, but such should be put in place with proper reasoning. As the rule wasn't clean yet (on x86), pipelines would be unaffected though.

[1] https://gitlab.com/xen-project/hardware/xen-staging/-/pipelines/3053300432
[2] https://gitlab.com/xen-project/hardware/xen/-/pipelines/3051143568

automation/eclair_analysis/ECLAIR/deviations.ecl +0 -4
@@ -8,10 +8,6 @@
 -config=MC3A2.R2.1,+reports={safe,"first_area(^.*incompatible with labeled statement$)"}
 -doc_end
 
--doc_begin="Some functions are intended to be not referenced."
--config=MC3A2.R2.1,+reports={deliberate,"first_area(^.*is never referenced$)"}
--doc_end
-
 -doc_begin="Unreachability caused by calls to the following functions or macros is deliberate and there is no risk of code being unexpectedly left out."
 -config=MC3A2.R2.1,statements+={deliberate,"macro(name(BUG||assert_failed))"}
 -config=MC3A2.R2.1,statements+={deliberate, "call(decl(name(__builtin_unreachable||panic||do_unexpected_trap||machine_halt||machine_restart||reboot_or_halt)))"}