From: Sandra Loosemore <sandra@codesourcery.com>
To: Marek Vasut <marex@denx.de>, Eric Blake <eblake@redhat.com>,
qemu-devel@nongnu.org
Cc: Jeff Da Silva <jdasilva@altera.com>,
Chris Wulff <crwulff@gmail.com>,
Yves Vandervennet <yvanderv@altera.com>,
Ley Foon Tan <lftan@altera.com>
Subject: Re: [Qemu-devel] [PATCH 1/7] nios2: Add disas entries
Date: Mon, 13 Jun 2016 14:11:15 -0600 [thread overview]
Message-ID: <575F1363.5010405@codesourcery.com> (raw)
In-Reply-To: <575F0C20.60404@denx.de>
On 06/13/2016 01:40 PM, Marek Vasut wrote:
> On 06/13/2016 09:15 PM, Eric Blake wrote:
>> On 06/13/2016 01:05 PM, Marek Vasut wrote:
>>> Add nios2 disassembler support. This patch is composed from binutils files
>>> from commit "Opcodes and assembler support for Nios II R2". The files from
>>> binutils used in this patch are:
>>>
>>
>>> +++ b/disas/nios2.c
>>> @@ -0,0 +1,3620 @@
>>> +/*
>>> + * This file is a concatenation of the following files from binutils:
>>> + * include/opcode/nios2.h
>>> + * include/opcode/nios2r1.h
>>> + * include/opcode/nios2r2.h
>>> + * opcodes/nios2-opc.c
>>> + * opcodes/nios2-dis.c
>>> + */
>>> +
>>> +/* Nios II opcode list for GAS, the GNU assembler.
>>> + Copyright (C) 2012-2016 Free Software Foundation, Inc.
>>> + Contributed by Nigel Gray (ngray@altera.com).
>>> + Contributed by Mentor Graphics, Inc.
>>> +
>>> + This file is part of GAS, the GNU Assembler, and GDB, the GNU disassembler.
>>> +
>>> + GAS/GDB is free software; you can redistribute it and/or modify
>>> + it under the terms of the GNU General Public License as published by
>>> + the Free Software Foundation; either version 3, or (at your option)
>>> + any later version.
>>
>> This is a non-starter. Qemu is a GPLv2-only project because of some of
>> the files it has already borrowed from other places, so we CANNOT use
>> GPLv3 files. You'll have to implement this from scratch, or pull from
>> binutils at the point prior to where upstream binutils upgraded to GPLv3.
>>
> Ouch, I see. I hope Sandra (on CC) might have some idea how to best go
> about this licensing thing. I briefly checked and the nios2 stuff landed
> in binutils under gpl3 already.
Hmmmm. Upstream binutils was already using GPLv3 at the time the nios2
support was contributed. I believe Altera's original out-of-tree patch
set was GPLv2 but it is extremely bit-rotten at this point and doesn't
include the new R2 instruction set or abstractions to support multiple
ISA variants (I had to do a lot of refactoring of the old
opcodes/disassembler support that amounted to almost a complete
rewrite). I could look into whether Mentor Graphics could relicense our
changes under GPLv2, but I'm not sure that would be possible or helpful
given that both Altera and Mentor have already assigned copyright to the
FSF? I'm not a legal expert. :-(
-Sandra
next prev parent reply other threads:[~2016-06-13 20:11 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-13 19:05 [Qemu-devel] [PATCH 1/7] nios2: Add disas entries Marek Vasut
2016-06-13 19:05 ` [Qemu-devel] [PATCH 2/7] nios2: Add architecture emulation support Marek Vasut
2016-06-13 19:05 ` [Qemu-devel] [PATCH 3/7] nios2: Add usermode binaries emulation Marek Vasut
2016-06-13 19:05 ` [Qemu-devel] [PATCH 4/7] nios2: Add IIC interrupt controller emulation Marek Vasut
2016-06-13 19:05 ` [Qemu-devel] [PATCH 5/7] nios2: Add periodic timer emulation Marek Vasut
2016-06-13 19:05 ` [Qemu-devel] [PATCH 6/7] nios2: Add Altera 10M50 GHRD emulation Marek Vasut
2016-06-13 19:05 ` [Qemu-devel] [PATCH 7/7] nios2: Add support for Nios-II R1 Marek Vasut
2016-06-13 19:15 ` [Qemu-devel] [PATCH 1/7] nios2: Add disas entries Eric Blake
2016-06-13 19:40 ` Marek Vasut
2016-06-13 20:11 ` Sandra Loosemore [this message]
2016-06-13 20:24 ` Eric Blake
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=575F1363.5010405@codesourcery.com \
--to=sandra@codesourcery.com \
--cc=crwulff@gmail.com \
--cc=eblake@redhat.com \
--cc=jdasilva@altera.com \
--cc=lftan@altera.com \
--cc=marex@denx.de \
--cc=qemu-devel@nongnu.org \
--cc=yvanderv@altera.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.