From: Nicola Vetrini <nicola.vetrini@bugseng.com>
To: Bertrand Marquis <Bertrand.Marquis@arm.com>
Cc: Xen-devel <xen-devel@lists.xenproject.org>,
"Stefano Stabellini" <sstabellini@kernel.org>,
"consulting @ bugseng . com" <consulting@bugseng.com>,
"Jan Beulich" <JBeulich@suse.com>,
"Roger Pau Monné" <roger.pau@citrix.com>,
"Julien Grall" <julien@xen.org>,
"Volodymyr Babchuk" <Volodymyr_Babchuk@epam.com>,
"Michal Orzel" <michal.orzel@amd.com>,
"Andrew Cooper" <andrew.cooper3@citrix.com>
Subject: Re: ARM64 notes: Re: [PATCH] CI: Extend eclair-*-allcode to enable as much as possible
Date: Tue, 06 Jan 2026 09:40:53 +0100 [thread overview]
Message-ID: <543958adfed3e5547141d56341c2788d@bugseng.com> (raw)
In-Reply-To: <541EF107-3536-4525-ACC2-065A9A13481B@arm.com>
On 2026-01-06 09:26, Bertrand Marquis wrote:
> Hi Nicolas,
>
> On this subject, could you help me understand what the following error
> mean and how I should fix that:
> https://eclair-analysis-logs.xenproject.org/fs/space/verdesse0/XEN.ecdf/xen-project/hardware/xen-staging/ECLAIR_normal/andrew/eclair/ARM64/12604499722/PROJECT.ecd;/by_service/MC3A2.R20.12.html
>
Hi Bertrand,
the point here is that the macro parameter 'FFA_VERSION' is itself a
macro. This means that inside 'FW_ABI' and similar macros one occurrence
of the 'abi' macro parameter will be further expanded to the value of
'FFA_VERSION', while the one used for stringification will not. This is
potentially confusing for some programmers that do not know well the
semantics of the preprocessor, which is why MISRA discourages it, but in
these cases I would say it's very much intentional. There are already a
few deviations for special cases (e.g. BUILD_BUG_ON uses the same
pattern to print the condition), so I would suggest adding the macro
FW_ABI to the deviation.
> Thanks
> Bertrand
>
>> On 6 Jan 2026, at 08:33, Bertrand Marquis <Bertrand.Marquis@arm.com>
>> wrote:
>>
>> Hi Andrew,
>>
>>> On 5 Jan 2026, at 19:14, Andrew Cooper <andrew.cooper3@citrix.com>
>>> wrote:
>>>
>>> On 05/01/2026 12:24 pm, Andrew Cooper wrote:
>>>> eclair-x86_64-testing:
>>>> @@ -104,6 +122,33 @@ eclair-ARM64-allcode:
>>>> LOGFILE: "eclair-ARM64.log"
>>>> VARIANT: "ARM64"
>>>> RULESET: "monitored"
>>>> + EXTRA_XEN_CONFIG: |
>>>> + CONFIG_ACPI=y
>>>> + CONFIG_ARGO=y
>>>> + CONFIG_ARM64_SVE=y
>>>> + CONFIG_ARM_SMMU_V3=y
>>>> + CONFIG_BOOT_TIME_CPUPOOLS=y
>>>> + CONFIG_DEBUG_LOCK_PROFILE=y
>>>> + CONFIG_DEBUG_TRACE=y
>>>> + CONFIG_DEVICE_TREE_DEBUG=y
>>>> + CONFIG_EFI_SET_VIRTUAL_ADDRESS_MAP=y
>>>> + CONFIG_EXPERT=y
>>>> + CONFIG_FFA=y
>>>> + CONFIG_FFA_VM_TO_VM=y
>>>> + CONFIG_GICV3_ESPI=y
>>>> + CONFIG_HAS_ITS=y
>>>> + CONFIG_IOREQ_SERVER=y
>>>> + CONFIG_IPMMU_VMSA=y
>>>> + CONFIG_LIVEPATCH=y
>>>> + CONFIG_LLC_COLORING=y
>>>> + CONFIG_OPTEE=y
>>>> + CONFIG_OVERLAY_DTB=y
>>>> + CONFIG_PCI_PASSTHROUGH=y
>>>> + CONFIG_PERF_ARRAYS=y
>>>> + CONFIG_PERF_COUNTERS=y
>>>> + CONFIG_STACK_PROTECTOR=y
>>>> + CONFIG_UNSUPPORTED=y
>>>> + CONFIG_VM_EVENT=y
>>>> allow_failure: true
>>>
>>> https://gitlab.com/xen-project/hardware/xen-staging/-/jobs/12604499722
>>> shows 122 failures in otherwise-clean guidelines. Some observations:
>>>
>>> llc-colouring.c uses binary literals. These are safe to use now
>>> since
>>> 4.21 with the updated toolchain baseline, but the Eclair config wants
>>> updating to allow this language extension.
>>>
>>> ipmmu-vmsa.c has a git:// url inside a block comment, which is
>>> considered to be a Rule 3.1 violation. In principle this ought to
>>> fix it:
>>>
>>> diff --git a/automation/eclair_analysis/ECLAIR/deviations.ecl
>>> b/automation/eclair_analysis/ECLAIR/deviations.ecl
>>> index 7dee4a488d45..8f5fc6c93bc5 100644
>>> --- a/automation/eclair_analysis/ECLAIR/deviations.ecl
>>> +++ b/automation/eclair_analysis/ECLAIR/deviations.ecl
>>> @@ -60,7 +60,7 @@ removed by the compiler, the resulting slowdown is
>>> negligible."
>>>
>>> -doc_begin="Comments starting with '/*' and containing hyperlinks are
>>> safe as
>>> they are not instances of commented-out code."
>>> --config=MC3A2.R3.1,reports+={safe,
>>> "first_area(text(^.*https?://.*$))"}
>>> +-config=MC3A2.R3.1,reports+={safe,
>>> "first_area(text(^.*(https?|git)://.*$))"}
>>> -doc_end
>>>
>>> #
>>>
>>>
>>> but I've not tried it yet.
>>>
>>> There's a R8.4 violation against __stack_chk_guard. I think this
>>> wants
>>> deviating locally, because it's a fairly magic construct.
>>>
>>> Other than that, there's a smattering of violations. Some will be
>>> fixed
>>> by some work I've got pending for the x86 side of things, but most
>>> are
>>> specific to arch/arm/.
>>>
>>
>> They are quite a lot of violations coming from ffa.
>> I have a pending serie on FF-A waiting to be reviewed/committed.
>> I can push something to fix the findings after it, if that is ok for
>> you ?
>>
>> I will retrigger the CI from the branch corresponding to my serie and
>> work
>> from there.
>>
>> In any case, very good thing to activate all those and check with the
>> CI, thanks a lot :-)
>>
>> Cheers
>> Bertrand
>>
>>> ~Andrew
--
Nicola Vetrini, B.Sc.
Software Engineer
BUGSENG (https://bugseng.com)
LinkedIn: https://www.linkedin.com/in/nicola-vetrini-a42471253
next prev parent reply other threads:[~2026-01-06 8:41 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-05 12:24 [PATCH] CI: Extend eclair-*-allcode to enable as much as possible Andrew Cooper
2026-01-05 14:58 ` Jan Beulich
2026-01-05 18:14 ` ARM64 notes: " Andrew Cooper
2026-01-05 21:12 ` Nicola Vetrini
2026-01-05 21:22 ` Andrew Cooper
2026-01-06 7:33 ` Bertrand Marquis
2026-01-06 7:37 ` Bertrand Marquis
2026-01-06 11:20 ` Andrew Cooper
2026-01-06 12:03 ` Bertrand Marquis
2026-01-06 8:26 ` Bertrand Marquis
2026-01-06 8:40 ` Nicola Vetrini [this message]
2026-01-06 11:10 ` Andrew Cooper
2026-02-18 15:49 ` Bertrand Marquis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=543958adfed3e5547141d56341c2788d@bugseng.com \
--to=nicola.vetrini@bugseng.com \
--cc=Bertrand.Marquis@arm.com \
--cc=JBeulich@suse.com \
--cc=Volodymyr_Babchuk@epam.com \
--cc=andrew.cooper3@citrix.com \
--cc=consulting@bugseng.com \
--cc=julien@xen.org \
--cc=michal.orzel@amd.com \
--cc=roger.pau@citrix.com \
--cc=sstabellini@kernel.org \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.