mailweb.openeuler.org
Manage this list

Keyboard Shortcuts

Thread View

  • j: Next unread message
  • k: Previous unread message
  • j a: Jump to all threads
  • j l: Jump to MailingList overview

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
kernel@openeuler.org

  • 48 participants
  • 18262 discussions
[openeuler:OLK-5.10 2579/2579] mm/share_pool.c:4380:12: warning: 'proc_usage_show' defined but not used
by kernel test robot 13 Dec '24

13 Dec '24
tree: https://gitee.com/openeuler/kernel.git OLK-5.10 head: ff5378fff024fcb2552e6da22811cf933fe4a4c0 commit: f30182b3728f06123932e314f3cb413fbe66d681 [2579/2579] mm: sharepool: use built-in-statistics config: arm64-randconfig-004-20241213 (https://download.01.org/0day-ci/archive/20241213/202412131415.6NF7Ybi7-lkp@…) compiler: aarch64-linux-gcc (GCC) 14.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241213/202412131415.6NF7Ybi7-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/202412131415.6NF7Ybi7-lkp@intel.com/ All warnings (new ones prefixed by >>): mm/share_pool.c:832:23: warning: no previous prototype for 'find_spg_node_by_spg' [-Wmissing-prototypes] 832 | struct sp_group_node *find_spg_node_by_spg(struct mm_struct *mm, | ^~~~~~~~~~~~~~~~~~~~ mm/share_pool.c: In function 'mg_sp_group_id_by_pid': mm/share_pool.c:1068:29: warning: ordered comparison of pointer with integer zero [-Wextra] 1068 | if (!spg_ids || num <= 0) | ^~ mm/share_pool.c: In function 'sp_compact_nodes': mm/share_pool.c:2103:9: error: implicit declaration of function 'sysctl_compaction_handler' [-Werror=implicit-function-declaration] 2103 | sysctl_compaction_handler(NULL, 1, NULL, NULL, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~ mm/share_pool.c: In function 'sp_hugetlb_entry': mm/share_pool.c:3278:21: error: implicit declaration of function 'huge_ptep_get' [-Werror=implicit-function-declaration] 3278 | pte_t pte = huge_ptep_get(ptep); | ^~~~~~~~~~~~~ mm/share_pool.c:3278:21: error: invalid initializer mm/share_pool.c: In function 'sp_unshare_kva': mm/share_pool.c:3673:14: warning: variable 'is_hugepage' set but not used [-Wunused-but-set-variable] 3673 | bool is_hugepage = true; | ^~~~~~~~~~~ mm/share_pool.c: At top level: mm/share_pool.c:4185:6: warning: no previous prototype for 'spa_overview_show' [-Wmissing-prototypes] 4185 | void spa_overview_show(struct seq_file *seq) | ^~~~~~~~~~~~~~~~~ mm/share_pool.c:4273:6: warning: no previous prototype for 'spg_overview_show' [-Wmissing-prototypes] 4273 | void spg_overview_show(struct seq_file *seq) | ^~~~~~~~~~~~~~~~~ mm/share_pool.c: In function 'sharepool_no_page': mm/share_pool.c:4482:30: error: implicit declaration of function 'huge_pte_none'; did you mean 'huge_pte_lock'? [-Werror=implicit-function-declaration] 4482 | if (!huge_pte_none(huge_ptep_get(ptep))) { | ^~~~~~~~~~~~~ | huge_pte_lock mm/share_pool.c:4495:23: error: implicit declaration of function 'huge_add_to_page_cache'; did you mean 'add_to_page_cache'? [-Werror=implicit-function-declaration] 4495 | err = huge_add_to_page_cache(page, mapping, idx); | ^~~~~~~~~~~~~~~~~~~~~~ | add_to_page_cache mm/share_pool.c:4517:9: error: implicit declaration of function 'set_huge_pte_at'; did you mean 'set_huge_swap_pte_at'? [-Werror=implicit-function-declaration] 4517 | set_huge_pte_at(mm, haddr, ptep, new_pte); | ^~~~~~~~~~~~~~~ | set_huge_swap_pte_at mm/share_pool.c:4519:9: error: implicit declaration of function 'hugetlb_count_add'; did you mean 'hugetlb_count_sub'? [-Werror=implicit-function-declaration] 4519 | hugetlb_count_add(pages_per_huge_page(h), mm); | ^~~~~~~~~~~~~~~~~ | hugetlb_count_sub mm/share_pool.c: At top level: >> mm/share_pool.c:4380:12: warning: 'proc_usage_show' defined but not used [-Wunused-function] 4380 | static int proc_usage_show(struct seq_file *seq, void *offset) | ^~~~~~~~~~~~~~~ >> mm/share_pool.c:4358:12: warning: 'proc_group_usage_show' defined but not used [-Wunused-function] 4358 | static int proc_group_usage_show(struct seq_file *seq, void *offset) | ^~~~~~~~~~~~~~~~~~~~~ mm/share_pool.c:4298:12: warning: 'spa_stat_show' defined but not used [-Wunused-function] 4298 | static int spa_stat_show(struct seq_file *seq, void *offset) | ^~~~~~~~~~~~~ cc1: some warnings being treated as errors Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for PGP_KEY_PARSER Depends on [n]: CRYPTO [=y] && ASYMMETRIC_KEY_TYPE [=y] && ASYMMETRIC_PUBLIC_KEY_SUBTYPE [=n] Selected by [y]: - PGP_PRELOAD [=y] && CRYPTO [=y] && ASYMMETRIC_KEY_TYPE [=y] vim +/proc_usage_show +4380 mm/share_pool.c 4357 > 4358 static int proc_group_usage_show(struct seq_file *seq, void *offset) 4359 { 4360 spg_overview_show(seq); 4361 spa_overview_show(seq); 4362 4363 /* print the file header */ 4364 seq_printf(seq, "%-8s %-8s %-9s %-9s %-9s %-10s %-10s %-8s %-7s %-7s %-10s %-4s\n", 4365 "PID", "Group_ID", "SP_ALLOC", "SP_K2U", "SP_RES", "SP_RES_T", 4366 "Non-SP_RES", "VIRT", "RES", "Shm", "Non-SP_Shm", "PROT"); 4367 /* print kthread buff_module_guard_work */ 4368 seq_printf(seq, "%-8s %-8s %-9lld %-9lld\n", 4369 "guard", "-", 4370 byte2kb(atomic64_read(&kthread_stat.alloc_size)), 4371 byte2kb(atomic64_read(&kthread_stat.k2u_size))); 4372 4373 down_read(&sp_group_sem); 4374 idr_for_each(&sp_group_idr, proc_usage_by_group, seq); 4375 up_read(&sp_group_sem); 4376 4377 return 0; 4378 } 4379 > 4380 static int proc_usage_show(struct seq_file *seq, void *offset) 4381 { 4382 struct sp_group_master *master = NULL; 4383 unsigned long anon, file, shmem, total_rss; 4384 long sp_res, sp_res_nsize, non_sp_res, non_sp_shm; 4385 struct sp_proc_stat *proc_stat; 4386 4387 seq_printf(seq, "%-8s %-16s %-9s %-9s %-9s %-10s %-10s %-8s\n", 4388 "PID", "COMM", "SP_ALLOC", "SP_K2U", "SP_RES", "Non-SP_RES", 4389 "Non-SP_Shm", "VIRT"); 4390 4391 mutex_lock(&master_list_lock); 4392 list_for_each_entry(master, &master_list, list_node) { 4393 proc_stat = &master->instat; 4394 get_mm_rss_info(master->mm, &anon, &file, &shmem, &total_rss); 4395 get_process_sp_res(&master->instat, &sp_res, &sp_res_nsize); 4396 get_process_non_sp_res(total_rss, shmem, sp_res_nsize, 4397 &non_sp_res, &non_sp_shm); 4398 seq_printf(seq, "%-8d %-16s %-9ld %-9ld %-9ld %-10ld %-10ld %-8ld\n", 4399 proc_stat->tgid, proc_stat->comm, 4400 get_proc_alloc(proc_stat), 4401 get_proc_k2u(proc_stat), 4402 sp_res, non_sp_res, non_sp_shm, 4403 page2kb(master->mm->total_vm)); 4404 } 4405 mutex_unlock(&master_list_lock); 4406 4407 return 0; 4408 } 4409 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
1 0
0 0
[PATCH OLK-6.6] kabi reserver space for i2c and sched
by Zicheng Qu 13 Dec '24

13 Dec '24
hulk inclusion category: other bugzilla: https://gitee.com/openeuler/kernel/issues/IBAZ3A -------------------------------- Add two KABI_RESERVE macros for each struct, including i2c_adapter, sched_domain_shared, sched_domain. Signed-off-by: Zicheng Qu <quzicheng(a)huawei.com> --- include/linux/i2c.h | 3 +++ include/linux/sched/topology.h | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/include/linux/i2c.h b/include/linux/i2c.h index 32cf5708d5a5..3fd6932bf8cd 100644 --- a/include/linux/i2c.h +++ b/include/linux/i2c.h @@ -746,6 +746,9 @@ struct i2c_adapter { struct irq_domain *host_notify_domain; struct regulator *bus_regulator; + + KABI_RESERVE(1) + KABI_RESERVE(2) }; #define to_i2c_adapter(d) container_of(d, struct i2c_adapter, dev) diff --git a/include/linux/sched/topology.h b/include/linux/sched/topology.h index 8e4d9bbdaa40..09a2b2625202 100644 --- a/include/linux/sched/topology.h +++ b/include/linux/sched/topology.h @@ -85,6 +85,8 @@ struct sched_domain_shared { #ifdef CONFIG_SCHED_STEAL struct sparsemask *cfs_overload_cpus; #endif + KABI_RESERVE(1) + KABI_RESERVE(2) }; struct sched_domain { @@ -154,6 +156,9 @@ struct sched_domain { }; struct sched_domain_shared *shared; + KABI_RESERVE(1) + KABI_RESERVE(2) + unsigned int span_weight; /* * Span of all CPUs in this domain. -- 2.34.1
2 1
0 0
[openeuler:OLK-5.10] BUILD REGRESSION ff5378fff024fcb2552e6da22811cf933fe4a4c0
by kernel test robot 13 Dec '24

13 Dec '24
tree/branch: https://gitee.com/openeuler/kernel.git OLK-5.10 branch HEAD: ff5378fff024fcb2552e6da22811cf933fe4a4c0 !12309 [OLK-5.10] AMD Genoa and Turin Crypto and Edac patches backport for OLK-5.10 Error/Warning (recently discovered and may have been fixed): https://lore.kernel.org/oe-kbuild-all/202412130351.ogsraRJ5-lkp@intel.com https://lore.kernel.org/oe-kbuild-all/202412130515.0Aw10X06-lkp@intel.com https://lore.kernel.org/oe-kbuild-all/202412130534.AeGefPCj-lkp@intel.com https://lore.kernel.org/oe-kbuild-all/202412130652.MbID3V5Y-lkp@intel.com https://lore.kernel.org/oe-kbuild-all/202412130822.tSyyPsoM-lkp@intel.com https://lore.kernel.org/oe-kbuild-all/202412131028.JwkewMIN-lkp@intel.com https://lore.kernel.org/oe-kbuild-all/202412131234.abo5dw1q-lkp@intel.com arch/arm64/kernel/arm64_cpu_park.c:249:31: error: 'const struct cpu_operations' has no member named 'cpu_die' crypto/asymmetric_keys/pgp_preload.c:110:15: error: implicit declaration of function 'pgp_parse_packets' [-Werror=implicit-function-declaration] crypto/asymmetric_keys/pgp_preload.c:23:34: error: field 'pgp' has incomplete type crypto/asymmetric_keys/pgp_public_key.c:148:43: error: passing argument 2 of 'pgp_calc_pkey_keyid' from incompatible pointer type [-Werror=incompatible-pointer-types] crypto/asymmetric_keys/pgp_public_key.c:201:33: warning: unused variable 'pgp' [-Wunused-variable] crypto/asymmetric_keys/pgp_public_key.c:205:33: error: storage size of 'pgp' isn't known crypto/asymmetric_keys/pgp_public_key.c:228:15: error: implicit declaration of function 'pgp_parse_public_key'; did you mean 'pgp_process_public_key'? [-Werror=implicit-function-declaration] crypto/asymmetric_keys/pgp_public_key.c:315:15: error: implicit declaration of function 'pgp_parse_packets' [-Werror=implicit-function-declaration] crypto/asymmetric_keys/pgp_public_key.c:35:34: error: field 'pgp' has incomplete type crypto/asymmetric_keys/pgp_public_key.c:48:39: warning: 'struct pgp_parse_pubkey' declared inside parameter list will not be visible outside of this definition or declaration crypto/asymmetric_keys/pgp_public_key.c:63:17: error: invalid use of undefined type 'struct pgp_parse_pubkey' drivers/gpu/drm/inspur/inspur_drm_drv.c:30:13: warning: no previous prototype for 'inspur_drm_interrupt' [-Wmissing-prototypes] drivers/net/ethernet/huawei/hinic/hinic_hwdev.c:3719:18: warning: address of array 'chip_node->rt_cmd' will always evaluate to 'true' [-Wpointer-bool-conversion] fs/eulerfs/euler_def.h:199:13: warning: redefinition of typedef 'hashlen_t' is a C11 feature [-Wtypedef-redefinition] fs/eulerfs/euler_def.h:92:12: warning: redefinition of typedef 'page_info_t' is a C11 feature [-Wtypedef-redefinition] fs/eulerfs/namei.c:422:47: warning: variable 'de' is uninitialized when used here [-Wuninitialized] include/acpi/processor.h:221:9: error: unknown type name 'phys_cpuid_t' kernel/sched/core.c:9632:74: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'int' [-Wformat=] ld.lld: error: version script assignment of 'LINUX_2.6' to symbol '__vdso_sgx_enter_enclave' failed: symbol not defined llvm-objcopy: error: 'arch/x86/entry/vdso/vdso64.so.dbg': No such file or directory llvm-objdump: error: 'arch/x86/entry/vdso/vdso64.so.dbg': No such file or directory mm/memcontrol.c:5882:40: error: implicit declaration of function 'ksm_process_profit' [-Werror=implicit-function-declaration] mm/pin_mem.c:246:31: error: 'HUGETLB_PAGE_DTOR' undeclared (first use in this function); did you mean 'HUGETLB_PAGE_ORDER'? mm/share_pool.c:1215:12: warning: 'spa_stat_show' defined but not used [-Wunused-function] mm/share_pool.c:4221:30: error: implicit declaration of function 'huge_pte_none'; did you mean 'huge_pte_lock'? [-Werror=implicit-function-declaration] mm/share_pool.c:4234:23: error: implicit declaration of function 'huge_add_to_page_cache'; did you mean 'add_to_page_cache'? [-Werror=implicit-function-declaration] mm/share_pool.c:4256:9: error: implicit declaration of function 'set_huge_pte_at'; did you mean 'set_huge_swap_pte_at'? [-Werror=implicit-function-declaration] mm/share_pool.c:4258:9: error: implicit declaration of function 'hugetlb_count_add'; did you mean 'hugetlb_count_sub'? [-Werror=implicit-function-declaration] mm/share_pool.c:738:21: error: implicit declaration of function 'huge_ptep_get' [-Werror=implicit-function-declaration] mm/share_pool.c:738:21: error: invalid initializer Error/Warning ids grouped by kconfigs: recent_errors |-- arm64-allmodconfig | |-- arch-arm64-include-asm-atomic_lse.h:error:unknown-register-name-x0-in-asm | |-- arch-arm64-include-asm-atomic_lse.h:error:unknown-register-name-x1-in-asm | `-- arch-arm64-include-asm-atomic_lse.h:error:unknown-register-name-x2-in-asm |-- arm64-allnoconfig | `-- arch-arm64-kernel-ipi_nmi.c:error:implicit-declaration-of-function-printk_safe_exit |-- arm64-randconfig-001-20241213 | |-- arch-arm64-kernel-cpufeature.c:warning:no-previous-prototype-for-early_pbha_init | |-- drivers-gpu-drm-inspur-inspur_drm_drv.c:warning:no-previous-prototype-for-inspur_drm_interrupt | |-- drivers-iommu-arm-arm-smmu-v3-ascend_smmu.c:error:implicit-declaration-of-function-acpi_evaluate_integer | |-- drivers-iommu-arm-arm-smmu-v3-ascend_smmu.c:warning:agent_smmu_acpi_match-defined-but-not-used | `-- drivers-iommu-arm-arm-smmu-v3-ascend_smmu.c:warning:no-previous-prototype-for-agent_smmu_unlocked_find |-- arm64-randconfig-002-20241213 | |-- arch-arm64-kernel-arm64_cpu_park.c:error:const-struct-cpu_operations-has-no-member-named-cpu_die | |-- drivers-ub-urma-ubcore-ubcore_ctp.c:warning:the-comparison-will-always-evaluate-as-false-for-the-address-of-head-will-never-be-NULL | |-- drivers-ub-urma-ubcore-ubcore_device.c:warning:no-previous-prototype-for-ubcore_destroy_upi_list | |-- drivers-ub-urma-ubcore-ubcore_dp.c:warning:no-previous-prototype-for-ubcore_poll_jfc | |-- drivers-ub-urma-ubcore-ubcore_dp.c:warning:no-previous-prototype-for-ubcore_post_jetty_recv_wr | |-- drivers-ub-urma-ubcore-ubcore_dp.c:warning:no-previous-prototype-for-ubcore_post_jetty_send_wr | |-- drivers-ub-urma-ubcore-ubcore_dp.c:warning:no-previous-prototype-for-ubcore_post_jfr_wr | |-- drivers-ub-urma-ubcore-ubcore_dp.c:warning:no-previous-prototype-for-ubcore_post_jfs_wr | |-- drivers-ub-urma-ubcore-ubcore_dp.c:warning:no-previous-prototype-for-ubcore_rearm_jfc | |-- drivers-ub-urma-ubcore-ubcore_main.c:warning:no-previous-prototype-for-ubcore_open | |-- drivers-ub-urma-ubcore-ubcore_msg.c:warning:no-previous-prototype-for-ubcore_asyn_send_fe2tpf_msg | |-- drivers-ub-urma-ubcore-ubcore_netdev.c:warning:no-previous-prototype-for-ubcore_add_sip_entry | |-- drivers-ub-urma-ubcore-ubcore_netdev.c:warning:no-previous-prototype-for-ubcore_check_port_state | |-- drivers-ub-urma-ubcore-ubcore_netdev.c:warning:no-previous-prototype-for-ubcore_del_sip_entry | |-- drivers-ub-urma-ubcore-ubcore_netdev.c:warning:no-previous-prototype-for-ubcore_fill_port_netdev | |-- drivers-ub-urma-ubcore-ubcore_netdev.c:warning:no-previous-prototype-for-ubcore_lookup_sip_idx | |-- drivers-ub-urma-ubcore-ubcore_netdev.c:warning:no-previous-prototype-for-ubcore_lookup_sip_info_without_lock | |-- drivers-ub-urma-ubcore-ubcore_netdev.c:warning:no-previous-prototype-for-ubcore_new_sip_req_msg | |-- drivers-ub-urma-ubcore-ubcore_netdev.c:warning:no-previous-prototype-for-ubcore_notify_uvs_add_sip | |-- drivers-ub-urma-ubcore-ubcore_netdev.c:warning:no-previous-prototype-for-ubcore_notify_uvs_del_sip | |-- drivers-ub-urma-ubcore-ubcore_netdev.c:warning:no-previous-prototype-for-ubcore_put_port_netdev | |-- drivers-ub-urma-ubcore-ubcore_netdev.c:warning:no-previous-prototype-for-ubcore_set_port_netdev | |-- drivers-ub-urma-ubcore-ubcore_netdev.c:warning:no-previous-prototype-for-ubcore_sip_idx_alloc | |-- drivers-ub-urma-ubcore-ubcore_netdev.c:warning:no-previous-prototype-for-ubcore_sip_idx_free | |-- drivers-ub-urma-ubcore-ubcore_netdev.c:warning:no-previous-prototype-for-ubcore_sip_table_init | |-- drivers-ub-urma-ubcore-ubcore_netdev.c:warning:no-previous-prototype-for-ubcore_sip_table_uninit | |-- drivers-ub-urma-ubcore-ubcore_netdev.c:warning:no-previous-prototype-for-ubcore_update_sip_entry | |-- drivers-ub-urma-ubcore-ubcore_netlink.c:warning:no-previous-prototype-for-ubcore_genl_unicast | |-- drivers-ub-urma-ubcore-ubcore_tp.c:warning:no-previous-prototype-for-ubcore_get_mtu | |-- drivers-ub-urma-ubcore-ubcore_tpg.c:warning:no-previous-prototype-for-ubcore_tpg_kref_get | |-- drivers-ub-urma-ubcore-ubcore_tpg.c:warning:the-comparison-will-always-evaluate-as-false-for-the-address-of-head-will-never-be-NULL | |-- drivers-ub-urma-ubcore-ubcore_umem.c:warning:no-previous-prototype-for-ubcore_umem_find_best_page_size | |-- drivers-ub-urma-ubcore-ubcore_umem.c:warning:no-previous-prototype-for-ubcore_umem_get | |-- drivers-ub-urma-ubcore-ubcore_umem.c:warning:no-previous-prototype-for-ubcore_umem_release | |-- drivers-ub-urma-ubcore-ubcore_utp.c:warning:the-comparison-will-always-evaluate-as-false-for-the-address-of-head-will-never-be-NULL | |-- drivers-ub-urma-ubcore-ubcore_vtp.c:warning:no-previous-prototype-for-ubcore_hash_table_rmv_vtpn | |-- drivers-ub-urma-uburma-uburma_cmd.c:warning:no-previous-prototype-for-uburma_jetty_event_cb | |-- drivers-ub-urma-uburma-uburma_cmd.c:warning:no-previous-prototype-for-uburma_jetty_grp_event_cb | |-- drivers-ub-urma-uburma-uburma_cmd.c:warning:no-previous-prototype-for-uburma_jfc_event_cb | |-- drivers-ub-urma-uburma-uburma_cmd.c:warning:no-previous-prototype-for-uburma_jfr_event_cb | |-- drivers-ub-urma-uburma-uburma_cmd.c:warning:no-previous-prototype-for-uburma_jfs_event_cb | |-- drivers-ub-urma-uburma-uburma_dev_ops.c:warning:no-previous-prototype-for-uburma_close | |-- drivers-ub-urma-uburma-uburma_dev_ops.c:warning:no-previous-prototype-for-uburma_mmap | |-- drivers-ub-urma-uburma-uburma_dev_ops.c:warning:no-previous-prototype-for-uburma_open | |-- drivers-ub-urma-uburma-uburma_dev_ops.c:warning:no-previous-prototype-for-uburma_release_file | |-- drivers-ub-urma-uburma-uburma_dev_ops.c:warning:the-comparison-will-always-evaluate-as-false-for-the-address-of-dev_name-will-never-be-NULL | |-- drivers-ub-urma-uburma-uburma_mmap.c:warning:no-previous-prototype-for-uburma_get_umap_ops | |-- drivers-ub-urma-uburma-uburma_mmap.c:warning:no-previous-prototype-for-uburma_umap_priv_init | |-- drivers-ub-urma-uburma-uburma_mmap.c:warning:no-previous-prototype-for-uburma_unmap_vma_pages | |-- include-acpi-processor.h:error:unknown-type-name-phys_cpuid_t | |-- kernel-sched-core.c:warning:format-llu-expects-argument-of-type-long-long-unsigned-int-but-argument-has-type-int | |-- kernel-sched-psi.c:warning:no-previous-prototype-for-to_psi_group_ext | `-- kernel-sched-topology.c:error:implicit-declaration-of-function-register_sysctl_init |-- arm64-randconfig-003-20241213 | |-- arch-arm64-include-asm-atomic_lse.h:error:unknown-register-name-x0-in-asm | |-- arch-arm64-include-asm-atomic_lse.h:error:unknown-register-name-x1-in-asm | `-- arch-arm64-include-asm-atomic_lse.h:error:unknown-register-name-x2-in-asm |-- arm64-randconfig-004-20241213 | |-- arch-arm64-kernel-cpufeature.c:warning:no-previous-prototype-for-early_pbha_init | |-- crypto-asymmetric_keys-pgp_preload.c:error:field-pgp-has-incomplete-type | |-- crypto-asymmetric_keys-pgp_preload.c:error:implicit-declaration-of-function-pgp_parse_packets | |-- crypto-asymmetric_keys-pgp_public_key.c:error:field-pgp-has-incomplete-type | |-- crypto-asymmetric_keys-pgp_public_key.c:error:implicit-declaration-of-function-pgp_parse_packets | |-- crypto-asymmetric_keys-pgp_public_key.c:error:implicit-declaration-of-function-pgp_parse_public_key | |-- crypto-asymmetric_keys-pgp_public_key.c:error:invalid-use-of-undefined-type-struct-pgp_parse_pubkey | |-- crypto-asymmetric_keys-pgp_public_key.c:error:passing-argument-of-pgp_calc_pkey_keyid-from-incompatible-pointer-type | |-- crypto-asymmetric_keys-pgp_public_key.c:error:storage-size-of-pgp-isn-t-known | |-- crypto-asymmetric_keys-pgp_public_key.c:warning:struct-pgp_parse_pubkey-declared-inside-parameter-list-will-not-be-visible-outside-of-this-definition-or-declaration | |-- crypto-asymmetric_keys-pgp_public_key.c:warning:unused-variable-pgp | |-- drivers-char-ipmi-ipmi_bt_sm.c:error:implicit-declaration-of-function-acpi_evaluate_integer | |-- kernel-sched-core.c:error:TG_STEAL_NO-undeclared-(first-use-in-this-function) | |-- kernel-sched-fair.c:error:implicit-declaration-of-function-is_tg_steal | |-- kernel-sched-fair.c:error:invalid-use-of-undefined-type-struct-task_group | |-- kernel-sched-topology.c:error:implicit-declaration-of-function-register_sysctl_init | |-- mm-pin_mem.c:error:HUGETLB_PAGE_DTOR-undeclared-(first-use-in-this-function) | |-- mm-pin_mem.c:error:lvalue-required-as-unary-operand | |-- mm-share_pool.c:error:implicit-declaration-of-function-huge_add_to_page_cache | |-- mm-share_pool.c:error:implicit-declaration-of-function-huge_pte_none | |-- mm-share_pool.c:error:implicit-declaration-of-function-huge_ptep_get | |-- mm-share_pool.c:error:implicit-declaration-of-function-hugetlb_count_add | |-- mm-share_pool.c:error:implicit-declaration-of-function-set_huge_pte_at | |-- mm-share_pool.c:error:invalid-initializer | |-- mm-share_pool.c:warning:no-previous-prototype-for-__mg_sp_alloc_nodemask | `-- mm-share_pool.c:warning:spa_stat_show-defined-but-not-used |-- arm64-randconfig-051-20241213 | |-- Documentation-devicetree-bindings-arm-cpu.yaml:properties:capacity-dmips-mhz:ref-should-not-be-valid-under-const:ref | |-- Documentation-devicetree-bindings-arm-cpu.yaml:title:ARM-CPUs-bindings-should-not-be-valid-under-pattern:(-Bb-inding-Ss-chema) | |-- Documentation-devicetree-bindings-arm-cpus.yaml:examples:cpus-arm-pbha-performance-only-bits-arm-pbha-no-aliases-bits-ncpu-device_type-cpu-compatible-arm-cortex-a57-...-n-is-not-of-type-array | |-- Documentation-devicetree-bindings-arm-cpus.yaml:maintainers-is-a-required-property | |-- Documentation-devicetree-bindings-display-allwinner-sun4i-a10-tcon.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-allwinner-sun8i-r40-tcon-top.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:properties:reg-names:minItems:maxItems:items:const:mhdptx-const:j721e-intg-should-not-be-valid-under-required:maxItems | |-- Documentation-devicetree-bindings-display-bridge-chrontel-ch7033.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-() | |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-() | |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358775.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-ingenic-lcd.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-panel-panel-simple.yaml:properties:compatible:enum:ampire-am-1280800n3tzqw-t00h-ampire-am-480272h3tmqw-t01h-ampire-am800480r3tmqwa1h-auo-b101aw03-auo-b101ean0 | |-- Documentation-devicetree-bindings-display-st-stm32-dsi.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-ti-ti-am65x-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-ti-ti-j721e-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint | `-- make:Documentation-devicetree-bindings-Makefile:Documentation-devicetree-bindings-processed-schema-examples.json-Error |-- arm64-randconfig-052-20241213 | |-- Documentation-devicetree-bindings-arm-cpu.yaml:properties:capacity-dmips-mhz:ref-should-not-be-valid-under-const:ref | |-- Documentation-devicetree-bindings-arm-cpu.yaml:title:ARM-CPUs-bindings-should-not-be-valid-under-pattern:(-Bb-inding-Ss-chema) | |-- Documentation-devicetree-bindings-arm-cpus.yaml:examples:cpus-arm-pbha-performance-only-bits-arm-pbha-no-aliases-bits-ncpu-device_type-cpu-compatible-arm-cortex-a57-...-n-is-not-of-type-array | |-- Documentation-devicetree-bindings-arm-cpus.yaml:maintainers-is-a-required-property | |-- Documentation-devicetree-bindings-display-allwinner-sun4i-a10-tcon.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-allwinner-sun8i-r40-tcon-top.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:properties:reg-names:minItems:maxItems:items:const:mhdptx-const:j721e-intg-should-not-be-valid-under-required:maxItems | |-- Documentation-devicetree-bindings-display-bridge-chrontel-ch7033.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-() | |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-() | |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358775.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-ingenic-lcd.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-st-stm32-dsi.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-ti-ti-am65x-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-ti-ti-j721e-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint | `-- make:Documentation-devicetree-bindings-Makefile:Documentation-devicetree-bindings-processed-schema-examples.json-Error |-- arm64-randconfig-053-20241213 | |-- Documentation-devicetree-bindings-arm-cpu.yaml:properties:capacity-dmips-mhz:ref-should-not-be-valid-under-const:ref | |-- Documentation-devicetree-bindings-arm-cpu.yaml:title:ARM-CPUs-bindings-should-not-be-valid-under-pattern:(-Bb-inding-Ss-chema) | |-- Documentation-devicetree-bindings-arm-cpus.yaml:examples:cpus-arm-pbha-performance-only-bits-arm-pbha-no-aliases-bits-ncpu-device_type-cpu-compatible-arm-cortex-a57-...-n-is-not-of-type-array | |-- Documentation-devicetree-bindings-arm-cpus.yaml:maintainers-is-a-required-property | |-- Documentation-devicetree-bindings-display-allwinner-sun4i-a10-tcon.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-allwinner-sun8i-r40-tcon-top.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:properties:reg-names:minItems:maxItems:items:const:mhdptx-const:j721e-intg-should-not-be-valid-under-required:maxItems | |-- Documentation-devicetree-bindings-display-bridge-chrontel-ch7033.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-() | |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-() | |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358775.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-ingenic-lcd.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-panel-panel-simple.yaml:properties:compatible:enum:ampire-am-1280800n3tzqw-t00h-ampire-am-480272h3tmqw-t01h-ampire-am800480r3tmqwa1h-auo-b101aw03-auo-b101ean0 | |-- Documentation-devicetree-bindings-display-st-stm32-dsi.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-ti-ti-j721e-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint | `-- make:Documentation-devicetree-bindings-Makefile:Documentation-devicetree-bindings-processed-schema-examples.json-Error |-- arm64-randconfig-054-20241213 | |-- Documentation-devicetree-bindings-arm-cpu.yaml:properties:capacity-dmips-mhz:ref-should-not-be-valid-under-const:ref | |-- Documentation-devicetree-bindings-arm-cpu.yaml:title:ARM-CPUs-bindings-should-not-be-valid-under-pattern:(-Bb-inding-Ss-chema) | |-- Documentation-devicetree-bindings-arm-cpus.yaml:examples:cpus-arm-pbha-performance-only-bits-arm-pbha-no-aliases-bits-ncpu-device_type-cpu-compatible-arm-cortex-a57-...-n-is-not-of-type-array | |-- Documentation-devicetree-bindings-arm-cpus.yaml:maintainers-is-a-required-property | |-- Documentation-devicetree-bindings-display-allwinner-sun4i-a10-tcon.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-allwinner-sun8i-r40-tcon-top.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:properties:reg-names:minItems:maxItems:items:const:mhdptx-const:j721e-intg-should-not-be-valid-under-required:maxItems | |-- Documentation-devicetree-bindings-display-bridge-chrontel-ch7033.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-() | |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-() | |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358775.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-ingenic-lcd.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-panel-panel-simple.yaml:properties:compatible:enum:ampire-am-1280800n3tzqw-t00h-ampire-am-480272h3tmqw-t01h-ampire-am800480r3tmqwa1h-auo-b101aw03-auo-b101ean0 | |-- Documentation-devicetree-bindings-display-st-stm32-dsi.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-ti-ti-am65x-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-ti-ti-j721e-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint | `-- make:Documentation-devicetree-bindings-Makefile:Documentation-devicetree-bindings-processed-schema-examples.json-Error |-- arm64-randconfig-055-20241213 | |-- Documentation-devicetree-bindings-arm-cpu.yaml:properties:capacity-dmips-mhz:ref-should-not-be-valid-under-const:ref | |-- Documentation-devicetree-bindings-arm-cpu.yaml:title:ARM-CPUs-bindings-should-not-be-valid-under-pattern:(-Bb-inding-Ss-chema) | |-- Documentation-devicetree-bindings-arm-cpus.yaml:examples:cpus-arm-pbha-performance-only-bits-arm-pbha-no-aliases-bits-ncpu-device_type-cpu-compatible-arm-cortex-a57-...-n-is-not-of-type-array | |-- Documentation-devicetree-bindings-arm-cpus.yaml:maintainers-is-a-required-property | |-- Documentation-devicetree-bindings-display-allwinner-sun4i-a10-tcon.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-allwinner-sun8i-r40-tcon-top.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:properties:reg-names:minItems:maxItems:items:const:mhdptx-const:j721e-intg-should-not-be-valid-under-required:maxItems | |-- Documentation-devicetree-bindings-display-bridge-chrontel-ch7033.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-() | |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-() | |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358775.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-ingenic-lcd.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-panel-panel-simple.yaml:properties:compatible:enum:ampire-am-1280800n3tzqw-t00h-ampire-am-480272h3tmqw-t01h-ampire-am800480r3tmqwa1h-auo-b101aw03-auo-b101ean0 | |-- Documentation-devicetree-bindings-display-st-stm32-dsi.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-ti-ti-am65x-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint | |-- Documentation-devicetree-bindings-display-ti-ti-j721e-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint | `-- make:Documentation-devicetree-bindings-Makefile:Documentation-devicetree-bindings-processed-schema-examples.json-Error |-- x86_64-allnoconfig | |-- kernel-workqueue.c:error:implicit-declaration-of-function-printk_safe_enter-Werror-Wimplicit-function-declaration | |-- kernel-workqueue.c:error:implicit-declaration-of-function-printk_safe_exit-Werror-Wimplicit-function-declaration | |-- ld.lld:error:version-script-assignment-of-LINUX_2.-to-symbol-__vdso_sgx_enter_enclave-failed:symbol-not-defined | |-- llvm-objcopy:error:arch-x86-entry-vdso-vdso64.so.dbg:No-such-file-or-directory | `-- llvm-objdump:error:arch-x86-entry-vdso-vdso64.so.dbg:No-such-file-or-directory |-- x86_64-allyesconfig | |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-cpu-description-in-cppc_get_auto_act_window | |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_get_auto_act_window | |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_get_auto_sel | |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_set_auto_act_window | |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_set_epp | |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-auto_act_window-not-described-in-cppc_get_auto_act_window | |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-auto_act_window-not-described-in-cppc_set_auto_act_window | |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-cpunum-not-described-in-cppc_get_auto_act_window | |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-epp_val-not-described-in-cppc_set_epp | |-- drivers-gpu-drm-vmwgfx-ttm_object.c:error:Cannot-parse-struct-or-union | |-- 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-huawei-hinic-hinic_hwdev.c:warning:address-of-array-chip_node-rt_cmd-will-always-evaluate-to-true | |-- 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 |-- x86_64-buildonly-randconfig-001-20241213 | `-- drivers-tty-tty_buffer.c:error:implicit-declaration-of-function-printk_safe_exit |-- x86_64-buildonly-randconfig-002-20241213 | `-- mm-memcontrol.c:error:implicit-declaration-of-function-ksm_process_profit |-- x86_64-buildonly-randconfig-003-20241213 | `-- drivers-bluetooth-hci_qca.c:warning:qca_soc_data_qca6390-defined-but-not-used |-- x86_64-buildonly-randconfig-005-20241213 | |-- arch-x86-kernel-paravirt.c:error:CALL_INSN_OPCODE-undeclared-(first-use-in-this-function) | |-- arch-x86-kernel-paravirt.c:error:CALL_INSN_SIZE-undeclared-(first-use-in-this-function) | |-- arch-x86-kernel-paravirt.c:error:implicit-declaration-of-function-__text_gen_insn | `-- drivers-tty-tty_buffer.c:error:implicit-declaration-of-function-printk_safe_exit |-- x86_64-buildonly-randconfig-006-20241213 | |-- arch-x86-kernel-paravirt.c:error:implicit-declaration-of-function-__text_gen_insn-Werror-Wimplicit-function-declaration | |-- arch-x86-kernel-paravirt.c:error:use-of-undeclared-identifier-CALL_INSN_OPCODE | |-- arch-x86-kernel-paravirt.c:error:use-of-undeclared-identifier-CALL_INSN_SIZE | |-- drivers-gpu-drm-loongson-lsdc_plane.o:warning:objtool:lsdc_plane_init-falls-through-to-next-function-lsdc_plane_reset() | `-- drivers-gpu-drm-vmwgfx-ttm_object.c:error:Cannot-parse-struct-or-union `-- x86_64-defconfig |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-cpu-description-in-cppc_get_auto_act_window |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_get_auto_act_window |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_get_auto_sel |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_set_auto_act_window |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_set_epp |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-auto_act_window-not-described-in-cppc_get_auto_act_window |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-auto_act_window-not-described-in-cppc_set_auto_act_window |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-cpunum-not-described-in-cppc_get_auto_act_window `-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-epp_val-not-described-in-cppc_set_epp elapsed time: 1030m configs tested: 15 configs skipped: 108 tested configs: arm64 allmodconfig clang-18 arm64 allnoconfig gcc-14.2.0 arm64 randconfig-001-20241213 gcc-14.2.0 arm64 randconfig-002-20241213 gcc-14.2.0 arm64 randconfig-003-20241213 clang-18 arm64 randconfig-004-20241213 gcc-14.2.0 x86_64 allnoconfig clang-19 x86_64 allyesconfig clang-19 x86_64 buildonly-randconfig-001-20241213 gcc-12 x86_64 buildonly-randconfig-002-20241213 gcc-12 x86_64 buildonly-randconfig-003-20241213 gcc-12 x86_64 buildonly-randconfig-004-20241213 gcc-12 x86_64 buildonly-randconfig-005-20241213 gcc-12 x86_64 buildonly-randconfig-006-20241213 clang-19 x86_64 defconfig gcc-11 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
1 0
0 0
[PATCH OLK-6.6 0/2] kabi: restrict the KABI fix to a specific architecture and dist
by Xie XiuQi 13 Dec '24

13 Dec '24
Some distributions need to maintain and fix KABI compatibility so that drivers do not need to be recompiled during kernel upgrades. Fixing KABI compatibility is a dangerous and hacking job. Developers need to know clearly what they are doing and the risks they may face. KABI fix actions are closely related to the processor architecture. Fixes may not be appropriate for all architectures. Improper fix may cause kernel panic or unexpected error. Only for expert users, and select N by default. Xie XiuQi (2): kabi: restrict the KABI fix to a specific architecture and dist kabi: enable KABI_COMPAT series by default on x86_64 & ARM64 arch/arm64/configs/openeuler_defconfig | 5 +-- arch/x86/configs/openeuler_defconfig | 5 +-- include/linux/kabi.h | 2 +- init/Kconfig | 49 +++++++++++++++++--------- 4 files changed, 40 insertions(+), 21 deletions(-) -- 2.20.1
1 2
0 0
[openeuler:OLK-5.10 2579/2579] mm/share_pool.c:4221:30: error: implicit declaration of function 'huge_pte_none'; did you mean 'huge_pte_lock'?
by kernel test robot 13 Dec '24

13 Dec '24
Hi Wang, FYI, the error/warning still remains. tree: https://gitee.com/openeuler/kernel.git OLK-5.10 head: ff5378fff024fcb2552e6da22811cf933fe4a4c0 commit: c533562a2802206135467a06384ba33cff42b18a [2579/2579] share_pool: Use sharepool_no_page to alloc hugepage config: arm64-randconfig-004-20241213 (https://download.01.org/0day-ci/archive/20241213/202412131234.abo5dw1q-lkp@…) compiler: aarch64-linux-gcc (GCC) 14.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241213/202412131234.abo5dw1q-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/202412131234.abo5dw1q-lkp@intel.com/ All errors (new ones prefixed by >>): mm/share_pool.c: In function 'mg_sp_group_id_by_pid': mm/share_pool.c:858:29: warning: ordered comparison of pointer with integer zero [-Wextra] 858 | if (!spg_ids || num <= 0) | ^~ mm/share_pool.c: In function 'sp_compact_nodes': mm/share_pool.c:1851:9: error: implicit declaration of function 'sysctl_compaction_handler' [-Werror=implicit-function-declaration] 1851 | sysctl_compaction_handler(NULL, 1, NULL, NULL, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~ mm/share_pool.c: In function 'sp_hugetlb_entry': mm/share_pool.c:3014:21: error: implicit declaration of function 'huge_ptep_get' [-Werror=implicit-function-declaration] 3014 | pte_t pte = huge_ptep_get(ptep); | ^~~~~~~~~~~~~ mm/share_pool.c:3014:21: error: invalid initializer mm/share_pool.c: In function 'sp_unshare_kva': mm/share_pool.c:3394:14: warning: variable 'is_hugepage' set but not used [-Wunused-but-set-variable] 3394 | bool is_hugepage = true; | ^~~~~~~~~~~ mm/share_pool.c: At top level: mm/share_pool.c:3691:6: warning: no previous prototype for 'sp_proc_stat_drop' [-Wmissing-prototypes] 3691 | void sp_proc_stat_drop(struct sp_proc_stat *stat) | ^~~~~~~~~~~~~~~~~ mm/share_pool.c:3922:6: warning: no previous prototype for 'spa_overview_show' [-Wmissing-prototypes] 3922 | void spa_overview_show(struct seq_file *seq) | ^~~~~~~~~~~~~~~~~ mm/share_pool.c:4004:6: warning: no previous prototype for 'spg_overview_show' [-Wmissing-prototypes] 4004 | void spg_overview_show(struct seq_file *seq) | ^~~~~~~~~~~~~~~~~ mm/share_pool.c: In function 'sharepool_no_page': >> mm/share_pool.c:4221:30: error: implicit declaration of function 'huge_pte_none'; did you mean 'huge_pte_lock'? [-Werror=implicit-function-declaration] 4221 | if (!huge_pte_none(huge_ptep_get(ptep))) { | ^~~~~~~~~~~~~ | huge_pte_lock >> mm/share_pool.c:4234:23: error: implicit declaration of function 'huge_add_to_page_cache'; did you mean 'add_to_page_cache'? [-Werror=implicit-function-declaration] 4234 | err = huge_add_to_page_cache(page, mapping, idx); | ^~~~~~~~~~~~~~~~~~~~~~ | add_to_page_cache >> mm/share_pool.c:4256:9: error: implicit declaration of function 'set_huge_pte_at'; did you mean 'set_huge_swap_pte_at'? [-Werror=implicit-function-declaration] 4256 | set_huge_pte_at(mm, haddr, ptep, new_pte); | ^~~~~~~~~~~~~~~ | set_huge_swap_pte_at >> mm/share_pool.c:4258:9: error: implicit declaration of function 'hugetlb_count_add'; did you mean 'hugetlb_count_sub'? [-Werror=implicit-function-declaration] 4258 | hugetlb_count_add(pages_per_huge_page(h), mm); | ^~~~~~~~~~~~~~~~~ | hugetlb_count_sub mm/share_pool.c: At top level: mm/share_pool.c:4136:12: warning: 'proc_overview_show' defined but not used [-Wunused-function] 4136 | static int proc_overview_show(struct seq_file *seq, void *offset) | ^~~~~~~~~~~~~~~~~~ mm/share_pool.c:4093:12: warning: 'proc_stat_show' defined but not used [-Wunused-function] 4093 | static int proc_stat_show(struct seq_file *seq, void *offset) | ^~~~~~~~~~~~~~ mm/share_pool.c:4029:12: warning: 'spa_stat_show' defined but not used [-Wunused-function] 4029 | static int spa_stat_show(struct seq_file *seq, void *offset) | ^~~~~~~~~~~~~ cc1: some warnings being treated as errors Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for PGP_KEY_PARSER Depends on [n]: CRYPTO [=y] && ASYMMETRIC_KEY_TYPE [=y] && ASYMMETRIC_PUBLIC_KEY_SUBTYPE [=n] Selected by [y]: - PGP_PRELOAD [=y] && CRYPTO [=y] && ASYMMETRIC_KEY_TYPE [=y] vim +4221 mm/share_pool.c 4179 4180 vm_fault_t sharepool_no_page(struct mm_struct *mm, 4181 struct vm_area_struct *vma, 4182 struct address_space *mapping, pgoff_t idx, 4183 unsigned long address, pte_t *ptep, unsigned int flags) 4184 { 4185 struct hstate *h = hstate_vma(vma); 4186 vm_fault_t ret = VM_FAULT_SIGBUS; 4187 unsigned long size; 4188 struct page *page; 4189 pte_t new_pte; 4190 spinlock_t *ptl; 4191 unsigned long haddr = address & huge_page_mask(h); 4192 bool new_page = false; 4193 int err; 4194 int node_id; 4195 struct sp_area *spa; 4196 4197 spa = __find_sp_area(vma->vm_start); 4198 if (!spa) { 4199 pr_err("share pool: vma is invalid, not from sp mmap\n"); 4200 return ret; 4201 } 4202 node_id = spa->node_id; 4203 __sp_area_drop(spa); 4204 4205 retry: 4206 page = find_lock_page(mapping, idx); 4207 if (!page) { 4208 size = i_size_read(mapping->host) >> huge_page_shift(h); 4209 if (idx >= size) 4210 goto out; 4211 4212 page = alloc_huge_page(vma, haddr, 0); 4213 if (IS_ERR(page)) { 4214 page = alloc_huge_page_nodemask(hstate_file(vma->vm_file), 4215 node_id, NULL, GFP_KERNEL); 4216 if (!page) 4217 page = ERR_PTR(-ENOMEM); 4218 } 4219 if (IS_ERR(page)) { 4220 ptl = huge_pte_lock(h, mm, ptep); > 4221 if (!huge_pte_none(huge_ptep_get(ptep))) { 4222 ret = 0; 4223 spin_unlock(ptl); 4224 goto out; 4225 } 4226 spin_unlock(ptl); 4227 ret = vmf_error(PTR_ERR(page)); 4228 goto out; 4229 } 4230 __SetPageUptodate(page); 4231 new_page = true; 4232 4233 /* sharepool pages are all shared */ > 4234 err = huge_add_to_page_cache(page, mapping, idx); 4235 if (err) { 4236 put_page(page); 4237 if (err == -EEXIST) 4238 goto retry; 4239 goto out; 4240 } 4241 } 4242 4243 4244 ptl = huge_pte_lock(h, mm, ptep); 4245 size = i_size_read(mapping->host) >> huge_page_shift(h); 4246 if (idx >= size) 4247 goto backout; 4248 4249 ret = 0; 4250 if (!huge_pte_none(huge_ptep_get(ptep))) 4251 goto backout; 4252 4253 page_dup_rmap(page, true); 4254 new_pte = make_huge_pte(vma, page, ((vma->vm_flags & VM_WRITE) 4255 && (vma->vm_flags & VM_SHARED))); > 4256 set_huge_pte_at(mm, haddr, ptep, new_pte); 4257 > 4258 hugetlb_count_add(pages_per_huge_page(h), mm); 4259 4260 spin_unlock(ptl); 4261 4262 if (new_page) { 4263 SetPagePrivate(&page[1]); 4264 } 4265 4266 unlock_page(page); 4267 out: 4268 return ret; 4269 4270 backout: 4271 spin_unlock(ptl); 4272 unlock_page(page); 4273 put_page(page); 4274 goto out; 4275 } 4276 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
1 0
0 0
[PATCH openEuler-22.03-LTS-SP1] dmaengine: idxd: Let probe fail when workqueue cannot be enabled
by Qi Xi 13 Dec '24

13 Dec '24
From: Reinette Chatre <reinette.chatre(a)intel.com> mainline inclusion from mainline-v6.2-rc5 commit b51b75f0604f17c0f6f3b6f68f1a521a5cc6b04f category: bugfix bugzilla: https://gitee.com/src-openeuler/kernel/issues/IALL6O CVE: CVE-2022-48868 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?… -------------------------------- The workqueue is enabled when the appropriate driver is loaded and disabled when the driver is removed. When the driver is removed it assumes that the workqueue was enabled successfully and proceeds to free allocations made during workqueue enabling. Failure during workqueue enabling does not prevent the driver from being loaded. This is because the error path within drv_enable_wq() returns success unless a second failure is encountered during the error path. By returning success it is possible to load the driver even if the workqueue cannot be enabled and allocations that do not exist are attempted to be freed during driver remove. Some examples of problematic flows: (a) idxd_dmaengine_drv_probe() -> drv_enable_wq() -> idxd_wq_request_irq(): In above flow, if idxd_wq_request_irq() fails then idxd_wq_unmap_portal() is called on error exit path, but drv_enable_wq() returns 0 because idxd_wq_disable() succeeds. The driver is thus loaded successfully. idxd_dmaengine_drv_remove()->drv_disable_wq()->idxd_wq_unmap_portal() Above flow on driver unload triggers the WARN in devm_iounmap() because the device resource has already been removed during error path of drv_enable_wq(). (b) idxd_dmaengine_drv_probe() -> drv_enable_wq() -> idxd_wq_request_irq(): In above flow, if idxd_wq_request_irq() fails then idxd_wq_init_percpu_ref() is never called to initialize the percpu counter, yet the driver loads successfully because drv_enable_wq() returns 0. idxd_dmaengine_drv_remove()->__idxd_wq_quiesce()->percpu_ref_kill(): Above flow on driver unload triggers a BUG when attempting to drop the initial ref of the uninitialized percpu ref: BUG: kernel NULL pointer dereference, address: 0000000000000010 Fix the drv_enable_wq() error path by returning the original error that indicates failure of workqueue enabling. This ensures that the probe fails when an error is encountered and the driver remove paths are only attempted when the workqueue was enabled successfully. Fixes: 1f2bb40337f0 ("dmaengine: idxd: move wq_enable() to device.c") Signed-off-by: Reinette Chatre <reinette.chatre(a)intel.com> Reviewed-by: Dave Jiang <dave.jiang(a)intel.com> Reviewed-by: Fenghua Yu <fenghua.yu(a)intel.com> Cc: stable(a)vger.kernel.org Link: https://lore.kernel.org/r/e8d8116e5efa0fd14fadc5adae6ffd319f0e5ff1.16704524… Signed-off-by: Vinod Koul <vkoul(a)kernel.org> Signed-off-by: Qi Xi <xiqi2(a)huawei.com> --- drivers/dma/idxd/device.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/dma/idxd/device.c b/drivers/dma/idxd/device.c index 06f5d3783d77..c5523ced2e3a 100644 --- a/drivers/dma/idxd/device.c +++ b/drivers/dma/idxd/device.c @@ -1390,8 +1390,7 @@ int drv_enable_wq(struct idxd_wq *wq) err_irq: idxd_wq_unmap_portal(wq); err_map_portal: - rc = idxd_wq_disable(wq, false); - if (rc < 0) + if (idxd_wq_disable(wq, false)) dev_dbg(dev, "wq %s disable failed\n", dev_name(wq_confdev(wq))); err: return rc; -- 2.33.0
2 1
0 0
[PATCH OLK-5.10] dmaengine: idxd: Let probe fail when workqueue cannot be enabled
by Qi Xi 13 Dec '24

13 Dec '24
From: Reinette Chatre <reinette.chatre(a)intel.com> mainline inclusion from mainline-v6.2-rc5 commit b51b75f0604f17c0f6f3b6f68f1a521a5cc6b04f category: bugfix bugzilla: https://gitee.com/src-openeuler/kernel/issues/IALL6O CVE: CVE-2022-48868 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?… -------------------------------- The workqueue is enabled when the appropriate driver is loaded and disabled when the driver is removed. When the driver is removed it assumes that the workqueue was enabled successfully and proceeds to free allocations made during workqueue enabling. Failure during workqueue enabling does not prevent the driver from being loaded. This is because the error path within drv_enable_wq() returns success unless a second failure is encountered during the error path. By returning success it is possible to load the driver even if the workqueue cannot be enabled and allocations that do not exist are attempted to be freed during driver remove. Some examples of problematic flows: (a) idxd_dmaengine_drv_probe() -> drv_enable_wq() -> idxd_wq_request_irq(): In above flow, if idxd_wq_request_irq() fails then idxd_wq_unmap_portal() is called on error exit path, but drv_enable_wq() returns 0 because idxd_wq_disable() succeeds. The driver is thus loaded successfully. idxd_dmaengine_drv_remove()->drv_disable_wq()->idxd_wq_unmap_portal() Above flow on driver unload triggers the WARN in devm_iounmap() because the device resource has already been removed during error path of drv_enable_wq(). (b) idxd_dmaengine_drv_probe() -> drv_enable_wq() -> idxd_wq_request_irq(): In above flow, if idxd_wq_request_irq() fails then idxd_wq_init_percpu_ref() is never called to initialize the percpu counter, yet the driver loads successfully because drv_enable_wq() returns 0. idxd_dmaengine_drv_remove()->__idxd_wq_quiesce()->percpu_ref_kill(): Above flow on driver unload triggers a BUG when attempting to drop the initial ref of the uninitialized percpu ref: BUG: kernel NULL pointer dereference, address: 0000000000000010 Fix the drv_enable_wq() error path by returning the original error that indicates failure of workqueue enabling. This ensures that the probe fails when an error is encountered and the driver remove paths are only attempted when the workqueue was enabled successfully. Fixes: 1f2bb40337f0 ("dmaengine: idxd: move wq_enable() to device.c") Signed-off-by: Reinette Chatre <reinette.chatre(a)intel.com> Reviewed-by: Dave Jiang <dave.jiang(a)intel.com> Reviewed-by: Fenghua Yu <fenghua.yu(a)intel.com> Cc: stable(a)vger.kernel.org Link: https://lore.kernel.org/r/e8d8116e5efa0fd14fadc5adae6ffd319f0e5ff1.16704524… Signed-off-by: Vinod Koul <vkoul(a)kernel.org> Signed-off-by: Qi Xi <xiqi2(a)huawei.com> --- drivers/dma/idxd/device.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/dma/idxd/device.c b/drivers/dma/idxd/device.c index 300ee3b5cf63..cd792f3f9873 100644 --- a/drivers/dma/idxd/device.c +++ b/drivers/dma/idxd/device.c @@ -1390,8 +1390,7 @@ int drv_enable_wq(struct idxd_wq *wq) err_irq: idxd_wq_unmap_portal(wq); err_map_portal: - rc = idxd_wq_disable(wq, false); - if (rc < 0) + if (idxd_wq_disable(wq, false)) dev_dbg(dev, "wq %s disable failed\n", dev_name(wq_confdev(wq))); err: return rc; -- 2.33.0
2 1
0 0
[PATCH openEuler-22.03-LTS-SP1] dmaengine: idxd: Let probe fail when workqueue cannot be enabled
by Qi Xi 13 Dec '24

13 Dec '24
From: Reinette Chatre <reinette.chatre(a)intel.com> mainline inclusion from mainline-v6.2-rc5 commit b51b75f0604f17c0f6f3b6f68f1a521a5cc6b04f category: bugfix bugzilla: https://gitee.com/src-openeuler/kernel/issues/IALL6O CVE: CVE-2022-48868 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?… -------------------------------- The workqueue is enabled when the appropriate driver is loaded and disabled when the driver is removed. When the driver is removed it assumes that the workqueue was enabled successfully and proceeds to free allocations made during workqueue enabling. Failure during workqueue enabling does not prevent the driver from being loaded. This is because the error path within drv_enable_wq() returns success unless a second failure is encountered during the error path. By returning success it is possible to load the driver even if the workqueue cannot be enabled and allocations that do not exist are attempted to be freed during driver remove. Some examples of problematic flows: (a) idxd_dmaengine_drv_probe() -> drv_enable_wq() -> idxd_wq_request_irq(): In above flow, if idxd_wq_request_irq() fails then idxd_wq_unmap_portal() is called on error exit path, but drv_enable_wq() returns 0 because idxd_wq_disable() succeeds. The driver is thus loaded successfully. idxd_dmaengine_drv_remove()->drv_disable_wq()->idxd_wq_unmap_portal() Above flow on driver unload triggers the WARN in devm_iounmap() because the device resource has already been removed during error path of drv_enable_wq(). (b) idxd_dmaengine_drv_probe() -> drv_enable_wq() -> idxd_wq_request_irq(): In above flow, if idxd_wq_request_irq() fails then idxd_wq_init_percpu_ref() is never called to initialize the percpu counter, yet the driver loads successfully because drv_enable_wq() returns 0. idxd_dmaengine_drv_remove()->__idxd_wq_quiesce()->percpu_ref_kill(): Above flow on driver unload triggers a BUG when attempting to drop the initial ref of the uninitialized percpu ref: BUG: kernel NULL pointer dereference, address: 0000000000000010 Fix the drv_enable_wq() error path by returning the original error that indicates failure of workqueue enabling. This ensures that the probe fails when an error is encountered and the driver remove paths are only attempted when the workqueue was enabled successfully. Fixes: 1f2bb40337f0 ("dmaengine: idxd: move wq_enable() to device.c") Signed-off-by: Reinette Chatre <reinette.chatre(a)intel.com> Reviewed-by: Dave Jiang <dave.jiang(a)intel.com> Reviewed-by: Fenghua Yu <fenghua.yu(a)intel.com> Cc: stable(a)vger.kernel.org Link: https://lore.kernel.org/r/e8d8116e5efa0fd14fadc5adae6ffd319f0e5ff1.16704524… Signed-off-by: Vinod Koul <vkoul(a)kernel.org> Signed-off-by: Qi Xi <xiqi2(a)huawei.com> --- drivers/dma/idxd/device.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/dma/idxd/device.c b/drivers/dma/idxd/device.c index 06f5d3783d77..c5523ced2e3a 100644 --- a/drivers/dma/idxd/device.c +++ b/drivers/dma/idxd/device.c @@ -1390,8 +1390,7 @@ int drv_enable_wq(struct idxd_wq *wq) err_irq: idxd_wq_unmap_portal(wq); err_map_portal: - rc = idxd_wq_disable(wq, false); - if (rc < 0) + if (idxd_wq_disable(wq, false)) dev_dbg(dev, "wq %s disable failed\n", dev_name(wq_confdev(wq))); err: return rc; -- 2.33.0
2 1
0 0
[PATCH OLK-5.10] dmaengine: idxd: Let probe fail when workqueue cannot be enabled
by Qi Xi 13 Dec '24

13 Dec '24
From: Reinette Chatre <reinette.chatre(a)intel.com> mainline inclusion from mainline-v6.2-rc5 commit b51b75f0604f17c0f6f3b6f68f1a521a5cc6b04f category: bugfix bugzilla: https://gitee.com/src-openeuler/kernel/issues/IALL6O CVE: CVE-2022-48868 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?… -------------------------------- The workqueue is enabled when the appropriate driver is loaded and disabled when the driver is removed. When the driver is removed it assumes that the workqueue was enabled successfully and proceeds to free allocations made during workqueue enabling. Failure during workqueue enabling does not prevent the driver from being loaded. This is because the error path within drv_enable_wq() returns success unless a second failure is encountered during the error path. By returning success it is possible to load the driver even if the workqueue cannot be enabled and allocations that do not exist are attempted to be freed during driver remove. Some examples of problematic flows: (a) idxd_dmaengine_drv_probe() -> drv_enable_wq() -> idxd_wq_request_irq(): In above flow, if idxd_wq_request_irq() fails then idxd_wq_unmap_portal() is called on error exit path, but drv_enable_wq() returns 0 because idxd_wq_disable() succeeds. The driver is thus loaded successfully. idxd_dmaengine_drv_remove()->drv_disable_wq()->idxd_wq_unmap_portal() Above flow on driver unload triggers the WARN in devm_iounmap() because the device resource has already been removed during error path of drv_enable_wq(). (b) idxd_dmaengine_drv_probe() -> drv_enable_wq() -> idxd_wq_request_irq(): In above flow, if idxd_wq_request_irq() fails then idxd_wq_init_percpu_ref() is never called to initialize the percpu counter, yet the driver loads successfully because drv_enable_wq() returns 0. idxd_dmaengine_drv_remove()->__idxd_wq_quiesce()->percpu_ref_kill(): Above flow on driver unload triggers a BUG when attempting to drop the initial ref of the uninitialized percpu ref: BUG: kernel NULL pointer dereference, address: 0000000000000010 Fix the drv_enable_wq() error path by returning the original error that indicates failure of workqueue enabling. This ensures that the probe fails when an error is encountered and the driver remove paths are only attempted when the workqueue was enabled successfully. Fixes: 1f2bb40337f0 ("dmaengine: idxd: move wq_enable() to device.c") Signed-off-by: Reinette Chatre <reinette.chatre(a)intel.com> Reviewed-by: Dave Jiang <dave.jiang(a)intel.com> Reviewed-by: Fenghua Yu <fenghua.yu(a)intel.com> Cc: stable(a)vger.kernel.org Link: https://lore.kernel.org/r/e8d8116e5efa0fd14fadc5adae6ffd319f0e5ff1.16704524… Signed-off-by: Vinod Koul <vkoul(a)kernel.org> Signed-off-by: Qi Xi <xiqi2(a)huawei.com> --- drivers/dma/idxd/device.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/dma/idxd/device.c b/drivers/dma/idxd/device.c index 300ee3b5cf63..cd792f3f9873 100644 --- a/drivers/dma/idxd/device.c +++ b/drivers/dma/idxd/device.c @@ -1390,8 +1390,7 @@ int drv_enable_wq(struct idxd_wq *wq) err_irq: idxd_wq_unmap_portal(wq); err_map_portal: - rc = idxd_wq_disable(wq, false); - if (rc < 0) + if (idxd_wq_disable(wq, false)) dev_dbg(dev, "wq %s disable failed\n", dev_name(wq_confdev(wq))); err: return rc; -- 2.33.0
2 1
0 0
[PATCH OLK-6.6 0/2] kabi: restrict the KABI fix to a specific architecture and dist
by Xie XiuQi 13 Dec '24

13 Dec '24
Some distributions need to maintain and fix KABI compatibility so that drivers do not need to be recompiled during kernel upgrades. Fixing KABI compatibility is a dangerous and hacking job. Developers need to know clearly what they are doing and the risks they may face. KABI fix actions are closely related to the processor architecture. Fixes may not be appropriate for all architectures. Improper fix may cause kernel panic or unexpected error. Only for expert users, and select N by default. Xie XiuQi (2): kabi: restrict the KABI fix to a specific architecture and dist kabi: enable KABI_COMPAT series by default on x86_64 & ARM64 arch/arm64/configs/openeuler_defconfig | 5 +-- arch/x86/configs/openeuler_defconfig | 5 +-- include/linux/kabi.h | 2 +- init/Kconfig | 49 +++++++++++++++++--------- 4 files changed, 40 insertions(+), 21 deletions(-) -- 2.20.1
1 2
0 0
  • ← Newer
  • 1
  • ...
  • 279
  • 280
  • 281
  • 282
  • 283
  • 284
  • 285
  • ...
  • 1827
  • Older →

HyperKitty Powered by HyperKitty