linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Michael S. Tsirkin" <mst@redhat.com>
To: Christian Borntraeger <borntraeger@de.ibm.com>
Cc: Cornelia Huck <cohuck@redhat.com>,
	linux-kernel@vger.kernel.org,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Martin Schwidefsky <schwidefsky@de.ibm.com>,
	Heiko Carstens <heiko.carstens@de.ibm.com>,
	linux-s390@vger.kernel.org
Subject: Re: [PATCH v2] s390/virtio: mark headers as BSD licensed
Date: Wed, 8 Nov 2017 21:35:48 +0200	[thread overview]
Message-ID: <20171108213424-mutt-send-email-mst@kernel.org> (raw)
In-Reply-To: <5ea37f22-920e-adc9-e7cf-f901faac92db@de.ibm.com>

On Wed, Nov 08, 2017 at 07:57:28PM +0100, Christian Borntraeger wrote:
> So what about the following
> 
> - leave kvm_virtio.h unchanged and we will delete this file via the s390 tree

Seems to be used by kvm_virtio.c - are you removing that too?

> - change virtio_ccw.h to BSD license. The content of this file is really really trivial
> and it boils down to 2 defines, that can be easily reconstructed by looking at the virtio spec.
> Not even sure if something like this can be copyrighted.

Yes. What prompted this was Greg's patch.

> 
> For reference the content of this file minus comments is
> 
> - snip -
> #define KVM_VIRTIO_CCW_RING_ALIGN 4096
> #define KVM_S390_VIRTIO_CCW_NOTIFY 3
> - snip -
> 
> 
> On 11/08/2017 07:33 PM, Christian Borntraeger wrote:
> > 
> > 
> > On 11/08/2017 07:15 PM, Cornelia Huck wrote:
> >> On Wed, 8 Nov 2017 19:12:25 +0100his
> >> Christian Borntraeger <borntraeger@de.ibm.com> wrote:
> >>
> >>> On 11/08/2017 05:59 PM, Michael S. Tsirkin wrote:
> >>>> Virtio UAPI headers aren't just for UAPI, it's for guests/hypervisors as
> >>>> well.  The s390 ones need to be BSD as well.
> >>>>
> >>>> Fixes: e2be04c7f995 ("License cleanup: add SPDX license identifier to uapi header files with a license")
> >>>> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> >>>> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
> >>>> ---
> >>>>
> >>>> since v1:
> >>>> 	drop an extra comment chunk, reported by Cornelia
> >>>>
> >>>>  arch/s390/include/uapi/asm/kvm_virtio.h | 26 +++++++++++++++++++++++++-  
> >>>
> >>> FWIW, this file will go away anyway. 
> >>> Looks like the following commit in the s390 feature branch 
> >>> https://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git/commit/drivers/s390/virtio/Makefile?h=features&id=7fb2b2d512448cf0e914c4647a1cf02b52263702
> >>> missed this file.
> >>
> >> Can we simply rip this out?
> >>
> >>>
> >>>
> >>> Regarding the virtio-ccw.h headers it is probably something that happened by accident.
> >>> Back then Rusty (as an IBMer) proposed to change all virtio headers to BSD licence.
> >>
> >> ISTR that the relicensing already went through... is that not the case?
> > 
> > The original kvm_virtio.h code was added in 2008
> > 
> > commit e976a2b997fc4ad70ccc53acfe62811c4aaec851
> > Author: Christian Borntraeger <borntraeger@de.ibm.com>
> > Date:   Tue Mar 25 18:47:46 2008 +0100
> > 
> >     s390: KVM guest: virtio device support, and kvm hypercalls
> > 
> > 
> > 
> > 
> > The BSD re-licencing happened in 2008
> > 
> > commit 674bfc23c585b34c42263d73fb51710d49762a23
> > Author: Rusty Russell <rusty@rustcorp.com.au>
> > Date:   Fri Jul 25 12:06:03 2008 -0500
> > 
> >     virtio: clarify that ABI is usable by any implementations
> >     
> >     We want others to implement and use virtio, so it makes sense to BSD
> >     license the non-__KERNEL__ parts of the headers to make this crystal
> >     clear.
> > 
> > and it seems that it missed arch/include/uapi/asm/kvm_virtio.h
> > 
> > 
> > 
> > arch/include/uapi/asm/virtio_ccw.h probably just copied what
> > kvm_virtio.h had in 2013.
> > 
> > So its somewhat fair to assume that both files should be BSD, but they are not
> > according to the licence statement.
> > 
> > Gregs SPDX change just changed the GPL text in the header files to a SPDX
> > statement. Now Michael wants to change this to BSD as it probably was intended
> > but not written down. Sigh.
> > 
> >> I thought this was just a fixup to align with reality?
> >>
> >>>
> >>>>  arch/s390/include/uapi/asm/virtio-ccw.h | 26 +++++++++++++++++++++++++-
> >>>>  2 files changed, 50 insertions(+), 2 deletions(-)
> >>

  parent reply	other threads:[~2017-11-08 19:35 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-08 16:59 [PATCH v2] s390/virtio: mark headers as BSD licensed Michael S. Tsirkin
2017-11-08 17:01 ` Michael S. Tsirkin
2017-11-08 17:28   ` Cornelia Huck
2017-11-08 17:02 ` Cornelia Huck
2017-11-08 18:10 ` Heiko Carstens
2017-11-08 18:12 ` Christian Borntraeger
2017-11-08 18:15   ` Cornelia Huck
2017-11-08 18:33     ` Christian Borntraeger
2017-11-08 18:57       ` Christian Borntraeger
2017-11-08 18:59         ` Christian Borntraeger
2017-11-08 19:35         ` Michael S. Tsirkin [this message]
2017-11-08 19:39           ` Christian Borntraeger
2017-11-08 19:58             ` Michael S. Tsirkin
2017-11-09  8:29               ` Christian Borntraeger
2017-11-09  8:57                 ` Cornelia Huck
2017-11-09 19:48                 ` Michael S. Tsirkin
2017-11-08 19:41       ` Michael S. Tsirkin

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=20171108213424-mutt-send-email-mst@kernel.org \
    --to=mst@redhat.com \
    --cc=borntraeger@de.ibm.com \
    --cc=cohuck@redhat.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=heiko.carstens@de.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-s390@vger.kernel.org \
    --cc=schwidefsky@de.ibm.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).