sparc-linux-ld: arch/sparc/include/asm/parport.h:91:undefined reference to `ebus_dma_prepare'

From: kernel test robot
Date: Sun Feb 04 2024 - 23:14:23 EST


Hi Maciej,

FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 54be6c6c5ae8e0d93a6c4641cb7528eb0b6ba478
commit: f01dda1cb85e14a1d51c3cedad0feaaf71a93b4b parport_pc: Let chipset drivers mask unsupported modes
date: 1 year, 1 month ago
config: sparc-randconfig-r034-20230704 (https://download.01.org/0day-ci/archive/20240205/202402051222.ciCAY8Tj-lkp@xxxxxxxxx/config)
compiler: sparc-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240205/202402051222.ciCAY8Tj-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202402051222.ciCAY8Tj-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

arch/sparc/kernel/head_32.o: in function `current_pc':
arch/sparc/kernel/head_32.S:121:(.head.text+0x5040): relocation truncated to fit: R_SPARC_WDISP22 against `.init.text'
arch/sparc/kernel/head_32.o: in function `halt_notsup':
arch/sparc/kernel/head_32.S:198:(.head.text+0x5100): relocation truncated to fit: R_SPARC_WDISP22 against `.init.text'
arch/sparc/kernel/head_32.o: in function `leon_init':
arch/sparc/kernel/head_32.S:434:(.init.text+0xa4): relocation truncated to fit: R_SPARC_WDISP22 against symbol `leon_smp_cpu_startup' defined in .text section in arch/sparc/kernel/trampoline_32.o
arch/sparc/kernel/process_32.o:(.fixup+0x4): relocation truncated to fit: R_SPARC_WDISP22 against `.text'
arch/sparc/kernel/process_32.o:(.fixup+0xc): relocation truncated to fit: R_SPARC_WDISP22 against `.text'
arch/sparc/kernel/signal_32.o:(.fixup+0x0): relocation truncated to fit: R_SPARC_WDISP22 against `.text'
arch/sparc/kernel/signal_32.o:(.fixup+0x8): relocation truncated to fit: R_SPARC_WDISP22 against `.text'
arch/sparc/kernel/signal_32.o:(.fixup+0x10): relocation truncated to fit: R_SPARC_WDISP22 against `.text'
arch/sparc/kernel/signal_32.o:(.fixup+0x18): relocation truncated to fit: R_SPARC_WDISP22 against `.text'
arch/sparc/kernel/signal_32.o:(.fixup+0x20): relocation truncated to fit: R_SPARC_WDISP22 against `.text'
arch/sparc/kernel/signal_32.o:(.fixup+0x28): additional relocation overflows omitted from the output
sparc-linux-ld: drivers/parport/parport_pc.o: in function `ecpp_probe':
arch/sparc/include/asm/parport.h:152:(.text+0x14b4): undefined reference to `ebus_dma_register'
sparc-linux-ld: arch/sparc/include/asm/parport.h:155:(.text+0x14cc): undefined reference to `ebus_dma_irq_enable'
sparc-linux-ld: drivers/parport/parport_pc.o: in function `ecpp_probe':
arch/sparc/include/asm/ns87303.h:102:(.text+0x14d8): undefined reference to `ns87303_lock'
sparc-linux-ld: arch/sparc/include/asm/ns87303.h:102:(.text+0x14e4): undefined reference to `ns87303_lock'
sparc-linux-ld: drivers/parport/parport_pc.o: in function `ecpp_probe':
include/linux/spinlock.h:405:(.text+0x1508): undefined reference to `ns87303_lock'
sparc-linux-ld: drivers/parport/parport_pc.o: in function `ecpp_probe':
arch/sparc/include/asm/ns87303.h:102:(.text+0x1510): undefined reference to `ns87303_lock'
sparc-linux-ld: drivers/parport/parport_pc.o: in function `ecpp_probe':
include/linux/spinlock.h:405:(.text+0x1538): undefined reference to `ns87303_lock'
sparc-linux-ld: drivers/parport/parport_pc.o: in function `ecpp_probe':
arch/sparc/include/asm/parport.h:185:(.text+0x1568): undefined reference to `ebus_dma_irq_enable'
sparc-linux-ld: arch/sparc/include/asm/parport.h:186:(.text+0x1574): undefined reference to `ebus_dma_unregister'
sparc-linux-ld: drivers/parport/parport_pc.o: in function `parport_pc_fifo_write_block_dma':
arch/sparc/include/asm/parport.h:81:(.text+0x2074): undefined reference to `ebus_dma_enable'
>> sparc-linux-ld: arch/sparc/include/asm/parport.h:91:(.text+0x2088): undefined reference to `ebus_dma_prepare'
sparc-linux-ld: arch/sparc/include/asm/parport.h:71:(.text+0x20e0): undefined reference to `ebus_dma_enable'
sparc-linux-ld: arch/sparc/include/asm/parport.h:73:(.text+0x20f0): undefined reference to `ebus_dma_request'
sparc-linux-ld: arch/sparc/include/asm/parport.h:81:(.text+0x2194): undefined reference to `ebus_dma_enable'
sparc-linux-ld: arch/sparc/include/asm/parport.h:106:(.text+0x21a4): undefined reference to `ebus_dma_residue'
sparc-linux-ld: arch/sparc/include/asm/parport.h:81:(.text+0x2218): undefined reference to `ebus_dma_enable'
sparc-linux-ld: arch/sparc/include/asm/parport.h:106:(.text+0x2228): undefined reference to `ebus_dma_residue'
sparc-linux-ld: drivers/parport/parport_pc.o: in function `ecpp_remove':
arch/sparc/include/asm/parport.h:211:(.text+0x2684): undefined reference to `ebus_dma_irq_enable'
sparc-linux-ld: arch/sparc/include/asm/parport.h:212:(.text+0x268c): undefined reference to `ebus_dma_unregister'

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki