* [linux-stable-rc:linux-5.10.y 644/7104] synclink.c:undefined reference to `free_dma'
@ 2022-07-21 22:20 kernel test robot
2022-07-22 12:58 ` Arnd Bergmann
0 siblings, 1 reply; 3+ messages in thread
From: kernel test robot @ 2022-07-21 22:20 UTC (permalink / raw)
To: Arnd Bergmann
Cc: kbuild-all, linux-kernel, Greg Kroah-Hartman, Greg Ungerer, Sasha Levin
Hi Arnd,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.10.y
head: 7748091a31277b35d55bffa6fecda439d8526366
commit: 87ae522e467e17a13b796e2cb595f9c3943e4d5e [644/7104] m68knommu: only set CONFIG_ISA_DMA_API for ColdFire sub-arch
config: m68k-randconfig-r011-20220721 (https://download.01.org/0day-ci/archive/20220722/202207220652.CGm6UUjK-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 12.1.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/commit/?id=87ae522e467e17a13b796e2cb595f9c3943e4d5e
git remote add linux-stable-rc https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
git fetch --no-tags linux-stable-rc linux-5.10.y
git checkout 87ae522e467e17a13b796e2cb595f9c3943e4d5e
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=m68k SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
m68k-linux-ld: section .rodata VMA [0000000000002000,00000000005fa837] overlaps section .text VMA [0000000000000400,0000000000ffa6bf]
m68k-linux-ld: drivers/tty/synclink.o: in function `mgsl_release_resources':
>> synclink.c:(.text+0xd1a): undefined reference to `free_dma'
--
0-DAY CI Kernel Test Service
https://01.org/lkp
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-stable-rc:linux-5.10.y 644/7104] synclink.c:undefined reference to `free_dma'
2022-07-21 22:20 [linux-stable-rc:linux-5.10.y 644/7104] synclink.c:undefined reference to `free_dma' kernel test robot
@ 2022-07-22 12:58 ` Arnd Bergmann
2022-07-23 15:08 ` Greg Kroah-Hartman
0 siblings, 1 reply; 3+ messages in thread
From: Arnd Bergmann @ 2022-07-22 12:58 UTC (permalink / raw)
To: kernel test robot
Cc: Arnd Bergmann, kbuild-all, Linux Kernel Mailing List,
Greg Kroah-Hartman, Greg Ungerer, Sasha Levin, stable
Hi Greg,
I looked at this report for 5.10.y:
On Fri, Jul 22, 2022 at 12:20 AM kernel test robot <lkp@intel.com> wrote:
>
> Hi Arnd,
>
> FYI, the error/warning still remains.
>
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.10.y
> head: 7748091a31277b35d55bffa6fecda439d8526366
> commit: 87ae522e467e17a13b796e2cb595f9c3943e4d5e [644/7104] m68knommu: only set CONFIG_ISA_DMA_API for ColdFire sub-arch
> config: m68k-randconfig-r011-20220721 (https://download.01.org/0day-ci/archive/20220722/202207220652.CGm6UUjK-lkp@intel.com/config)
> compiler: m68k-linux-gcc (GCC) 12.1.0
> reproduce (this is a W=1 build):
> wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
> chmod +x ~/bin/make.cross
> # https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/commit/?id=87ae522e467e17a13b796e2cb595f9c3943e4d5e
> git remote add linux-stable-rc https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
> git fetch --no-tags linux-stable-rc linux-5.10.y
> git checkout 87ae522e467e17a13b796e2cb595f9c3943e4d5e
> # save the config file
> mkdir build_dir && cp config build_dir/.config
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=m68k SHELL=/bin/bash
>
> If you fix the issue, kindly add following tag where applicable
> Reported-by: kernel test robot <lkp@intel.com>
>
> All errors (new ones prefixed by >>):
>
> m68k-linux-ld: section .rodata VMA [0000000000002000,00000000005fa837] overlaps section .text VMA [0000000000000400,0000000000ffa6bf]
> m68k-linux-ld: drivers/tty/synclink.o: in function `mgsl_release_resources':
> >> synclink.c:(.text+0xd1a): undefined reference to `free_dma'
This can be addressed by either backporting f95a387cdeb3 ("m68k: coldfire: drop
ISA_DMA_API support") or by reverting the 87ae522e467e ("m68knommu: only
set CONFIG_ISA_DMA_API for ColdFire sub-arch"), which is not actually needed
on 5.10.
Arnd
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-stable-rc:linux-5.10.y 644/7104] synclink.c:undefined reference to `free_dma'
2022-07-22 12:58 ` Arnd Bergmann
@ 2022-07-23 15:08 ` Greg Kroah-Hartman
0 siblings, 0 replies; 3+ messages in thread
From: Greg Kroah-Hartman @ 2022-07-23 15:08 UTC (permalink / raw)
To: Arnd Bergmann
Cc: kernel test robot, kbuild-all, Linux Kernel Mailing List,
Greg Ungerer, Sasha Levin, stable
On Fri, Jul 22, 2022 at 02:58:32PM +0200, Arnd Bergmann wrote:
> Hi Greg,
>
> I looked at this report for 5.10.y:
>
> On Fri, Jul 22, 2022 at 12:20 AM kernel test robot <lkp@intel.com> wrote:
> >
> > Hi Arnd,
> >
> > FYI, the error/warning still remains.
> >
> > tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.10.y
> > head: 7748091a31277b35d55bffa6fecda439d8526366
> > commit: 87ae522e467e17a13b796e2cb595f9c3943e4d5e [644/7104] m68knommu: only set CONFIG_ISA_DMA_API for ColdFire sub-arch
> > config: m68k-randconfig-r011-20220721 (https://download.01.org/0day-ci/archive/20220722/202207220652.CGm6UUjK-lkp@intel.com/config)
> > compiler: m68k-linux-gcc (GCC) 12.1.0
> > reproduce (this is a W=1 build):
> > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
> > chmod +x ~/bin/make.cross
> > # https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/commit/?id=87ae522e467e17a13b796e2cb595f9c3943e4d5e
> > git remote add linux-stable-rc https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
> > git fetch --no-tags linux-stable-rc linux-5.10.y
> > git checkout 87ae522e467e17a13b796e2cb595f9c3943e4d5e
> > # save the config file
> > mkdir build_dir && cp config build_dir/.config
> > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=m68k SHELL=/bin/bash
> >
> > If you fix the issue, kindly add following tag where applicable
> > Reported-by: kernel test robot <lkp@intel.com>
> >
> > All errors (new ones prefixed by >>):
> >
> > m68k-linux-ld: section .rodata VMA [0000000000002000,00000000005fa837] overlaps section .text VMA [0000000000000400,0000000000ffa6bf]
> > m68k-linux-ld: drivers/tty/synclink.o: in function `mgsl_release_resources':
> > >> synclink.c:(.text+0xd1a): undefined reference to `free_dma'
>
> This can be addressed by either backporting f95a387cdeb3 ("m68k: coldfire: drop
> ISA_DMA_API support") or by reverting the 87ae522e467e ("m68knommu: only
> set CONFIG_ISA_DMA_API for ColdFire sub-arch"), which is not actually needed
> on 5.10.
I've now reverted it, thanks.
greg k-h
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-07-23 15:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-21 22:20 [linux-stable-rc:linux-5.10.y 644/7104] synclink.c:undefined reference to `free_dma' kernel test robot
2022-07-22 12:58 ` Arnd Bergmann
2022-07-23 15:08 ` Greg Kroah-Hartman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).