Files
xen/docs/misra/exclude-list.json
T
Oleksii Kurochko ba0d1a7ced xen/lib: introduce generic find next bit operations
find-next-bit.c is common for Arm64, PPC and RISCV64,
so it is moved to xen/lib.

PPC has been transitioned to generic functions from find-next-bit.c
since it now shares the same implementation as the PPC-specific code.

The MISRA exclude list has been updated to verify
lib/find-next-bit.c instead of Arm's find_next_bit.c,
as Arm's find_next_bit.c has been relocated to xen/lib/.

Despite CONFIG_GENERIC_FIND_FIRST_BIT not currently being used in
Xen and being removed from the Linux kernel [1], it could theoretically
prove useful for Xen. This is because the Linux kernel transitioned
Arm to the generic version of find_first_bit() and
find_first_zero_bit() due to improvements [1] in both performance
and .text size.
It would be prudent to investigate whether [1] is applicable to Xen
as well and, if so, implement the necessary changes in a separate patch.

[1] https://lore.kernel.org/linux-arch/20211005054059.475634-5-yury.norov@gmail.com/

Suggested-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Oleksii Kurochko <oleksii.kurochko@gmail.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Shawn Anastasio <sanastasio@raptorengineering.com>
Reviewed-by: Julien Grall <jgrall@amazon.com>
2024-02-28 11:55:32 +00:00

246 lines
7.9 KiB
JSON

{
"version": "1.0",
"content": [
{
"rel_path": "arch/*/include/asm/*/efibind.h",
"comment": "Imported from gnu-efi package, ignore for now"
},
{
"rel_path": "arch/arm/arm64/cpufeature.c",
"comment": "Imported from Linux, ignore for now"
},
{
"rel_path": "arch/arm/arm64/insn.c",
"comment": "Imported on Linux, ignore for now"
},
{
"rel_path": "arch/x86/acpi/boot.c",
"comment": "Imported from Linux, ignore for now"
},
{
"rel_path": "arch/x86/acpi/cpu_idle.c",
"comment": "Imported from Linux, ignore for now"
},
{
"rel_path": "arch/x86/acpi/cpufreq/cpufreq.c",
"comment": "Imported from Linux, ignore for now"
},
{
"rel_path": "arch/x86/acpi/cpuidle_menu.c",
"comment": "Imported from Linux, ignore for now"
},
{
"rel_path": "arch/x86/acpi/lib.c",
"comment": "Imported from Linux, ignore for now"
},
{
"rel_path": "arch/x86/cpu/amd.c",
"comment": "Imported from Linux, ignore for now"
},
{
"rel_path": "arch/x86/cpu/centaur.c",
"comment": "Imported from Linux, ignore for now"
},
{
"rel_path": "arch/x86/cpu/common.c",
"comment": "Imported from Linux, ignore for now"
},
{
"rel_path": "arch/x86/cpu/hygon.c",
"comment": "Imported from Linux, ignore for now"
},
{
"rel_path": "arch/x86/cpu/intel.c",
"comment": "Imported from Linux, ignore for now"
},
{
"rel_path": "arch/x86/cpu/intel_cacheinfo.c",
"comment": "Imported from Linux, ignore for now"
},
{
"rel_path": "arch/x86/cpu/mcheck/non-fatal.c",
"comment": "Imported from Linux, ignore for now"
},
{
"rel_path": "arch/x86/cpu/mtrr/*",
"comment": "Imported from Linux, ignore for now"
},
{
"rel_path": "arch/x86/cpu/mwait-idle.c",
"comment": "Imported from Linux, ignore for now"
},
{
"rel_path": "arch/x86/delay.c",
"comment": "Imported from Linux, ignore for now"
},
{
"rel_path": "arch/x86/dmi_scan.c",
"comment": "Imported from Linux, ignore for now"
},
{
"rel_path": "arch/x86/mpparse.c",
"comment": "Imported from Linux, ignore for now"
},
{
"rel_path": "arch/x86/srat.c",
"comment": "Imported from Linux, ignore for now"
},
{
"rel_path": "arch/x86/time.c",
"comment": "Imported from Linux, ignore for now"
},
{
"rel_path": "arch/x86/x86_64/mmconf-fam10h.c",
"comment": "Imported from Linux, ignore for now"
},
{
"rel_path": "arch/x86/efi/check.c",
"comment": "The resulting code is not included in the final Xen binary, ignore for now"
},
{
"rel_path": "arch/*/*/asm-offsets.c",
"comment": "The resulting code is not included in the final Xen binary, ignore for now"
},
{
"rel_path": "common/coverage/*",
"comment": "Files to support gcov, ignore for now"
},
{
"rel_path": "common/bitmap.c",
"comment": "Imported from Linux, ignore for now"
},
{
"rel_path": "common/bunzip2.c",
"comment": "Imported from Linux, ignore for now"
},
{
"rel_path": "common/earlycpio.c",
"comment": "Imported from Linux, ignore for now"
},
{
"rel_path": "common/inflate.c",
"comment": "Imported from Linux, ignore for now"
},
{
"rel_path": "common/libfdt/*",
"comment": "External library"
},
{
"rel_path": "include/xen/libfdt/*",
"comment": "External library"
},
{
"rel_path": "common/livepatch_elf.c",
"comment": "Not in scope initially as it generates many violations and it is not enabled in safety configurations"
},
{
"rel_path": "common/lzo.c",
"comment": "Imported from Linux, ignore for now"
},
{
"rel_path": "common/lz4/decompress.c",
"comment": "Imported from Linux, ignore for now"
},
{
"rel_path": "common/radix-tree.c",
"comment": "Imported from Linux, ignore for now"
},
{
"rel_path": "common/ubsan/ubsan.c",
"comment": "Imported from Linux, ignore for now"
},
{
"rel_path": "common/un*.c",
"comment": "unlz4.c implementation by Yann Collet, the others un* are from Linux, ignore for now"
},
{
"rel_path": "common/xz/*",
"comment": "Imported from Linux, ignore for now"
},
{
"rel_path": "common/zstd/*",
"comment": "Imported from Linux, ignore for now"
},
{
"rel_path": "common/symbols-dummy.c",
"comment": "The resulting code is not included in the final Xen binary, ignore for now"
},
{
"rel_path": "crypto/*",
"comment": "Origin is external and documented in crypto/README.source"
},
{
"rel_path": "drivers/acpi/apei/*",
"comment": "Imported from Linux, ignore for now"
},
{
"rel_path": "drivers/acpi/hwregs.c",
"comment": "Imported from Linux, ignore for now"
},
{
"rel_path": "drivers/acpi/numa.c",
"comment": "Imported from Linux, ignore for now"
},
{
"rel_path": "drivers/acpi/osl.c",
"comment": "Imported from Linux, ignore for now"
},
{
"rel_path": "drivers/acpi/tables.c",
"comment": "Imported from Linux, ignore for now"
},
{
"rel_path": "drivers/acpi/tables/*",
"comment": "Imported from Linux, ignore for now"
},
{
"rel_path": "drivers/acpi/utilities/*",
"comment": "Imported from Linux, ignore for now"
},
{
"rel_path": "drivers/video/font_*",
"comment": "Imported from Linux, ignore for now"
},
{
"rel_path": "include/acpi/ac*.h",
"comment": "Imported from Linux, ignore for now"
},
{
"rel_path": "include/acpi/platform/ac*.h",
"comment": "Imported from Linux, ignore for now"
},
{
"rel_path": "include/xen/acpi.h",
"comment": "Imported from Linux, ignore for now"
},
{
"rel_path": "include/efi/*",
"comment": "Imported from gnu-efi package, ignore for now"
},
{
"rel_path": "include/xen/decompress.h",
"comment": "Imported from Linux, ignore for now"
},
{
"rel_path": "lib/find-next-bit.c",
"comment": "Imported from Linux, ignore for now"
},
{
"rel_path": "lib/list-sort.c",
"comment": "Imported from Linux, ignore for now"
},
{
"rel_path": "lib/rbtree.c",
"comment": "Imported from Linux, ignore for now"
},
{
"rel_path": "lib/xxhash*.c",
"comment": "Imported from Linux, ignore for now"
},
{
"rel_path": "xsm/flask/*",
"comment": "Not in scope initially as it generates many violations and it is not enabled in safety configurations"
}
]
}