From: Federico Serafini <federico.serafini@bugseng.com>
To: xen-devel@lists.xenproject.org
Cc: consulting@bugseng.com,
"Federico Serafini" <federico.serafini@bugseng.com>,
"Jan Beulich" <jbeulich@suse.com>,
"Andrew Cooper" <andrew.cooper3@citrix.com>,
"Roger Pau Monné" <roger.pau@citrix.com>,
"Tamas K Lengyel" <tamas@tklengyel.com>,
"Alexandru Isaila" <aisaila@bitdefender.com>,
"Petre Pircalabu" <ppircalabu@bitdefender.com>,
"Daniel P. Smith" <dpsmith@apertussolutions.com>,
"Marek Marczykowski-Górecki" <marmarek@invisiblethingslab.com>
Subject: [XEN PATCH 00/12] x86: address violations of MISRA C Rule 16.3
Date: Tue, 10 Sep 2024 12:08:52 +0200 [thread overview]
Message-ID: <cover.1725958416.git.federico.serafini@bugseng.com> (raw)
This patch series addresses violations of Rule 16.3 on the x86 code.
If all the 12 patches will be committed, only 4 violations will be left:
these are under x86_emulate and involve some fallthrough cases.
I'll wait for instructions from x86 maintainers about the right "format" to make
the fallthrough intention explicit (i.e., a comment or the fallthrough keyword
that is not defined in x86-emulate.h at the moment).
Federico Serafini (12):
x86/psr: address violation of MISRA C Rule 16.3
x86/time: address violations of MISRA C Rule 16.3
x86/vm_event: address violation of MISRA C Rule 16.3
x86/hypercall: address violations of MISRA C Rule 16.3
x86/monitor: address violation of MISRA C Rule 16.3
x86/mm: address violations of MISRA C Rule 16.3
x86/mmcfg: address violation of MISRA C Rule 16.3
x86/emul: add defensive code
x86/emul: address violations of MISRA C Rule 16.3
efi: address violation of MISRA C Rule 16.3
xen/vpci: add defensive code
xen/pci: address a violation of MISRA C Rule 16.3
xen/arch/x86/include/asm/hypercall.h | 4 ++--
xen/arch/x86/include/asm/monitor.h | 1 +
xen/arch/x86/mm/guest_walk.c | 1 +
xen/arch/x86/mm/hap/hap.c | 2 +-
xen/arch/x86/mm/hap/nested_hap.c | 1 +
xen/arch/x86/mm/paging.c | 2 +-
xen/arch/x86/psr.c | 1 +
xen/arch/x86/time.c | 2 ++
xen/arch/x86/vm_event.c | 1 +
xen/arch/x86/x86_64/mmconfig-shared.c | 1 +
xen/arch/x86/x86_emulate/fpu.c | 4 ++++
xen/arch/x86/x86_emulate/x86_emulate.c | 5 +++++
xen/common/efi/runtime.c | 2 +-
xen/drivers/passthrough/pci.c | 4 +++-
xen/drivers/vpci/msix.c | 4 ++++
15 files changed, 29 insertions(+), 6 deletions(-)
--
2.34.1
next reply other threads:[~2024-09-10 10:09 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-10 10:08 Federico Serafini [this message]
2024-09-10 10:08 ` [XEN PATCH 01/12] x86/psr: address violation of MISRA C Rule 16.3 Federico Serafini
2024-09-10 14:43 ` Jan Beulich
2024-09-10 10:08 ` [XEN PATCH 02/12] x86/time: address violations " Federico Serafini
2024-09-10 14:44 ` Jan Beulich
2024-09-10 10:08 ` [XEN PATCH 03/12] x86/vm_event: address violation " Federico Serafini
2024-09-10 17:22 ` Tamas K Lengyel
2024-09-10 10:08 ` [XEN PATCH 04/12] x86/hypercall: address violations " Federico Serafini
2024-09-10 14:52 ` Jan Beulich
2024-09-10 10:08 ` [XEN PATCH 05/12] x86/monitor: address violation " Federico Serafini
2024-09-10 17:21 ` Tamas K Lengyel
2024-09-10 10:08 ` [XEN PATCH 06/12] x86/mm: address violations " Federico Serafini
2024-09-10 14:55 ` Jan Beulich
2024-09-10 17:56 ` Federico Serafini
2024-09-10 10:08 ` [XEN PATCH 07/12] x86/mmcfg: address violation " Federico Serafini
2024-09-10 14:55 ` Jan Beulich
2024-09-10 10:09 ` [XEN PATCH 08/12] x86/emul: add defensive code Federico Serafini
2024-09-11 12:35 ` Jan Beulich
2024-09-10 10:09 ` [XEN PATCH 09/12] x86/emul: address violations of MISRA C Rule 16.3 Federico Serafini
2024-09-11 12:42 ` Jan Beulich
2024-09-12 9:17 ` Federico Serafini
2024-09-12 10:01 ` Jan Beulich
2024-09-12 11:14 ` Federico Serafini
2024-09-10 10:09 ` [XEN PATCH 10/12] efi: address violation " Federico Serafini
2024-10-04 21:24 ` Marek Marczykowski-Górecki
2024-09-10 10:09 ` [XEN PATCH 11/12] xen/vpci: add defensive code Federico Serafini
2024-09-10 14:51 ` Jan Beulich
2024-09-10 10:09 ` [XEN PATCH 12/12] xen/pci: address a violation of MISRA C Rule 16.3 Federico Serafini
2024-09-10 14:57 ` Jan Beulich
2024-09-10 14:59 ` Jan Beulich
2024-09-10 17:41 ` Federico Serafini
2024-09-10 17:46 ` Federico Serafini
2024-09-11 7:31 ` Jan Beulich
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=cover.1725958416.git.federico.serafini@bugseng.com \
--to=federico.serafini@bugseng.com \
--cc=aisaila@bitdefender.com \
--cc=andrew.cooper3@citrix.com \
--cc=consulting@bugseng.com \
--cc=dpsmith@apertussolutions.com \
--cc=jbeulich@suse.com \
--cc=marmarek@invisiblethingslab.com \
--cc=ppircalabu@bitdefender.com \
--cc=roger.pau@citrix.com \
--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.