From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qg0-x22d.google.com (mail-qg0-x22d.google.com [IPv6:2607:f8b0:400d:c04::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 37F4B1A0045 for ; Tue, 5 May 2015 04:13:51 +1000 (AEST) Received: by qgej70 with SMTP id j70so69648296qge.2 for ; Mon, 04 May 2015 11:13:49 -0700 (PDT) Sender: Tejun Heo Date: Mon, 4 May 2015 14:13:45 -0400 From: Tejun Heo To: Andy Shevchenko Subject: Re: Kernel 4.1-rc1 build fails on Sam460ex amcc 460ex powerpc Canyonlands Message-ID: <20150504181345.GF1971@htj.duckdns.org> References: <54E08E06.8060607@candw.ms> <1424045921.3018.4.camel@ellerman.id.au> <553E16A0.704@candw.ms> <1430183545.7246.1.camel@ellerman.id.au> <20150428034946.GE2152@htj.duckdns.org> <1430759910.4526.16.camel@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <1430759910.4526.16.camel@linux.intel.com> Cc: linuxppc-dev@lists.ozlabs.org, Ian Munsie , Julian Margetson List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 > > > 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