[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [RFC PATCH 3/3] misra: address rule 5.5 bitops
On Tue, 29 Jul 2025, Andrew Cooper wrote: > On 29/07/2025 10:24 pm, Dmytro Prokopchuk1 wrote: > > Signed-off-by: Dmytro Prokopchuk <dmytro_prokopchuk1@xxxxxxxx> > > --- > > xen/arch/arm/dm.c | 2 +- > > xen/arch/arm/domctl.c | 2 +- > > xen/arch/arm/gic-vgic.c | 26 +++++++++++----------- > > xen/arch/arm/gic.c | 8 +++---- > > xen/arch/arm/include/asm/cpufeature.h | 2 +- > > xen/arch/arm/include/asm/gic.h | 2 +- > > xen/arch/arm/include/asm/guest_atomics.h | 4 ++-- > > xen/arch/arm/irq.c | 16 ++++++------- > > xen/arch/arm/tee/ffa_partinfo.c | 2 +- > > xen/arch/arm/tee/ffa_private.h | 2 +- > > xen/arch/arm/traps.c | 2 +- > > xen/arch/arm/vgic-v3-its.c | 6 ++--- > > xen/arch/arm/vgic.c | 10 ++++----- > > xen/arch/arm/vgic/vgic-mmio.c | 2 +- > > xen/arch/arm/vgic/vgic.c | 2 +- > > xen/arch/arm/vpsci.c | 4 ++-- > > xen/arch/riscv/cpufeature.c | 2 +- > > xen/arch/riscv/include/asm/guest_atomics.h | 2 +- > > xen/arch/x86/cpu-policy.c | 14 ++++++------ > > xen/arch/x86/cpu/amd.c | 2 +- > > xen/arch/x86/cpu/common.c | 14 ++++++------ > > xen/arch/x86/cpu/mcheck/x86_mca.h | 2 +- > > xen/arch/x86/domain.c | 2 +- > > xen/arch/x86/e820.c | 4 ++-- > > xen/arch/x86/guest/xen/xen.c | 2 +- > > xen/arch/x86/hvm/emulate.c | 2 +- > > xen/arch/x86/hvm/hpet.c | 6 ++--- > > xen/arch/x86/hvm/irq.c | 12 +++++----- > > xen/arch/x86/hvm/svm/nestedsvm.c | 10 ++++----- > > xen/arch/x86/hvm/svm/svm.c | 2 +- > > xen/arch/x86/hvm/viridian/time.c | 4 ++-- > > xen/arch/x86/hvm/vlapic.c | 2 +- > > xen/arch/x86/hvm/vmx/vmcs.c | 8 +++---- > > xen/arch/x86/hvm/vmx/vmx.c | 4 ++-- > > xen/arch/x86/include/asm/guest_atomics.h | 2 +- > > xen/arch/x86/include/asm/hvm/vlapic.h | 2 +- > > xen/arch/x86/include/asm/hvm/vmx/vmx.h | 2 +- > > xen/arch/x86/include/asm/mpspec.h | 2 +- > > xen/arch/x86/irq.c | 26 +++++++++++----------- > > xen/arch/x86/mm.c | 8 +++---- > > xen/arch/x86/mm/hap/hap.c | 2 +- > > xen/arch/x86/mm/paging.c | 4 ++-- > > xen/arch/x86/mm/shadow/common.c | 2 +- > > xen/arch/x86/mm/shadow/hvm.c | 4 ++-- > > xen/arch/x86/monitor.c | 4 ++-- > > xen/arch/x86/msi.c | 2 +- > > xen/arch/x86/psr.c | 2 +- > > xen/arch/x86/pv/dom0_build.c | 4 ++-- > > xen/arch/x86/pv/emul-priv-op.c | 2 +- > > xen/arch/x86/pv/shim.c | 2 +- > > xen/arch/x86/traps.c | 2 +- > > xen/arch/x86/x86_64/mm.c | 2 +- > > xen/arch/x86/x86_64/mmconfig_64.c | 2 +- > > xen/arch/x86/xstate.c | 4 ++-- > > xen/common/domain.c | 4 ++-- > > xen/common/efi/runtime.c | 2 +- > > xen/common/event_2l.c | 2 +- > > xen/common/kexec.c | 16 ++++++------- > > xen/common/keyhandler.c | 2 +- > > xen/common/multicall.c | 2 +- > > xen/common/numa.c | 4 ++-- > > xen/common/page_alloc.c | 4 ++-- > > xen/common/pdx.c | 2 +- > > xen/common/sched/core.c | 12 +++++----- > > xen/common/sched/credit.c | 12 +++++----- > > xen/common/sched/credit2.c | 6 ++--- > > xen/common/sched/rt.c | 4 ++-- > > xen/common/vmap.c | 12 +++++----- > > xen/drivers/passthrough/iommu.c | 2 +- > > xen/drivers/passthrough/vtd/dmar.c | 4 ++-- > > xen/drivers/passthrough/vtd/iommu.c | 4 ++-- > > xen/drivers/passthrough/x86/hvm.c | 2 +- > > xen/drivers/passthrough/x86/iommu.c | 2 +- > > xen/drivers/vpci/vpci.c | 4 ++-- > > xen/include/xen/bitops.h | 8 +++---- > > xen/include/xen/cpumask.h | 6 ++--- > > xen/include/xen/nodemask.h | 2 +- > > xen/include/xen/sched.h | 4 ++-- > > 78 files changed, 194 insertions(+), 194 deletions(-) > > I'm sorry, but as Jan indicated, this is a non-starter. Not least > because it's an API we've inherited from Linux, and want to keep for > familiarity. > > Do whatever is necessary in the Eclair config to placate the check, and > at some point in the future I'll make the problem go away and delete the > deviation. I think at least bitops should be deviated.
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |