[yhuang:random-r0.1i 30/42] ld: node.c:undefined reference to `node_random_migrate_pages'
by kbuild test robot
tree: yhuang/random-r0.1i
head: 96efac420c3a75d62cf4ff43184d4dbd0ce94b55
commit: 321be1f29c4be3e5407b5463bcb053990c65cfda [30/42] mm: Identify cold pages via randomly sampling + idle page tracking
config: x86_64-defconfig (attached as .config)
compiler: gcc-7 (Debian 7.4.0-13) 7.4.0
reproduce:
git checkout 321be1f29c4be3e5407b5463bcb053990c65cfda
# save the attached .config to linux build tree
make ARCH=x86_64
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
ld: mm/page_alloc.o: in function `free_area_init_node':
page_alloc.c:(.init.text+0x98a): undefined reference to `node_random_promote_select_work'
ld: page_alloc.c:(.init.text+0x9ce): undefined reference to `node_random_promote_check_work'
ld: page_alloc.c:(.init.text+0xa12): undefined reference to `node_random_demote_select_work'
ld: page_alloc.c:(.init.text+0xa5b): undefined reference to `node_random_demote_check_work'
ld: drivers/base/node.o: in function `random_migrate_period_ms_store':
node.c:(.text+0x21d): undefined reference to `node_random_migrate_stop'
ld: node.c:(.text+0x22a): undefined reference to `node_random_migrate_start'
ld: drivers/base/node.o: in function `random_migrate_mb_store':
node.c:(.text+0x35f): undefined reference to `node_random_migrate_stop'
>> ld: node.c:(.text+0x37b): undefined reference to `node_random_migrate_pages'
ld: node.c:(.text+0x39d): undefined reference to `node_random_migrate_start'
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
1 year, 4 months
[yhuang:random-r0.1i 28/42] ld: mm/page_alloc.c:6634: undefined reference to `node_random_demote_work'
by kbuild test robot
tree: yhuang/random-r0.1i
head: 96efac420c3a75d62cf4ff43184d4dbd0ce94b55
commit: 9b0fb2ba67b55a7801da8b9f4339c7026a0ebda9 [28/42] mm: Support to demote to slow memory node randomly and periodically
config: x86_64-randconfig-e004-201939 (attached as .config)
compiler: gcc-7 (Debian 7.4.0-13) 7.4.0
reproduce:
git checkout 9b0fb2ba67b55a7801da8b9f4339c7026a0ebda9
# save the attached .config to linux build tree
make ARCH=x86_64
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
ld: mm/page_alloc.o: in function `pgdat_init_random_migrate':
mm/page_alloc.c:6632: undefined reference to `node_random_promote_work'
>> ld: mm/page_alloc.c:6634: undefined reference to `node_random_demote_work'
ld: drivers/base/node.o: in function `random_demote_period_ms_store':
drivers/base/node.c:833: undefined reference to `node_random_demote_stop'
ld: drivers/base/node.c:835: undefined reference to `node_random_demote_start'
ld: drivers/base/node.o: in function `random_demote_mb_store':
drivers/base/node.c:799: undefined reference to `node_random_demote_stop'
ld: drivers/base/node.c:801: undefined reference to `node_random_migrate_pages'
ld: drivers/base/node.c:803: undefined reference to `node_random_demote_start'
ld: drivers/base/node.o: in function `random_promote_period_ms_store':
drivers/base/node.c:761: undefined reference to `node_random_promote_stop'
ld: drivers/base/node.c:763: undefined reference to `node_random_promote_start'
ld: drivers/base/node.o: in function `random_promote_mb_store':
drivers/base/node.c:727: undefined reference to `node_random_promote_stop'
ld: drivers/base/node.c:729: undefined reference to `node_random_migrate_pages'
ld: drivers/base/node.c:731: undefined reference to `node_random_promote_start'
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
1 year, 4 months
[yhuang:random-r0.1i 32/42] mm/page_idle.c:288:2: error: implicit declaration of function 'prefetch'; did you mean 'pr_fmt'?
by kbuild test robot
tree: yhuang/random-r0.1i
head: 96efac420c3a75d62cf4ff43184d4dbd0ce94b55
commit: d0f2642ea4fc9b6bb2e937d844b259cb72ea9c55 [32/42] Prefetch struct page when selecting randomly
config: parisc-allmodconfig (attached as .config)
compiler: hppa-linux-gcc (GCC) 7.4.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout d0f2642ea4fc9b6bb2e937d844b259cb72ea9c55
# save the attached .config to linux build tree
GCC_VERSION=7.4.0 make.cross ARCH=parisc
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
mm/page_idle.c: In function 'node_random_gen_random_page':
>> mm/page_idle.c:288:2: error: implicit declaration of function 'prefetch'; did you mean 'pr_fmt'? [-Werror=implicit-function-declaration]
prefetch(page);
^~~~~~~~
pr_fmt
mm/page_idle.c: At top level:
mm/page_idle.c:366:6: error: redefinition of 'node_random_promote_select_work'
void node_random_promote_select_work(struct work_struct *work)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from mm/page_idle.c:14:0:
include/linux/node.h:219:20: note: previous definition of 'node_random_promote_select_work' was here
static inline void node_random_promote_select_work(struct work_struct *work) {}
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mm/page_idle.c:490:5: error: redefinition of 'node_random_migrate_pages'
int node_random_migrate_pages(struct pglist_data *pgdat,
^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from mm/page_idle.c:14:0:
include/linux/node.h:212:19: note: previous definition of 'node_random_migrate_pages' was here
static inline int node_random_migrate_pages(struct pglist_data *pgdat,
^~~~~~~~~~~~~~~~~~~~~~~~~
mm/page_idle.c:520:6: error: redefinition of 'node_random_promote_check_work'
void node_random_promote_check_work(struct work_struct *work)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from mm/page_idle.c:14:0:
include/linux/node.h:221:20: note: previous definition of 'node_random_promote_check_work' was here
static inline void node_random_promote_check_work(struct work_struct *work) {}
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mm/page_idle.c:530:6: error: redefinition of 'node_random_migrate_start'
void node_random_migrate_start(struct pglist_data *pgdat,
^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from mm/page_idle.c:14:0:
include/linux/node.h:223:20: note: previous definition of 'node_random_migrate_start' was here
static inline void node_random_migrate_start(struct pglist_data *pgdat,
^~~~~~~~~~~~~~~~~~~~~~~~~
mm/page_idle.c:538:6: error: redefinition of 'node_random_migrate_stop'
void node_random_migrate_stop(struct random_migrate_state *rm_state)
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from mm/page_idle.c:14:0:
include/linux/node.h:226:13: note: previous definition of 'node_random_migrate_stop' was here
static void node_random_migrate_stop(struct random_migrate_state *rm_state) {}
^~~~~~~~~~~~~~~~~~~~~~~~
mm/page_idle.c:570:6: error: redefinition of 'node_random_demote_select_work'
void node_random_demote_select_work(struct work_struct *work)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from mm/page_idle.c:14:0:
include/linux/node.h:228:20: note: previous definition of 'node_random_demote_select_work' was here
static inline void node_random_demote_select_work(struct work_struct *work) {}
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mm/page_idle.c:638:6: error: redefinition of 'node_random_demote_check_work'
void node_random_demote_check_work(struct work_struct *work)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from mm/page_idle.c:14:0:
include/linux/node.h:230:20: note: previous definition of 'node_random_demote_check_work' was here
static inline void node_random_demote_check_work(struct work_struct *work) {}
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/node.h:226:13: warning: 'node_random_migrate_stop' defined but not used [-Wunused-function]
static void node_random_migrate_stop(struct random_migrate_state *rm_state) {}
^~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +288 mm/page_idle.c
273
274 static struct page *node_random_gen_random_page(struct pglist_data *pgdat)
275 {
276 unsigned long pfn = 0;
277 struct page *page;
278
279 do {
280 prandom_bytes(&pfn, sizeof(pfn));
281 pfn %= pgdat->node_spanned_pages;
282 pfn += pgdat->node_start_pfn;
283 if (!pfn_valid(pfn))
284 continue;
285 page = pfn_to_page(pfn);
286 } while (!page);
287
> 288 prefetch(page);
289
290 return page;
291 }
292
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
1 year, 4 months
[yhuang:random-r0.1i 27/42] mm/page_alloc.c:6632: undefined reference to `node_random_promote_work'
by kbuild test robot
tree: yhuang/random-r0.1i
head: 96efac420c3a75d62cf4ff43184d4dbd0ce94b55
commit: 16178d86a313a3cc31ea2b5aaaeb2f6230a4fdc0 [27/42] mm: Support to promote to fast memory node randomly and periodically
config: x86_64-randconfig-e004-201939 (attached as .config)
compiler: gcc-7 (Debian 7.4.0-13) 7.4.0
reproduce:
git checkout 16178d86a313a3cc31ea2b5aaaeb2f6230a4fdc0
# save the attached .config to linux build tree
make ARCH=x86_64
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
ld: mm/page_alloc.o: in function `pgdat_init_random_migrate':
>> mm/page_alloc.c:6632: undefined reference to `node_random_promote_work'
ld: drivers/base/node.o: in function `random_demote_mb_store':
drivers/base/node.c:794: undefined reference to `node_random_migrate_pages'
ld: drivers/base/node.o: in function `random_promote_period_ms_store':
drivers/base/node.c:761: undefined reference to `node_random_promote_stop'
ld: drivers/base/node.c:763: undefined reference to `node_random_promote_start'
ld: drivers/base/node.o: in function `random_promote_mb_store':
drivers/base/node.c:727: undefined reference to `node_random_promote_stop'
>> ld: drivers/base/node.c:729: undefined reference to `node_random_migrate_pages'
ld: drivers/base/node.c:731: undefined reference to `node_random_promote_start'
vim +6632 mm/page_alloc.c
6629
6630 static void pgdat_init_random_migrate(struct pglist_data *pgdat)
6631 {
> 6632 INIT_DELAYED_WORK(&pgdat->random_promote_state.work,
6633 node_random_promote_work);
6634 }
6635
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
1 year, 4 months
[yhuang:random-r0.1i 29/42] include/linux/node.h:227:13: error: 'node_random_migrate_stop' defined but not used
by kbuild test robot
tree: yhuang/random-r0.1i
head: 96efac420c3a75d62cf4ff43184d4dbd0ce94b55
commit: 77c411004cf0f7460664c307303f09026cfe82a8 [29/42] mm: Identify hot pages via randomly sampling + idle page tracking
config: i386-randconfig-e001-201939 (attached as .config)
compiler: gcc-7 (Debian 7.4.0-13) 7.4.0
reproduce:
git checkout 77c411004cf0f7460664c307303f09026cfe82a8
# save the attached .config to linux build tree
make ARCH=i386
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from include/linux/cpu.h:17:0,
from include/linux/perf_event.h:50,
from drivers/gpu/drm/i915/i915_pmu.h:11,
from drivers/gpu/drm/i915/intel_engine_types.h:23,
from drivers/gpu/drm/i915/i915_scheduler_types.h:13,
from drivers/gpu/drm/i915/i915_scheduler.h:14,
from drivers/gpu/drm/i915/i915_gem_context_types.h:20,
from drivers/gpu/drm/i915/header_test_i915_gem_context_types.c:1:
>> include/linux/node.h:227:13: error: 'node_random_migrate_stop' defined but not used [-Werror=unused-function]
static void node_random_migrate_stop(struct random_migrate_state *rm_state) {}
^~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
--
In file included from include/linux/cpu.h:17:0,
from include/linux/perf_event.h:50,
from drivers/gpu/drm/i915/i915_drv.h:44,
from drivers/gpu/drm/i915/i915_drv.c:50:
>> include/linux/node.h:227:13: error: 'node_random_migrate_stop' defined but not used [-Werror=unused-function]
static void node_random_migrate_stop(struct random_migrate_state *rm_state) {}
^~~~~~~~~~~~~~~~~~~~~~~~
Cyclomatic Complexity 5 include/linux/compiler.h:__read_once_size
Cyclomatic Complexity 1 include/linux/kasan-checks.h:kasan_check_read
Cyclomatic Complexity 1 include/linux/kasan-checks.h:kasan_check_write
Cyclomatic Complexity 1 arch/x86/include/asm/bitops.h:fls
Cyclomatic Complexity 1 arch/x86/include/asm/arch_hweight.h:__arch_hweight32
Cyclomatic Complexity 1 arch/x86/include/asm/arch_hweight.h:__arch_hweight8
Cyclomatic Complexity 1 include/linux/log2.h:__ilog2_u32
Cyclomatic Complexity 1 include/asm-generic/getorder.h:__get_order
Cyclomatic Complexity 1 arch/x86/include/asm/atomic.h:arch_atomic_read
Cyclomatic Complexity 1 arch/x86/include/asm/atomic.h:arch_atomic_inc
Cyclomatic Complexity 1 arch/x86/include/asm/atomic.h:arch_atomic_dec
Cyclomatic Complexity 1 include/asm-generic/atomic-instrumented.h:atomic_read
Cyclomatic Complexity 1 include/asm-generic/atomic-instrumented.h:atomic_inc
Cyclomatic Complexity 1 include/asm-generic/atomic-instrumented.h:atomic_dec
Cyclomatic Complexity 1 include/linux/jump_label.h:static_key_count
Cyclomatic Complexity 3 include/linux/jump_label.h:static_key_false
Cyclomatic Complexity 1 include/linux/err.h:ERR_PTR
Cyclomatic Complexity 1 include/linux/err.h:PTR_ERR
Cyclomatic Complexity 9 arch/x86/include/asm/preempt.h:__preempt_count_add
Cyclomatic Complexity 1 arch/x86/include/asm/preempt.h:__preempt_count_dec_and_test
Cyclomatic Complexity 1 include/linux/spinlock.h:spinlock_check
Cyclomatic Complexity 1 include/linux/spinlock.h:spin_lock_irq
Cyclomatic Complexity 1 include/linux/spinlock.h:spin_unlock_irq
Cyclomatic Complexity 1 include/linux/rcupdate.h:rcu_read_lock_sched_notrace
Cyclomatic Complexity 4 include/linux/slab.h:kmalloc_type
Cyclomatic Complexity 84 include/linux/slab.h:kmalloc_index
Cyclomatic Complexity 67 include/linux/slab.h:kmalloc_large
Cyclomatic Complexity 10 include/linux/slab.h:kmalloc
Cyclomatic Complexity 1 include/linux/slab.h:kzalloc
Cyclomatic Complexity 1 include/linux/device.h:dev_get_drvdata
Cyclomatic Complexity 1 include/linux/device.h:dev_set_drvdata
Cyclomatic Complexity 1 arch/x86/include/asm/io.h:readl
Cyclomatic Complexity 1 arch/x86/include/asm/pci.h:pci_domain_nr
Cyclomatic Complexity 1 include/linux/pci.h:pci_get_drvdata
Cyclomatic Complexity 1 include/linux/pci.h:pci_set_drvdata
Cyclomatic Complexity 1 include/drm/drm_print.h:drm_debug_printer
Cyclomatic Complexity 1 drivers/gpu/drm/i915/i915_reg.h:i915_mmio_reg_offset
Cyclomatic Complexity 2 drivers/gpu/drm/i915/i915_utils.h:yesno
Cyclomatic Complexity 2 drivers/gpu/drm/i915/i915_utils.h:onoff
Cyclomatic Complexity 1 drivers/gpu/drm/i915/intel_uncore.h:__raw_uncore_read32
Cyclomatic Complexity 1 drivers/gpu/drm/i915/intel_uncore.h:intel_uncore_read
Cyclomatic Complexity 1 drivers/gpu/drm/i915/intel_uncore.h:intel_uncore_read_notrace
Cyclomatic Complexity 1 drivers/gpu/drm/i915/intel_uncore.h:intel_uncore_write
Cyclomatic Complexity 1 drivers/gpu/drm/i915/i915_gpu_error.h:i915_reset_error_state
Cyclomatic Complexity 1 drivers/gpu/drm/i915/intel_gvt.h:intel_gvt_init
Cyclomatic Complexity 1 drivers/gpu/drm/i915/intel_gvt.h:intel_gvt_cleanup
Cyclomatic Complexity 1 drivers/gpu/drm/i915/intel_gvt.h:intel_gvt_sanitize_options
Cyclomatic Complexity 1 drivers/gpu/drm/i915/i915_drv.h:to_i915
Cyclomatic Complexity 1 drivers/gpu/drm/i915/i915_drv.h:kdev_to_i915
Cyclomatic Complexity 1 drivers/gpu/drm/i915/i915_drv.h:__platform_mask_index
Cyclomatic Complexity 1 drivers/gpu/drm/i915/i915_drv.h:__platform_mask_bit
Cyclomatic Complexity 1 drivers/gpu/drm/i915/i915_drv.h:intel_subplatform
Cyclomatic Complexity 4 drivers/gpu/drm/i915/i915_drv.h:IS_PLATFORM
Cyclomatic Complexity 10 drivers/gpu/drm/i915/i915_drv.h:IS_SUBPLATFORM
Cyclomatic Complexity 1 drivers/gpu/drm/i915/intel_drv.h:disable_rpm_wakeref_asserts
Cyclomatic Complexity 1 drivers/gpu/drm/i915/intel_drv.h:enable_rpm_wakeref_asserts
Cyclomatic Complexity 1 drivers/gpu/drm/i915/i915_drv.h:intel_vgpu_active
Cyclomatic Complexity 1 drivers/gpu/drm/i915/i915_drv.h:mkwrite_device_info
Cyclomatic Complexity 1 drivers/gpu/drm/i915/i915_vgpu.h:intel_vgpu_has_hwsp_emulation
Cyclomatic Complexity 4 drivers/gpu/drm/i915/i915_drv.c:intel_is_virt_pch
Cyclomatic Complexity 1 drivers/gpu/drm/i915/i915_drv.c:i915_switcheroo_can_switch
Cyclomatic Complexity 5 drivers/gpu/drm/i915/i915_drv.c:intel_init_dpio
Cyclomatic Complexity 1 drivers/gpu/drm/i915/i915_drv.c:intel_sanitize_options
Cyclomatic Complexity 2 drivers/gpu/drm/i915/i915_drv.c:intel_dimm_num_devices
Cyclomatic Complexity 1 drivers/gpu/drm/i915/i915_drv.c:skl_get_dimm_size
Cyclomatic Complexity 3 drivers/gpu/drm/i915/i915_drv.c:skl_get_dimm_ranks
Cyclomatic Complexity 1 drivers/gpu/drm/i915/i915_drv.c:cnl_get_dimm_size
Cyclomatic Complexity 3 drivers/gpu/drm/i915/i915_drv.c:cnl_get_dimm_ranks
Cyclomatic Complexity 2 drivers/gpu/drm/i915/i915_drv.c:skl_is_16gb_dimm
Cyclomatic Complexity 1 drivers/gpu/drm/i915/i915_drv.c:gen9_edram_size_mb
Cyclomatic Complexity 3 drivers/gpu/drm/i915/i915_drv.c:vlv_save_gunit_s0ix_state
Cyclomatic Complexity 3 drivers/gpu/drm/i915/i915_drv.c:vlv_restore_gunit_s0ix_state
Cyclomatic Complexity 1 drivers/gpu/drm/i915/i915_drv.c:i915_gem_reject_pin_ioctl
Cyclomatic Complexity 3 drivers/gpu/drm/i915/intel_device_info.h:sseu_subslice_total
Cyclomatic Complexity 4 include/linux/fb.h:alloc_apertures
Cyclomatic Complexity 4 drivers/gpu/drm/i915/i915_drv.c:intel_dram_type_str
Cyclomatic Complexity 7 include/linux/ktime.h:ktime_compare
Cyclomatic Complexity 1 include/linux/ktime.h:ktime_after
Cyclomatic Complexity 11 drivers/gpu/drm/i915/i915_drv.c:edram_detect
Cyclomatic Complexity 4 drivers/gpu/drm/i915/i915_drv.c:i915_engines_cleanup
Cyclomatic Complexity 1 include/linux/err.h:IS_ERR
Cyclomatic Complexity 3 include/linux/rcupdate.h:rcu_read_unlock_sched_notrace
Cyclomatic Complexity 8 drivers/gpu/drm/i915/i915_drv.c:i915_driver_create
Cyclomatic Complexity 24 drivers/gpu/drm/i915/i915_drv.c:intel_virt_detect_pch
Cyclomatic Complexity 3 drivers/gpu/drm/i915/i915_drv.c:vlv_check_no_gt_access
Cyclomatic Complexity 56 drivers/gpu/drm/i915/i915_drv.c:i915_getparam_ioctl
Cyclomatic Complexity 1 drivers/gpu/drm/i915/i915_drv.c:i915_driver_lastclose
Cyclomatic Complexity 1 drivers/gpu/drm/i915/i915_drv.c:i915_driver_postclose
Cyclomatic Complexity 4 drivers/gpu/drm/i915/i915_drv.c:i915_driver_open
Cyclomatic Complexity 1 drivers/gpu/drm/i915/i915_drv.c:i915_workqueues_cleanup
Cyclomatic Complexity 7 drivers/gpu/drm/i915/i915_drv.c:i915_workqueues_init
Cyclomatic Complexity 82 drivers/gpu/drm/i915/i915_drv.c:intel_pch_type
Cyclomatic Complexity 8 drivers/gpu/drm/i915/i915_drv.c:bxt_get_dimm_size
Cyclomatic Complexity 3 drivers/gpu/drm/i915/i915_drv.c:bxt_get_dimm_width
Cyclomatic Complexity 7 drivers/gpu/drm/i915/i915_drv.c:bxt_get_dimm_ranks
Cyclomatic Complexity 1 drivers/gpu/drm/i915/i915_drv.c:bxt_get_dimm_info
Cyclomatic Complexity 9 drivers/gpu/drm/i915/i915_drv.c:bxt_get_dimm_type
Cyclomatic Complexity 31 drivers/gpu/drm/i915/i915_drv.c:bxt_get_dram_info
--
In file included from include/linux/cpu.h:17:0,
from include/linux/perf_event.h:50,
from drivers/gpu/drm/i915/i915_drv.h:44,
from drivers/gpu/drm/i915/i915_irq.c:40:
>> include/linux/node.h:227:13: error: 'node_random_migrate_stop' defined but not used [-Werror=unused-function]
static void node_random_migrate_stop(struct random_migrate_state *rm_state) {}
^~~~~~~~~~~~~~~~~~~~~~~~
Cyclomatic Complexity 5 include/linux/compiler.h:__read_once_size
Cyclomatic Complexity 5 include/linux/compiler.h:__write_once_size
Cyclomatic Complexity 1 include/linux/kasan-checks.h:kasan_check_read
Cyclomatic Complexity 1 include/linux/kasan-checks.h:kasan_check_write
Cyclomatic Complexity 1 arch/x86/include/asm/bitops.h:test_and_set_bit
Cyclomatic Complexity 1 arch/x86/include/asm/bitops.h:ffs
Cyclomatic Complexity 1 arch/x86/include/asm/bitops.h:fls
Cyclomatic Complexity 1 include/linux/log2.h:__ilog2_u32
Cyclomatic Complexity 3 include/linux/log2.h:is_power_of_2
Cyclomatic Complexity 1 arch/x86/include/asm/div64.h:mul_u32_u32
Cyclomatic Complexity 1 include/linux/list.h:INIT_LIST_HEAD
Cyclomatic Complexity 1 arch/x86/include/asm/atomic.h:arch_atomic_read
Cyclomatic Complexity 1 arch/x86/include/asm/atomic.h:arch_atomic_inc
Cyclomatic Complexity 1 arch/x86/include/asm/atomic.h:arch_atomic_dec
Cyclomatic Complexity 1 include/asm-generic/atomic-instrumented.h:atomic_read
Cyclomatic Complexity 1 include/asm-generic/atomic-instrumented.h:atomic_inc
Cyclomatic Complexity 1 include/asm-generic/atomic-instrumented.h:atomic_dec
Cyclomatic Complexity 1 include/linux/jump_label.h:static_key_count
Cyclomatic Complexity 3 include/linux/jump_label.h:static_key_false
Cyclomatic Complexity 9 arch/x86/include/asm/preempt.h:__preempt_count_add
Cyclomatic Complexity 1 arch/x86/include/asm/preempt.h:__preempt_count_dec_and_test
Cyclomatic Complexity 1 include/linux/rcupdate.h:rcu_read_lock_sched_notrace
Cyclomatic Complexity 1 include/linux/spinlock.h:spinlock_check
Cyclomatic Complexity 1 include/linux/spinlock.h:spin_lock
Cyclomatic Complexity 1 include/linux/spinlock.h:spin_lock_irq
Cyclomatic Complexity 1 include/linux/spinlock.h:spin_unlock
Cyclomatic Complexity 1 include/linux/spinlock.h:spin_unlock_irq
Cyclomatic Complexity 1 include/linux/spinlock.h:spin_unlock_irqrestore
Cyclomatic Complexity 1 include/linux/cpuidle.h:cpuidle_get_driver
Cyclomatic Complexity 1 include/linux/workqueue.h:__init_work
Cyclomatic Complexity 1 arch/x86/include/asm/io.h:readl
Cyclomatic Complexity 1 arch/x86/include/asm/io.h:writel
Cyclomatic Complexity 1 drivers/gpu/drm/i915/i915_reg.h:i915_mmio_reg_offset
Cyclomatic Complexity 1 drivers/gpu/drm/i915/intel_engine_types.h:intel_engine_needs_breadcrumb_tasklet
Cyclomatic Complexity 1 drivers/gpu/drm/i915/intel_uncore.h:__raw_uncore_read32
Cyclomatic Complexity 1 drivers/gpu/drm/i915/intel_uncore.h:intel_uncore_read16
Cyclomatic Complexity 1 drivers/gpu/drm/i915/intel_uncore.h:intel_uncore_read
Cyclomatic Complexity 1 drivers/gpu/drm/i915/intel_uncore.h:intel_uncore_read16_notrace
Cyclomatic Complexity 1 drivers/gpu/drm/i915/intel_uncore.h:intel_uncore_read_notrace
Cyclomatic Complexity 1 drivers/gpu/drm/i915/intel_uncore.h:intel_uncore_write16
Cyclomatic Complexity 1 drivers/gpu/drm/i915/intel_uncore.h:intel_uncore_write
Cyclomatic Complexity 1 drivers/gpu/drm/i915/intel_guc.h:intel_guc_to_host_event_handler
Cyclomatic Complexity 1 drivers/gpu/drm/i915/i915_drv.h:to_i915
Cyclomatic Complexity 1 drivers/gpu/drm/i915/i915_drv.h:__platform_mask_index
Cyclomatic Complexity 1 drivers/gpu/drm/i915/i915_drv.h:__platform_mask_bit
Cyclomatic Complexity 4 drivers/gpu/drm/i915/i915_drv.h:IS_PLATFORM
Cyclomatic Complexity 10 drivers/gpu/drm/i915/i915_drv.h:IS_SUBPLATFORM
Cyclomatic Complexity 1 include/drm/drm_crtc.h:drm_crtc_index
Cyclomatic Complexity 1 drivers/gpu/drm/i915/intel_drv.h:intel_get_crtc_for_pipe
Cyclomatic Complexity 1 drivers/gpu/drm/i915/intel_drv.h:gen6_sanitize_rps_pm_mask
Cyclomatic Complexity 1 drivers/gpu/drm/i915/intel_drv.h:intel_irqs_enabled
Cyclomatic Complexity 1 drivers/gpu/drm/i915/intel_drv.h:disable_rpm_wakeref_asserts
Cyclomatic Complexity 1 drivers/gpu/drm/i915/intel_drv.h:enable_rpm_wakeref_asserts
Cyclomatic Complexity 1 drivers/gpu/drm/i915/i915_irq.c:gen3_irq_reset
Cyclomatic Complexity 1 drivers/gpu/drm/i915/i915_irq.c:gen2_irq_reset
Cyclomatic Complexity 1 drivers/gpu/drm/i915/i915_irq.c:g4x_get_vblank_counter
Cyclomatic Complexity 5 drivers/gpu/drm/i915/i915_irq.c:gen11_port_hotplug_long_detect
Cyclomatic Complexity 4 drivers/gpu/drm/i915/i915_irq.c:bxt_port_hotplug_long_detect
Cyclomatic Complexity 3 drivers/gpu/drm/i915/i915_irq.c:icp_ddi_port_hotplug_long_detect
Cyclomatic Complexity 5 drivers/gpu/drm/i915/i915_irq.c:icp_tc_port_hotplug_long_detect
Cyclomatic Complexity 2 drivers/gpu/drm/i915/i915_irq.c:spt_port_hotplug2_long_detect
Cyclomatic Complexity 5 drivers/gpu/drm/i915/i915_irq.c:spt_port_hotplug_long_detect
Cyclomatic Complexity 2 drivers/gpu/drm/i915/i915_irq.c:ilk_port_hotplug_long_detect
Cyclomatic Complexity 4 drivers/gpu/drm/i915/i915_irq.c:pch_port_hotplug_long_detect
Cyclomatic Complexity 4 drivers/gpu/drm/i915/i915_irq.c:i9xx_port_hotplug_long_detect
Cyclomatic Complexity 2 drivers/gpu/drm/i915/i915_irq.c:i9xx_pipestat_irq_reset
Cyclomatic Complexity 1 drivers/gpu/drm/i915/i915_irq.c:gen8_master_intr_disable
Cyclomatic Complexity 1 drivers/gpu/drm/i915/i915_irq.c:gen8_master_intr_enable
Cyclomatic Complexity 1 drivers/gpu/drm/i915/i915_irq.c:gen11_master_intr_disable
Cyclomatic Complexity 1 drivers/gpu/drm/i915/i915_irq.c:gen11_master_intr_enable
Cyclomatic Complexity 1 drivers/gpu/drm/i915/i915_irq.c:gen8_gt_irq_reset
Cyclomatic Complexity 1 drivers/gpu/drm/i915/i915_irq.c:gen11_gt_irq_reset
Cyclomatic Complexity 3 drivers/gpu/drm/i915/i915_irq.c:ibx_hpd_detection_setup
Cyclomatic Complexity 1 drivers/gpu/drm/i915/i915_irq.c:icp_hpd_detection_setup
Cyclomatic Complexity 1 drivers/gpu/drm/i915/i915_irq.c:gen11_hpd_detection_setup
Cyclomatic Complexity 1 drivers/gpu/drm/i915/i915_irq.c:ilk_hpd_detection_setup
Cyclomatic Complexity 1 drivers/gpu/drm/i915/i915_irq.c:gen11_gt_irq_postinstall
Cyclomatic Complexity 1 drivers/gpu/drm/i915/i915_irq.c:i8xx_irq_reset
Cyclomatic Complexity 7 drivers/gpu/drm/i915/i915_irq.c:write_pm_imr
Cyclomatic Complexity 7 drivers/gpu/drm/i915/i915_irq.c:write_pm_ier
Cyclomatic Complexity 4 arch/x86/include/asm/div64.h:div_u64_rem
Cyclomatic Complexity 1 include/linux/math64.h:div_u64
Cyclomatic Complexity 2 drivers/gpu/drm/i915/i915_irq.c:__intel_get_crtc_scanline_from_timestamp
Cyclomatic Complexity 4 drivers/gpu/drm/i915/i915_irq.c:i9xx_error_irq_ack
Cyclomatic Complexity 6 drivers/gpu/drm/i915/i915_irq.c:i915_has_asle
Cyclomatic Complexity 7 drivers/gpu/drm/i915/i915_irq.c:i8xx_error_irq_ack
Cyclomatic Complexity 4 drivers/gpu/drm/i915/i915_irq.c:spt_hpd_detection_setup
Cyclomatic Complexity 4 drivers/gpu/drm/i915/i915_irq.c:gen5_gt_irq_reset
Cyclomatic Complexity 7 drivers/gpu/drm/i915/i915_irq.c:ibx_irq_reset
Cyclomatic Complexity 6 drivers/gpu/drm/i915/i915_irq.c:ironlake_irq_reset
Cyclomatic Complexity 5 drivers/gpu/drm/i915/i915_irq.c:intel_hpd_enabled_irqs
Cyclomatic Complexity 9 drivers/gpu/drm/i915/i915_irq.c:gen8_de_port_aux_mask
Cyclomatic Complexity 4 drivers/gpu/drm/i915/i915_irq.c:gen9_guc_irq_handler
Cyclomatic Complexity 8 drivers/gpu/drm/i915/i915_irq.c:i915_get_vblank_counter
Cyclomatic Complexity 3 include/linux/rcupdate.h:rcu_read_unlock_sched_notrace
Cyclomatic Complexity 21 drivers/gpu/drm/i915/i915_irq.c:gen8_gt_irq_ack
Cyclomatic Complexity 6 drivers/gpu/drm/i915/i915_irq.c:gen11_gu_misc_irq_ack
Cyclomatic Complexity 10 drivers/gpu/drm/i915/i915_irq.c:gen6_pm_iir
--
In file included from include/linux/cpu.h:17:0,
from include/linux/perf_event.h:50,
from drivers/gpu/drm/i915/i915_drv.h:44,
from drivers/gpu/drm/i915/i915_memcpy.c:28:
>> include/linux/node.h:227:13: error: 'node_random_migrate_stop' defined but not used [-Werror=unused-function]
static void node_random_migrate_stop(struct random_migrate_state *rm_state) {}
^~~~~~~~~~~~~~~~~~~~~~~~
Cyclomatic Complexity 5 include/linux/compiler.h:__read_once_size
Cyclomatic Complexity 5 include/linux/compiler.h:__write_once_size
Cyclomatic Complexity 1 include/linux/kasan-checks.h:kasan_check_read
Cyclomatic Complexity 1 include/linux/kasan-checks.h:kasan_check_write
Cyclomatic Complexity 1 arch/x86/include/asm/bitops.h:constant_test_bit
Cyclomatic Complexity 1 arch/x86/include/asm/atomic.h:arch_atomic_read
Cyclomatic Complexity 1 arch/x86/include/asm/atomic.h:arch_atomic_set
Cyclomatic Complexity 1 include/asm-generic/atomic-instrumented.h:atomic_read
Cyclomatic Complexity 1 include/asm-generic/atomic-instrumented.h:atomic_set
Cyclomatic Complexity 1 include/linux/jump_label.h:static_key_count
Cyclomatic Complexity 3 arch/x86/include/asm/cpufeature.h:_static_cpu_has
Cyclomatic Complexity 3 drivers/gpu/drm/i915/i915_memcpy.c:__memcpy_ntdqa
Cyclomatic Complexity 7 include/linux/jump_label.h:static_key_enable
Cyclomatic Complexity 7 drivers/gpu/drm/i915/i915_memcpy.c:i915_memcpy_from_wc
Cyclomatic Complexity 4 drivers/gpu/drm/i915/i915_memcpy.c:i915_memcpy_init_early
cc1: all warnings being treated as errors
--
In file included from include/linux/cpu.h:17:0,
from include/linux/perf_event.h:50,
from drivers/gpu/drm/i915/i915_drv.h:44,
from drivers/gpu/drm/i915/i915_mm.c:30:
>> include/linux/node.h:227:13: error: 'node_random_migrate_stop' defined but not used [-Werror=unused-function]
static void node_random_migrate_stop(struct random_migrate_state *rm_state) {}
^~~~~~~~~~~~~~~~~~~~~~~~
Cyclomatic Complexity 1 arch/x86/include/asm/pgtable_types.h:native_make_pte
Cyclomatic Complexity 1 arch/x86/include/asm/pgtable_types.h:native_pte_val
Cyclomatic Complexity 1 arch/x86/include/asm/pgtable.h:pte_set_flags
Cyclomatic Complexity 1 arch/x86/include/asm/pgtable.h:pte_mkspecial
Cyclomatic Complexity 1 arch/x86/include/asm/pgtable-3level.h:native_set_pte
Cyclomatic Complexity 3 arch/x86/include/asm/pgtable-invert.h:__pte_needs_invert
Cyclomatic Complexity 2 arch/x86/include/asm/pgtable-invert.h:protnone_mask
Cyclomatic Complexity 1 arch/x86/include/asm/pgtable.h:native_set_pte_at
Cyclomatic Complexity 4 arch/x86/include/asm/pgtable.h:massage_pgprot
Cyclomatic Complexity 9 arch/x86/include/asm/pgtable.h:check_pgprot
Cyclomatic Complexity 1 arch/x86/include/asm/pgtable.h:pfn_pte
Cyclomatic Complexity 1 drivers/gpu/drm/i915/i915_mm.c:remap_pfn
Cyclomatic Complexity 3 drivers/gpu/drm/i915/i915_mm.c:remap_io_mapping
cc1: all warnings being treated as errors
--
In file included from include/linux/cpu.h:17:0,
from include/linux/perf_event.h:50,
from drivers/gpu/drm/i915/i915_drv.h:44,
from drivers/gpu/drm/i915/i915_params.c:28:
>> include/linux/node.h:227:13: error: 'node_random_migrate_stop' defined but not used [-Werror=unused-function]
static void node_random_migrate_stop(struct random_migrate_state *rm_state) {}
^~~~~~~~~~~~~~~~~~~~~~~~
Cyclomatic Complexity 2 drivers/gpu/drm/i915/i915_utils.h:yesno
Cyclomatic Complexity 21 drivers/gpu/drm/i915/i915_params.c:_print_param
Cyclomatic Complexity 4 drivers/gpu/drm/i915/i915_params.c:dup_param
Cyclomatic Complexity 4 drivers/gpu/drm/i915/i915_params.c:free_param
Cyclomatic Complexity 1 drivers/gpu/drm/i915/i915_params.c:i915_params_dump
Cyclomatic Complexity 1 drivers/gpu/drm/i915/i915_params.c:i915_params_copy
Cyclomatic Complexity 1 drivers/gpu/drm/i915/i915_params.c:i915_params_free
cc1: all warnings being treated as errors
--
In file included from include/linux/cpu.h:17:0,
from include/linux/perf_event.h:50,
from drivers/gpu/drm/i915/i915_drv.h:44,
from drivers/gpu/drm/i915/i915_pci.c:31:
>> include/linux/node.h:227:13: error: 'node_random_migrate_stop' defined but not used [-Werror=unused-function]
static void node_random_migrate_stop(struct random_migrate_state *rm_state) {}
^~~~~~~~~~~~~~~~~~~~~~~~
Cyclomatic Complexity 1 include/linux/console.h:vgacon_text_force
Cyclomatic Complexity 1 include/linux/device.h:dev_get_drvdata
Cyclomatic Complexity 1 include/linux/device.h:dev_set_drvdata
Cyclomatic Complexity 1 include/linux/pci.h:pci_get_drvdata
Cyclomatic Complexity 1 include/linux/pci.h:pci_set_drvdata
Cyclomatic Complexity 4 drivers/gpu/drm/i915/i915_pci.c:i915_pci_remove
Cyclomatic Complexity 23 drivers/gpu/drm/i915/i915_pci.c:i915_pci_probe
Cyclomatic Complexity 16 drivers/gpu/drm/i915/i915_pci.c:i915_init
Cyclomatic Complexity 4 drivers/gpu/drm/i915/i915_pci.c:i915_exit
cc1: all warnings being treated as errors
..
vim +/node_random_migrate_stop +227 include/linux/node.h
223
224 static inline void node_random_migrate_start(struct pglist_data *pgdat,
225 struct random_migrate_state *rm_state) {}
226
> 227 static void node_random_migrate_stop(struct random_migrate_state *rm_state) {}
228
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
1 year, 4 months
[yhuang:random-r0.1i 29/42] node.c:undefined reference to `node_random_migrate_start'
by kbuild test robot
tree: yhuang/random-r0.1i
head: d8a224e04a0b1632b045d1121c6e95f521ec3ca9
commit: 77c411004cf0f7460664c307303f09026cfe82a8 [29/42] mm: Identify hot pages via randomly sampling + idle page tracking
config: arm64-defconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 7.4.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 77c411004cf0f7460664c307303f09026cfe82a8
# save the attached .config to linux build tree
GCC_VERSION=7.4.0 make.cross ARCH=arm64
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
mm/page_alloc.o: In function `free_area_init_node':
page_alloc.c:(.init.text+0xb80): undefined reference to `node_random_promote_select_work'
page_alloc.c:(.init.text+0xb80): relocation truncated to fit: R_AARCH64_ADR_PREL_PG_HI21 against undefined symbol `node_random_promote_select_work'
page_alloc.c:(.init.text+0xb88): undefined reference to `node_random_promote_select_work'
page_alloc.c:(.init.text+0xbd0): undefined reference to `node_random_promote_check_work'
page_alloc.c:(.init.text+0xbd0): relocation truncated to fit: R_AARCH64_ADR_PREL_PG_HI21 against undefined symbol `node_random_promote_check_work'
page_alloc.c:(.init.text+0xbd4): undefined reference to `node_random_promote_check_work'
page_alloc.c:(.init.text+0xc00): undefined reference to `node_random_demote_work'
page_alloc.c:(.init.text+0xc00): relocation truncated to fit: R_AARCH64_ADR_PREL_PG_HI21 against undefined symbol `node_random_demote_work'
page_alloc.c:(.init.text+0xc08): undefined reference to `node_random_demote_work'
drivers/base/node.o: In function `random_demote_period_ms_store':
node.c:(.text+0x404): undefined reference to `node_random_demote_start'
node.c:(.text+0x404): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `node_random_demote_start'
node.c:(.text+0x414): undefined reference to `node_random_demote_stop'
node.c:(.text+0x414): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `node_random_demote_stop'
drivers/base/node.o: In function `random_demote_mb_store':
node.c:(.text+0x54c): undefined reference to `node_random_migrate_pages'
node.c:(.text+0x54c): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `node_random_migrate_pages'
node.c:(.text+0x55c): undefined reference to `node_random_demote_stop'
node.c:(.text+0x55c): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `node_random_demote_stop'
node.c:(.text+0x56c): undefined reference to `node_random_demote_start'
node.c:(.text+0x56c): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `node_random_demote_start'
drivers/base/node.o: In function `random_promote_period_ms_store':
>> node.c:(.text+0x6b8): undefined reference to `node_random_migrate_start'
node.c:(.text+0x6b8): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `node_random_migrate_start'
>> node.c:(.text+0x6c4): undefined reference to `node_random_migrate_stop'
node.c:(.text+0x6c4): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `node_random_migrate_stop'
drivers/base/node.o: In function `random_promote_mb_store':
node.c:(.text+0x80c): undefined reference to `node_random_migrate_pages'
node.c:(.text+0x80c): additional relocation overflows omitted from the output
node.c:(.text+0x83c): undefined reference to `node_random_migrate_stop'
node.c:(.text+0x858): undefined reference to `node_random_migrate_start'
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
1 year, 4 months
[feng:hmem_pagecache_write_fault 18/21] mm/memory.c:3620:2: error: implicit declaration of function 'promote_page'; did you mean 'pte_page'?
by kbuild test robot
tree: feng/hmem_pagecache_write_fault
head: 781ec3e77078cdd52cd383816f614729df366f6c
commit: 15ab94e831c25a58fafb0befc531f1af18168897 [18/21] mm/migrate: promote pagecache page on write page fault
config: i386-tinyconfig (attached as .config)
compiler: gcc-7 (Debian 7.4.0-13) 7.4.0
reproduce:
git checkout 15ab94e831c25a58fafb0befc531f1af18168897
# save the attached .config to linux build tree
make ARCH=i386
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
mm/memory.c: In function 'do_shared_fault':
>> mm/memory.c:3620:2: error: implicit declaration of function 'promote_page'; did you mean 'pte_page'? [-Werror=implicit-function-declaration]
promote_page(vmf->page, 0);
^~~~~~~~~~~~
pte_page
cc1: some warnings being treated as errors
vim +3620 mm/memory.c
3585
3586 static vm_fault_t do_shared_fault(struct vm_fault *vmf)
3587 {
3588 struct vm_area_struct *vma = vmf->vma;
3589 vm_fault_t ret, tmp;
3590
3591 ret = __do_fault(vmf);
3592 if (unlikely(ret & (VM_FAULT_ERROR | VM_FAULT_NOPAGE | VM_FAULT_RETRY)))
3593 return ret;
3594
3595 /*
3596 * Check if the backing address space wants to know that the page is
3597 * about to become writable
3598 */
3599 if (vma->vm_ops->page_mkwrite) {
3600 unlock_page(vmf->page);
3601 tmp = do_page_mkwrite(vmf);
3602 if (unlikely(!tmp ||
3603 (tmp & (VM_FAULT_ERROR | VM_FAULT_NOPAGE)))) {
3604 put_page(vmf->page);
3605 return tmp;
3606 }
3607 }
3608
3609 ret |= finish_fault(vmf);
3610 if (unlikely(ret & (VM_FAULT_ERROR | VM_FAULT_NOPAGE |
3611 VM_FAULT_RETRY))) {
3612 unlock_page(vmf->page);
3613 put_page(vmf->page);
3614 return ret;
3615 }
3616
3617 fault_dirty_shared_page(vma, vmf->page);
3618
3619 get_page(vmf->page);
> 3620 promote_page(vmf->page, 0);
3621 put_page(vmf->page);
3622
3623 return ret;
3624 }
3625
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
1 year, 4 months
[feng:hmem_ying 15/23] vmscan.c:undefined reference to `migrate_balanced_pgdat'
by kbuild test robot
Hi Feng,
FYI, the error/warning still remains.
tree: feng/hmem_ying
head: be9181f721ee059b14330c448bcd99967fd83f40
commit: 8adcde2ede2b1f63a20089bade3fa83c9a0f9b42 [15/23] Import Ying's autonuma patch for pmbench test
config: i386-tinyconfig (attached as .config)
compiler: gcc-7 (Debian 7.4.0-13) 7.4.0
reproduce:
git checkout 8adcde2ede2b1f63a20089bade3fa83c9a0f9b42
# save the attached .config to linux build tree
make ARCH=i386
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
ld: mm/vmscan.o: in function `kswapd':
>> vmscan.c:(.text+0x21e8): undefined reference to `migrate_balanced_pgdat'
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
1 year, 4 months
[yhuang:random-r0.1i 28/42] page_alloc.c:undefined reference to `node_random_demote_work'
by kbuild test robot
tree: yhuang/random-r0.1i
head: d8a224e04a0b1632b045d1121c6e95f521ec3ca9
commit: 9b0fb2ba67b55a7801da8b9f4339c7026a0ebda9 [28/42] mm: Support to demote to slow memory node randomly and periodically
config: arm64-defconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 7.4.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 9b0fb2ba67b55a7801da8b9f4339c7026a0ebda9
# save the attached .config to linux build tree
GCC_VERSION=7.4.0 make.cross ARCH=arm64
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
mm/page_alloc.o: In function `free_area_init_node':
page_alloc.c:(.init.text+0xb80): undefined reference to `node_random_promote_work'
page_alloc.c:(.init.text+0xb80): relocation truncated to fit: R_AARCH64_ADR_PREL_PG_HI21 against undefined symbol `node_random_promote_work'
page_alloc.c:(.init.text+0xb88): undefined reference to `node_random_promote_work'
>> page_alloc.c:(.init.text+0xbd0): undefined reference to `node_random_demote_work'
page_alloc.c:(.init.text+0xbd0): relocation truncated to fit: R_AARCH64_ADR_PREL_PG_HI21 against undefined symbol `node_random_demote_work'
page_alloc.c:(.init.text+0xbd4): undefined reference to `node_random_demote_work'
drivers/base/node.o: In function `random_demote_period_ms_store':
node.c:(.text+0x404): undefined reference to `node_random_demote_start'
node.c:(.text+0x404): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `node_random_demote_start'
node.c:(.text+0x414): undefined reference to `node_random_demote_stop'
node.c:(.text+0x414): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `node_random_demote_stop'
drivers/base/node.o: In function `random_demote_mb_store':
node.c:(.text+0x54c): undefined reference to `node_random_migrate_pages'
node.c:(.text+0x54c): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `node_random_migrate_pages'
node.c:(.text+0x55c): undefined reference to `node_random_demote_stop'
node.c:(.text+0x55c): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `node_random_demote_stop'
node.c:(.text+0x56c): undefined reference to `node_random_demote_start'
node.c:(.text+0x56c): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `node_random_demote_start'
drivers/base/node.o: In function `random_promote_period_ms_store':
node.c:(.text+0x6a4): undefined reference to `node_random_promote_start'
node.c:(.text+0x6a4): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `node_random_promote_start'
node.c:(.text+0x6b4): undefined reference to `node_random_promote_stop'
node.c:(.text+0x6b4): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `node_random_promote_stop'
drivers/base/node.o: In function `random_promote_mb_store':
node.c:(.text+0x7e4): undefined reference to `node_random_migrate_pages'
node.c:(.text+0x7e4): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `node_random_migrate_pages'
node.c:(.text+0x7f4): undefined reference to `node_random_promote_stop'
node.c:(.text+0x7f4): additional relocation overflows omitted from the output
node.c:(.text+0x804): undefined reference to `node_random_promote_start'
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
1 year, 4 months
[yhuang:random-r0.1i 27/42] page_alloc.c:undefined reference to `node_random_promote_work'
by kbuild test robot
tree: yhuang/random-r0.1i
head: d8a224e04a0b1632b045d1121c6e95f521ec3ca9
commit: 16178d86a313a3cc31ea2b5aaaeb2f6230a4fdc0 [27/42] mm: Support to promote to fast memory node randomly and periodically
config: arm64-defconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 7.4.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 16178d86a313a3cc31ea2b5aaaeb2f6230a4fdc0
# save the attached .config to linux build tree
GCC_VERSION=7.4.0 make.cross ARCH=arm64
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
mm/page_alloc.o: In function `free_area_init_node':
>> page_alloc.c:(.init.text+0xb90): undefined reference to `node_random_promote_work'
page_alloc.c:(.init.text+0xb90): relocation truncated to fit: R_AARCH64_ADR_PREL_PG_HI21 against undefined symbol `node_random_promote_work'
page_alloc.c:(.init.text+0xb94): undefined reference to `node_random_promote_work'
drivers/base/node.o: In function `random_demote_mb_store':
node.c:(.text+0x380): undefined reference to `node_random_migrate_pages'
node.c:(.text+0x380): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `node_random_migrate_pages'
drivers/base/node.o: In function `random_promote_mb_store':
node.c:(.text+0x4c4): undefined reference to `node_random_migrate_pages'
node.c:(.text+0x4c4): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `node_random_migrate_pages'
node.c:(.text+0x4d4): undefined reference to `node_random_promote_stop'
node.c:(.text+0x4d4): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `node_random_promote_stop'
node.c:(.text+0x4e4): undefined reference to `node_random_promote_start'
node.c:(.text+0x4e4): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `node_random_promote_start'
drivers/base/node.o: In function `random_promote_period_ms_store':
node.c:(.text+0x61c): undefined reference to `node_random_promote_start'
node.c:(.text+0x61c): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `node_random_promote_start'
node.c:(.text+0x62c): undefined reference to `node_random_promote_stop'
node.c:(.text+0x62c): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `node_random_promote_stop'
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
1 year, 4 months