undefined reference to `__trace_hardirqs_on'
by kbuild test robot
Hi Mike,
It's probably a bug fix that unveils the link errors.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 458ef2a25e0cbdc216012aa2b9cf549d64133b08
commit: 4f0bd808134d73184054ad09173821c84f31dd5d asm-generic/nds32: don't redefine cacheflush primitives
date: 3 months ago
config: nds32-randconfig-a001-20200331 (attached as .config)
compiler: nds32le-linux-gcc (GCC) 9.3.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 4f0bd808134d73184054ad09173821c84f31dd5d
# save the attached .config to linux build tree
GCC_VERSION=9.3.0 make.cross ARCH=nds32
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
nds32le-linux-ld: arch/nds32/kernel/ex-entry.o: in function `fucop_ctl_done':
(.text+0x11e): undefined reference to `__trace_hardirqs_off'
(.text+0x11e): relocation truncated to fit: R_NDS32_25_PCREL_RELA against undefined symbol `__trace_hardirqs_off'
nds32le-linux-ld: arch/nds32/kernel/ex-exit.o: in function `no_work_pending':
(.text+0xd6): undefined reference to `__trace_hardirqs_off'
nds32le-linux-ld: (.text+0xda): undefined reference to `__trace_hardirqs_off'
nds32le-linux-ld: nds32le-linux-ld: DWARF error: found dwarf version '22100', this reader only handles version 2, 3, 4 and 5 information
>> (.text+0xde): undefined reference to `__trace_hardirqs_on'
nds32le-linux-ld: (.text+0xe2): undefined reference to `__trace_hardirqs_on'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
11 months
[lunn:v5.6-rc5-net-next-cable-test 16/18] cabletest.c:undefined reference to `phy_start_cable_test_tdr'
by kbuild test robot
tree: https://github.com/lunn/linux.git v5.6-rc5-net-next-cable-test
head: d40cd4e4239717c2f25246cbd55ab3db57135c60
commit: b0fb2acc793f157e172b3421184b9c177f6481b1 [16/18] net: ethtool: Add generic parts of cable test TDR
config: m68k-allmodconfig (attached as .config)
compiler: m68k-linux-gcc (GCC) 9.3.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 b0fb2acc793f157e172b3421184b9c177f6481b1
# save the attached .config to linux build tree
GCC_VERSION=9.3.0 make.cross ARCH=m68k
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
m68k-linux-ld: net/ethtool/cabletest.o: in function `ethnl_act_cable_test':
cabletest.c:(.text+0x3b4): undefined reference to `phy_start_cable_test'
m68k-linux-ld: cabletest.c:(.text+0x3de): undefined reference to `phy_start_cable_test'
m68k-linux-ld: net/ethtool/cabletest.o: in function `ethnl_act_cable_test_tdr':
>> cabletest.c:(.text+0x50a): undefined reference to `phy_start_cable_test_tdr'
>> m68k-linux-ld: cabletest.c:(.text+0x534): undefined reference to `phy_start_cable_test_tdr'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
11 months
Re: [PATCH v8 80/81] KVM: introspection: emulate a guest page table walk on SPT violations due to A/D bit updates
by kbuild test robot
Hi "Adalbert,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on drm-intel/for-linux-next]
[also build test ERROR on linus/master v5.6]
[cannot apply to kvm/linux-next vhost/linux-next next-20200330]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]
url: https://github.com/0day-ci/linux/commits/Adalbert-Laz-r/VM-introspection/...
base: git://anongit.freedesktop.org/drm-intel for-linux-next
config: x86_64-lkp (attached as .config)
compiler: gcc-7 (Debian 7.4.0-6) 7.4.0
reproduce:
# 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: arch/x86/../../virt/kvm/coalesced_mmio.o: in function `kvmi_update_ad_flags':
>> arch/x86/include/asm/kvmi_host.h:87: multiple definition of `kvmi_update_ad_flags'; arch/x86/../../virt/kvm/kvm_main.o:arch/x86/include/asm/kvmi_host.h:87: first defined here
ld: arch/x86/../../virt/kvm/eventfd.o: in function `kvmi_update_ad_flags':
>> arch/x86/include/asm/kvmi_host.h:87: multiple definition of `kvmi_update_ad_flags'; arch/x86/../../virt/kvm/kvm_main.o:arch/x86/include/asm/kvmi_host.h:87: first defined here
ld: arch/x86/../../virt/kvm/irqchip.o: in function `kvmi_update_ad_flags':
>> arch/x86/include/asm/kvmi_host.h:87: multiple definition of `kvmi_update_ad_flags'; arch/x86/../../virt/kvm/kvm_main.o:arch/x86/include/asm/kvmi_host.h:87: first defined here
ld: arch/x86/../../virt/kvm/vfio.o: in function `kvmi_update_ad_flags':
>> arch/x86/include/asm/kvmi_host.h:87: multiple definition of `kvmi_update_ad_flags'; arch/x86/../../virt/kvm/kvm_main.o:arch/x86/include/asm/kvmi_host.h:87: first defined here
ld: arch/x86/../../virt/kvm/async_pf.o: in function `kvmi_update_ad_flags':
>> arch/x86/include/asm/kvmi_host.h:87: multiple definition of `kvmi_update_ad_flags'; arch/x86/../../virt/kvm/kvm_main.o:arch/x86/include/asm/kvmi_host.h:87: first defined here
ld: arch/x86/kvm/x86.o: in function `kvmi_update_ad_flags':
>> arch/x86/include/asm/kvmi_host.h:87: multiple definition of `kvmi_update_ad_flags'; arch/x86/../../virt/kvm/kvm_main.o:arch/x86/include/asm/kvmi_host.h:87: first defined here
ld: arch/x86/kvm/emulate.o: in function `kvmi_update_ad_flags':
>> arch/x86/include/asm/kvmi_host.h:87: multiple definition of `kvmi_update_ad_flags'; arch/x86/../../virt/kvm/kvm_main.o:arch/x86/include/asm/kvmi_host.h:87: first defined here
ld: arch/x86/kvm/i8259.o: in function `kvmi_update_ad_flags':
>> arch/x86/include/asm/kvmi_host.h:87: multiple definition of `kvmi_update_ad_flags'; arch/x86/../../virt/kvm/kvm_main.o:arch/x86/include/asm/kvmi_host.h:87: first defined here
ld: arch/x86/kvm/irq.o: in function `kvmi_update_ad_flags':
>> arch/x86/include/asm/kvmi_host.h:87: multiple definition of `kvmi_update_ad_flags'; arch/x86/../../virt/kvm/kvm_main.o:arch/x86/include/asm/kvmi_host.h:87: first defined here
ld: arch/x86/kvm/lapic.o: in function `kvmi_update_ad_flags':
>> arch/x86/include/asm/kvmi_host.h:87: multiple definition of `kvmi_update_ad_flags'; arch/x86/../../virt/kvm/kvm_main.o:arch/x86/include/asm/kvmi_host.h:87: first defined here
ld: arch/x86/kvm/i8254.o: in function `kvmi_update_ad_flags':
>> arch/x86/include/asm/kvmi_host.h:87: multiple definition of `kvmi_update_ad_flags'; arch/x86/../../virt/kvm/kvm_main.o:arch/x86/include/asm/kvmi_host.h:87: first defined here
ld: arch/x86/kvm/ioapic.o: in function `kvmi_update_ad_flags':
>> arch/x86/include/asm/kvmi_host.h:87: multiple definition of `kvmi_update_ad_flags'; arch/x86/../../virt/kvm/kvm_main.o:arch/x86/include/asm/kvmi_host.h:87: first defined here
ld: arch/x86/kvm/irq_comm.o: in function `kvmi_update_ad_flags':
>> arch/x86/include/asm/kvmi_host.h:87: multiple definition of `kvmi_update_ad_flags'; arch/x86/../../virt/kvm/kvm_main.o:arch/x86/include/asm/kvmi_host.h:87: first defined here
ld: arch/x86/kvm/cpuid.o: in function `kvmi_update_ad_flags':
>> arch/x86/include/asm/kvmi_host.h:87: multiple definition of `kvmi_update_ad_flags'; arch/x86/../../virt/kvm/kvm_main.o:arch/x86/include/asm/kvmi_host.h:87: first defined here
ld: arch/x86/kvm/pmu.o: in function `kvmi_update_ad_flags':
>> arch/x86/include/asm/kvmi_host.h:87: multiple definition of `kvmi_update_ad_flags'; arch/x86/../../virt/kvm/kvm_main.o:arch/x86/include/asm/kvmi_host.h:87: first defined here
ld: arch/x86/kvm/mtrr.o: in function `kvmi_update_ad_flags':
>> arch/x86/include/asm/kvmi_host.h:87: multiple definition of `kvmi_update_ad_flags'; arch/x86/../../virt/kvm/kvm_main.o:arch/x86/include/asm/kvmi_host.h:87: first defined here
ld: arch/x86/kvm/hyperv.o: in function `kvmi_update_ad_flags':
>> arch/x86/include/asm/kvmi_host.h:87: multiple definition of `kvmi_update_ad_flags'; arch/x86/../../virt/kvm/kvm_main.o:arch/x86/include/asm/kvmi_host.h:87: first defined here
ld: arch/x86/kvm/debugfs.o: in function `kvmi_update_ad_flags':
>> arch/x86/include/asm/kvmi_host.h:87: multiple definition of `kvmi_update_ad_flags'; arch/x86/../../virt/kvm/kvm_main.o:arch/x86/include/asm/kvmi_host.h:87: first defined here
ld: arch/x86/kvm/mmu/mmu.o: in function `kvmi_update_ad_flags':
>> arch/x86/include/asm/kvmi_host.h:87: multiple definition of `kvmi_update_ad_flags'; arch/x86/../../virt/kvm/kvm_main.o:arch/x86/include/asm/kvmi_host.h:87: first defined here
ld: arch/x86/kvm/mmu/page_track.o: in function `kvmi_update_ad_flags':
>> arch/x86/include/asm/kvmi_host.h:87: multiple definition of `kvmi_update_ad_flags'; arch/x86/../../virt/kvm/kvm_main.o:arch/x86/include/asm/kvmi_host.h:87: first defined here
ld: arch/x86/kvm/vmx/vmx.o: in function `kvmi_update_ad_flags':
arch/x86/include/asm/kvmi_host.h:87: multiple definition of `kvmi_update_ad_flags'; arch/x86/../../virt/kvm/kvm_main.o:arch/x86/include/asm/kvmi_host.h:87: first defined here
ld: arch/x86/kvm/vmx/pmu_intel.o: in function `kvmi_update_ad_flags':
arch/x86/include/asm/kvmi_host.h:87: multiple definition of `kvmi_update_ad_flags'; arch/x86/../../virt/kvm/kvm_main.o:arch/x86/include/asm/kvmi_host.h:87: first defined here
ld: arch/x86/kvm/vmx/vmcs12.o: in function `kvmi_update_ad_flags':
arch/x86/include/asm/kvmi_host.h:87: multiple definition of `kvmi_update_ad_flags'; arch/x86/../../virt/kvm/kvm_main.o:arch/x86/include/asm/kvmi_host.h:87: first defined here
ld: arch/x86/kvm/vmx/evmcs.o: in function `kvmi_update_ad_flags':
arch/x86/include/asm/kvmi_host.h:87: multiple definition of `kvmi_update_ad_flags'; arch/x86/../../virt/kvm/kvm_main.o:arch/x86/include/asm/kvmi_host.h:87: first defined here
ld: arch/x86/kvm/vmx/nested.o: in function `kvmi_update_ad_flags':
arch/x86/include/asm/kvmi_host.h:87: multiple definition of `kvmi_update_ad_flags'; arch/x86/../../virt/kvm/kvm_main.o:arch/x86/include/asm/kvmi_host.h:87: first defined here
vim +87 arch/x86/include/asm/kvmi_host.h
67
68 static inline bool kvmi_monitor_bp_intercept(struct kvm_vcpu *vcpu, u32 dbg)
69 { return false; }
70 static inline bool kvmi_cr_event(struct kvm_vcpu *vcpu, unsigned int cr,
71 unsigned long old_value,
72 unsigned long *new_value) { return true; }
73 static inline bool kvmi_cr3_intercepted(struct kvm_vcpu *vcpu) { return false; }
74 static inline bool kvmi_monitor_cr3w_intercept(struct kvm_vcpu *vcpu,
75 bool enable) { return false; }
76 static inline void kvmi_xsetbv_event(struct kvm_vcpu *vcpu) { }
77 static inline bool kvmi_monitor_desc_intercept(struct kvm_vcpu *vcpu,
78 bool enable) { return false; }
79 static inline bool kvmi_descriptor_event(struct kvm_vcpu *vcpu, u8 descriptor,
80 bool write) { return true; }
81 static inline bool kvmi_msr_event(struct kvm_vcpu *vcpu, struct msr_data *msr)
82 { return true; }
83 static inline bool kvmi_monitor_msrw_intercept(struct kvm_vcpu *vcpu, u32 msr,
84 bool enable) { return false; }
85 static inline bool kvmi_msrw_intercept_originator(struct kvm_vcpu *vcpu)
86 { return false; }
> 87 bool kvmi_update_ad_flags(struct kvm_vcpu *vcpu) { return false; }
88
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
11 months
Re: ld.lld: error: drivers/staging/rtl8192e/rtllib_wx.o:(.rodata.str1.1): offset is outside the section
by Philip Li
On Mon, Mar 30, 2020 at 02:34:06PM -0700, Nathan Chancellor wrote:
> On Mon, Mar 30, 2020 at 02:21:20PM -0700, 'Nick Desaulniers' via Clang Built Linux wrote:
> > Apologies, we're in the process of getting LLD turned on. These
> > warnings look new to me, so I'll file an issue to follow up on. It's
> > unrelated to the yyloc change.
> > https://github.com/ClangBuiltLinux/linux/issues/959
>
> $ gzip -d .config.gz
>
> $ rg ENDIAN .config
> 781:CONFIG_CPU_BIG_ENDIAN=y
> 782:CONFIG_CPU_ENDIAN_BE8=y
> 810:CONFIG_ARCH_SUPPORTS_BIG_ENDIAN=y
> 1112:CONFIG_VHOST_CROSS_ENDIAN_LEGACY=y
> 7875:CONFIG_FB_FOREIGN_ENDIAN=y
> 7876:CONFIG_FB_BOTH_ENDIAN=y
> 7877:# CONFIG_FB_BIG_ENDIAN is not set
> 7878:# CONFIG_FB_LITTLE_ENDIAN is not set
> 9047:CONFIG_USB_OHCI_LITTLE_ENDIAN=y
>
> ld.lld does not support AArch64 or ARM big endian:
got it, we will update build logic to keep lld where it suits.
>
> https://reviews.llvm.org/D58655#1410281
>
> https://github.com/ClangBuiltLinux/linux/issues/380
>
> Does 0day do an allyesconfig little endian? I know that arm64 defaults
currently no, the default arm allyes uses CONFIG_CPU_BIG_ENDIAN=y.
> to little endian after commit d8e85e144bbe ("arm64: Kconfig: add a
> choice for endianness") but arm does not have something like that (maybe
> it should?). I've always forced CONFIG_CPU_LITTLE_ENDIAN with the
> KCONFIG_ALLCONFIG variable, as I note in issue #380 above.
>
> Kind of surprised that it got to drivers/staging though, I error out in
> arch/arm/vdso/Makefile:
>
> $ mkdir -p out/arm32 && curl -LSs 'https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org/message/V6YP...' | gzip -d > out/arm32/.config
>
> $ make -j$(nproc) -s ARCH=arm CC=clang CROSS_COMPILE=arm-linux-gnueabi- LD=ld.lld O=out/arm32 olddefconfig all
> ld.lld: error: unknown argument: --be8
> make[3]: *** [/home/nathan/src/linux/arch/arm/vdso/Makefile:50: arch/arm/vdso/vdso.so.raw] Error 1
>
> > On Mon, Mar 30, 2020 at 2:17 PM kbuild test robot <lkp(a)intel.com> wrote:
> > >
> > > Hi Dirk,
> > >
> > > First bad commit (maybe != root cause):
> > >
> > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> > > head: 7111951b8d4973bda27ff663f2cf18b663d15b48
> > > commit: e33a814e772cdc36436c8c188d8c42d019fda639 scripts/dtc: Remove redundant YYLOC global declaration
> > > date: 3 days ago
> > > config: arm-allyesconfig (attached as .config)
> > > compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project b4695351cb4ce1c4450a029a0c226dc8bb5f5d55)
> > > reproduce:
> > > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
> > > chmod +x ~/bin/make.cross
> > > git checkout e33a814e772cdc36436c8c188d8c42d019fda639
> > > # save the attached .config to linux build tree
> > > COMPILER=clang make.cross ARCH=arm
> > >
> > > 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.lld: error: drivers/staging/rtl8192e/rtllib_wx.o:(.rodata.str1.1): offset is outside the section
> > > >> ld.lld: error: drivers/staging/rtl8192e/rtllib_softmac.o:(.rodata.str1.1): offset is outside the section
> > > >> ld.lld: error: drivers/staging/rtl8192e/rtllib_tx.o:(.rodata.str1.1): offset is outside the section
> > > --
> > > >> ld.lld: error: drivers/staging/rtl8192u/ieee80211/dot11d.o:(.rodata.str1.1): offset is outside the section
> > > --
> > > >> ld.lld: error: drivers/staging/rtl8723bs/core/rtw_debug.o:(.rodata.str1.1): offset is outside the section
> > > >> ld.lld: error: drivers/staging/rtl8723bs/core/rtw_sta_mgt.o:(.rodata.str1.1): offset is outside the section
> > > >> ld.lld: error: drivers/staging/rtl8723bs/core/rtw_security.o:(.rodata.str1.1): offset is outside the section
> > > >> ld.lld: error: drivers/staging/rtl8723bs/core/rtw_wlan_util.o:(.rodata.str1.1): offset is outside the section
> > > >> ld.lld: error: drivers/staging/rtl8723bs/core/rtw_ieee80211.o:(.rodata.cst4): offset is outside the section
> > > >> ld.lld: error: drivers/staging/rtl8723bs/core/rtw_odm.o:(.rodata.str1.1): offset is outside the section
> > > >> ld.lld: error: drivers/staging/rtl8723bs/core/rtw_recv.o:(.rodata.str1.1): offset is outside the section
> > > >> ld.lld: error: drivers/staging/rtl8723bs/hal/hal_com.o:(.rodata.str1.1): offset is outside the section
> > > >> ld.lld: error: drivers/staging/rtl8723bs/core/rtw_ioctl_set.o:(.rodata.str1.1): offset is outside the section
> > > >> ld.lld: error: drivers/staging/rtl8723bs/core/rtw_xmit.o:(.rodata.str1.1): offset is outside the section
> > > ld.lld
> > > --
> > > >> ld.lld: error: drivers/misc/mic/vop/vop_vringh.o:(.rodata.str1.1): offset is outside the section
> > > --
> > > ld.lld: error: drivers/staging/rtl8188eu/core/rtw_efuse.o:(.rodata.str1.1): offset is outside the section
> > > >> ld.lld: error: drivers/staging/rtl8188eu/os_dep/xmit_linux.o:(.rodata.str1.1): offset is outside the section
> > > --
> > > >> ld.lld: error: drivers/staging/kpc2000/kpc_dma/fileops.o:(.rodata.str1.1): offset is outside the section
> > > ld.lld: error: drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.o:(.rodata.str1.1): offset is outside the section
> > >
> > > ---
> > > 0-DAY CI Kernel Test Service, Intel Corporation
> > > https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
> > >
> >
> >
> >
> > --
> > Thanks,
> > ~Nick Desaulniers
> >
11 months
[lunn:v5.6-rc5-net-next-cable-test 11/18] drivers/net/phy/phy.c:507: undefined reference to `ethnl_cable_test_alloc'
by kbuild test robot
tree: https://github.com/lunn/linux.git v5.6-rc5-net-next-cable-test
head: d40cd4e4239717c2f25246cbd55ab3db57135c60
commit: dd587c178491c71edd38260ff80ce36b49a0e71e [11/18] net: ethtool: Add infrastructure for reporting cable test results
config: x86_64-randconfig-c001-20200330 (attached as .config)
compiler: gcc-7 (Debian 7.4.0-6) 7.4.0
reproduce:
git checkout dd587c178491c71edd38260ff80ce36b49a0e71e
# 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: drivers/net/phy/phy.o: in function `phy_start_cable_test':
>> drivers/net/phy/phy.c:507: undefined reference to `ethnl_cable_test_alloc'
>> ld: drivers/net/phy/phy.c:530: undefined reference to `ethnl_cable_test_free'
ld: drivers/net/phy/phy.o: in function `phy_cable_test_abort':
>> drivers/net/phy/phy.c:481: undefined reference to `ethnl_cable_test_finished'
ld: drivers/net/phy/phy.o: in function `phy_state_machine':
drivers/net/phy/phy.c:970: undefined reference to `ethnl_cable_test_finished'
ld: drivers/net/phy/phy.o: in function `phy_cable_test_abort':
>> drivers/net/phy/phy.c:481: undefined reference to `ethnl_cable_test_finished'
vim +507 drivers/net/phy/phy.c
478
479 static void phy_cable_test_abort(struct phy_device *phydev)
480 {
> 481 ethnl_cable_test_finished(phydev);
482 genphy_soft_reset(phydev);
483 }
484
485 int phy_start_cable_test(struct phy_device *phydev,
486 struct netlink_ext_ack *extack)
487 {
488 int err = -ENOMEM;
489
490 if (!(phydev->drv &&
491 phydev->drv->cable_test_start &&
492 phydev->drv->cable_test_get_status)) {
493 NL_SET_ERR_MSG(extack,
494 "PHY driver does not support cable testing");
495 return -EOPNOTSUPP;
496 }
497
498 mutex_lock(&phydev->lock);
499 if (phydev->state < PHY_UP ||
500 phydev->state >= PHY_CABLETEST) {
501 NL_SET_ERR_MSG(extack,
502 "PHY not configured. Try setting interface up");
503 err = -EBUSY;
504 goto out;
505 }
506
> 507 err = ethnl_cable_test_alloc(phydev);
508 if (err)
509 goto out;
510
511 /* Mark the carrier down until the test is complete */
512 phy_link_down(phydev, true);
513
514 err = phydev->drv->cable_test_start(phydev);
515 if (err) {
516 phy_link_up(phydev);
517 goto out_free;
518 }
519
520 phydev->state = PHY_CABLETEST;
521
522 if (phy_polling_mode(phydev))
523 phy_trigger_machine(phydev);
524
525 mutex_unlock(&phydev->lock);
526
527 return 0;
528
529 out_free:
> 530 ethnl_cable_test_free(phydev);
531 out:
532 mutex_unlock(&phydev->lock);
533
534 return err;
535 }
536 EXPORT_SYMBOL(phy_start_cable_test);
537
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
11 months
[lunn:v5.6-rc5-net-next-cable-test 16/18] powerpc64le-linux-ld: cabletest.c:undefined reference to `phy_start_cable_test_tdr'
by kbuild test robot
tree: https://github.com/lunn/linux.git v5.6-rc5-net-next-cable-test
head: d40cd4e4239717c2f25246cbd55ab3db57135c60
commit: b0fb2acc793f157e172b3421184b9c177f6481b1 [16/18] net: ethtool: Add generic parts of cable test TDR
config: powerpc-rhel-kconfig (attached as .config)
compiler: powerpc64le-linux-gcc (GCC) 9.3.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 b0fb2acc793f157e172b3421184b9c177f6481b1
# save the attached .config to linux build tree
GCC_VERSION=9.3.0 make.cross ARCH=powerpc
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
powerpc64le-linux-ld: warning: orphan section `.gnu.hash' from `linker stubs' being placed in section `.gnu.hash'
powerpc64le-linux-ld: net/ethtool/cabletest.o: in function `ethnl_act_cable_test':
cabletest.c:(.text+0x604): undefined reference to `phy_start_cable_test'
powerpc64le-linux-ld: cabletest.c:(.text+0x6c8): undefined reference to `phy_start_cable_test'
powerpc64le-linux-ld: net/ethtool/cabletest.o: in function `ethnl_act_cable_test_tdr':
cabletest.c:(.text+0x844): undefined reference to `phy_start_cable_test_tdr'
>> powerpc64le-linux-ld: cabletest.c:(.text+0x908): undefined reference to `phy_start_cable_test_tdr'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
11 months
Re: [PATCH v8 45/81] KVM: introspection: add KVMI_EVENT_UNHOOK
by kbuild test robot
Hi "Adalbert,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on drm-intel/for-linux-next]
[also build test ERROR on linus/master v5.6]
[cannot apply to kvm/linux-next vhost/linux-next next-20200330]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]
url: https://github.com/0day-ci/linux/commits/Adalbert-Laz-r/VM-introspection/...
base: git://anongit.freedesktop.org/drm-intel for-linux-next
config: s390-randconfig-a001-20200331 (attached as .config)
compiler: s390-linux-gcc (GCC) 9.3.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
GCC_VERSION=9.3.0 make.cross ARCH=s390
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/kvmi_host.h:5,
from include/linux/kvm_host.h:38,
from arch/s390/kernel/asm-offsets.c:11:
>> include/uapi/linux/kvmi.h:11:10: fatal error: asm/kvmi.h: No such file or directory
11 | #include <asm/kvmi.h>
| ^~~~~~~~~~~~
compilation terminated.
make[2]: *** [scripts/Makefile.build:101: arch/s390/kernel/asm-offsets.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1113: prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:180: sub-make] Error 2
32 real 8 user 18 sys 82.93% cpu make prepare
vim +11 include/uapi/linux/kvmi.h
4
5 /*
6 * KVMI structures and definitions
7 */
8
9 #include <linux/kernel.h>
10 #include <linux/types.h>
> 11 #include <asm/kvmi.h>
12
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
11 months