Hi Devyn,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 4a0359af8c9d84ec3320a8a18f41c7fddf1f7a23
commit: 6449ff7a5a2b148bc0a60efb3f0d723aaeceaae6 [1540/1540] ipmi: Errata workaround to prevent SMS message processing timeout
config: arm64-randconfig-003-20241128 (https://download.01.org/0day-ci/archive/20241128/202411280421.tIaYIeEQ-lkp@…)
compiler: clang version 20.0.0git (https://github.com/llvm/llvm-project 592c0fe55f6d9a811028b5f3507be91458ab2713)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241128/202411280421.tIaYIeEQ-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/202411280421.tIaYIeEQ-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/char/ipmi/ipmi_bt_sm.c:194:11: error: call to undeclared function 'acpi_evaluate_integer'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
194 | status = acpi_evaluate_integer(handle, "SATN", NULL, &tmp);
| ^
drivers/char/ipmi/ipmi_bt_sm.c:194:11: note: did you mean 'acpi_evaluate_object'?
include/acpi/acpixf.h:550:8: note: 'acpi_evaluate_object' declared here
550 | acpi_evaluate_object(acpi_handle object,
| ^
include/acpi/platform/aclinux.h:93:21: note: expanded from macro 'ACPI_EXTERNAL_RETURN_STATUS'
93 | static ACPI_INLINE prototype {return(AE_NOT_CONFIGURED);}
| ^
1 error generated.
vim +/acpi_evaluate_integer +194 drivers/char/ipmi/ipmi_bt_sm.c
177
178 #ifdef CONFIG_HISILICON_ERRATUM_162102203
179 /*
180 * To confirm whether the SMS_ATN flag needs to be stored and get
181 * quirk through the method reported by the BIOS. Because in special
182 * cases SMS_ATN flag bits may be lost before being processed.
183 */
184 static bool get_sms_atn_quirk(struct si_sm_io *io)
185 {
186 acpi_handle handle;
187 acpi_status status;
188 unsigned long long tmp;
189
190 handle = ACPI_HANDLE(io->dev);
191 if (!handle)
192 return false;
193
> 194 status = acpi_evaluate_integer(handle, "SATN", NULL, &tmp);
195 if (ACPI_FAILURE(status))
196 return false;
197 else if (tmp != 1)
198 return false;
199
200 return true;
201 }
202 #endif
203
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Hi Zhang,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 4a0359af8c9d84ec3320a8a18f41c7fddf1f7a23
commit: a3c9f2da0a35df4e41751556be4308f57bdaf3d6 [1540/1540] sched: Introduce handle priority reversion mechanism
config: arm64-randconfig-002-20241128 (https://download.01.org/0day-ci/archive/20241128/202411280242.vXWcSB3O-lkp@…)
compiler: aarch64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241128/202411280242.vXWcSB3O-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/202411280242.vXWcSB3O-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> kernel/sched/fair.c:146:12: warning: 'hundred_thousand' defined but not used [-Wunused-variable]
146 | static int hundred_thousand = 100000;
| ^~~~~~~~~~~~~~~~
>> kernel/sched/fair.c:145:12: warning: 'one_thousand' defined but not used [-Wunused-variable]
145 | static int one_thousand = 1000;
| ^~~~~~~~~~~~
vim +/hundred_thousand +146 kernel/sched/fair.c
139
140 static DEFINE_PER_CPU_SHARED_ALIGNED(struct list_head, qos_throttled_cfs_rq);
141 static DEFINE_PER_CPU_SHARED_ALIGNED(struct hrtimer, qos_overload_timer);
142 static DEFINE_PER_CPU(int, qos_cpu_overload);
143 unsigned int sysctl_overload_detect_period = 5000; /* in ms */
144 unsigned int sysctl_offline_wait_interval = 100; /* in ms */
> 145 static int one_thousand = 1000;
> 146 static int hundred_thousand = 100000;
147 static int unthrottle_qos_cfs_rqs(int cpu);
148 #endif
149
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Hi Wang,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 4a0359af8c9d84ec3320a8a18f41c7fddf1f7a23
commit: 549b1f40b56511536196f7522ffa4d7b3da42337 [1540/1540] mm/sharepool: Implement mg_sp_make_share_u2k()
config: arm64-randconfig-003-20241128 (https://download.01.org/0day-ci/archive/20241128/202411280023.QYDiEv46-lkp@…)
compiler: clang version 20.0.0git (https://github.com/llvm/llvm-project 592c0fe55f6d9a811028b5f3507be91458ab2713)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241128/202411280023.QYDiEv46-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/202411280023.QYDiEv46-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from mm/share_pool.c:21:
In file included from include/linux/share_pool.h:5:
In file included from include/linux/mman.h:5:
In file included from include/linux/mm.h:2174:
include/linux/vmstat.h:522:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
522 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
>> mm/share_pool.c:1226:14: error: call to undeclared function 'huge_ptep_get'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
1226 | pte_t pte = huge_ptep_get(ptep);
| ^
>> mm/share_pool.c:1226:8: error: initializing 'pte_t' with an expression of incompatible type 'int'
1226 | pte_t pte = huge_ptep_get(ptep);
| ^ ~~~~~~~~~~~~~~~~~~~
1 warning and 2 errors generated.
vim +/huge_ptep_get +1226 mm/share_pool.c
1221
1222 static int sp_hugetlb_entry(pte_t *ptep, unsigned long hmask,
1223 unsigned long addr, unsigned long next,
1224 struct mm_walk *walk)
1225 {
> 1226 pte_t pte = huge_ptep_get(ptep);
1227 struct page *page = pte_page(pte);
1228 struct sp_walk_data *sp_walk_data;
1229
1230 if (unlikely(!pte_present(pte))) {
1231 pr_debug("the page of addr %lx unexpectedly not in RAM\n", (unsigned long)addr);
1232 return -EFAULT;
1233 }
1234
1235 sp_walk_data = walk->private;
1236 get_page(page);
1237 sp_walk_data->pages[sp_walk_data->page_count++] = page;
1238 return 0;
1239 }
1240
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
tree: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS
head: 4f763890ac28e4d36527b22a830c5e95cae55470
commit: 1f7b24152a85bec4ea4f5a6219b4702853ffd3e6 [1308/1308] mm/memory: Move mmu_gather and TLB invalidation code into its own file
config: x86_64-buildonly-randconfig-002-20241126 (https://download.01.org/0day-ci/archive/20241128/202411280047.QubAoPvR-lkp@…)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241128/202411280047.QubAoPvR-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/202411280047.QubAoPvR-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from mm/mmu_gather.c:6:
include/linux/pagemap.h:401:21: warning: cast from 'int (*)(struct file *, struct page *)' to 'filler_t *' (aka 'int (*)(void *, struct page *)') converts to incompatible function type [-Wcast-function-type-strict]
401 | filler_t *filler = (filler_t *)mapping->a_ops->readpage;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
>> mm/.tmp_mmu_gather.o: warning: objtool: missing symbol for section .text
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Hi Ma,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 4a0359af8c9d84ec3320a8a18f41c7fddf1f7a23
commit: 425771499c0742a996ab28df143d7a5123102686 [1540/1540] mm: mem_reliable: Introduce proc interface to disable memory reliable features
config: arm64-randconfig-004-20241128 (https://download.01.org/0day-ci/archive/20241128/202411280009.pYeZw217-lkp@…)
compiler: clang version 16.0.6 (https://github.com/llvm/llvm-project 7cbf1a2591520c2491aa35339f227775f4d3adf6)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241128/202411280009.pYeZw217-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/202411280009.pYeZw217-lkp@intel.com/
All errors (new ones prefixed by >>):
>> mm/mem_reliable.c:345:2: error: call to undeclared function 'mem_reliable_ctrl_bit_disable'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
mem_reliable_ctrl_bit_disable(idx);
^
mm/mem_reliable.c:345:2: note: did you mean 'mem_reliable_ctrl_bit_disabled'?
mm/mem_reliable.c:320:13: note: 'mem_reliable_ctrl_bit_disabled' declared here
static void mem_reliable_ctrl_bit_disabled(int idx) {}
^
1 error generated.
vim +/mem_reliable_ctrl_bit_disable +345 mm/mem_reliable.c
322
323 static void mem_reliable_feature_disable(int idx)
324 {
325 char *str = NULL;
326
327 switch (idx) {
328 case MEM_RELIABLE_FALLBACK:
329 reliable_allow_fallback = false;
330 str = "fallback";
331 break;
332 case MEM_RELIABLE_SHMEM:
333 shmem_reliable = false;
334 str = "shmem";
335 break;
336 case MEM_RELIABLE_PAGECACHE:
337 pagecache_reliable = false;
338 str = "pagecache";
339 break;
340 default:
341 pr_err("unknown index: %d", idx);
342 return;
343 }
344
> 345 mem_reliable_ctrl_bit_disable(idx);
346 pr_info("%s is disabled\n", str);
347 }
348
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
tree: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS
head: 4f763890ac28e4d36527b22a830c5e95cae55470
commit: 325d9be9a6518184aec9fdbd87f11759b1e32a56 [1312/1312] tty: fix possible deadlock in console_unlock
config: arm64-randconfig-002-20241127 (https://download.01.org/0day-ci/archive/20241128/202411280023.3EwZG5dg-lkp@…)
compiler: aarch64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241128/202411280023.3EwZG5dg-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/202411280023.3EwZG5dg-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/tty/tty_buffer.c: In function 'tty_buffer_alloc':
>> drivers/tty/tty_buffer.c:170:9: error: implicit declaration of function 'printk_safe_enter'; did you mean 'printk_safe_init'? [-Werror=implicit-function-declaration]
170 | printk_safe_enter();
| ^~~~~~~~~~~~~~~~~
| printk_safe_init
drivers/tty/tty_buffer.c:172:9: error: implicit declaration of function 'printk_safe_exit'; did you mean 'printk_safe_init'? [-Werror=implicit-function-declaration]
172 | printk_safe_exit();
| ^~~~~~~~~~~~~~~~
| printk_safe_init
drivers/tty/tty_buffer.c: In function '__tty_insert_flip_char':
drivers/tty/tty_buffer.c:386:45: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
386 | *flag_buf_ptr(tb, tb->used) = flag;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
In file included from drivers/tty/tty_buffer.c:8:
include/linux/tty.h:69:23: note: destination object 'data' of size 0
69 | unsigned long data[0];
| ^~~~
drivers/tty/tty_buffer.c:387:39: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
387 | *char_buf_ptr(tb, tb->used++) = ch;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
include/linux/tty.h:69:23: note: destination object 'data' of size 0
69 | unsigned long data[0];
| ^~~~
cc1: some warnings being treated as errors
vim +170 drivers/tty/tty_buffer.c
137
138 /**
139 * tty_buffer_alloc - allocate a tty buffer
140 * @tty: tty device
141 * @size: desired size (characters)
142 *
143 * Allocate a new tty buffer to hold the desired number of characters.
144 * We round our buffers off in 256 character chunks to get better
145 * allocation behaviour.
146 * Return NULL if out of memory or the allocation would exceed the
147 * per device queue
148 */
149
150 static struct tty_buffer *tty_buffer_alloc(struct tty_port *port, size_t size)
151 {
152 struct llist_node *free;
153 struct tty_buffer *p;
154
155 /* Round the buffer size out */
156 size = __ALIGN_MASK(size, TTYB_ALIGN_MASK);
157
158 if (size <= MIN_TTYB_SIZE) {
159 free = llist_del_first(&port->buf.free);
160 if (free) {
161 p = llist_entry(free, struct tty_buffer, free);
162 goto found;
163 }
164 }
165
166 /* Should possibly check if this fails for the largest buffer we
167 have queued and recycle that ? */
168 if (atomic_read(&port->buf.mem_used) > port->buf.mem_limit)
169 return NULL;
> 170 printk_safe_enter();
171 p = kmalloc(sizeof(struct tty_buffer) + 2 * size, GFP_ATOMIC);
172 printk_safe_exit();
173 if (p == NULL)
174 return NULL;
175
176 found:
177 tty_buffer_reset(p, size);
178 atomic_add(size, &port->buf.mem_used);
179 return p;
180 }
181
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Hi Andrew,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 4a0359af8c9d84ec3320a8a18f41c7fddf1f7a23
commit: f9b54a6714445cde83aeff0318cf767b3b81229d [1540/1540] arm64:ilp32: add ARM64_ILP32 to Kconfig
config: arm64-randconfig-001-20241128 (https://download.01.org/0day-ci/archive/20241128/202411280013.GdY1RDbl-lkp@…)
compiler: clang version 20.0.0git (https://github.com/llvm/llvm-project 592c0fe55f6d9a811028b5f3507be91458ab2713)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241128/202411280013.GdY1RDbl-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/202411280013.GdY1RDbl-lkp@intel.com/
All error/warnings (new ones prefixed by >>):
scripts/genksyms/parse.y: warning: 9 shift/reduce conflicts [-Wconflicts-sr]
scripts/genksyms/parse.y: warning: 5 reduce/reduce conflicts [-Wconflicts-rr]
scripts/genksyms/parse.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples
In file included from arch/arm64/kernel/asm-offsets.c:10:
In file included from include/linux/arm_sdei.h:8:
In file included from include/acpi/ghes.h:5:
In file included from include/acpi/apei.h:9:
In file included from include/linux/acpi.h:37:
In file included from include/acpi/acpi_io.h:7:
In file included from arch/arm64/include/asm/acpi.h:14:
In file included from include/linux/memblock.h:12:
In file included from include/linux/mm.h:2168:
include/linux/vmstat.h:522:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
522 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
1 warning generated.
arch/arm64/kernel/vdso-ilp32/Makefile:87: FORCE prerequisite is missing
arch/arm64/kernel/vdso-ilp32/Makefile:90: FORCE prerequisite is missing
arch/arm64/kernel/vdso-ilp32/Makefile:84: FORCE prerequisite is missing
>> error: unknown target ABI 'ilp32'
make[3]: *** [scripts/Makefile.build:373: arch/arm64/kernel/vdso-ilp32/vdso-ilp32.lds] Error 1 shuffle=2151591646
>> clang: warning: -Wl,-soname=linux-ilp32-vdso.so.1: 'linker' input unused [-Wunused-command-line-argument]
>> error: unknown target ABI 'ilp32'
make[3]: *** [arch/arm64/kernel/vdso-ilp32/Makefile:84: arch/arm64/kernel/vdso-ilp32/vgettimeofday-ilp32.o] Error 1 shuffle=2151591646
>> error: unknown target ABI 'ilp32'
>> error: unknown target ABI 'ilp32'
make[3]: *** [arch/arm64/kernel/vdso-ilp32/Makefile:87: arch/arm64/kernel/vdso-ilp32/note-ilp32.o] Error 1 shuffle=2151591646
make[3]: *** [arch/arm64/kernel/vdso-ilp32/Makefile:90: arch/arm64/kernel/vdso-ilp32/sigreturn-ilp32.o] Error 1 shuffle=2151591646
make[3]: Target 'include/generated/vdso-ilp32-offsets.h' not remade because of errors.
make[2]: *** [arch/arm64/Makefile:202: vdso_prepare] Error 2 shuffle=2151591646
make[2]: Target 'prepare' not remade because of errors.
make[1]: *** [Makefile:234: __sub-make] Error 2 shuffle=2151591646
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:234: __sub-make] Error 2 shuffle=2151591646
make: Target 'prepare' not remade because of errors.
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki