From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Ellerman Subject: Re: + arc-convert-to-dma_map_ops.patch added to -mm tree Date: Thu, 26 Nov 2015 18:04:47 +1100 Message-ID: <1448521487.19291.1.camel@ellerman.id.au> References: <564b9e3a.DaXj5xWV8Mzu1fPX%akpm@linux-foundation.org> <20151124075047.GA29572@lst.de> <1448362882.32654.1.camel@ellerman.id.au> <56544C89.7060302@synopsys.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: Received: from ozlabs.org ([103.22.144.67]:37122 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752193AbbKZHEs (ORCPT ); Thu, 26 Nov 2015 02:04:48 -0500 In-Reply-To: <56544C89.7060302@synopsys.com> Sender: linux-next-owner@vger.kernel.org List-ID: To: Vineet Gupta , "hch@lst.de" Cc: "akpm@linux-foundation.org" , arcml , "linux-mm@kvack.org" , lkml , linux-next , Anton Kolesov , Stephen Rothwell , Guenter Roeck , Alexey Brodkin , Francois Bedard On Tue, 2015-11-24 at 17:09 +0530, Vineet Gupta wrote: > Hi Michael, > On Tuesday 24 November 2015 04:31 PM, Michael Ellerman wrote: > > On Tue, 2015-11-24 at 09:46 +0000, Vineet Gupta wrote: > > > > On Tuesday 24 November 2015 01:20 PM, hch@lst.de wrote: > > > > > > Hi Vineet, > > > > > > > > > > > > the original version went through the buildbot, which succeeded. It seems > > > > > > like the official buildbot does not support arc, and might benefit from > > > > > > helping to set up an arc environment. > > > > > > > > I have in the past asked kisskb service folks - but haven't heard back from them. > > > > Stephan, Michael could you please add ARC toolchain to kisskb build service. I can > > > > buy you guys a beer (or some other beverage of choice) next time we meet :-) > > Sure, where do I get a toolchain? Can I just build upstream binutils + GCC? > > > We are in the process of revamping upstream support for GNU tools (they were added > many years ago, bit-rotted and now are being redone again). > > The current tools are hoisted on github. > https://github.com/foss-for-synopsys-dwc-arc-processors/ > > You could use upstream buildroot which automatically picks up relevant tools > branches from our github repos. > > Please note that ARC cores are based off two ISA: ARCompact and recently announced > ARCv2. Thus it would be awesome if we could build following kernel configs on > regular basis: > - axs101_defconfig > - axs103_smp_defconfig > > This however needs 2 toolchain installs as we don't have multilibed tools which > support both ISA. > > You can do following to generate the tools (this first pass builds the kernel as > well which can be disabled if u so wish). > > $ wget http://buildroot.uclibc.org/downloads/buildroot-2015.08.1.tar.gz > $ tar -xvf buildroot-2015.08.1.tar.gz > $ cd buildroot-2015.08.1; mkdir arcv2 arcomp > > $ make O=arcv2 snps_axs103_defconfig ; cd arcv2; make ; cd .. # for ARCv2 tools > $ make O=arcomp snps_axs101_defconfig ; cd arcomp; make # for ARCompact tools OK. In general I'm not inclined to support custom toolchains, simply because of the extra work required. But seeing as you asked nicely and gave me instructions I'll try and build it and see how I go :) cheers