Kernel
Threads by month
- ----- 2025 -----
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- 43 participants
- 18194 discussions

[openeuler:OLK-6.6] BUILD REGRESSION 370d9c06c9c2609f0c25810eb8f913fc9cdde776
by kernel test robot 31 Jan '24
by kernel test robot 31 Jan '24
31 Jan '24
tree/branch: https://gitee.com/openeuler/kernel.git OLK-6.6
branch HEAD: 370d9c06c9c2609f0c25810eb8f913fc9cdde776 !4146 tcp: fix compilation issue when CONFIG_SYSCTL is disabled
Error/Warning reports:
https://lore.kernel.org/oe-kbuild-all/202401310530.n3p0dJu0-lkp@intel.com
Error/Warning: (recently discovered and may have been fixed)
Documentation/devicetree/bindings/arm/arm,mpam-msc.yaml:76:15: [error] string value is redundantly quoted with any quotes (quoted-strings)
Error/Warning ids grouped by kconfigs:
gcc_recent_errors
|-- arm64-allnoconfig
| |-- mm-madvise.c:warning:no-previous-prototype-for-force_swapin_vma
| |-- mm-memblock.c:warning:expecting-prototype-for-memblock_alloc_internal().-Prototype-was-for-__memblock_alloc_internal()-instead
| |-- mm-memblock.c:warning:no-previous-prototype-for-memblock_alloc_range_nid_flags
| |-- mm-oom_kill.c:warning:Function-parameter-or-member-oc-not-described-in-oom_next_task
| |-- mm-oom_kill.c:warning:Function-parameter-or-member-points-not-described-in-oom_next_task
| |-- mm-oom_kill.c:warning:Function-parameter-or-member-task-not-described-in-oom_next_task
| |-- mm-oom_kill.c:warning:expecting-prototype-for-We-choose-the-task-in-low().-Prototype-was-for-oom_next_task()-instead
| `-- mm-vmalloc.c:warning:Function-parameter-or-member-pgoff-not-described-in-remap_vmalloc_hugepage_range_partial
|-- arm64-defconfig
| |-- mm-madvise.c:warning:no-previous-prototype-for-force_swapin_vma
| |-- mm-memblock.c:warning:expecting-prototype-for-memblock_alloc_internal().-Prototype-was-for-__memblock_alloc_internal()-instead
| |-- mm-memblock.c:warning:no-previous-prototype-for-memblock_alloc_range_nid_flags
| |-- mm-oom_kill.c:warning:Function-parameter-or-member-oc-not-described-in-oom_next_task
| |-- mm-oom_kill.c:warning:Function-parameter-or-member-points-not-described-in-oom_next_task
| |-- mm-oom_kill.c:warning:Function-parameter-or-member-task-not-described-in-oom_next_task
| |-- mm-oom_kill.c:warning:expecting-prototype-for-We-choose-the-task-in-low().-Prototype-was-for-oom_next_task()-instead
| `-- mm-vmalloc.c:warning:Function-parameter-or-member-pgoff-not-described-in-remap_vmalloc_hugepage_range_partial
|-- arm64-randconfig-001-20240130
| |-- mm-madvise.c:warning:no-previous-prototype-for-force_swapin_vma
| |-- mm-memblock.c:warning:expecting-prototype-for-memblock_alloc_internal().-Prototype-was-for-__memblock_alloc_internal()-instead
| |-- mm-memblock.c:warning:no-previous-prototype-for-memblock_alloc_range_nid_flags
| |-- mm-memcontrol.c:warning:mem_cgroup_check_swap_for_v1-defined-but-not-used
| |-- mm-oom_kill.c:warning:Function-parameter-or-member-oc-not-described-in-oom_next_task
| |-- mm-oom_kill.c:warning:Function-parameter-or-member-points-not-described-in-oom_next_task
| |-- mm-oom_kill.c:warning:Function-parameter-or-member-task-not-described-in-oom_next_task
| |-- mm-oom_kill.c:warning:expecting-prototype-for-We-choose-the-task-in-low().-Prototype-was-for-oom_next_task()-instead
| `-- mm-vmalloc.c:warning:Function-parameter-or-member-pgoff-not-described-in-remap_vmalloc_hugepage_range_partial
|-- arm64-randconfig-002-20240130
| |-- mm-madvise.c:warning:no-previous-prototype-for-force_swapin_vma
| |-- mm-memblock.c:warning:expecting-prototype-for-memblock_alloc_internal().-Prototype-was-for-__memblock_alloc_internal()-instead
| |-- mm-memblock.c:warning:no-previous-prototype-for-memblock_alloc_range_nid_flags
| |-- mm-oom_kill.c:warning:Function-parameter-or-member-oc-not-described-in-oom_next_task
| |-- mm-oom_kill.c:warning:Function-parameter-or-member-points-not-described-in-oom_next_task
| |-- mm-oom_kill.c:warning:Function-parameter-or-member-task-not-described-in-oom_next_task
| |-- mm-oom_kill.c:warning:expecting-prototype-for-We-choose-the-task-in-low().-Prototype-was-for-oom_next_task()-instead
| `-- mm-vmalloc.c:warning:Function-parameter-or-member-pgoff-not-described-in-remap_vmalloc_hugepage_range_partial
|-- arm64-randconfig-003-20240130
| |-- kernel-sched-psi.c:error:cpuacct_cgrp_id-undeclared-(first-use-in-this-function)
| |-- mm-madvise.c:warning:no-previous-prototype-for-force_swapin_vma
| |-- mm-memblock.c:warning:expecting-prototype-for-memblock_alloc_internal().-Prototype-was-for-__memblock_alloc_internal()-instead
| |-- mm-memblock.c:warning:no-previous-prototype-for-memblock_alloc_range_nid_flags
| |-- mm-memcontrol.c:warning:mem_cgroup_check_swap_for_v1-defined-but-not-used
| |-- mm-oom_kill.c:warning:Function-parameter-or-member-oc-not-described-in-oom_next_task
| |-- mm-oom_kill.c:warning:Function-parameter-or-member-points-not-described-in-oom_next_task
| |-- mm-oom_kill.c:warning:Function-parameter-or-member-task-not-described-in-oom_next_task
| |-- mm-oom_kill.c:warning:expecting-prototype-for-We-choose-the-task-in-low().-Prototype-was-for-oom_next_task()-instead
| `-- mm-vmalloc.c:warning:Function-parameter-or-member-pgoff-not-described-in-remap_vmalloc_hugepage_range_partial
|-- arm64-randconfig-004-20240130
| |-- mm-madvise.c:warning:no-previous-prototype-for-force_swapin_vma
| |-- mm-memblock.c:warning:expecting-prototype-for-memblock_alloc_internal().-Prototype-was-for-__memblock_alloc_internal()-instead
| |-- mm-memblock.c:warning:no-previous-prototype-for-memblock_alloc_range_nid_flags
| |-- mm-oom_kill.c:warning:Function-parameter-or-member-oc-not-described-in-oom_next_task
| |-- mm-oom_kill.c:warning:Function-parameter-or-member-points-not-described-in-oom_next_task
| |-- mm-oom_kill.c:warning:Function-parameter-or-member-task-not-described-in-oom_next_task
| |-- mm-oom_kill.c:warning:expecting-prototype-for-We-choose-the-task-in-low().-Prototype-was-for-oom_next_task()-instead
| `-- mm-vmalloc.c:warning:Function-parameter-or-member-pgoff-not-described-in-remap_vmalloc_hugepage_range_partial
|-- loongarch-allmodconfig
| |-- arch-loongarch-include-asm-irq.h:error:void-value-not-ignored-as-it-ought-to-be
| |-- arch-loongarch-kernel-legacy_boot.c:warning:no-previous-prototype-for-bpi_init
| |-- arch-loongarch-kernel-legacy_boot.c:warning:no-previous-prototype-for-fw_init_cmdline
| |-- arch-loongarch-kernel-legacy_boot.c:warning:no-previous-prototype-for-register_default_pic
| |-- arch-loongarch-kernel-legacy_boot.h:warning:union-acpi_subtable_headers-declared-inside-parameter-list-will-not-be-visible-outside-of-this-definition-or-declaration
| |-- drivers-char-ipmi-ipmi_si_ls2k500.c:warning:no-previous-prototype-for-ipmi_si_sim_setup
| |-- drivers-cpufreq-loongson3-acpi-cpufreq.c:warning:Function-parameter-or-member-boost_freq-not-described-in-core_data
| |-- drivers-cpufreq-loongson3-acpi-cpufreq.c:warning:Function-parameter-or-member-clock_scale-not-described-in-core_data
| |-- drivers-cpufreq-loongson3-acpi-cpufreq.c:warning:Function-parameter-or-member-freq_update_delay_ns-not-described-in-core_data
| |-- drivers-cpufreq-loongson3-acpi-cpufreq.c:warning:Function-parameter-or-member-irq_work-not-described-in-core_data
| |-- drivers-cpufreq-loongson3-acpi-cpufreq.c:warning:Function-parameter-or-member-last_freq_update_time-not-described-in-core_data
| |-- drivers-cpufreq-loongson3-acpi-cpufreq.c:warning:Function-parameter-or-member-load-not-described-in-core_data
| |-- drivers-cpufreq-loongson3-acpi-cpufreq.c:warning:Function-parameter-or-member-normal_max_freq-not-described-in-core_data
| |-- drivers-cpufreq-loongson3-acpi-cpufreq.c:warning:Function-parameter-or-member-package-not-described-in-core_data
| |-- drivers-cpufreq-loongson3-acpi-cpufreq.c:warning:Function-parameter-or-member-package_id-not-described-in-core_data
| |-- drivers-cpufreq-loongson3-acpi-cpufreq.c:warning:Function-parameter-or-member-perf-not-described-in-core_data
| |-- drivers-cpufreq-loongson3-acpi-cpufreq.c:warning:Function-parameter-or-member-prev_cpu_idle-not-described-in-core_data
| |-- drivers-cpufreq-loongson3-acpi-cpufreq.c:warning:Function-parameter-or-member-prev_load-not-described-in-core_data
| |-- drivers-cpufreq-loongson3-acpi-cpufreq.c:warning:Function-parameter-or-member-prev_update_time-not-described-in-core_data
| |-- drivers-cpufreq-loongson3-acpi-cpufreq.c:warning:Function-parameter-or-member-sampling_rate-not-described-in-core_data
| |-- drivers-cpufreq-loongson3-acpi-cpufreq.c:warning:Function-parameter-or-member-shift-not-described-in-core_data
| |-- drivers-cpufreq-loongson3-acpi-cpufreq.c:warning:Function-parameter-or-member-update_util-not-described-in-core_data
| |-- drivers-cpufreq-loongson3-acpi-cpufreq.c:warning:Function-parameter-or-member-update_util_set-not-described-in-core_data
| |-- drivers-cpufreq-loongson3-acpi-cpufreq.c:warning:Function-parameter-or-member-work-not-described-in-core_data
| |-- drivers-cpufreq-loongson3-acpi-cpufreq.c:warning:Function-parameter-or-member-work_in_progress-not-described-in-core_data
| |-- drivers-cpufreq-loongson3-acpi-cpufreq.c:warning:no-previous-prototype-for-load_update
| |-- drivers-cpufreq-loongson3-acpi-cpufreq.c:warning:no-previous-prototype-for-loongson3_set_mode
| |-- drivers-cpufreq-loongson3-acpi-cpufreq.c:warning:processor_device_ids-defined-but-not-used
| |-- drivers-cpuinspect-sysfs.c:warning:Excess-function-parameter-dev-description-in-cpuinspect_add_interface
| |-- drivers-cpuinspect-sysfs.c:warning:Excess-function-parameter-dev-description-in-cpuinspect_remove_interface
| |-- drivers-cpuinspect-sysfs.c:warning:no-previous-prototype-for-cpu_utility_show
| |-- drivers-cpuinspect-sysfs.c:warning:no-previous-prototype-for-cpu_utility_store
| |-- drivers-cpuinspect-sysfs.c:warning:no-previous-prototype-for-patrol_complete_show
| |-- drivers-cpuinspect-sysfs.c:warning:no-previous-prototype-for-patrol_times_show
| |-- drivers-cpuinspect-sysfs.c:warning:no-previous-prototype-for-patrol_times_store
| |-- drivers-cpuinspect-sysfs.c:warning:no-previous-prototype-for-start_patrol_store
| |-- drivers-irqchip-irq-loongarch-cpu.c:warning:no-previous-prototype-for-cpuintc_acpi_init
| |-- drivers-irqchip-irq-loongarch-cpu.c:warning:no-previous-prototype-for-get_cpudomain
| |-- drivers-irqchip-irq-loongson-eiointc.c:warning:no-previous-prototype-for-pch_msi_parse_madt
| |-- drivers-irqchip-irq-loongson-eiointc.c:warning:no-previous-prototype-for-pch_pic_parse_madt
| |-- drivers-irqchip-irq-loongson-pch-pic.c:warning:no-previous-prototype-for-get_pchpic_irq_domain
| |-- drivers-video-fbdev-ls2k500sfb.c:warning:no-previous-prototype-for-ls2k500sfb_interrupt
| |-- fs-filescontrol.c:warning:no-previous-prototype-for-files_cgroup_count_fds
| |-- include-linux-nmi.h:warning:control-reaches-end-of-non-void-function
| |-- include-trace-stages-init.h:warning:str__bonding__trace_system_name-defined-but-not-used
| |-- mm-madvise.c:warning:no-previous-prototype-for-force_swapin_vma
| |-- mm-memblock.c:warning:expecting-prototype-for-memblock_alloc_internal().-Prototype-was-for-__memblock_alloc_internal()-instead
| |-- mm-memblock.c:warning:no-previous-prototype-for-memblock_alloc_range_nid_flags
| |-- mm-memcontrol.c:warning:no-previous-prototype-for-hisi_oom_recover
| |-- mm-oom_kill.c:warning:Function-parameter-or-member-oc-not-described-in-oom_next_task
| |-- mm-oom_kill.c:warning:Function-parameter-or-member-points-not-described-in-oom_next_task
| |-- mm-oom_kill.c:warning:Function-parameter-or-member-task-not-described-in-oom_next_task
| |-- mm-oom_kill.c:warning:expecting-prototype-for-We-choose-the-task-in-low().-Prototype-was-for-oom_next_task()-instead
| |-- mm-page_cache_limit.c:warning:no-previous-prototype-for-cache_limit_mbytes_sysctl_handler
| |-- mm-page_cache_limit.c:warning:no-previous-prototype-for-cache_reclaim_enable_handler
| |-- mm-page_cache_limit.c:warning:no-previous-prototype-for-cache_reclaim_sysctl_handler
| `-- mm-vmalloc.c:warning:Function-parameter-or-member-pgoff-not-described-in-remap_vmalloc_hugepage_range_partial
|-- loongarch-allnoconfig
| |-- arch-loongarch-include-asm-irq.h:error:void-value-not-ignored-as-it-ought-to-be
| |-- arch-loongarch-kernel-efi.c:error:implicit-declaration-of-function-pmd_mkhuge
| |-- arch-loongarch-kernel-efi.c:error:incompatible-types-when-assigning-to-type-pmd_t-from-type-int
| |-- arch-loongarch-kernel-legacy_boot.c:error:implicit-declaration-of-function-nid_to_addrbase
| |-- arch-loongarch-kernel-legacy_boot.c:warning:no-previous-prototype-for-bpi_init
| |-- arch-loongarch-kernel-legacy_boot.c:warning:no-previous-prototype-for-fw_init_cmdline
| |-- arch-loongarch-kernel-legacy_boot.c:warning:no-previous-prototype-for-register_default_pic
| |-- arch-loongarch-kernel-legacy_boot.h:warning:union-acpi_subtable_headers-declared-inside-parameter-list-will-not-be-visible-outside-of-this-definition-or-declaration
| |-- drivers-irqchip-irq-loongarch-cpu.c:warning:no-previous-prototype-for-cpuintc_acpi_init
| |-- drivers-irqchip-irq-loongarch-cpu.c:warning:no-previous-prototype-for-get_cpudomain
| |-- drivers-irqchip-irq-loongson-eiointc.c:warning:no-previous-prototype-for-pch_msi_parse_madt
| |-- drivers-irqchip-irq-loongson-eiointc.c:warning:no-previous-prototype-for-pch_pic_parse_madt
| |-- drivers-irqchip-irq-loongson-pch-pic.c:warning:no-previous-prototype-for-get_pchpic_irq_domain
| |-- include-linux-nmi.h:warning:control-reaches-end-of-non-void-function
| |-- include-linux-suspend.h:error:expected-)-before-numeric-constant
| |-- mm-madvise.c:warning:no-previous-prototype-for-force_swapin_vma
| |-- mm-memblock.c:warning:expecting-prototype-for-memblock_alloc_internal().-Prototype-was-for-__memblock_alloc_internal()-instead
| |-- mm-memblock.c:warning:no-previous-prototype-for-memblock_alloc_range_nid_flags
| |-- mm-oom_kill.c:warning:Function-parameter-or-member-oc-not-described-in-oom_next_task
| |-- mm-oom_kill.c:warning:Function-parameter-or-member-points-not-described-in-oom_next_task
| |-- mm-oom_kill.c:warning:Function-parameter-or-member-task-not-described-in-oom_next_task
| |-- mm-oom_kill.c:warning:expecting-prototype-for-We-choose-the-task-in-low().-Prototype-was-for-oom_next_task()-instead
| `-- mm-vmalloc.c:warning:Function-parameter-or-member-pgoff-not-described-in-remap_vmalloc_hugepage_range_partial
|-- loongarch-allyesconfig
| `-- Documentation-devicetree-bindings-arm-arm-mpam-msc.yaml:error-string-value-is-redundantly-quoted-with-any-quotes-(quoted-strings)
|-- loongarch-defconfig
| |-- arch-loongarch-include-asm-irq.h:error:void-value-not-ignored-as-it-ought-to-be
| |-- arch-loongarch-kernel-legacy_boot.c:warning:no-previous-prototype-for-bpi_init
| |-- arch-loongarch-kernel-legacy_boot.c:warning:no-previous-prototype-for-fw_init_cmdline
| |-- arch-loongarch-kernel-legacy_boot.c:warning:no-previous-prototype-for-register_default_pic
| |-- arch-loongarch-kernel-legacy_boot.h:warning:union-acpi_subtable_headers-declared-inside-parameter-list-will-not-be-visible-outside-of-this-definition-or-declaration
| |-- drivers-char-ipmi-ipmi_si_ls2k500.c:warning:no-previous-prototype-for-ipmi_si_sim_setup
| |-- drivers-cpufreq-loongson3-acpi-cpufreq.c:warning:Function-parameter-or-member-boost_freq-not-described-in-core_data
| |-- drivers-cpufreq-loongson3-acpi-cpufreq.c:warning:Function-parameter-or-member-clock_scale-not-described-in-core_data
| |-- drivers-cpufreq-loongson3-acpi-cpufreq.c:warning:Function-parameter-or-member-freq_update_delay_ns-not-described-in-core_data
| |-- drivers-cpufreq-loongson3-acpi-cpufreq.c:warning:Function-parameter-or-member-irq_work-not-described-in-core_data
| |-- drivers-cpufreq-loongson3-acpi-cpufreq.c:warning:Function-parameter-or-member-last_freq_update_time-not-described-in-core_data
| |-- drivers-cpufreq-loongson3-acpi-cpufreq.c:warning:Function-parameter-or-member-load-not-described-in-core_data
| |-- drivers-cpufreq-loongson3-acpi-cpufreq.c:warning:Function-parameter-or-member-normal_max_freq-not-described-in-core_data
| |-- drivers-cpufreq-loongson3-acpi-cpufreq.c:warning:Function-parameter-or-member-package-not-described-in-core_data
| |-- drivers-cpufreq-loongson3-acpi-cpufreq.c:warning:Function-parameter-or-member-package_id-not-described-in-core_data
| |-- drivers-cpufreq-loongson3-acpi-cpufreq.c:warning:Function-parameter-or-member-perf-not-described-in-core_data
| |-- drivers-cpufreq-loongson3-acpi-cpufreq.c:warning:Function-parameter-or-member-prev_cpu_idle-not-described-in-core_data
| |-- drivers-cpufreq-loongson3-acpi-cpufreq.c:warning:Function-parameter-or-member-prev_load-not-described-in-core_data
| |-- drivers-cpufreq-loongson3-acpi-cpufreq.c:warning:Function-parameter-or-member-prev_update_time-not-described-in-core_data
| |-- drivers-cpufreq-loongson3-acpi-cpufreq.c:warning:Function-parameter-or-member-sampling_rate-not-described-in-core_data
| |-- drivers-cpufreq-loongson3-acpi-cpufreq.c:warning:Function-parameter-or-member-shift-not-described-in-core_data
| |-- drivers-cpufreq-loongson3-acpi-cpufreq.c:warning:Function-parameter-or-member-update_util-not-described-in-core_data
| |-- drivers-cpufreq-loongson3-acpi-cpufreq.c:warning:Function-parameter-or-member-update_util_set-not-described-in-core_data
| |-- drivers-cpufreq-loongson3-acpi-cpufreq.c:warning:Function-parameter-or-member-work-not-described-in-core_data
| |-- drivers-cpufreq-loongson3-acpi-cpufreq.c:warning:Function-parameter-or-member-work_in_progress-not-described-in-core_data
| |-- drivers-cpufreq-loongson3-acpi-cpufreq.c:warning:no-previous-prototype-for-load_update
| |-- drivers-cpufreq-loongson3-acpi-cpufreq.c:warning:no-previous-prototype-for-loongson3_set_mode
| |-- drivers-cpufreq-loongson3-acpi-cpufreq.c:warning:processor_device_ids-defined-but-not-used
| |-- drivers-irqchip-irq-loongarch-cpu.c:warning:no-previous-prototype-for-cpuintc_acpi_init
| |-- drivers-irqchip-irq-loongarch-cpu.c:warning:no-previous-prototype-for-get_cpudomain
| |-- drivers-irqchip-irq-loongson-eiointc.c:warning:no-previous-prototype-for-pch_msi_parse_madt
| |-- drivers-irqchip-irq-loongson-eiointc.c:warning:no-previous-prototype-for-pch_pic_parse_madt
| |-- drivers-irqchip-irq-loongson-pch-pic.c:warning:no-previous-prototype-for-get_pchpic_irq_domain
| |-- drivers-video-fbdev-ls2k500sfb.c:warning:no-previous-prototype-for-ls2k500sfb_interrupt
| |-- include-linux-nmi.h:warning:control-reaches-end-of-non-void-function
| |-- mm-madvise.c:warning:no-previous-prototype-for-force_swapin_vma
| |-- mm-memblock.c:warning:expecting-prototype-for-memblock_alloc_internal().-Prototype-was-for-__memblock_alloc_internal()-instead
| |-- mm-memblock.c:warning:no-previous-prototype-for-memblock_alloc_range_nid_flags
| |-- mm-oom_kill.c:warning:Function-parameter-or-member-oc-not-described-in-oom_next_task
| |-- mm-oom_kill.c:warning:Function-parameter-or-member-points-not-described-in-oom_next_task
| |-- mm-oom_kill.c:warning:Function-parameter-or-member-task-not-described-in-oom_next_task
| |-- mm-oom_kill.c:warning:expecting-prototype-for-We-choose-the-task-in-low().-Prototype-was-for-oom_next_task()-instead
| `-- mm-vmalloc.c:warning:Function-parameter-or-member-pgoff-not-described-in-remap_vmalloc_hugepage_range_partial
|-- loongarch-randconfig-001-20240130
| |-- arch-loongarch-include-asm-irq.h:error:void-value-not-ignored-as-it-ought-to-be
| |-- arch-loongarch-kernel-efi.c:error:implicit-declaration-of-function-pmd_mkhuge
| |-- arch-loongarch-kernel-efi.c:error:incompatible-types-when-assigning-to-type-pmd_t-from-type-int
| |-- arch-loongarch-kernel-legacy_boot.c:error:implicit-declaration-of-function-nid_to_addrbase
| |-- arch-loongarch-kernel-legacy_boot.c:warning:no-previous-prototype-for-bpi_init
| |-- arch-loongarch-kernel-legacy_boot.c:warning:no-previous-prototype-for-fw_init_cmdline
| |-- arch-loongarch-kernel-legacy_boot.c:warning:no-previous-prototype-for-register_default_pic
| |-- arch-loongarch-kernel-legacy_boot.h:warning:union-acpi_subtable_headers-declared-inside-parameter-list-will-not-be-visible-outside-of-this-definition-or-declaration
| |-- drivers-irqchip-irq-loongarch-cpu.c:warning:no-previous-prototype-for-cpuintc_acpi_init
| |-- drivers-irqchip-irq-loongarch-cpu.c:warning:no-previous-prototype-for-get_cpudomain
| |-- drivers-irqchip-irq-loongson-eiointc.c:warning:no-previous-prototype-for-pch_msi_parse_madt
| |-- drivers-irqchip-irq-loongson-eiointc.c:warning:no-previous-prototype-for-pch_pic_parse_madt
| |-- drivers-irqchip-irq-loongson-pch-pic.c:warning:no-previous-prototype-for-get_pchpic_irq_domain
| |-- include-linux-nmi.h:warning:control-reaches-end-of-non-void-function
| |-- include-linux-suspend.h:error:expected-)-before-numeric-constant
| |-- kernel-sched-psi.c:error:cpuacct_cgrp_id-undeclared-(first-use-in-this-function)
| |-- mm-madvise.c:warning:no-previous-prototype-for-force_swapin_vma
| |-- mm-memblock.c:warning:expecting-prototype-for-memblock_alloc_internal().-Prototype-was-for-__memblock_alloc_internal()-instead
| |-- mm-memblock.c:warning:no-previous-prototype-for-memblock_alloc_range_nid_flags
| |-- mm-oom_kill.c:warning:Function-parameter-or-member-oc-not-described-in-oom_next_task
| |-- mm-oom_kill.c:warning:Function-parameter-or-member-points-not-described-in-oom_next_task
| |-- mm-oom_kill.c:warning:Function-parameter-or-member-task-not-described-in-oom_next_task
| |-- mm-oom_kill.c:warning:expecting-prototype-for-We-choose-the-task-in-low().-Prototype-was-for-oom_next_task()-instead
| `-- mm-vmalloc.c:warning:Function-parameter-or-member-pgoff-not-described-in-remap_vmalloc_hugepage_range_partial
|-- loongarch-randconfig-002-20240130
| |-- arch-loongarch-include-asm-irq.h:error:void-value-not-ignored-as-it-ought-to-be
| |-- arch-loongarch-kernel-efi.c:error:implicit-declaration-of-function-pmd_mkhuge
| |-- arch-loongarch-kernel-efi.c:error:incompatible-types-when-assigning-to-type-pmd_t-from-type-int
| |-- arch-loongarch-kernel-legacy_boot.c:error:implicit-declaration-of-function-nid_to_addrbase
| |-- arch-loongarch-kernel-legacy_boot.c:warning:no-previous-prototype-for-bpi_init
| |-- arch-loongarch-kernel-legacy_boot.c:warning:no-previous-prototype-for-fw_init_cmdline
| |-- arch-loongarch-kernel-legacy_boot.c:warning:no-previous-prototype-for-register_default_pic
| |-- arch-loongarch-kernel-legacy_boot.h:warning:union-acpi_subtable_headers-declared-inside-parameter-list-will-not-be-visible-outside-of-this-definition-or-declaration
| |-- drivers-char-ipmi-ipmi_si_ls2k500.c:warning:no-previous-prototype-for-ipmi_si_sim_setup
| |-- drivers-irqchip-irq-loongarch-cpu.c:warning:no-previous-prototype-for-cpuintc_acpi_init
| |-- drivers-irqchip-irq-loongarch-cpu.c:warning:no-previous-prototype-for-get_cpudomain
| |-- drivers-irqchip-irq-loongson-eiointc.c:warning:no-previous-prototype-for-pch_msi_parse_madt
| |-- drivers-irqchip-irq-loongson-eiointc.c:warning:no-previous-prototype-for-pch_pic_parse_madt
| |-- drivers-irqchip-irq-loongson-pch-pic.c:warning:no-previous-prototype-for-get_pchpic_irq_domain
| |-- include-linux-nmi.h:warning:control-reaches-end-of-non-void-function
| |-- include-linux-suspend.h:error:expected-)-before-numeric-constant
| |-- mm-madvise.c:warning:no-previous-prototype-for-force_swapin_vma
| |-- mm-memblock.c:warning:expecting-prototype-for-memblock_alloc_internal().-Prototype-was-for-__memblock_alloc_internal()-instead
| |-- mm-memblock.c:warning:no-previous-prototype-for-memblock_alloc_range_nid_flags
| |-- mm-oom_kill.c:warning:Function-parameter-or-member-oc-not-described-in-oom_next_task
| |-- mm-oom_kill.c:warning:Function-parameter-or-member-points-not-described-in-oom_next_task
| |-- mm-oom_kill.c:warning:Function-parameter-or-member-task-not-described-in-oom_next_task
| |-- mm-oom_kill.c:warning:expecting-prototype-for-We-choose-the-task-in-low().-Prototype-was-for-oom_next_task()-instead
| `-- mm-vmalloc.c:warning:Function-parameter-or-member-pgoff-not-described-in-remap_vmalloc_hugepage_range_partial
|-- x86_64-allnoconfig
| |-- drivers-char-ipmi-ipmi_si_ls2k500.c:linux-module.h-is-included-more-than-once.
| |-- mm-madvise.c:warning:no-previous-prototype-for-force_swapin_vma
| |-- mm-memblock.c:warning:expecting-prototype-for-memblock_alloc_internal().-Prototype-was-for-__memblock_alloc_internal()-instead
| |-- mm-memblock.c:warning:no-previous-prototype-for-memblock_alloc_range_nid_flags
| |-- mm-oom_kill.c:warning:Function-parameter-or-member-oc-not-described-in-oom_next_task
| |-- mm-oom_kill.c:warning:Function-parameter-or-member-points-not-described-in-oom_next_task
| |-- mm-oom_kill.c:warning:Function-parameter-or-member-task-not-described-in-oom_next_task
| |-- mm-oom_kill.c:warning:expecting-prototype-for-We-choose-the-task-in-low().-Prototype-was-for-oom_next_task()-instead
| `-- mm-vmalloc.c:warning:Function-parameter-or-member-pgoff-not-described-in-remap_vmalloc_hugepage_range_partial
`-- x86_64-defconfig
|-- mm-madvise.c:warning:no-previous-prototype-for-force_swapin_vma
|-- mm-memblock.c:warning:expecting-prototype-for-memblock_alloc_internal().-Prototype-was-for-__memblock_alloc_internal()-instead
|-- mm-memblock.c:warning:no-previous-prototype-for-memblock_alloc_range_nid_flags
|-- mm-oom_kill.c:warning:Function-parameter-or-member-oc-not-described-in-oom_next_task
|-- mm-oom_kill.c:warning:Function-parameter-or-member-points-not-described-in-oom_next_task
|-- mm-oom_kill.c:warning:Function-parameter-or-member-task-not-described-in-oom_next_task
|-- mm-oom_kill.c:warning:expecting-prototype-for-We-choose-the-task-in-low().-Prototype-was-for-oom_next_task()-instead
`-- mm-vmalloc.c:warning:Function-parameter-or-member-pgoff-not-described-in-remap_vmalloc_hugepage_range_partial
clang_recent_errors
|-- arm64-allmodconfig
| |-- WARNING:modpost:vmlinux:section-mismatch-in-reference:resctrl_init-(section:.text)-rdtgroup_setup_default-(section:.init.text)
| |-- arch-arm64-include-asm-elf.h:warning:COMPAT_ARCH_DLINFO-macro-redefined
| |-- arch-arm64-kernel-sys_compat.c:warning:no-previous-prototype-for-function-a32_arm_syscall
| |-- drivers-cpuinspect-sysfs.c:warning:Excess-function-parameter-dev-description-in-cpuinspect_add_interface
| |-- drivers-cpuinspect-sysfs.c:warning:Excess-function-parameter-dev-description-in-cpuinspect_remove_interface
| |-- drivers-cpuinspect-sysfs.c:warning:no-previous-prototype-for-function-cpu_utility_show
| |-- drivers-cpuinspect-sysfs.c:warning:no-previous-prototype-for-function-cpu_utility_store
| |-- drivers-cpuinspect-sysfs.c:warning:no-previous-prototype-for-function-patrol_complete_show
| |-- drivers-cpuinspect-sysfs.c:warning:no-previous-prototype-for-function-patrol_times_show
| |-- drivers-cpuinspect-sysfs.c:warning:no-previous-prototype-for-function-patrol_times_store
| |-- drivers-cpuinspect-sysfs.c:warning:no-previous-prototype-for-function-start_patrol_store
| |-- drivers-video-fbdev-ls2k500sfb.c:warning:no-previous-prototype-for-function-ls2k500sfb_interrupt
| |-- fs-filescontrol.c:warning:no-previous-prototype-for-function-files_cgroup_count_fds
| |-- mm-dynamic_pool.c:warning:variable-pool-is-used-uninitialized-whenever-if-condition-is-true
| |-- mm-dynamic_pool.c:warning:variable-ret-is-uninitialized-when-used-here
| |-- mm-dynamic_pool.c:warning:variable-type-is-used-uninitialized-whenever-if-condition-is-true
| |-- mm-memblock.c:warning:expecting-prototype-for-memblock_alloc_internal().-Prototype-was-for-__memblock_alloc_internal()-instead
| |-- mm-memblock.c:warning:no-previous-prototype-for-function-memblock_alloc_range_nid_flags
| |-- mm-memcontrol.c:warning:no-previous-prototype-for-function-hisi_oom_recover
| |-- mm-memcontrol.c:warning:no-previous-prototype-for-function-memcg_swapmax_read
| |-- mm-oom_kill.c:warning:Function-parameter-or-member-oc-not-described-in-oom_next_task
| |-- mm-oom_kill.c:warning:Function-parameter-or-member-points-not-described-in-oom_next_task
| |-- mm-oom_kill.c:warning:Function-parameter-or-member-task-not-described-in-oom_next_task
| |-- mm-oom_kill.c:warning:expecting-prototype-for-We-choose-the-task-in-low().-Prototype-was-for-oom_next_task()-instead
| |-- mm-page_cache_limit.c:warning:no-previous-prototype-for-function-cache_limit_mbytes_sysctl_handler
| |-- mm-page_cache_limit.c:warning:no-previous-prototype-for-function-cache_reclaim_enable_handler
| |-- mm-page_cache_limit.c:warning:no-previous-prototype-for-function-cache_reclaim_sysctl_handler
| |-- mm-share_pool.c:warning:Function-parameter-or-member-node_id-not-described-in-sp_area_alloc
| |-- mm-share_pool.c:warning:Function-parameter-or-member-spg_id-not-described-in-mg_sp_unshare
| |-- mm-share_pool.c:warning:duplicate-section-name-Return
| |-- mm-share_pool.c:warning:expecting-prototype-for-mp_sp_group_id_by_pid().-Prototype-was-for-mg_sp_group_id_by_pid()-instead
| |-- mm-share_pool.c:warning:variable-is_hugepage-set-but-not-used
| `-- mm-vmalloc.c:warning:Function-parameter-or-member-pgoff-not-described-in-remap_vmalloc_hugepage_range_partial
|-- x86_64-allyesconfig
| |-- drivers-cpuinspect-sysfs.c:warning:Excess-function-parameter-dev-description-in-cpuinspect_add_interface
| |-- drivers-cpuinspect-sysfs.c:warning:Excess-function-parameter-dev-description-in-cpuinspect_remove_interface
| |-- drivers-cpuinspect-sysfs.c:warning:no-previous-prototype-for-function-cpu_utility_show
| |-- drivers-cpuinspect-sysfs.c:warning:no-previous-prototype-for-function-cpu_utility_store
| |-- drivers-cpuinspect-sysfs.c:warning:no-previous-prototype-for-function-patrol_complete_show
| |-- drivers-cpuinspect-sysfs.c:warning:no-previous-prototype-for-function-patrol_times_show
| |-- drivers-cpuinspect-sysfs.c:warning:no-previous-prototype-for-function-patrol_times_store
| |-- drivers-cpuinspect-sysfs.c:warning:no-previous-prototype-for-function-start_patrol_store
| |-- drivers-video-fbdev-ls2k500sfb.c:warning:no-previous-prototype-for-function-ls2k500sfb_interrupt
| |-- fs-filescontrol.c:warning:no-previous-prototype-for-function-files_cgroup_count_fds
| |-- kernel-livepatch-core.c:warning:bad-line:
| |-- mm-dynamic_pool.c:warning:variable-pool-is-used-uninitialized-whenever-if-condition-is-true
| |-- mm-dynamic_pool.c:warning:variable-ret-is-uninitialized-when-used-here
| |-- mm-dynamic_pool.c:warning:variable-type-is-used-uninitialized-whenever-if-condition-is-true
| |-- mm-memblock.c:warning:expecting-prototype-for-memblock_alloc_internal().-Prototype-was-for-__memblock_alloc_internal()-instead
| |-- mm-memblock.c:warning:no-previous-prototype-for-function-memblock_alloc_range_nid_flags
| |-- mm-memcontrol.c:warning:no-previous-prototype-for-function-hisi_oom_recover
| |-- mm-memcontrol.c:warning:no-previous-prototype-for-function-memcg_swapmax_read
| |-- mm-oom_kill.c:warning:Function-parameter-or-member-oc-not-described-in-oom_next_task
| |-- mm-oom_kill.c:warning:Function-parameter-or-member-points-not-described-in-oom_next_task
| |-- mm-oom_kill.c:warning:Function-parameter-or-member-task-not-described-in-oom_next_task
| |-- mm-oom_kill.c:warning:expecting-prototype-for-We-choose-the-task-in-low().-Prototype-was-for-oom_next_task()-instead
| |-- mm-page_cache_limit.c:warning:no-previous-prototype-for-function-cache_limit_mbytes_sysctl_handler
| |-- mm-page_cache_limit.c:warning:no-previous-prototype-for-function-cache_reclaim_enable_handler
| |-- mm-page_cache_limit.c:warning:no-previous-prototype-for-function-cache_reclaim_sysctl_handler
| |-- mm-vmalloc.c:warning:Function-parameter-or-member-pgoff-not-described-in-remap_vmalloc_hugepage_range_partial
| |-- net-ipv4-tcp_comp.c:warning:no-previous-prototype-for-function-comp_setup_strp
| `-- net-ipv4-tcp_comp.c:warning:no-previous-prototype-for-function-comp_stream_read
`-- x86_64-rhel-8.3-rust
|-- kernel-livepatch-core.c:warning:bad-line:
|-- mm-madvise.c:warning:no-previous-prototype-for-function-force_swapin_vma
|-- mm-memblock.c:warning:expecting-prototype-for-memblock_alloc_internal().-Prototype-was-for-__memblock_alloc_internal()-instead
|-- mm-memblock.c:warning:no-previous-prototype-for-function-memblock_alloc_range_nid_flags
|-- mm-oom_kill.c:warning:Function-parameter-or-member-oc-not-described-in-oom_next_task
|-- mm-oom_kill.c:warning:Function-parameter-or-member-points-not-described-in-oom_next_task
|-- mm-oom_kill.c:warning:Function-parameter-or-member-task-not-described-in-oom_next_task
|-- mm-oom_kill.c:warning:expecting-prototype-for-We-choose-the-task-in-low().-Prototype-was-for-oom_next_task()-instead
`-- mm-vmalloc.c:warning:Function-parameter-or-member-pgoff-not-described-in-remap_vmalloc_hugepage_range_partial
elapsed time: 727m
configs tested: 16
configs skipped: 143
tested configs:
arm64 allmodconfig clang
arm64 allnoconfig gcc
arm64 defconfig gcc
arm64 randconfig-001-20240130 gcc
arm64 randconfig-002-20240130 gcc
arm64 randconfig-003-20240130 gcc
arm64 randconfig-004-20240130 gcc
loongarch allmodconfig gcc
loongarch allnoconfig gcc
loongarch defconfig gcc
loongarch randconfig-001-20240130 gcc
loongarch randconfig-002-20240130 gcc
x86_64 allnoconfig gcc
x86_64 allyesconfig clang
x86_64 defconfig gcc
x86_64 rhel-8.3-rust clang
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-5.10 12297/30000] mm/hugetlb.c:3611 hugepages_setup() warn: potential spectre issue 'default_hugepages_in_node' [w]
by kernel test robot 31 Jan '24
by kernel test robot 31 Jan '24
31 Jan '24
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: 7b3b2702f031a1a8368468aef621f12b23241185
commit: 16a9f8e683ea65ac4484e67742171cfa8b0234eb [12297/30000] hugetlbfs: fix a truncation issue in hugepages parameter
:::::: branch date: 5 hours ago
:::::: commit date: 1 year, 9 months ago
config: x86_64-randconfig-161-20240129 (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202401302022.UsJfmkmL-lkp@intel.com/
smatch warnings:
mm/hugetlb.c:3611 hugepages_setup() warn: potential spectre issue 'default_hugepages_in_node' [w]
mm/hugetlb.c:3613 hugepages_setup() warn: potential spectre issue 'parsed_hstate->max_huge_pages_node' [w]
vim +/default_hugepages_in_node +3611 mm/hugetlb.c
a3437870160cf2 Nishanth Aravamudan 2008-07-23 3550
f4ada01a2c72a1 Zhenguo Yao 2022-01-17 3551 bool __init __weak hugetlb_node_alloc_supported(void)
f4ada01a2c72a1 Zhenguo Yao 2022-01-17 3552 {
f4ada01a2c72a1 Zhenguo Yao 2022-01-17 3553 return true;
f4ada01a2c72a1 Zhenguo Yao 2022-01-17 3554 }
282f4214384ee2 Mike Kravetz 2020-06-03 3555 /*
282f4214384ee2 Mike Kravetz 2020-06-03 3556 * hugepages command line processing
282f4214384ee2 Mike Kravetz 2020-06-03 3557 * hugepages normally follows a valid hugepagsz or default_hugepagsz
282f4214384ee2 Mike Kravetz 2020-06-03 3558 * specification. If not, ignore the hugepages value. hugepages can also
282f4214384ee2 Mike Kravetz 2020-06-03 3559 * be the first huge page command line option in which case it implicitly
282f4214384ee2 Mike Kravetz 2020-06-03 3560 * specifies the number of huge pages for the default size.
282f4214384ee2 Mike Kravetz 2020-06-03 3561 */
282f4214384ee2 Mike Kravetz 2020-06-03 3562 static int __init hugepages_setup(char *s)
a3437870160cf2 Nishanth Aravamudan 2008-07-23 3563 {
a3437870160cf2 Nishanth Aravamudan 2008-07-23 3564 unsigned long *mhp;
8faa8b077b2cdc Andi Kleen 2008-07-23 3565 static unsigned long *last_mhp;
f4ada01a2c72a1 Zhenguo Yao 2022-01-17 3566 int node = NUMA_NO_NODE;
f4ada01a2c72a1 Zhenguo Yao 2022-01-17 3567 int count;
f4ada01a2c72a1 Zhenguo Yao 2022-01-17 3568 unsigned long tmp;
f4ada01a2c72a1 Zhenguo Yao 2022-01-17 3569 char *p = s;
a3437870160cf2 Nishanth Aravamudan 2008-07-23 3570
9fee021d15ddd8 Vaishali Thakkar 2016-05-19 3571 if (!parsed_valid_hugepagesz) {
282f4214384ee2 Mike Kravetz 2020-06-03 3572 pr_warn("HugeTLB: hugepages=%s does not follow a valid hugepagesz, ignoring\n", s);
9fee021d15ddd8 Vaishali Thakkar 2016-05-19 3573 parsed_valid_hugepagesz = true;
282f4214384ee2 Mike Kravetz 2020-06-03 3574 return 0;
9fee021d15ddd8 Vaishali Thakkar 2016-05-19 3575 }
282f4214384ee2 Mike Kravetz 2020-06-03 3576
a3437870160cf2 Nishanth Aravamudan 2008-07-23 3577 /*
282f4214384ee2 Mike Kravetz 2020-06-03 3578 * !hugetlb_max_hstate means we haven't parsed a hugepagesz= parameter
282f4214384ee2 Mike Kravetz 2020-06-03 3579 * yet, so this hugepages= parameter goes to the "default hstate".
282f4214384ee2 Mike Kravetz 2020-06-03 3580 * Otherwise, it goes with the previously parsed hugepagesz or
282f4214384ee2 Mike Kravetz 2020-06-03 3581 * default_hugepagesz.
a3437870160cf2 Nishanth Aravamudan 2008-07-23 3582 */
9fee021d15ddd8 Vaishali Thakkar 2016-05-19 3583 else if (!hugetlb_max_hstate)
a3437870160cf2 Nishanth Aravamudan 2008-07-23 3584 mhp = &default_hstate_max_huge_pages;
a3437870160cf2 Nishanth Aravamudan 2008-07-23 3585 else
a3437870160cf2 Nishanth Aravamudan 2008-07-23 3586 mhp = &parsed_hstate->max_huge_pages;
a3437870160cf2 Nishanth Aravamudan 2008-07-23 3587
8faa8b077b2cdc Andi Kleen 2008-07-23 3588 if (mhp == last_mhp) {
282f4214384ee2 Mike Kravetz 2020-06-03 3589 pr_warn("HugeTLB: hugepages= specified twice without interleaving hugepagesz=, ignoring hugepages=%s\n", s);
282f4214384ee2 Mike Kravetz 2020-06-03 3590 return 0;
8faa8b077b2cdc Andi Kleen 2008-07-23 3591 }
8faa8b077b2cdc Andi Kleen 2008-07-23 3592
f4ada01a2c72a1 Zhenguo Yao 2022-01-17 3593 while (*p) {
f4ada01a2c72a1 Zhenguo Yao 2022-01-17 3594 count = 0;
f4ada01a2c72a1 Zhenguo Yao 2022-01-17 3595 if (sscanf(p, "%lu%n", &tmp, &count) != 1)
f4ada01a2c72a1 Zhenguo Yao 2022-01-17 3596 goto invalid;
f4ada01a2c72a1 Zhenguo Yao 2022-01-17 3597 /* Parameter is node format */
f4ada01a2c72a1 Zhenguo Yao 2022-01-17 3598 if (p[count] == ':') {
f4ada01a2c72a1 Zhenguo Yao 2022-01-17 3599 if (!hugetlb_node_alloc_supported()) {
f4ada01a2c72a1 Zhenguo Yao 2022-01-17 3600 pr_warn("HugeTLB: architecture can't support node specific alloc, ignoring!\n");
f4ada01a2c72a1 Zhenguo Yao 2022-01-17 3601 return 0;
f4ada01a2c72a1 Zhenguo Yao 2022-01-17 3602 }
16a9f8e683ea65 Liu Yuntao 2022-04-19 3603 if (tmp >= nr_online_nodes)
16a9f8e683ea65 Liu Yuntao 2022-04-19 3604 goto invalid;
f4ada01a2c72a1 Zhenguo Yao 2022-01-17 3605 node = tmp;
f4ada01a2c72a1 Zhenguo Yao 2022-01-17 3606 p += count + 1;
f4ada01a2c72a1 Zhenguo Yao 2022-01-17 3607 /* Parse hugepages */
f4ada01a2c72a1 Zhenguo Yao 2022-01-17 3608 if (sscanf(p, "%lu%n", &tmp, &count) != 1)
f4ada01a2c72a1 Zhenguo Yao 2022-01-17 3609 goto invalid;
f4ada01a2c72a1 Zhenguo Yao 2022-01-17 3610 if (!hugetlb_max_hstate)
f4ada01a2c72a1 Zhenguo Yao 2022-01-17 @3611 default_hugepages_in_node[node] = tmp;
f4ada01a2c72a1 Zhenguo Yao 2022-01-17 3612 else
f4ada01a2c72a1 Zhenguo Yao 2022-01-17 @3613 parsed_hstate->max_huge_pages_node[node] = tmp;
f4ada01a2c72a1 Zhenguo Yao 2022-01-17 3614 *mhp += tmp;
f4ada01a2c72a1 Zhenguo Yao 2022-01-17 3615 /* Go to parse next node*/
f4ada01a2c72a1 Zhenguo Yao 2022-01-17 3616 if (p[count] == ',')
f4ada01a2c72a1 Zhenguo Yao 2022-01-17 3617 p += count + 1;
f4ada01a2c72a1 Zhenguo Yao 2022-01-17 3618 else
f4ada01a2c72a1 Zhenguo Yao 2022-01-17 3619 break;
f4ada01a2c72a1 Zhenguo Yao 2022-01-17 3620 } else {
f4ada01a2c72a1 Zhenguo Yao 2022-01-17 3621 if (p != s)
f4ada01a2c72a1 Zhenguo Yao 2022-01-17 3622 goto invalid;
f4ada01a2c72a1 Zhenguo Yao 2022-01-17 3623 *mhp = tmp;
f4ada01a2c72a1 Zhenguo Yao 2022-01-17 3624 break;
f4ada01a2c72a1 Zhenguo Yao 2022-01-17 3625 }
f4ada01a2c72a1 Zhenguo Yao 2022-01-17 3626 }
a3437870160cf2 Nishanth Aravamudan 2008-07-23 3627
8faa8b077b2cdc Andi Kleen 2008-07-23 3628 /*
8faa8b077b2cdc Andi Kleen 2008-07-23 3629 * Global state is always initialized later in hugetlb_init.
8faa8b077b2cdc Andi Kleen 2008-07-23 3630 * But we need to allocate >= MAX_ORDER hstates here early to still
8faa8b077b2cdc Andi Kleen 2008-07-23 3631 * use the bootmem allocator.
8faa8b077b2cdc Andi Kleen 2008-07-23 3632 */
47d38344abd0c7 Aneesh Kumar K.V 2012-07-31 3633 if (hugetlb_max_hstate && parsed_hstate->order >= MAX_ORDER)
8faa8b077b2cdc Andi Kleen 2008-07-23 3634 hugetlb_hstate_alloc_pages(parsed_hstate);
8faa8b077b2cdc Andi Kleen 2008-07-23 3635
8faa8b077b2cdc Andi Kleen 2008-07-23 3636 last_mhp = mhp;
8faa8b077b2cdc Andi Kleen 2008-07-23 3637
a3437870160cf2 Nishanth Aravamudan 2008-07-23 3638 return 1;
f4ada01a2c72a1 Zhenguo Yao 2022-01-17 3639
f4ada01a2c72a1 Zhenguo Yao 2022-01-17 3640 invalid:
f4ada01a2c72a1 Zhenguo Yao 2022-01-17 3641 pr_warn("HugeTLB: Invalid hugepages parameter %s\n", p);
f4ada01a2c72a1 Zhenguo Yao 2022-01-17 3642 return 0;
a3437870160cf2 Nishanth Aravamudan 2008-07-23 3643 }
282f4214384ee2 Mike Kravetz 2020-06-03 3644 __setup("hugepages=", hugepages_setup);
e11bfbfcb08ef4 Nick Piggin 2008-07-23 3645
:::::: The code at line 3611 was first introduced by commit
:::::: f4ada01a2c72a1a69a6da3c56764b414081e639b hugetlbfs: extend the definition of hugepages parameter to support node allocation
:::::: TO: Zhenguo Yao <yaozhenguo1(a)gmail.com>
:::::: CC: Zheng Zengkai <zhengzengkai(a)huawei.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-5.10 7922/30000] vmlinux.o: warning: objtool: do_machine_check()+0x160: call to memset() leaves .noinstr.text section
by kernel test robot 31 Jan '24
by kernel test robot 31 Jan '24
31 Jan '24
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: 7b3b2702f031a1a8368468aef621f12b23241185
commit: 003a421b04ba85abaf24a92736dc47f76fda0803 [7922/30000] disable OPTIMIZE_INLINING by default
:::::: branch date: 5 hours ago
:::::: commit date: 2 years, 3 months ago
config: x86_64-buildonly-randconfig-003-20240130 (attached as .config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (attached as reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202401302037.NgNW8Aeq-lkp@intel.com/
All warnings (new ones prefixed by >>):
ld: warning: arch/x86/lib/csum-copy_64.o: missing .note.GNU-stack section implies executable stack
ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
vmlinux.o: warning: objtool: mce_setup()+0xc: call to memset() leaves .noinstr.text section
>> vmlinux.o: warning: objtool: do_machine_check()+0x160: call to memset() leaves .noinstr.text section
ld: warning: arch/x86/lib/csum-copy_64.o: missing .note.GNU-stack section implies executable stack
ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
ld: warning: .tmp_vmlinux.kallsyms1 has a LOAD segment with RWX permissions
ld: warning: .tmp_vmlinux.kallsyms1.o: missing .note.GNU-stack section implies executable stack
ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
ld: warning: .tmp_vmlinux.kallsyms2 has a LOAD segment with RWX permissions
ld: warning: .tmp_vmlinux.kallsyms2.o: missing .note.GNU-stack section implies executable stack
ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
ld: warning: vmlinux has a LOAD segment with RWX permissions
objdump-func vmlinux.o do_machine_check:
0000 00000000000019b0 <do_machine_check>:
0000 19b0: 41 57 push %r15
0002 19b2: 31 c0 xor %eax,%eax
0004 19b4: b9 10 00 00 00 mov $0x10,%ecx
0009 19b9: 41 56 push %r14
000b 19bb: 41 55 push %r13
000d 19bd: 41 54 push %r12
000f 19bf: 55 push %rbp
0010 19c0: 48 89 fd mov %rdi,%rbp
0013 19c3: 53 push %rbx
0014 19c4: 48 81 ec a0 00 00 00 sub $0xa0,%rsp
001b 19cb: 4c 8d 64 24 20 lea 0x20(%rsp),%r12
0020 19d0: c7 04 24 00 00 00 00 movl $0x0,(%rsp)
0027 19d7: 4c 89 e7 mov %r12,%rdi
002a 19da: 48 c7 44 24 08 00 00 00 00 movq $0x0,0x8(%rsp)
0033 19e3: f3 48 ab rep stos %rax,%es:(%rdi)
0036 19e6: c7 44 24 04 00 00 00 00 movl $0x0,0x4(%rsp)
003e 19ee: 48 c7 44 24 10 00 00 00 00 movq $0x0,0x10(%rsp)
0047 19f7: 48 c7 44 24 18 00 00 00 00 movq $0x0,0x18(%rsp)
0050 1a00: 65 ff 05 00 00 00 00 incl %gs:0x0(%rip) # 1a07 <do_machine_check+0x57> 1a03: R_X86_64_PC32 mce_exception_count-0x4
0057 1a07: 4c 89 e7 mov %r12,%rdi
005a 1a0a: e8 00 00 00 00 call 1a0f <do_machine_check+0x5f> 1a0b: R_X86_64_PLT32 mce_setup-0x4
005f 1a0f: bf 7a 01 00 00 mov $0x17a,%edi
0064 1a14: e8 a7 fd ff ff call 17c0 <mce_rdmsrl>
0069 1a19: 48 89 44 24 38 mov %rax,0x38(%rsp)
006e 1a1e: 48 85 ed test %rbp,%rbp
0071 1a21: 74 29 je 1a4c <do_machine_check+0x9c>
0073 1a23: a8 03 test $0x3,%al
0075 1a25: 74 17 je 1a3e <do_machine_check+0x8e>
0077 1a27: 48 8b 85 80 00 00 00 mov 0x80(%rbp),%rax
007e 1a2e: 48 89 44 24 40 mov %rax,0x40(%rsp)
0083 1a33: 48 8b 85 88 00 00 00 mov 0x88(%rbp),%rax
008a 1a3a: 88 44 24 60 mov %al,0x60(%rsp)
008e 1a3e: 8b 3d 00 00 00 00 mov 0x0(%rip),%edi # 1a44 <do_machine_check+0x94> 1a40: R_X86_64_PC32 mca_cfg+0x1c
0094 1a44: 85 ff test %edi,%edi
0096 1a46: 0f 85 eb 01 00 00 jne 1c37 <do_machine_check+0x287>
009c 1a4c: 0f 31 rdtsc
009e 1a4e: 48 c1 e2 20 shl $0x20,%rdx
00a2 1a52: 48 c7 c3 00 00 00 00 mov $0x0,%rbx 1a55: R_X86_64_32S mces_seen
00a9 1a59: 48 09 c2 or %rax,%rdx
00ac 1a5c: 48 89 54 24 48 mov %rdx,0x48(%rsp)
00b1 1a61: 65 48 03 1d 00 00 00 00 add %gs:0x0(%rip),%rbx # 1a69 <do_machine_check+0xb9> 1a65: R_X86_64_PC32 this_cpu_off-0x4
00b9 1a69: 48 8b 44 24 20 mov 0x20(%rsp),%rax
00be 1a6e: 31 f6 xor %esi,%esi
00c0 1a70: ba 08 00 00 00 mov $0x8,%edx
00c5 1a75: 48 8d 7c 24 08 lea 0x8(%rsp),%rdi
00ca 1a7a: 48 89 03 mov %rax,(%rbx)
00cd 1a7d: 48 8b 44 24 28 mov 0x28(%rsp),%rax
00d2 1a82: 48 89 43 08 mov %rax,0x8(%rbx)
00d6 1a86: 48 8b 44 24 30 mov 0x30(%rsp),%rax
00db 1a8b: 48 89 43 10 mov %rax,0x10(%rbx)
00df 1a8f: 48 8b 44 24 38 mov 0x38(%rsp),%rax
00e4 1a94: 48 89 43 18 mov %rax,0x18(%rbx)
00e8 1a98: 48 8b 44 24 40 mov 0x40(%rsp),%rax
00ed 1a9d: 48 89 43 20 mov %rax,0x20(%rbx)
00f1 1aa1: 48 8b 44 24 48 mov 0x48(%rsp),%rax
00f6 1aa6: 48 89 43 28 mov %rax,0x28(%rbx)
00fa 1aaa: 48 8b 44 24 50 mov 0x50(%rsp),%rax
00ff 1aaf: 48 89 43 30 mov %rax,0x30(%rbx)
0103 1ab3: 48 8b 44 24 58 mov 0x58(%rsp),%rax
0108 1ab8: 48 89 43 38 mov %rax,0x38(%rbx)
010c 1abc: 48 8b 44 24 60 mov 0x60(%rsp),%rax
0111 1ac1: 48 89 43 40 mov %rax,0x40(%rbx)
0115 1ac5: 48 8b 44 24 68 mov 0x68(%rsp),%rax
011a 1aca: 48 89 43 48 mov %rax,0x48(%rbx)
011e 1ace: 48 8b 44 24 70 mov 0x70(%rsp),%rax
0123 1ad3: 48 89 43 50 mov %rax,0x50(%rbx)
0127 1ad7: 48 8b 44 24 78 mov 0x78(%rsp),%rax
012c 1adc: 48 89 43 58 mov %rax,0x58(%rbx)
0130 1ae0: 48 8b 84 24 80 00 00 00 mov 0x80(%rsp),%rax
0138 1ae8: 48 89 43 60 mov %rax,0x60(%rbx)
013c 1aec: 48 8b 84 24 88 00 00 00 mov 0x88(%rsp),%rax
0144 1af4: 48 89 43 68 mov %rax,0x68(%rbx)
0148 1af8: 48 8b 84 24 90 00 00 00 mov 0x90(%rsp),%rax
0150 1b00: 48 89 43 70 mov %rax,0x70(%rbx)
0154 1b04: 48 8b 84 24 98 00 00 00 mov 0x98(%rsp),%rax
015c 1b0c: 48 89 43 78 mov %rax,0x78(%rbx)
0160 1b10: e8 00 00 00 00 call 1b15 <do_machine_check+0x165> 1b11: R_X86_64_PLT32 memset-0x4
0165 1b15: 48 89 e9 mov %rbp,%rcx
0168 1b18: 4c 89 e7 mov %r12,%rdi
016b 1b1b: 48 8d 54 24 08 lea 0x8(%rsp),%rdx
0170 1b20: 48 8d 74 24 18 lea 0x18(%rsp),%rsi
0175 1b25: e8 00 00 00 00 call 1b2a <do_machine_check+0x17a> 1b26: R_X86_64_PC32 .text+0x83a3c
017a 1b2a: 89 44 24 04 mov %eax,0x4(%rsp)
017e 1b2e: 0f b6 44 24 58 movzbl 0x58(%rsp),%eax
0183 1b33: 4c 8b 6c 24 38 mov 0x38(%rsp),%r13
0188 1b38: 3c 0a cmp $0xa,%al
018a 1b3a: 77 17 ja 1b53 <do_machine_check+0x1a3>
018c 1b3c: 48 c7 c2 de fb ff ff mov $0xfffffffffffffbde,%rdx
0193 1b43: 48 0f a3 c2 bt %rax,%rdx
0197 1b47: 72 0a jb 1b53 <do_machine_check+0x1a3>
0199 1b49: 41 f6 c5 08 test $0x8,%r13b
019d 1b4d: 0f 84 f3 00 00 00 je 1c46 <do_machine_check+0x296>
01a3 1b53: 44 8b 74 24 04 mov 0x4(%rsp),%r14d
01a8 1b58: 45 85 f6 test %r14d,%r14d
01ab 1b5b: 0f 85 ca 01 00 00 jne 1d2b <do_machine_check+0x37b>
01b1 1b61: 54 push %rsp
01b2 1b62: 48 89 da mov %rbx,%rdx
01b5 1b65: 45 31 c9 xor %r9d,%r9d
01b8 1b68: 48 89 ee mov %rbp,%rsi
01bb 1b6b: 4c 89 e7 mov %r12,%rdi
01be 1b6e: 4c 8d 44 24 10 lea 0x10(%rsp),%r8
01c3 1b73: 48 8d 4c 24 18 lea 0x18(%rsp),%rcx
01c8 1b78: e8 00 00 00 00 call 1b7d <do_machine_check+0x1cd> 1b79: R_X86_64_PC32 .text+0x863ac
01cd 1b7d: 48 8d 7c 24 18 lea 0x18(%rsp),%rdi
01d2 1b82: e8 00 00 00 00 call 1b87 <do_machine_check+0x1d7> 1b83: R_X86_64_PC32 .text+0x85b6c
01d7 1b87: 58 pop %rax
01d8 1b88: 8b 1c 24 mov (%rsp),%ebx
01db 1b8b: 8b 15 00 00 00 00 mov 0x0(%rip),%edx # 1b91 <do_machine_check+0x1e1> 1b8d: R_X86_64_PC32 mca_cfg+0x10
01e1 1b91: 83 fb 06 cmp $0x6,%ebx
01e4 1b94: 7f 71 jg 1c07 <do_machine_check+0x257>
01e6 1b96: 83 3d 00 00 00 00 03 cmpl $0x3,0x0(%rip) # 1b9d <do_machine_check+0x1ed> 1b98: R_X86_64_PC32 mca_cfg+0xf
01ed 1b9d: 0f 84 2e 01 00 00 je 1cd1 <do_machine_check+0x321>
01f3 1ba3: 8b 54 24 04 mov 0x4(%rsp),%edx
01f7 1ba7: 85 d2 test %edx,%edx
01f9 1ba9: 0f 85 df 00 00 00 jne 1c8e <do_machine_check+0x2de>
01ff 1baf: 49 f7 d5 not %r13
0202 1bb2: 41 83 e5 01 and $0x1,%r13d
0206 1bb6: 85 db test %ebx,%ebx
0208 1bb8: 0f 8f 44 02 00 00 jg 1e02 <do_machine_check+0x452>
020e 1bbe: 45 85 ed test %r13d,%r13d
0211 1bc1: 74 28 je 1beb <do_machine_check+0x23b>
0213 1bc3: 0f b6 44 24 60 movzbl 0x60(%rsp),%eax
0218 1bc8: 83 e0 03 and $0x3,%eax
021b 1bcb: 3c 03 cmp $0x3,%al
021d 1bcd: 0f 84 23 01 00 00 je 1cf6 <do_machine_check+0x346>
0223 1bd3: 48 8b 84 24 98 00 00 00 mov 0x98(%rsp),%rax
022b 1bdb: a8 40 test $0x40,%al
022d 1bdd: 0f 85 e2 01 00 00 jne 1dc5 <do_machine_check+0x415>
0233 1be3: a8 80 test $0x80,%al
0235 1be5: 0f 85 30 01 00 00 jne 1d1b <do_machine_check+0x36b>
023b 1beb: bf 7a 01 00 00 mov $0x17a,%edi
0240 1bf0: e8 9b fc ff ff call 1890 <mce_wrmsrl.constprop.0>
0245 1bf5: 48 81 c4 a0 00 00 00 add $0xa0,%rsp
024c 1bfc: 5b pop %rbx
024d 1bfd: 5d pop %rbp
024e 1bfe: 41 5c pop %r12
0250 1c00: 41 5d pop %r13
0252 1c02: 41 5e pop %r14
0254 1c04: 41 5f pop %r15
0256 1c06: c3 ret
0257 1c07: 83 fa 02 cmp $0x2,%edx
025a 1c0a: 0f 8e 63 01 00 00 jle 1d73 <do_machine_check+0x3c3>
0260 1c10: 83 fa 03 cmp $0x3,%edx
0263 1c13: 0f 84 98 01 00 00 je 1db1 <do_machine_check+0x401>
0269 1c19: 45 85 f6 test %r14d,%r14d
026c 1c1c: 0f 85 c5 01 00 00 jne 1de7 <do_machine_check+0x437>
0272 1c22: 49 f7 d5 not %r13
0275 1c25: 48 c7 c7 00 00 00 00 mov $0x0,%rdi 1c28: R_X86_64_32S .bss+0x7040
027c 1c2c: 41 83 e5 01 and $0x1,%r13d
0280 1c30: e8 00 00 00 00 call 1c35 <do_machine_check+0x285> 1c31: R_X86_64_PLT32 irq_work_queue-0x4
0285 1c35: eb 87 jmp 1bbe <do_machine_check+0x20e>
0287 1c37: e8 84 fb ff ff call 17c0 <mce_rdmsrl>
028c 1c3c: 48 89 44 24 40 mov %rax,0x40(%rsp)
0291 1c41: e9 06 fe ff ff jmp 1a4c <do_machine_check+0x9c>
0296 1c46: 48 8d 7c 24 04 lea 0x4(%rsp),%rdi
029b 1c4b: e8 00 00 00 00 call 1c50 <do_machine_check+0x2a0> 1c4c: R_X86_64_PC32 .text+0x8540c
02a0 1c50: 44 8b 7c 24 04 mov 0x4(%rsp),%r15d
02a5 1c55: 48 89 da mov %rbx,%rdx
02a8 1c58: 48 89 ee mov %rbp,%rsi
02ab 1c5b: 54 push %rsp
02ac 1c5c: 4c 89 e7 mov %r12,%rdi
02af 1c5f: 41 89 c6 mov %eax,%r14d
02b2 1c62: 45 89 f9 mov %r15d,%r9d
02b5 1c65: 48 8d 4c 24 18 lea 0x18(%rsp),%rcx
02ba 1c6a: 4c 8d 44 24 10 lea 0x10(%rsp),%r8
02bf 1c6f: e8 00 00 00 00 call 1c74 <do_machine_check+0x2c4> 1c70: R_X86_64_PC32 .text+0x863ac
02c4 1c74: 59 pop %rcx
02c5 1c75: 45 85 ff test %r15d,%r15d
02c8 1c78: 74 2d je 1ca7 <do_machine_check+0x2f7>
02ca 1c7a: 44 89 f7 mov %r14d,%edi
02cd 1c7d: e8 00 00 00 00 call 1c82 <do_machine_check+0x2d2> 1c7e: R_X86_64_PC32 .text+0x8567c
02d2 1c82: 83 3d 00 00 00 00 03 cmpl $0x3,0x0(%rip) # 1c89 <do_machine_check+0x2d9> 1c84: R_X86_64_PC32 mca_cfg+0xf
02d9 1c89: 8b 1c 24 mov (%rsp),%ebx
02dc 1c8c: 74 43 je 1cd1 <do_machine_check+0x321>
02de 1c8e: 48 8b 54 24 18 mov 0x18(%rsp),%rdx
02e3 1c93: 4c 89 e6 mov %r12,%rsi
02e6 1c96: 48 c7 c7 00 00 00 00 mov $0x0,%rdi 1c99: R_X86_64_32S .rodata+0x29960
02ed 1c9d: e8 00 00 00 00 call 1ca2 <do_machine_check+0x2f2> 1c9e: R_X86_64_PC32 .text+0x8445c
02f2 1ca2: e9 08 ff ff ff jmp 1baf <do_machine_check+0x1ff>
02f7 1ca7: 48 8d 7c 24 10 lea 0x10(%rsp),%rdi
02fc 1cac: e8 00 00 00 00 call 1cb1 <do_machine_check+0x301> 1cad: R_X86_64_PC32 .text+0x85b6c
0301 1cb1: 44 89 f7 mov %r14d,%edi
0304 1cb4: e8 00 00 00 00 call 1cb9 <do_machine_check+0x309> 1cb5: R_X86_64_PC32 .text+0x8567c
0309 1cb9: 8b 1c 24 mov (%rsp),%ebx
030c 1cbc: 85 c0 test %eax,%eax
030e 1cbe: 0f 88 58 01 00 00 js 1e1c <do_machine_check+0x46c>
0314 1cc4: 83 3d 00 00 00 00 03 cmpl $0x3,0x0(%rip) # 1ccb <do_machine_check+0x31b> 1cc6: R_X86_64_PC32 mca_cfg+0xf
031b 1ccb: 0f 85 de fe ff ff jne 1baf <do_machine_check+0x1ff>
0321 1cd1: 85 db test %ebx,%ebx
0323 1cd3: 0f 8e 12 ff ff ff jle 1beb <do_machine_check+0x23b>
0329 1cd9: 48 c7 c7 00 00 00 00 mov $0x0,%rdi 1cdc: R_X86_64_32S .bss+0x7040
0330 1ce0: e8 00 00 00 00 call 1ce5 <do_machine_check+0x335> 1ce1: R_X86_64_PLT32 irq_work_queue-0x4
0335 1ce5: 83 fb 06 cmp $0x6,%ebx
0338 1ce8: 0f 85 fd fe ff ff jne 1beb <do_machine_check+0x23b>
033e 1cee: 45 31 ed xor %r13d,%r13d
0341 1cf1: e9 cd fe ff ff jmp 1bc3 <do_machine_check+0x213>
0346 1cf6: 65 48 8b 04 25 00 00 00 00 mov %gs:0x0,%rax 1cfb: R_X86_64_32S cpu_tss_rw+0xc
034f 1cff: 48 29 e0 sub %rsp,%rax
0352 1d02: 48 3d ff 7f 00 00 cmp $0x7fff,%rax
0358 1d08: 0f 87 b4 00 00 00 ja 1dc2 <do_machine_check+0x412>
035e 1d0e: f6 85 88 00 00 00 03 testb $0x3,0x88(%rbp)
0365 1d15: 0f 84 a7 00 00 00 je 1dc2 <do_machine_check+0x412>
036b 1d1b: 44 89 ee mov %r13d,%esi
036e 1d1e: 4c 89 e7 mov %r12,%rdi
0371 1d21: e8 00 00 00 00 call 1d26 <do_machine_check+0x376> 1d22: R_X86_64_PC32 .text+0x85c2c
0376 1d26: e9 c0 fe ff ff jmp 1beb <do_machine_check+0x23b>
037b 1d2b: 48 8b 54 24 18 mov 0x18(%rsp),%rdx
0380 1d30: 4c 89 e6 mov %r12,%rsi
0383 1d33: 48 c7 c7 00 00 00 00 mov $0x0,%rdi 1d36: R_X86_64_32S .rodata+0x298e0
038a 1d3a: e8 00 00 00 00 call 1d3f <do_machine_check+0x38f> 1d3b: R_X86_64_PC32 .text+0x8445c
038f 1d3f: 48 89 da mov %rbx,%rdx
0392 1d42: 48 89 ee mov %rbp,%rsi
0395 1d45: 45 89 f1 mov %r14d,%r9d
0398 1d48: 54 push %rsp
0399 1d49: 4c 89 e7 mov %r12,%rdi
039c 1d4c: 4c 8d 44 24 10 lea 0x10(%rsp),%r8
03a1 1d51: 48 8d 4c 24 18 lea 0x18(%rsp),%rcx
03a6 1d56: e8 00 00 00 00 call 1d5b <do_machine_check+0x3ab> 1d57: R_X86_64_PC32 .text+0x863ac
03ab 1d5b: 5e pop %rsi
03ac 1d5c: 8b 1c 24 mov (%rsp),%ebx
03af 1d5f: 8b 15 00 00 00 00 mov 0x0(%rip),%edx # 1d65 <do_machine_check+0x3b5> 1d61: R_X86_64_PC32 mca_cfg+0x10
03b5 1d65: 83 fb 06 cmp $0x6,%ebx
03b8 1d68: 0f 8e 28 fe ff ff jle 1b96 <do_machine_check+0x1e6>
03be 1d6e: e9 94 fe ff ff jmp 1c07 <do_machine_check+0x257>
03c3 1d73: 41 b8 01 00 00 00 mov $0x1,%r8d
03c9 1d79: 48 8d 4c 24 18 lea 0x18(%rsp),%rcx
03ce 1d7e: 48 89 ee mov %rbp,%rsi
03d1 1d81: 4c 89 e7 mov %r12,%rdi
03d4 1d84: 48 8b 05 00 00 00 00 mov 0x0(%rip),%rax # 1d8b <do_machine_check+0x3db> 1d87: R_X86_64_PC32 mce_severity-0x4
03db 1d8b: e8 00 00 00 00 call 1d90 <do_machine_check+0x3e0> 1d8c: R_X86_64_PLT32 __x86_indirect_thunk_rax-0x4
03e0 1d90: 48 8b 54 24 18 mov 0x18(%rsp),%rdx
03e5 1d95: 4c 89 e6 mov %r12,%rsi
03e8 1d98: 48 c7 c7 00 00 00 00 mov $0x0,%rdi 1d9b: R_X86_64_32S .rodata+0x29920
03ef 1d9f: e8 00 00 00 00 call 1da4 <do_machine_check+0x3f4> 1da0: R_X86_64_PC32 .text+0x8445c
03f4 1da4: 83 3d 00 00 00 00 03 cmpl $0x3,0x0(%rip) # 1dab <do_machine_check+0x3fb> 1da6: R_X86_64_PC32 mca_cfg+0xf
03fb 1dab: 0f 85 68 fe ff ff jne 1c19 <do_machine_check+0x269>
0401 1db1: 48 c7 c7 00 00 00 00 mov $0x0,%rdi 1db4: R_X86_64_32S .bss+0x7040
0408 1db8: e8 00 00 00 00 call 1dbd <do_machine_check+0x40d> 1db9: R_X86_64_PLT32 irq_work_queue-0x4
040d 1dbd: e9 29 fe ff ff jmp 1beb <do_machine_check+0x23b>
0412 1dc2: 90 nop
0413 1dc3: 0f 0b ud2
0415 1dc5: 31 c9 xor %ecx,%ecx
0417 1dc7: 31 d2 xor %edx,%edx
0419 1dc9: be 12 00 00 00 mov $0x12,%esi
041e 1dce: 48 89 ef mov %rbp,%rdi
0421 1dd1: e8 00 00 00 00 call 1dd6 <do_machine_check+0x426> 1dd2: R_X86_64_PLT32 fixup_exception-0x4
0426 1dd6: 85 c0 test %eax,%eax
0428 1dd8: 74 53 je 1e2d <do_machine_check+0x47d>
042a 1dda: 48 8b 84 24 98 00 00 00 mov 0x98(%rsp),%rax
0432 1de2: e9 fc fd ff ff jmp 1be3 <do_machine_check+0x233>
0437 1de7: 48 8b 54 24 18 mov 0x18(%rsp),%rdx
043c 1dec: 4c 89 e6 mov %r12,%rsi
043f 1def: 48 c7 c7 00 00 00 00 mov $0x0,%rdi 1df2: R_X86_64_32S .rodata+0x29960
0446 1df6: 49 f7 d5 not %r13
0449 1df9: 41 83 e5 01 and $0x1,%r13d
044d 1dfd: e8 00 00 00 00 call 1e02 <do_machine_check+0x452> 1dfe: R_X86_64_PC32 .text+0x8445c
0452 1e02: 48 c7 c7 00 00 00 00 mov $0x0,%rdi 1e05: R_X86_64_32S .bss+0x7040
0459 1e09: e8 00 00 00 00 call 1e0e <do_machine_check+0x45e> 1e0a: R_X86_64_PLT32 irq_work_queue-0x4
045e 1e0e: 83 fb 06 cmp $0x6,%ebx
0461 1e11: 0f 84 ac fd ff ff je 1bc3 <do_machine_check+0x213>
0467 1e17: e9 a2 fd ff ff jmp 1bbe <do_machine_check+0x20e>
046c 1e1c: 31 c0 xor %eax,%eax
046e 1e1e: 83 fb 06 cmp $0x6,%ebx
0471 1e21: 0f 9f c0 setg %al
0474 1e24: 89 44 24 04 mov %eax,0x4(%rsp)
0478 1e28: e9 69 fd ff ff jmp 1b96 <do_machine_check+0x1e6>
047d 1e2d: 48 8b 54 24 18 mov 0x18(%rsp),%rdx
0482 1e32: 4c 89 e6 mov %r12,%rsi
0485 1e35: 48 c7 c7 00 00 00 00 mov $0x0,%rdi 1e38: R_X86_64_32S .rodata+0x29a00
048c 1e3c: e8 00 00 00 00 call 1e41 <do_machine_check+0x491> 1e3d: R_X86_64_PC32 .text+0x8445c
0491 1e41: eb 97 jmp 1dda <do_machine_check+0x42a>
0493 1e43: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 cs nopw 0x0(%rax,%rax,1)
049e 1e4e: 66 90 xchg %ax,%ax
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[PATCH openEuler-1.0-LTS] net/sched: sch_hfsc: upgrade 'rt' to 'sc' when it becomes a inner curve
by Zhengchao Shao 31 Jan '24
by Zhengchao Shao 31 Jan '24
31 Jan '24
From: Pedro Tammela <pctammela(a)mojatatu.com>
stable inclusion
from stable-v4.19.297
commit a39a303c06dffaf851e418d814808f5eae669de2
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I902AI
CVE: NA
Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id…
--------------------------------
commit a13b67c9a015c4e21601ef9aa4ec9c5d972df1b4 upstream.
Christian Theune says:
I upgraded from 6.1.38 to 6.1.55 this morning and it broke my traffic shaping script,
leaving me with a non-functional uplink on a remote router.
A 'rt' curve cannot be used as a inner curve (parent class), but we were
allowing such configurations since the qdisc was introduced. Such
configurations would trigger a UAF as Budimir explains:
The parent will have vttree_insert() called on it in init_vf(),
but will not have vttree_remove() called on it in update_vf()
because it does not have the HFSC_FSC flag set.
The qdisc always assumes that inner classes have the HFSC_FSC flag set.
This is by design as it doesn't make sense 'qdisc wise' for an 'rt'
curve to be an inner curve.
Budimir's original patch disallows users to add classes with a 'rt'
parent, but this is too strict as it breaks users that have been using
'rt' as a inner class. Another approach, taken by this patch, is to
upgrade the inner 'rt' into a 'sc', warning the user in the process.
It avoids the UAF reported by Budimir while also being more permissive
to bad scripts/users/code using 'rt' as a inner class.
Users checking the `tc class ls [...]` or `tc class get [...]` dumps would
observe the curve change and are potentially breaking with this change.
v1->v2: https://lore.kernel.org/all/20231013151057.2611860-1-pctammela@mojatatu.com/
- Correct 'Fixes' tag and merge with revert (Jakub)
Cc: Christian Theune <ct(a)flyingcircus.io>
Cc: Budimir Markovic <markovicbudimir(a)gmail.com>
Fixes: b3d26c5702c7 ("net/sched: sch_hfsc: Ensure inner classes have fsc curve")
Signed-off-by: Pedro Tammela <pctammela(a)mojatatu.com>
Acked-by: Jamal Hadi Salim <jhs(a)mojatatu.com>
Link: https://lore.kernel.org/r/20231017143602.3191556-1-pctammela@mojatatu.com
Signed-off-by: Jakub Kicinski <kuba(a)kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Signed-off-by: Zhengchao Shao <shaozhengchao(a)huawei.com>
---
net/sched/sch_hfsc.c | 18 ++++++++++++++----
1 file changed, 14 insertions(+), 4 deletions(-)
diff --git a/net/sched/sch_hfsc.c b/net/sched/sch_hfsc.c
index 60e71a4ce0af..bb9b42002708 100644
--- a/net/sched/sch_hfsc.c
+++ b/net/sched/sch_hfsc.c
@@ -913,6 +913,14 @@ hfsc_change_usc(struct hfsc_class *cl, struct tc_service_curve *usc,
cl->cl_flags |= HFSC_USC;
}
+static void
+hfsc_upgrade_rt(struct hfsc_class *cl)
+{
+ cl->cl_fsc = cl->cl_rsc;
+ rtsc_init(&cl->cl_virtual, &cl->cl_fsc, cl->cl_vt, cl->cl_total);
+ cl->cl_flags |= HFSC_FSC;
+}
+
static const struct nla_policy hfsc_policy[TCA_HFSC_MAX + 1] = {
[TCA_HFSC_RSC] = { .len = sizeof(struct tc_service_curve) },
[TCA_HFSC_FSC] = { .len = sizeof(struct tc_service_curve) },
@@ -1021,10 +1029,6 @@ hfsc_change_class(struct Qdisc *sch, u32 classid, u32 parentid,
if (parent == NULL)
return -ENOENT;
}
- if (!(parent->cl_flags & HFSC_FSC) && parent != &q->root) {
- NL_SET_ERR_MSG(extack, "Invalid parent - parent class must have FSC");
- return -EINVAL;
- }
if (classid == 0 || TC_H_MAJ(classid ^ sch->handle) != 0)
return -EINVAL;
@@ -1077,6 +1081,12 @@ hfsc_change_class(struct Qdisc *sch, u32 classid, u32 parentid,
cl->cf_tree = RB_ROOT;
sch_tree_lock(sch);
+ /* Check if the inner class is a misconfigured 'rt' */
+ if (!(parent->cl_flags & HFSC_FSC) && parent != &q->root) {
+ NL_SET_ERR_MSG(extack,
+ "Forced curve change on parent 'rt' to 'sc'");
+ hfsc_upgrade_rt(parent);
+ }
qdisc_class_hash_insert(&q->clhash, &cl->cl_common);
list_add_tail(&cl->siblings, &parent->children);
if (parent->level == 0)
--
2.34.1
1
0
hulk inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8ZTTF
CVE: NA
--------------------------------
There is no need use __GENKSYMS__.
Fixes: 00d37128abe2 ("sched: Introduce smart grid scheduling strategy for cfs")
Signed-off-by: Yipeng Zou <zouyipeng(a)huawei.com>
---
kernel/sched/sched.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h
index 18c1b3d5a378..1044664bccfa 100644
--- a/kernel/sched/sched.h
+++ b/kernel/sched/sched.h
@@ -500,7 +500,7 @@ struct task_group {
#else
KABI_RESERVE(3)
#endif
-#if defined(CONFIG_QOS_SCHED_SMART_GRID) && !defined(__GENKSYMS__)
+#if defined(CONFIG_QOS_SCHED_SMART_GRID)
KABI_USE(4, struct auto_affinity *auto_affinity)
#else
KABI_RESERVE(4)
--
2.34.1
1
0

[PATCH v2 OLK-6.6 0/7] workload-specific and memory pressure-driven zswap writeback
by Wupeng Ma 31 Jan '24
by Wupeng Ma 31 Jan '24
31 Jan '24
From: Ma Wupeng <mawupeng1(a)huawei.com>
Backport "workload-specific and memory pressure-driven zswap writeback"
for OLK-6.6.
Domenico Cerasuolo (3):
zswap: make shrinking memcg-aware
mm: memcg: add per-memcg zswap writeback stat
selftests: cgroup: update per-memcg zswap writeback selftest
Nhat Pham (4):
list_lru: allow explicit memcg and NUMA node selection
memcontrol: implement mem_cgroup_tryget_online()
zswap: shrink zswap pool based on memory pressure
zswap: memcontrol: implement zswap writeback disabling
Documentation/admin-guide/cgroup-v2.rst | 15 +
Documentation/admin-guide/mm/zswap.rst | 20 +
drivers/android/binder_alloc.c | 7 +-
fs/dcache.c | 8 +-
fs/gfs2/quota.c | 6 +-
fs/inode.c | 4 +-
fs/nfs/nfs42xattr.c | 8 +-
fs/nfsd/filecache.c | 4 +-
fs/xfs/xfs_buf.c | 6 +-
fs/xfs/xfs_dquot.c | 2 +-
fs/xfs/xfs_qm.c | 2 +-
include/linux/list_lru.h | 56 ++-
include/linux/memcontrol.h | 27 ++
include/linux/mmzone.h | 2 +
include/linux/vm_event_item.h | 1 +
include/linux/zswap.h | 32 +-
mm/Kconfig | 14 +
mm/list_lru.c | 48 +-
mm/memcontrol.c | 42 ++
mm/mmzone.c | 1 +
mm/page_io.c | 6 +
mm/shmem.c | 3 +-
mm/swap.h | 3 +-
mm/swap_state.c | 28 +-
mm/vmstat.c | 1 +
mm/workingset.c | 4 +-
mm/zswap.c | 467 +++++++++++++++++---
tools/testing/selftests/cgroup/test_zswap.c | 74 +++-
28 files changed, 764 insertions(+), 127 deletions(-)
--
2.25.1
2
8

[PATCH OLK-6.6 0/7] workload-specific and memory pressure-driven zswap writeback
by Wupeng Ma 31 Jan '24
by Wupeng Ma 31 Jan '24
31 Jan '24
From: Ma Wupeng <mawupeng1(a)huawei.com>
Backport "workload-specific and memory pressure-driven zswap writeback"
for OLK-6.6.
Domenico Cerasuolo (3):
zswap: make shrinking memcg-aware
mm: memcg: add per-memcg zswap writeback stat
selftests: cgroup: update per-memcg zswap writeback selftest
Nhat Pham (4):
list_lru: allow explicit memcg and NUMA node selection
memcontrol: implement mem_cgroup_tryget_online()
zswap: shrink zswap pool based on memory pressure
zswap: memcontrol: implement zswap writeback disabling
Documentation/admin-guide/cgroup-v2.rst | 15 +
Documentation/admin-guide/mm/zswap.rst | 20 +
drivers/android/binder_alloc.c | 7 +-
fs/dcache.c | 8 +-
fs/gfs2/quota.c | 6 +-
fs/inode.c | 4 +-
fs/nfs/nfs42xattr.c | 8 +-
fs/nfsd/filecache.c | 4 +-
fs/xfs/xfs_buf.c | 6 +-
fs/xfs/xfs_dquot.c | 2 +-
fs/xfs/xfs_qm.c | 2 +-
include/linux/list_lru.h | 56 ++-
include/linux/memcontrol.h | 27 ++
include/linux/mmzone.h | 2 +
include/linux/vm_event_item.h | 1 +
include/linux/zswap.h | 32 +-
mm/Kconfig | 14 +
mm/list_lru.c | 48 +-
mm/memcontrol.c | 42 ++
mm/mmzone.c | 1 +
mm/page_io.c | 6 +
mm/shmem.c | 3 +-
mm/swap.h | 3 +-
mm/swap_state.c | 28 +-
mm/vmstat.c | 1 +
mm/workingset.c | 4 +-
mm/zswap.c | 467 +++++++++++++++++---
tools/testing/selftests/cgroup/test_zswap.c | 74 +++-
28 files changed, 764 insertions(+), 127 deletions(-)
--
2.25.1
2
8

[openeuler:OLK-6.6 2681/2881] dtbs_check: Documentation/devicetree/bindings/arm/arm,mpam-msc.yaml:76:15: [error] string value is redundantly quoted with any quotes (quoted-strings)
by kernel test robot 31 Jan '24
by kernel test robot 31 Jan '24
31 Jan '24
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 370d9c06c9c2609f0c25810eb8f913fc9cdde776
commit: c21dc717760f8594e1fccae49eb86eb05e9a5f12 [2681/2881] dt-bindings: arm: Add MPAM MSC binding
compiler: loongarch64-linux-gcc (GCC) 13.2.0
reproduce: (https://download.01.org/0day-ci/archive/20240131/202401310530.n3p0dJu0-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202401310530.n3p0dJu0-lkp@intel.com/
dtcheck warnings: (new ones prefixed by >>)
>> Documentation/devicetree/bindings/arm/arm,mpam-msc.yaml:76:15: [error] string value is redundantly quoted with any quotes (quoted-strings)
Documentation/devicetree/bindings/arm/arm,mpam-msc.yaml:82:15: [error] string value is redundantly quoted with any quotes (quoted-strings)
vim +76 Documentation/devicetree/bindings/arm/arm,mpam-msc.yaml
8
9 description: |
10 The Arm MPAM specification can be found here:
11
12 https://developer.arm.com/documentation/ddi0598/latest
13
14 maintainers:
15 - Rob Herring <robh(a)kernel.org>
16
17 properties:
18 compatible:
19 items:
20 - const: arm,mpam-msc # Further details are discoverable
21 - const: arm,mpam-memory-controller-msc
22
23 reg:
24 maxItems: 1
25 description: A memory region containing registers as defined in the MPAM
26 specification.
27
28 interrupts:
29 minItems: 1
30 items:
31 - description: error (optional)
32 - description: overflow (optional, only for monitoring)
33
34 interrupt-names:
35 oneOf:
36 - items:
37 - enum: [ error, overflow ]
38 - items:
39 - const: error
40 - const: overflow
41
42 arm,not-ready-us:
43 description: The maximum time in microseconds for monitoring data to be
44 accurate after a settings change. For more information, see the
45 Not-Ready (NRDY) bit description in the MPAM specification.
46
47 numa-node-id: true # see NUMA binding
48
49 '#address-cells':
50 const: 1
51
52 '#size-cells':
53 const: 0
54
55 patternProperties:
56 '^ris@[0-9a-f]$':
57 type: object
58 additionalProperties: false
59 description: |
60 RIS nodes for each RIS in an MSC. These nodes are required for each RIS
61 implementing known MPAM controls
62
63 properties:
64 compatible:
65 enum:
66 # Bulk storage for cache
67 - arm,mpam-cache
68 # Memory bandwidth
69 - arm,mpam-memory
70
71 reg:
72 minimum: 0
73 maximum: 0xf
74
75 cpus:
> 76 $ref: '/schemas/types.yaml#/definitions/phandle-array'
77 description:
78 Phandle(s) to the CPU node(s) this RIS belongs to. By default, the parent
79 device's affinity is used.
80
81 arm,mpam-device:
82 $ref: '/schemas/types.yaml#/definitions/phandle'
83 description:
84 By default, the MPAM enabled device associated with a RIS is the MSC's
85 parent node. It is possible for each RIS to be associated with different
86 devices in which case 'arm,mpam-device' should be used.
87
88 required:
89 - compatible
90 - reg
91
92 required:
93 - compatible
94 - reg
95
96 dependencies:
97 interrupts: [ interrupt-names ]
98
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-5.10] BUILD REGRESSION 7b3b2702f031a1a8368468aef621f12b23241185
by kernel test robot 31 Jan '24
by kernel test robot 31 Jan '24
31 Jan '24
tree/branch: https://gitee.com/openeuler/kernel.git OLK-5.10
branch HEAD: 7b3b2702f031a1a8368468aef621f12b23241185 !4280 v2 fs:/dcache.c: fix negative dentry limit not complete problem
Error/Warning reports:
https://lore.kernel.org/oe-kbuild-all/202401302223.n5Bt3u0j-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202401310428.WDzXvKLP-lkp@intel.com
Error/Warning: (recently discovered and may have been fixed)
Warning: arch/riscv/kvm/vcpu.c references a file that doesn't exist: Documentation/virtual/kvm/vcpu-requests.rst
arch/arm64/kvm/reset.c:102:34: error: implicit declaration of function 'sve_max_virtualisable_vl' [-Werror=implicit-function-declaration]
vmlinux.o: warning: objtool: do_machine_check()+0x160: call to memset() leaves .noinstr.text section
Unverified Error/Warning (likely false positive, please contact us if interested):
mm/hugetlb.c:3611 hugepages_setup() warn: potential spectre issue 'default_hugepages_in_node' [w]
mm/hugetlb.c:3613 hugepages_setup() warn: potential spectre issue 'parsed_hstate->max_huge_pages_node' [w]
Error/Warning ids grouped by kconfigs:
gcc_recent_errors
|-- arm64-allnoconfig
| |-- arch-arm64-kernel-fpsimd.c:warning:get_sve_default_vl-defined-but-not-used
| |-- arch-arm64-kernel-ipi_nmi.c:error:implicit-declaration-of-function-printk_safe_enter
| |-- arch-arm64-kernel-ipi_nmi.c:error:implicit-declaration-of-function-printk_safe_exit
| |-- arch-arm64-mm-init.c:warning:no-previous-prototype-for-ascend_enable_all_features
| |-- drivers-irqchip-irq-gic-v3-its-platform-msi.c:warning:no-previous-prototype-for-vp_get_irq_domain
| |-- kernel-workqueue.c:error:implicit-declaration-of-function-printk_safe_enter
| |-- kernel-workqueue.c:error:implicit-declaration-of-function-printk_safe_exit
| |-- mm-page_alloc.c:warning:no-previous-prototype-for-__drain_all_pages
| `-- mm-page_alloc.c:warning:no-previous-prototype-for-__zone_set_pageset_high_and_batch
|-- arm64-defconfig
| |-- arch-arm64-kernel-paravirt-spinlocks.c:warning:no-previous-prototype-for-pv_is_native_spin_unlock
| |-- arch-arm64-mm-init.c:warning:no-previous-prototype-for-ascend_enable_all_features
| |-- drivers-crypto-hisilicon-qm.c:warning:strncpy-specified-bound-depends-on-the-length-of-the-source-argument
| |-- drivers-net-ethernet-hisilicon-hns3-hns3_ethtool.c:warning:hns3_unic_ethtool_ops-defined-but-not-used
| |-- drivers-net-ethernet-hisilicon-hns3-hns3_ethtool.c:warning:s-directive-output-may-be-truncated-writing-up-to-bytes-into-a-region-of-size
| |-- drivers-net-ethernet-hisilicon-hns3-hns3pf-hclge_debugfs.h:warning:hclge_dbg_bios_common_reg-defined-but-not-used
| |-- drivers-net-ethernet-hisilicon-hns3-hns3pf-hclge_debugfs.h:warning:hclge_dbg_igu_egu_reg-defined-but-not-used
| |-- drivers-net-ethernet-hisilicon-hns3-hns3pf-hclge_debugfs.h:warning:hclge_dbg_ncsi_reg-defined-but-not-used
| |-- drivers-net-ethernet-hisilicon-hns3-hns3pf-hclge_debugfs.h:warning:hclge_dbg_ppp_reg-defined-but-not-used
| |-- drivers-net-ethernet-hisilicon-hns3-hns3pf-hclge_debugfs.h:warning:hclge_dbg_rcb_reg-defined-but-not-used
| |-- drivers-net-ethernet-hisilicon-hns3-hns3pf-hclge_debugfs.h:warning:hclge_dbg_rpu_reg_0-defined-but-not-used
| |-- drivers-net-ethernet-hisilicon-hns3-hns3pf-hclge_debugfs.h:warning:hclge_dbg_rpu_reg_1-defined-but-not-used
| |-- drivers-net-ethernet-hisilicon-hns3-hns3pf-hclge_debugfs.h:warning:hclge_dbg_rtc_reg-defined-but-not-used
| |-- drivers-net-ethernet-hisilicon-hns3-hns3pf-hclge_debugfs.h:warning:hclge_dbg_ssu_reg_0-defined-but-not-used
| |-- drivers-net-ethernet-hisilicon-hns3-hns3pf-hclge_debugfs.h:warning:hclge_dbg_ssu_reg_1-defined-but-not-used
| |-- drivers-net-ethernet-hisilicon-hns3-hns3pf-hclge_debugfs.h:warning:hclge_dbg_ssu_reg_2-defined-but-not-used
| |-- drivers-net-ethernet-hisilicon-hns3-hns3pf-hclge_debugfs.h:warning:hclge_dbg_tqp_reg-defined-but-not-used
| |-- drivers-net-ethernet-hisilicon-hns3-hns3pf-hclge_ext.c:warning:implicit-conversion-from-enum-hclge_ext_opcode_type-to-enum-hclge_opcode_type
| |-- drivers-net-ethernet-hisilicon-hns3-hns3pf-hclge_main.c:warning:implicit-conversion-from-enum-hnae3_reset_type-to-enum-hnae3_event_type_custom
| |-- drivers-net-ethernet-hisilicon-hns3-hns3pf-hclge_main.c:warning:unused-variable-ae_dev
| |-- drivers-net-ethernet-hisilicon-hns3-hns3pf-hclge_mbx.c:warning:unused-variable-hdev
| |-- mm-page_alloc.c:warning:no-previous-prototype-for-__drain_all_pages
| `-- mm-page_alloc.c:warning:no-previous-prototype-for-__zone_set_pageset_high_and_batch
|-- arm64-randconfig-001-20240130
| |-- arch-arm64-kernel-fpsimd.c:warning:get_sve_default_vl-defined-but-not-used
| |-- arch-arm64-mm-init.c:warning:no-previous-prototype-for-ascend_enable_all_features
| |-- mm-page_alloc.c:warning:no-previous-prototype-for-__drain_all_pages
| `-- mm-page_alloc.c:warning:no-previous-prototype-for-__zone_set_pageset_high_and_batch
|-- arm64-randconfig-002-20240130
| |-- arch-arm64-kernel-fpsimd.c:warning:get_sve_default_vl-defined-but-not-used
| |-- arch-arm64-kernel-paravirt-spinlocks.c:warning:no-previous-prototype-for-pv_is_native_spin_unlock
| |-- arch-arm64-kvm-reset.c:error:implicit-declaration-of-function-sve_max_virtualisable_vl
| |-- arch-arm64-mm-init.c:warning:no-previous-prototype-for-ascend_enable_all_features
| |-- mm-page_alloc.c:warning:no-previous-prototype-for-__drain_all_pages
| `-- mm-page_alloc.c:warning:no-previous-prototype-for-__zone_set_pageset_high_and_batch
|-- arm64-randconfig-003-20240130
| |-- arch-arm64-kernel-fpsimd.c:warning:get_sve_default_vl-defined-but-not-used
| |-- arch-arm64-kernel-ipi_nmi.c:error:implicit-declaration-of-function-printk_safe_enter
| |-- arch-arm64-kernel-ipi_nmi.c:error:implicit-declaration-of-function-printk_safe_exit
| |-- arch-arm64-kernel-paravirt-spinlocks.c:warning:no-previous-prototype-for-pv_is_native_spin_unlock
| |-- arch-arm64-mm-init.c:warning:no-previous-prototype-for-ascend_enable_all_features
| |-- drivers-gpio-gpio-hisi.c:warning:variable-clr-set-but-not-used
| |-- drivers-gpio-gpio-hisi.c:warning:variable-dat-set-but-not-used
| |-- drivers-gpio-gpio-hisi.c:warning:variable-set-set-but-not-used
| |-- drivers-irqchip-irq-gic-v3-its-platform-msi.c:warning:no-previous-prototype-for-vp_get_irq_domain
| |-- kernel-workqueue.c:error:implicit-declaration-of-function-printk_safe_enter
| |-- kernel-workqueue.c:error:implicit-declaration-of-function-printk_safe_exit
| |-- mm-page_alloc.c:warning:no-previous-prototype-for-__drain_all_pages
| `-- mm-page_alloc.c:warning:no-previous-prototype-for-__zone_set_pageset_high_and_batch
|-- arm64-randconfig-004-20240130
| |-- arch-arm64-kernel-paravirt-spinlocks.c:warning:no-previous-prototype-for-pv_is_native_spin_unlock
| |-- arch-arm64-mm-init.c:warning:no-previous-prototype-for-ascend_enable_all_features
| |-- kernel-sched-topology.c:error:implicit-declaration-of-function-register_sysctl_init
| |-- mm-page_alloc.c:warning:no-previous-prototype-for-__drain_all_pages
| `-- mm-page_alloc.c:warning:no-previous-prototype-for-__zone_set_pageset_high_and_batch
|-- x86_64-allnoconfig
| |-- Warning:arch-riscv-kvm-vcpu.c-references-a-file-that-doesn-t-exist:Documentation-virtual-kvm-vcpu-requests.rst
| |-- drivers-char-ipmi-ipmi_si_ls2k500.c:linux-version.h-not-needed.
| |-- drivers-gpu-drm-inspur-inspur_drm_de.c::need-linux-version.h
| |-- drivers-gpu-drm-inspur-inspur_drm_drv.c::need-linux-version.h
| |-- drivers-net-ethernet-3snic-sssnic-include-kernel-sss_linux_kernel.h:linux-version.h-not-needed.
| |-- drivers-net-ethernet-huawei-bma-edma_drv-bma_include.h:linux-version.h-not-needed.
| |-- drivers-net-ethernet-huawei-bma-edma_drv-bma_pci.c:linux-version.h-not-needed.
| |-- drivers-net-ethernet-huawei-bma-kbox_drv-kbox_include.h:linux-version.h-not-needed.
| |-- drivers-net-ethernet-huawei-bma-kbox_drv-kbox_main.c:linux-version.h-not-needed.
| |-- drivers-net-ethernet-huawei-bma-kbox_drv-kbox_mce.c:linux-version.h-not-needed.
| |-- drivers-net-ethernet-huawei-bma-kbox_drv-kbox_ram_op.c:linux-version.h-not-needed.
| |-- drivers-net-ethernet-huawei-hinic-ossl_knl.h:linux-version.h-not-needed.
| |-- drivers-net-ethernet-huawei-hinic3-ossl_knl_linux.h:linux-version.h-not-needed.
| |-- drivers-net-ethernet-nebula-matrix-m1600-common.h:linux-version.h-not-needed.
| |-- drivers-net-ethernet-nebula-matrix-m1600-txrx.c:linux-version.h-not-needed.
| |-- drivers-net-ethernet-yunsilicon-xsc-common-xsc_core.h:linux-version.h-not-needed.
| |-- drivers-scsi-hisi_raid-hiraid_main.c:linux-version.h-not-needed.
| |-- drivers-scsi-huawei-hifc-hifc_knl_adp.h:linux-version.h-not-needed.
| |-- drivers-scsi-sssraid-sssraid_fw.c:linux-version.h-not-needed.
| |-- drivers-scsi-sssraid-sssraid_os.c:linux-version.h-not-needed.
| |-- drivers-ub-urma-ubcore-ubcore_main.c:linux-version.h-not-needed.
| |-- drivers-ub-urma-ubcore-ubcore_tp.c:linux-version.h-not-needed.
| |-- drivers-ub-urma-ubcore-ubcore_umem.c:linux-version.h-not-needed.
| |-- drivers-ub-urma-uburma-uburma_cdev_file.c:linux-version.h-not-needed.
| |-- drivers-ub-urma-uburma-uburma_main.c:linux-version.h-not-needed.
| |-- fs-eulerfs-euler.h:linux-version.h-not-needed.
| |-- fs-eulerfs-euler_common.h:linux-version.h-not-needed.
| |-- fs-proc-etmem_scan.c:linux-version.h-not-needed.
| |-- kernel-workqueue.c:error:implicit-declaration-of-function-printk_safe_enter
| |-- kernel-workqueue.c:error:implicit-declaration-of-function-printk_safe_exit
| |-- mm-page_alloc.c:warning:no-previous-prototype-for-__drain_all_pages
| |-- mm-page_alloc.c:warning:no-previous-prototype-for-__zone_set_pageset_high_and_batch
| `-- tools-lib-bpf-libbpf_sched.h:linux-version.h-not-needed.
|-- x86_64-buildonly-randconfig-001-20240130
| |-- arch-x86-lib-copy_highpages.c:warning:no-previous-prototype-for-sysctl_hugepage_nocache_copy
| |-- kernel-crash_core.c:warning:no-previous-prototype-for-reserve_crashkernel_high
| |-- mm-page_alloc.c:warning:no-previous-prototype-for-__drain_all_pages
| `-- mm-page_alloc.c:warning:no-previous-prototype-for-__zone_set_pageset_high_and_batch
|-- x86_64-buildonly-randconfig-002-20240130
| |-- arch-x86-lib-copy_highpages.c:warning:no-previous-prototype-for-sysctl_hugepage_nocache_copy
| |-- kernel-crash_core.c:warning:no-previous-prototype-for-reserve_crashkernel_high
| |-- mm-page_alloc.c:warning:no-previous-prototype-for-__drain_all_pages
| `-- mm-page_alloc.c:warning:no-previous-prototype-for-__zone_set_pageset_high_and_batch
|-- x86_64-buildonly-randconfig-003-20240130
| |-- arch-x86-lib-copy_highpages.c:warning:no-previous-prototype-for-sysctl_hugepage_nocache_copy
| |-- kernel-crash_core.c:warning:no-previous-prototype-for-reserve_crashkernel_high
| |-- kernel-watchdog_hld.c:warning:no-previous-prototype-for-__hardlockup_detector_perf_init
| |-- mm-page_alloc.c:warning:no-previous-prototype-for-__drain_all_pages
| |-- mm-page_alloc.c:warning:no-previous-prototype-for-__zone_set_pageset_high_and_batch
| `-- vmlinux.o:warning:objtool:do_machine_check:call-to-memset()-leaves-.noinstr.text-section
|-- x86_64-buildonly-randconfig-004-20240130
| |-- drivers-tty-tty_buffer.c:error:implicit-declaration-of-function-printk_safe_enter
| |-- drivers-tty-tty_buffer.c:error:implicit-declaration-of-function-printk_safe_exit
| |-- kernel-workqueue.c:error:implicit-declaration-of-function-printk_safe_enter
| `-- kernel-workqueue.c:error:implicit-declaration-of-function-printk_safe_exit
|-- x86_64-buildonly-randconfig-005-20240130
| |-- arch-x86-lib-copy_highpages.c:warning:no-previous-prototype-for-sysctl_hugepage_nocache_copy
| |-- kernel-crash_core.c:warning:no-previous-prototype-for-reserve_crashkernel_high
| |-- mm-page_alloc.c:warning:no-previous-prototype-for-__drain_all_pages
| `-- mm-page_alloc.c:warning:no-previous-prototype-for-__zone_set_pageset_high_and_batch
|-- x86_64-buildonly-randconfig-006-20240130
| |-- drivers-tty-tty_buffer.c:error:implicit-declaration-of-function-printk_safe_enter
| |-- drivers-tty-tty_buffer.c:error:implicit-declaration-of-function-printk_safe_exit
| |-- kernel-workqueue.c:error:implicit-declaration-of-function-printk_safe_enter
| `-- kernel-workqueue.c:error:implicit-declaration-of-function-printk_safe_exit
|-- x86_64-defconfig
| |-- arch-x86-lib-copy_highpages.c:warning:no-previous-prototype-for-sysctl_hugepage_nocache_copy
| |-- kernel-crash_core.c:warning:no-previous-prototype-for-reserve_crashkernel_high
| |-- mm-page_alloc.c:warning:no-previous-prototype-for-__drain_all_pages
| `-- mm-page_alloc.c:warning:no-previous-prototype-for-__zone_set_pageset_high_and_batch
|-- x86_64-randconfig-011-20240130
| |-- arch-x86-lib-copy_highpages.c:warning:no-previous-prototype-for-sysctl_hugepage_nocache_copy
| |-- kernel-watchdog_hld.c:warning:no-previous-prototype-for-__hardlockup_detector_perf_init
| |-- mm-page_alloc.c:warning:no-previous-prototype-for-__drain_all_pages
| `-- mm-page_alloc.c:warning:no-previous-prototype-for-__zone_set_pageset_high_and_batch
|-- x86_64-randconfig-012-20240130
| |-- arch-x86-lib-copy_highpages.c:warning:no-previous-prototype-for-sysctl_hugepage_nocache_copy
| |-- kernel-crash_core.c:warning:no-previous-prototype-for-reserve_crashkernel_high
| |-- kernel-watchdog_hld.c:warning:no-previous-prototype-for-__hardlockup_detector_perf_init
| |-- mm-page_alloc.c:warning:no-previous-prototype-for-__drain_all_pages
| `-- mm-page_alloc.c:warning:no-previous-prototype-for-__zone_set_pageset_high_and_batch
|-- x86_64-randconfig-013-20240130
| |-- arch-x86-lib-copy_highpages.c:warning:no-previous-prototype-for-sysctl_hugepage_nocache_copy
| |-- fs-ntfs3-frecord.o:warning:objtool:ni_read_frame-falls-through-to-next-function-ni_readpage_cmprcold()
| |-- mm-page_alloc.c:warning:no-previous-prototype-for-__drain_all_pages
| `-- mm-page_alloc.c:warning:no-previous-prototype-for-__zone_set_pageset_high_and_batch
|-- x86_64-randconfig-014-20240130
| |-- arch-x86-lib-copy_highpages.c:warning:no-previous-prototype-for-sysctl_hugepage_nocache_copy
| |-- kernel-crash_core.c:warning:no-previous-prototype-for-reserve_crashkernel_high
| |-- kernel-watchdog_hld.c:warning:no-previous-prototype-for-__hardlockup_detector_perf_init
| |-- mm-page_alloc.c:warning:no-previous-prototype-for-__drain_all_pages
| `-- mm-page_alloc.c:warning:no-previous-prototype-for-__zone_set_pageset_high_and_batch
|-- x86_64-randconfig-015-20240130
| |-- arch-x86-lib-copy_highpages.c:warning:no-previous-prototype-for-sysctl_hugepage_nocache_copy
| |-- mm-page_alloc.c:warning:no-previous-prototype-for-__drain_all_pages
| `-- mm-page_alloc.c:warning:no-previous-prototype-for-__zone_set_pageset_high_and_batch
|-- x86_64-randconfig-016-20240130
| |-- arch-x86-lib-copy_highpages.c:warning:no-previous-prototype-for-sysctl_hugepage_nocache_copy
| |-- kernel-watchdog_hld.c:warning:no-previous-prototype-for-__hardlockup_detector_perf_init
| |-- mm-page_alloc.c:warning:no-previous-prototype-for-__drain_all_pages
| `-- mm-page_alloc.c:warning:no-previous-prototype-for-__zone_set_pageset_high_and_batch
|-- x86_64-randconfig-072-20240130
| |-- arch-x86-lib-copy_highpages.c:warning:no-previous-prototype-for-sysctl_hugepage_nocache_copy
| |-- kernel-crash_core.c:warning:no-previous-prototype-for-reserve_crashkernel_high
| |-- kernel-watchdog_hld.c:warning:no-previous-prototype-for-__hardlockup_detector_perf_init
| |-- mm-page_alloc.c:warning:no-previous-prototype-for-__drain_all_pages
| `-- mm-page_alloc.c:warning:no-previous-prototype-for-__zone_set_pageset_high_and_batch
|-- x86_64-randconfig-074-20240130
| |-- arch-x86-lib-copy_highpages.c:warning:no-previous-prototype-for-sysctl_hugepage_nocache_copy
| |-- kernel-crash_core.c:warning:no-previous-prototype-for-reserve_crashkernel_high
| |-- mm-page_alloc.c:warning:no-previous-prototype-for-__drain_all_pages
| `-- mm-page_alloc.c:warning:no-previous-prototype-for-__zone_set_pageset_high_and_batch
|-- x86_64-randconfig-075-20240130
| |-- arch-x86-lib-copy_highpages.c:warning:no-previous-prototype-for-sysctl_hugepage_nocache_copy
| |-- kernel-crash_core.c:warning:no-previous-prototype-for-reserve_crashkernel_high
| |-- mm-page_alloc.c:warning:no-previous-prototype-for-__drain_all_pages
| `-- mm-page_alloc.c:warning:no-previous-prototype-for-__zone_set_pageset_high_and_batch
|-- x86_64-randconfig-076-20240130
| |-- arch-x86-lib-copy_highpages.c:warning:no-previous-prototype-for-sysctl_hugepage_nocache_copy
| |-- kernel-crash_core.c:warning:no-previous-prototype-for-reserve_crashkernel_high
| |-- kernel-watchdog_hld.c:warning:no-previous-prototype-for-__hardlockup_detector_perf_init
| |-- mm-page_alloc.c:warning:no-previous-prototype-for-__drain_all_pages
| `-- mm-page_alloc.c:warning:no-previous-prototype-for-__zone_set_pageset_high_and_batch
`-- x86_64-randconfig-161-20240129
|-- mm-hugetlb.c-hugepages_setup()-warn:potential-spectre-issue-default_hugepages_in_node-w
`-- mm-hugetlb.c-hugepages_setup()-warn:potential-spectre-issue-parsed_hstate-max_huge_pages_node-w
clang_recent_errors
|-- x86_64-allyesconfig
| |-- arch-x86-lib-copy_highpages.c:warning:no-previous-prototype-for-function-sysctl_hugepage_nocache_copy
| |-- crypto-asymmetric_keys-pgp_library.c:warning:Excess-function-parameter-_data-description-in-pgp_parse_packets
| |-- crypto-asymmetric_keys-pgp_library.c:warning:Excess-function-parameter-_datalen-description-in-pgp_parse_packets
| |-- crypto-asymmetric_keys-pgp_library.c:warning:Function-parameter-or-member-data-not-described-in-pgp_parse_packets
| |-- crypto-asymmetric_keys-pgp_library.c:warning:Function-parameter-or-member-datalen-not-described-in-pgp_parse_packets
| |-- drivers-gpio-gpio-hisi.c:warning:variable-clr-set-but-not-used
| |-- drivers-gpio-gpio-hisi.c:warning:variable-dat-set-but-not-used
| |-- drivers-gpio-gpio-hisi.c:warning:variable-set-set-but-not-used
| |-- drivers-net-ethernet-3snic-sssnic-hw-.-tool-sss_tool_chip.c:warning:no-previous-prototype-for-function-sss_tool_adm_csr_rd32
| |-- drivers-net-ethernet-3snic-sssnic-hw-.-tool-sss_tool_chip.c:warning:no-previous-prototype-for-function-sss_tool_adm_csr_wr32
| |-- drivers-net-ethernet-3snic-sssnic-hw-.-tool-sss_tool_chip.c:warning:no-previous-prototype-for-function-sss_tool_send_clp_msg
| |-- drivers-net-ethernet-3snic-sssnic-hw-.-tool-sss_tool_main.c:warning:no-previous-prototype-for-function-sss_tool_alloc_in_buf
| |-- drivers-net-ethernet-3snic-sssnic-hw-.-tool-sss_tool_main.c:warning:no-previous-prototype-for-function-sss_tool_alloc_out_buf
| |-- drivers-net-ethernet-3snic-sssnic-hw-.-tool-sss_tool_main.c:warning:no-previous-prototype-for-function-sss_tool_copy_to_user
| |-- drivers-net-ethernet-3snic-sssnic-hw-.-tool-sss_tool_main.c:warning:no-previous-prototype-for-function-sss_tool_free_in_buf
| |-- drivers-net-ethernet-3snic-sssnic-hw-.-tool-sss_tool_main.c:warning:no-previous-prototype-for-function-sss_tool_free_out_buf
| |-- drivers-net-ethernet-3snic-sssnic-hw-.-tool-sss_tool_sdk.c:warning:no-previous-prototype-for-function-sss_tool_get_func_id
| |-- drivers-net-ethernet-3snic-sssnic-hw-.-tool-sss_tool_sdk.c:warning:no-previous-prototype-for-function-sss_tool_get_func_type
| |-- drivers-net-ethernet-3snic-sssnic-hw-.-tool-sss_tool_sdk.c:warning:no-previous-prototype-for-function-sss_tool_get_hw_driver_stats
| |-- drivers-net-ethernet-3snic-sssnic-hw-sss_hwif_adm.c:warning:no-previous-prototype-for-function-sss_adm_msg_read
| |-- drivers-net-ethernet-3snic-sssnic-hw-sss_hwif_adm.c:warning:no-previous-prototype-for-function-sss_adm_msg_read_ack
| |-- drivers-net-ethernet-3snic-sssnic-hw-sss_hwif_adm.c:warning:no-previous-prototype-for-function-sss_adm_msg_write
| |-- drivers-net-ethernet-3snic-sssnic-hw-sss_hwif_adm.c:warning:no-previous-prototype-for-function-sss_adm_msg_write_nack
| |-- drivers-net-ethernet-3snic-sssnic-hw-sss_hwif_adm_init.c:warning:no-previous-prototype-for-function-sss_destroy_adm_msg
| |-- drivers-net-ethernet-3snic-sssnic-hw-sss_hwif_export.c:warning:no-previous-prototype-for-function-sss_get_func_id
| |-- drivers-net-ethernet-3snic-sssnic-nic-.-tool-sss_tool_nic_dcb.c:warning:no-previous-prototype-for-function-sss_tool_dcb_mt_dcb_state
| |-- drivers-net-ethernet-3snic-sssnic-nic-.-tool-sss_tool_nic_dcb.c:warning:no-previous-prototype-for-function-sss_tool_dcb_mt_hw_qos_get
| |-- drivers-net-ethernet-3snic-sssnic-nic-.-tool-sss_tool_nic_dcb.c:warning:no-previous-prototype-for-function-sss_tool_dcb_mt_qos_map
| |-- drivers-net-ethernet-3snic-sssnic-nic-.-tool-sss_tool_nic_func.c:warning:no-previous-prototype-for-function-sss_tool_ioctl
| |-- drivers-net-ethernet-3snic-sssnic-nic-.-tool-sss_tool_nic_phy_attr.c:warning:no-previous-prototype-for-function-sss_tool_get_loopback_mode
| |-- drivers-net-ethernet-3snic-sssnic-nic-.-tool-sss_tool_nic_phy_attr.c:warning:no-previous-prototype-for-function-sss_tool_get_netdev_name
| |-- drivers-net-ethernet-3snic-sssnic-nic-.-tool-sss_tool_nic_phy_attr.c:warning:no-previous-prototype-for-function-sss_tool_get_netdev_tx_timeout
| |-- drivers-net-ethernet-3snic-sssnic-nic-.-tool-sss_tool_nic_phy_attr.c:warning:no-previous-prototype-for-function-sss_tool_get_pf_bw_limit
| |-- drivers-net-ethernet-3snic-sssnic-nic-.-tool-sss_tool_nic_phy_attr.c:warning:no-previous-prototype-for-function-sss_tool_get_xsfp_info
| |-- drivers-net-ethernet-3snic-sssnic-nic-.-tool-sss_tool_nic_phy_attr.c:warning:no-previous-prototype-for-function-sss_tool_get_xsfp_present
| |-- drivers-net-ethernet-3snic-sssnic-nic-.-tool-sss_tool_nic_phy_attr.c:warning:no-previous-prototype-for-function-sss_tool_set_link_mode
| |-- drivers-net-ethernet-3snic-sssnic-nic-.-tool-sss_tool_nic_phy_attr.c:warning:no-previous-prototype-for-function-sss_tool_set_loopback_mode
| |-- drivers-net-ethernet-3snic-sssnic-nic-.-tool-sss_tool_nic_phy_attr.c:warning:no-previous-prototype-for-function-sss_tool_set_netdev_tx_timeout
| |-- drivers-net-ethernet-3snic-sssnic-nic-.-tool-sss_tool_nic_phy_attr.c:warning:no-previous-prototype-for-function-sss_tool_set_pf_bw_limit
| |-- drivers-net-ethernet-3snic-sssnic-nic-.-tool-sss_tool_nic_phy_attr.c:warning:variable-old_bw_limit-set-but-not-used
| |-- drivers-net-ethernet-3snic-sssnic-nic-.-tool-sss_tool_nic_qp_info.c:warning:no-previous-prototype-for-function-sss_tool_get_inter_num
| |-- drivers-net-ethernet-3snic-sssnic-nic-.-tool-sss_tool_nic_qp_info.c:warning:no-previous-prototype-for-function-sss_tool_get_q_num
| |-- drivers-net-ethernet-3snic-sssnic-nic-.-tool-sss_tool_nic_qp_info.c:warning:no-previous-prototype-for-function-sss_tool_get_rx_cqe_info
| |-- drivers-net-ethernet-3snic-sssnic-nic-.-tool-sss_tool_nic_qp_info.c:warning:no-previous-prototype-for-function-sss_tool_get_rx_info
| |-- drivers-net-ethernet-3snic-sssnic-nic-.-tool-sss_tool_nic_qp_info.c:warning:no-previous-prototype-for-function-sss_tool_get_rx_wqe_info
| |-- drivers-net-ethernet-3snic-sssnic-nic-.-tool-sss_tool_nic_qp_info.c:warning:no-previous-prototype-for-function-sss_tool_get_tx_info
| |-- drivers-net-ethernet-3snic-sssnic-nic-.-tool-sss_tool_nic_qp_info.c:warning:no-previous-prototype-for-function-sss_tool_get_tx_wqe_info
| |-- drivers-net-ethernet-3snic-sssnic-nic-.-tool-sss_tool_nic_stats.c:warning:no-previous-prototype-for-function-sss_tool_clear_func_stats
| |-- drivers-net-ethernet-3snic-sssnic-nic-.-tool-sss_tool_nic_stats.c:warning:no-previous-prototype-for-function-sss_tool_get_sset_count
| |-- drivers-net-ethernet-3snic-sssnic-nic-.-tool-sss_tool_nic_stats.c:warning:no-previous-prototype-for-function-sss_tool_get_sset_stats
| |-- drivers-net-ethernet-3snic-sssnic-nic-sss_nic_ethtool_stats_api.c:warning:no-previous-prototype-for-function-sss_nic_get_io_stats_size
| |-- drivers-net-ethernet-huawei-hinic-hinic_main.c:warning:no-previous-prototype-for-function-hinic_netdev_event
| |-- drivers-net-ethernet-netswift-txgbe-txgbe_main.c:warning:Function-parameter-or-member-txqueue-not-described-in-txgbe_tx_timeout
| |-- drivers-vfio-pci-vfio_pci.c:warning:no-previous-prototype-for-function-vfio_pci_irq_type
| |-- drivers-vfio-pci-vfio_pci.c:warning:no-previous-prototype-for-function-vfio_pci_match
| |-- drivers-vfio-pci-vfio_pci.c:warning:no-previous-prototype-for-function-vfio_pci_set_vendor_irqs
| |-- drivers-vfio-pci-vfio_pci_rdwr.c:warning:no-previous-prototype-for-function-vfio_pci_get_barmap
| |-- fs-eulerfs-euler_def.h:warning:redefinition-of-typedef-hashlen_t-is-a-C11-feature
| |-- fs-eulerfs-euler_def.h:warning:redefinition-of-typedef-page_info_t-is-a-C11-feature
| |-- fs-eulerfs-namei.c:warning:variable-de-is-uninitialized-when-used-here
| |-- fs-xfs-libxfs-xfs_alloc.c:warning:no-previous-prototype-for-function-xfs_ag_fixup_aside
| |-- kernel-crash_core.c:warning:no-previous-prototype-for-function-reserve_crashkernel_high
| |-- kernel-static_call.c:warning:no-previous-prototype-for-function-klp_static_call_register
| |-- kernel-watchdog_hld.c:warning:no-previous-prototype-for-function-__hardlockup_detector_perf_init
| |-- ld.lld:error:duplicate-symbol:g_card_node_array
| |-- mm-damon-core-test.h:warning:comparison-of-distinct-pointer-types-(-typeof-(__left)-(aka-unsigned-int-)-and-typeof-(__right)-(aka-int-))
| |-- mm-hugetlb.c:warning:variable-gfp-set-but-not-used
| |-- mm-page_alloc.c:warning:no-previous-prototype-for-function-__drain_all_pages
| `-- mm-page_alloc.c:warning:no-previous-prototype-for-function-__zone_set_pageset_high_and_batch
|-- x86_64-randconfig-001-20240130
| |-- arch-x86-lib-copy_highpages.c:warning:no-previous-prototype-for-function-sysctl_hugepage_nocache_copy
| |-- fs-xfs-libxfs-xfs_alloc.c:warning:no-previous-prototype-for-function-xfs_ag_fixup_aside
| |-- fs-xfs-xfs_file.o:warning:objtool:xfs_is_falloc_aligned-falls-through-to-next-function-asanmodule_ctor()
| |-- kernel-static_call.c:warning:no-previous-prototype-for-function-klp_static_call_register
| |-- mm-damon-core-test.h:warning:comparison-of-distinct-pointer-types-(-typeof-(__left)-(aka-unsigned-int-)-and-typeof-(__right)-(aka-int-))
| |-- mm-hugetlb.c:warning:variable-gfp-set-but-not-used
| |-- mm-page_alloc.c:warning:no-previous-prototype-for-function-__drain_all_pages
| `-- mm-page_alloc.c:warning:no-previous-prototype-for-function-__zone_set_pageset_high_and_batch
|-- x86_64-randconfig-002-20240130
| |-- arch-x86-lib-copy_highpages.c:warning:no-previous-prototype-for-function-sysctl_hugepage_nocache_copy
| |-- kernel-crash_core.c:warning:no-previous-prototype-for-function-reserve_crashkernel_high
| |-- kernel-static_call.c:warning:no-previous-prototype-for-function-klp_static_call_register
| |-- mm-hugetlb.c:warning:variable-gfp-set-but-not-used
| |-- mm-page_alloc.c:warning:no-previous-prototype-for-function-__drain_all_pages
| `-- mm-page_alloc.c:warning:no-previous-prototype-for-function-__zone_set_pageset_high_and_batch
|-- x86_64-randconfig-003-20240130
| |-- arch-x86-lib-copy_highpages.c:warning:no-previous-prototype-for-function-sysctl_hugepage_nocache_copy
| |-- kernel-crash_core.c:warning:no-previous-prototype-for-function-reserve_crashkernel_high
| |-- kernel-static_call.c:warning:no-previous-prototype-for-function-klp_static_call_register
| |-- mm-hugetlb.c:warning:variable-gfp-set-but-not-used
| |-- mm-page_alloc.c:warning:no-previous-prototype-for-function-__drain_all_pages
| `-- mm-page_alloc.c:warning:no-previous-prototype-for-function-__zone_set_pageset_high_and_batch
|-- x86_64-randconfig-004-20240130
| |-- arch-x86-lib-copy_highpages.c:warning:no-previous-prototype-for-function-sysctl_hugepage_nocache_copy
| |-- kernel-static_call.c:warning:no-previous-prototype-for-function-klp_static_call_register
| |-- kernel-watchdog_hld.c:warning:no-previous-prototype-for-function-__hardlockup_detector_perf_init
| |-- mm-damon-core-test.h:warning:comparison-of-distinct-pointer-types-(-typeof-(__left)-(aka-unsigned-int-)-and-typeof-(__right)-(aka-int-))
| |-- mm-hugetlb.c:warning:variable-gfp-set-but-not-used
| |-- mm-page_alloc.c:warning:no-previous-prototype-for-function-__drain_all_pages
| |-- mm-page_alloc.c:warning:no-previous-prototype-for-function-__zone_set_pageset_high_and_batch
| |-- security-integrity-ima-ima.h:warning:declaration-of-struct-ima_digest-will-not-be-visible-outside-of-this-function
| `-- security-integrity-ima-ima_main.c:error:too-few-arguments-to-function-call-expected-have
|-- x86_64-randconfig-005-20240130
| |-- arch-x86-lib-copy_highpages.c:warning:no-previous-prototype-for-function-sysctl_hugepage_nocache_copy
| |-- drivers-vfio-pci-vfio_pci.c:warning:no-previous-prototype-for-function-vfio_pci_irq_type
| |-- drivers-vfio-pci-vfio_pci.c:warning:no-previous-prototype-for-function-vfio_pci_match
| |-- drivers-vfio-pci-vfio_pci.c:warning:no-previous-prototype-for-function-vfio_pci_set_vendor_irqs
| |-- drivers-vfio-pci-vfio_pci_rdwr.c:warning:no-previous-prototype-for-function-vfio_pci_get_barmap
| |-- kernel-crash_core.c:warning:no-previous-prototype-for-function-reserve_crashkernel_high
| |-- kernel-static_call.c:warning:no-previous-prototype-for-function-klp_static_call_register
| |-- kernel-watchdog_hld.c:warning:no-previous-prototype-for-function-__hardlockup_detector_perf_init
| |-- mm-damon-core-test.h:warning:comparison-of-distinct-pointer-types-(-typeof-(__left)-(aka-unsigned-int-)-and-typeof-(__right)-(aka-int-))
| |-- mm-page_alloc.c:warning:no-previous-prototype-for-function-__drain_all_pages
| `-- mm-page_alloc.c:warning:no-previous-prototype-for-function-__zone_set_pageset_high_and_batch
|-- x86_64-randconfig-006-20240130
| |-- arch-x86-lib-copy_highpages.c:warning:no-previous-prototype-for-function-sysctl_hugepage_nocache_copy
| |-- drivers-vfio-pci-vfio_pci.c:warning:no-previous-prototype-for-function-vfio_pci_irq_type
| |-- drivers-vfio-pci-vfio_pci.c:warning:no-previous-prototype-for-function-vfio_pci_match
| |-- drivers-vfio-pci-vfio_pci.c:warning:no-previous-prototype-for-function-vfio_pci_set_vendor_irqs
| |-- drivers-vfio-pci-vfio_pci_rdwr.c:warning:no-previous-prototype-for-function-vfio_pci_get_barmap
| |-- fs-xfs-libxfs-xfs_alloc.c:warning:no-previous-prototype-for-function-xfs_ag_fixup_aside
| |-- fs-xfs-xfs_file.o:warning:objtool:xfs_is_falloc_aligned-falls-through-to-next-function-asanmodule_ctor()
| |-- kernel-crash_core.c:warning:no-previous-prototype-for-function-reserve_crashkernel_high
| |-- kernel-static_call.c:warning:no-previous-prototype-for-function-klp_static_call_register
| |-- kernel-watchdog_hld.c:warning:no-previous-prototype-for-function-__hardlockup_detector_perf_init
| |-- mm-hugetlb.c:warning:variable-gfp-set-but-not-used
| |-- mm-page_alloc.c:warning:no-previous-prototype-for-function-__drain_all_pages
| `-- mm-page_alloc.c:warning:no-previous-prototype-for-function-__zone_set_pageset_high_and_batch
|-- x86_64-randconfig-122-20240130
| `-- arch-x86-include-asm-paravirt.h:sparse:sparse:cast-truncates-bits-from-constant-value-(10000000f-becomes-f)
|-- x86_64-randconfig-123-20240130
| `-- arch-x86-kernel-cpu-common.c:sparse:sparse:incorrect-type-in-initializer-(different-address-spaces)-expected-void-const-noderef-__percpu-__vpp_verify-got-unsigned-short
|-- x86_64-randconfig-161-20240131
| |-- arch-x86-events-zhaoxin-uncore.c-uncore_pci_probe()-warn:possible-memory-leak-of-boxes
| |-- arch-x86-events-zhaoxin-uncore.c-uncore_pmu_disable()-warn:can-uncore_pmu-even-be-NULL
| |-- arch-x86-events-zhaoxin-uncore.c-uncore_pmu_enable()-warn:can-uncore_pmu-even-be-NULL
| |-- arch-x86-lib-copy_highpages.c:warning:no-previous-prototype-for-function-sysctl_hugepage_nocache_copy
| |-- drivers-rtc-rtc-mc146818-lib.c-mc146818_set_time()-error:uninitialized-symbol-save_freq_select-.
| |-- drivers-vfio-vfio_iommu_type1.c-vfio_iommu_bind_group()-error:uninitialized-symbol-ret-.
| |-- kernel-crash_core.c:warning:no-previous-prototype-for-function-reserve_crashkernel_high
| |-- kernel-static_call.c:warning:no-previous-prototype-for-function-klp_static_call_register
| |-- mm-hugetlb.c-hugepages_setup()-warn:potential-spectre-issue-default_hugepages_in_node-w
| |-- mm-hugetlb.c-hugepages_setup()-warn:potential-spectre-issue-parsed_hstate-max_huge_pages_node-w
| |-- mm-hugetlb.c:warning:variable-gfp-set-but-not-used
| |-- mm-page_alloc.c:warning:no-previous-prototype-for-function-__drain_all_pages
| `-- mm-page_alloc.c:warning:no-previous-prototype-for-function-__zone_set_pageset_high_and_batch
`-- x86_64-rhel-8.3-rust
|-- arch-x86-lib-copy_highpages.c:warning:no-previous-prototype-for-function-sysctl_hugepage_nocache_copy
|-- drivers-vfio-pci-vfio_pci.c:warning:no-previous-prototype-for-function-vfio_pci_irq_type
|-- drivers-vfio-pci-vfio_pci.c:warning:no-previous-prototype-for-function-vfio_pci_match
|-- drivers-vfio-pci-vfio_pci.c:warning:no-previous-prototype-for-function-vfio_pci_set_vendor_irqs
|-- drivers-vfio-pci-vfio_pci_rdwr.c:warning:no-previous-prototype-for-function-vfio_pci_get_barmap
|-- fs-xfs-libxfs-xfs_alloc.c:warning:no-previous-prototype-for-function-xfs_ag_fixup_aside
|-- kernel-crash_core.c:warning:no-previous-prototype-for-function-reserve_crashkernel_high
|-- kernel-static_call.c:warning:no-previous-prototype-for-function-klp_static_call_register
|-- kernel-watchdog_hld.c:warning:no-previous-prototype-for-function-__hardlockup_detector_perf_init
|-- mm-hugetlb.c:warning:variable-gfp-set-but-not-used
|-- mm-page_alloc.c:warning:no-previous-prototype-for-function-__drain_all_pages
`-- mm-page_alloc.c:warning:no-previous-prototype-for-function-__zone_set_pageset_high_and_batch
elapsed time: 770m
configs tested: 35
configs skipped: 147
tested configs:
arm64 allmodconfig clang
arm64 allnoconfig gcc
arm64 defconfig gcc
arm64 randconfig-001-20240130 gcc
arm64 randconfig-002-20240130 gcc
arm64 randconfig-003-20240130 gcc
arm64 randconfig-004-20240130 gcc
x86_64 allnoconfig gcc
x86_64 allyesconfig clang
x86_64 buildonly-randconfig-001-20240130 gcc
x86_64 buildonly-randconfig-002-20240130 gcc
x86_64 buildonly-randconfig-003-20240130 gcc
x86_64 buildonly-randconfig-004-20240130 gcc
x86_64 buildonly-randconfig-005-20240130 gcc
x86_64 buildonly-randconfig-006-20240130 gcc
x86_64 defconfig gcc
x86_64 randconfig-001-20240130 clang
x86_64 randconfig-002-20240130 clang
x86_64 randconfig-003-20240130 clang
x86_64 randconfig-004-20240130 clang
x86_64 randconfig-005-20240130 clang
x86_64 randconfig-006-20240130 clang
x86_64 randconfig-011-20240130 gcc
x86_64 randconfig-012-20240130 gcc
x86_64 randconfig-013-20240130 gcc
x86_64 randconfig-014-20240130 gcc
x86_64 randconfig-015-20240130 gcc
x86_64 randconfig-016-20240130 gcc
x86_64 randconfig-071-20240130 gcc
x86_64 randconfig-072-20240130 gcc
x86_64 randconfig-073-20240130 gcc
x86_64 randconfig-074-20240130 gcc
x86_64 randconfig-075-20240130 gcc
x86_64 randconfig-076-20240130 gcc
x86_64 rhel-8.3-rust clang
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-5.10 28676/30000] arch/arm64/kvm/reset.c:102:34: error: implicit declaration of function 'sve_max_virtualisable_vl'
by kernel test robot 31 Jan '24
by kernel test robot 31 Jan '24
31 Jan '24
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: 7b3b2702f031a1a8368468aef621f12b23241185
commit: 68da302c8ae30331c8917f1dc7b0f1682f696d71 [28676/30000] arm64/sve: Put system wide vector length information into structs
config: arm64-randconfig-002-20240130 (https://download.01.org/0day-ci/archive/20240131/202401310428.WDzXvKLP-lkp@…)
compiler: aarch64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240131/202401310428.WDzXvKLP-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202401310428.WDzXvKLP-lkp@intel.com/
All errors (new ones prefixed by >>):
arch/arm64/kvm/reset.c: In function 'kvm_arm_init_sve':
>> arch/arm64/kvm/reset.c:102:34: error: implicit declaration of function 'sve_max_virtualisable_vl' [-Werror=implicit-function-declaration]
102 | kvm_sve_max_vl = sve_max_virtualisable_vl();
| ^~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/sve_max_virtualisable_vl +102 arch/arm64/kvm/reset.c
98
99 int kvm_arm_init_sve(void)
100 {
101 if (system_supports_sve()) {
> 102 kvm_sve_max_vl = sve_max_virtualisable_vl();
103
104 /*
105 * The get_sve_reg()/set_sve_reg() ioctl interface will need
106 * to be extended with multiple register slice support in
107 * order to support vector lengths greater than
108 * SVE_VL_ARCH_MAX:
109 */
110 if (WARN_ON(kvm_sve_max_vl > SVE_VL_ARCH_MAX))
111 kvm_sve_max_vl = SVE_VL_ARCH_MAX;
112
113 /*
114 * Don't even try to make use of vector lengths that
115 * aren't available on all CPUs, for now:
116 */
117 if (kvm_sve_max_vl < sve_max_vl())
118 pr_warn("KVM: SVE vector length for guests limited to %u bytes\n",
119 kvm_sve_max_vl);
120 }
121
122 return 0;
123 }
124
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0