From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40118) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNCQN-0000mR-U5 for qemu-devel@nongnu.org; Sun, 15 Feb 2015 22:32:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YNCQK-0005eW-7M for qemu-devel@nongnu.org; Sun, 15 Feb 2015 22:32:43 -0500 Received: from out11.biz.mail.alibaba.com ([205.204.114.131]:38780) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNCQJ-0005cc-SR for qemu-devel@nongnu.org; Sun, 15 Feb 2015 22:32:40 -0500 Message-ID: <54E1669F.9090402@sunrus.com.cn> Date: Mon, 16 Feb 2015 11:40:15 +0800 From: Chen Gang S MIME-Version: 1.0 References: <54DD17BC.5040006@sunrus.com.cn> <54DD180B.3080004@sunrus.com.cn> <54DE8DCA.6030302@sunrus.com.cn> <54DEBC3E.4000805@sunrus.com.cn> <54DEC303.6030502@ezchip.com> <54DF6F90.60406@sunrus.com.cn> In-Reply-To: <54DF6F90.60406@sunrus.com.cn> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 1/5] target-tile: Firstly add to qemu with minimized features List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell , Chris Metcalf Cc: "walt@tilera.com" , Riku Voipio , qemu-devel , "rth@twiddle.net" Excuse me, I want to consult the related information about SPR. For SPRs (Special Purpose Register) under tilegx, I can not get related documents (I only got the tilepro related document for SPR). After read through the source code of Linux kernel for tile, I guess: - SPRs are in "arch/tile/include/uapi/arch/spr_def_64.h". - SPRs are all 64-bit registers (I referenced the 'interrupt_mask' and CHIP_HAS_SPLIT_INTR_MASK to know about it). If what I guess is incorrect, please let me know. And welcome to provide tilegx SPR related documents, too. Thanks. On 2/14/15 23:53, Chen Gang S wrote: > On 2/14/15 13:47, Peter Maydell wrote: >> On 14 February 2015 at 03:37, Chris Metcalf wrote: >>> I'm not sure whether Tilera can simply re-release the tilegx-specific stuff >>> from binutils as a separate tarball with GPL v2 licensing. Hopefully we can >>> avoid having to figure that out. :-) >> >> I believe it is theoretically possible (the usual FSF copyright arrangements >> involve the original authors giving the copyright to the FSF but being >> granted back a right to distribute their work under other licenses). >> However it is definitely a "check with your lawyers" kind of question >> and I entirely appreciate the desire to avoid having to go down that >> route :-) >> > > For me, the main feature of kernel disassembly implementation is almost > the same as the feature of binutils disassembly implementation. And all > of related code are not quite much (only several thousand lines), > > So at present, I guess, we needn't consider more about the related > license. > > > Thanks > -- Chen Gang Open, share, and attitude like air, water, and life which God blessed