From: Alessandro Zucchelli <alessandro.zucchelli@bugseng.com>
To: Julien Grall <julien@xen.org>
Cc: xen-devel@lists.xenproject.org, consulting@bugseng.com,
Stefano Stabellini <sstabellini@kernel.org>,
Bertrand Marquis <bertrand.marquis@arm.com>,
Michal Orzel <michal.orzel@amd.com>,
Volodymyr Babchuk <Volodymyr_Babchuk@epam.com>,
Tamas K Lengyel <tamas@tklengyel.com>,
Alexandru Isaila <aisaila@bitdefender.com>,
Petre Pircalabu <ppircalabu@bitdefender.com>
Subject: Re: [XEN PATCH v3] arm/mem_access: add conditional build of mem_access.c
Date: Sun, 12 May 2024 15:51:41 +0200 [thread overview]
Message-ID: <0857b27d0e832a281e0bddb87d51d16a@bugseng.com> (raw)
In-Reply-To: <d659e73f-762a-48c9-8936-94bbc771218c@xen.org>
On 2024-05-10 22:59, Julien Grall wrote:
> Hi,
>
> On 10/05/2024 13:32, Alessandro Zucchelli wrote:
>> In order to comply to MISRA C:2012 Rule 8.4 for ARM the following
>> changes are done:
>> revert preprocessor conditional changes to xen/mem_access.h which
>> had it build unconditionally, add conditional build for
>> xen/mem_access.c
>
> I am afraid, I don't understand this one as you don't seem to modify
> xen/mem_access.h. Is this meant to be part of the changelog?
>
> You also don't seem to mention the change in Makefile. This is the one
> I was asking for in the previous version. So what about:
>
> "xen/arm: mem_access: Conditionally compile mem_access.c
>
> Commit 634cfc8beb ("Make MEM_ACCESS configurable") intended to make
> MEM_ACCESS configurable on Arm to reduce the code size when the user
> doesn't need it.
>
> However, this didn't cover the arch specific code. None of the code in
> arm/mem_access.c is necessary when MEM_ACCESS=n, so it can be compiled
> out. This will require to provide some stub for functions called by the
> common code.
>
> This is also fixing violation of the MISRA C:2012 Rule 8.4 reported by
> ECLAIR.
> "
>
> The patch itself loks good so once we agree on the commit message, then
> I am happy to update it on commit.
Hi,
Thanks for the feedback,
>
> I am afraid, I don't understand this one as you don't seem to modify
> xen/mem_access.h. Is this meant to be part of the changelog?
>
you are right, this should be part of the changelog as it referes to the
revert of a previous patch's changes.
I approve of the commit message you provided.
Cheers,
--
Alessandro Zucchelli, B.Sc.
Software Engineer, BUGSENG (https://bugseng.com)
next prev parent reply other threads:[~2024-05-12 13:52 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-10 12:32 [XEN PATCH v3] arm/mem_access: add conditional build of mem_access.c Alessandro Zucchelli
2024-05-10 20:59 ` Julien Grall
2024-05-12 13:51 ` Alessandro Zucchelli [this message]
2024-05-22 18:05 ` Nicola Vetrini
2024-05-14 8:10 ` Jan Beulich
2024-05-14 21:03 ` Julien Grall
2024-05-22 18:27 ` Tamas K Lengyel
2024-05-22 20:50 ` [for-4.19] " Julien Grall
2024-05-23 8:04 ` Oleksii K.
2024-05-23 12:38 ` Julien Grall
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=0857b27d0e832a281e0bddb87d51d16a@bugseng.com \
--to=alessandro.zucchelli@bugseng.com \
--cc=Volodymyr_Babchuk@epam.com \
--cc=aisaila@bitdefender.com \
--cc=bertrand.marquis@arm.com \
--cc=consulting@bugseng.com \
--cc=julien@xen.org \
--cc=michal.orzel@amd.com \
--cc=ppircalabu@bitdefender.com \
--cc=sstabellini@kernel.org \
--cc=tamas@tklengyel.com \
--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.