Kernel 4.1-rc1 build fails on Sam460ex amcc 460ex powerpc Canyonlands

Tejun Heo tj at kernel.org
Tue May 5 04:13:45 AEST 2015


On Mon, May 04, 2015 at 08:18:30PM +0300, Andy Shevchenko wrote:
> On Mon, 2015-04-27 at 23:49 -0400, Tejun Heo wrote:
> > On Tue, Apr 28, 2015 at 11:12:25AM +1000, Michael Ellerman wrote:
> > > On Mon, 2015-04-27 at 06:59 -0400, Julian Margetson wrote:
> > > > Kernel 4.1-rc1 build fails  on Sam460ex amcc 460ex powerpc Canyonlands with 
> > > > CONFIG_SATA_DWC=y
> > > > 
> > > > sata_dwc_460ex.c:(.text+0xa165c): undefined reference to `dw_dma_remove'
> > > > drivers/built-in.o: In function `sata_dwc_probe':
> > > > sata_dwc_460ex.c:(.text+0xa1900): undefined reference to `dw_dma_probe'
> > > > sata_dwc_460ex.c:(.text+0xa1954): undefined reference to `dw_dma_remove'
> > > > make: *** [vmlinux] Error 1
> > > 
> > > Looks like it was caused by:
> > > 
> > > commit 8b3444852a2b58129ee68a8dd69fef81ceb902a1
> > > Author: Andy Shevchenko <andriy.shevchenko at linux.intel.com>
> > > Date:   Tue Mar 3 22:41:21 2015 +0200
> > > 
> > >     sata_dwc_460ex: move to generic DMA driver
> > 
> > Oops, Andy?
> > 
> 
> Sorry for late answer. It requires CONFIG_DW_DMAC=y as well. I don't
> know the details of PPC configuration, we might add this to
> configuration.

Can you send a patch please?

Thanks.

-- 
tejun


More information about the Linuxppc-dev mailing list