Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp31043yba; Fri, 3 May 2019 19:50:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqwLmVr2v8pCZ9JJ+c7aYWuuFmE7aDBAEm79jIY3VvXVUMvCC1SRmQ9jnWesB/BzZ8w5ZWRs X-Received: by 2002:a63:c104:: with SMTP id w4mr14827333pgf.409.1556938234438; Fri, 03 May 2019 19:50:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556938234; cv=none; d=google.com; s=arc-20160816; b=rch710ZZO/7X/mKXGC0KRlIFKNp7U6AajBiknm6CJflZZFKDFwOX6S7oHeYG+tu8mM IzR2M1q2s8GcBFDTfEye+Px3mR13KdCFEMUqvUrpTzk6JaGBY3c4hs4mT/feofYoJGvG AawqVQ7t3KxXixDUs2TjjdyT19oD15ULHM582XUuz7ABXgLvamlPEsPJkuGmZ8eLt5RX +i/RZa2bJ2CNegvU+HqEqhIbwUmRDt2xozIMgm6zostBFHuuInLkhlOPHG4QjrSfJ4MI k0ZNIipiaoG7I1gQuWd8AShNMiM7vOIuvq9L6TVfA5Kv6dSGuDjBlVjQ0WxixbbM1t2y stCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:references:cc:to :subject:dkim-signature; bh=+3UaCGaRK+G9Btvnlqp56gFrq5JPRwLY7YIZojvybzE=; b=zIwTuFI4GlJxHsiARQlFjtSstvyEuAsm0gYsfWOWrv8rGfOpPOBCtU/aB4qNPV+z+V C5is/GpqB6ZUBnyzvVFzYLhvYZpynfunj+pDJe9jZQKchcF1hyl9nOt9C8jpvEBnmbbj jkERqmvvuy0Bhp3UAv6TqTBYie+0i+jUS6/M7pl7VPqZ5vvLVz8Wk2VivmJ82FC8TH5q sbw8b+gvGX8b/nL3Oki8YPckz4o/CYZSLi3uEmN3FobCKgHzOPHx7WMhMNI82Bj5zZ6q NBOQ0ILgK1HUWEQ+ob9u7tuCc7zB4b3hJ/GowzPAd/1scHp8/bH7hPWR6vGH1qaUP8kn KMDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@newmedia-net.de header.s=mikd header.b=bdChA48c; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=newmedia-net.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id cl5si5481159plb.397.2019.05.03.19.50.19; Fri, 03 May 2019 19:50:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@newmedia-net.de header.s=mikd header.b=bdChA48c; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=newmedia-net.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726939AbfEDCo5 (ORCPT + 99 others); Fri, 3 May 2019 22:44:57 -0400 Received: from webmail.newmedia-net.de ([185.84.6.166]:44751 "EHLO webmail.newmedia-net.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726059AbfEDCo5 (ORCPT ); Fri, 3 May 2019 22:44:57 -0400 X-Greylist: delayed 981 seconds by postgrey-1.27 at vger.kernel.org; Fri, 03 May 2019 22:44:56 EDT DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=newmedia-net.de; s=mikd; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject; bh=+3UaCGaRK+G9Btvnlqp56gFrq5JPRwLY7YIZojvybzE=; b=bdChA48c3okKbHHJi6e0yiUut34HQ1F8R4xapalMIIomowOmleYgJHWCIOBxPVRYYz1yYnEde4nPxRT7dGXVyn6MDR8U/urmKvv8n7Ag2mOxVCTWbzLIuO6Cum0Edm7Bk+I5GoOnoSrWITxqA2wMWqpm4MbNEhCbnK0NY+yO+u0=; Subject: Re: [PATCH] x86/fpu: Remove the _GPL from the kernel_fpu_begin/end() export To: Ingo Molnar , Jiri Kosina Cc: Sebastian Andrzej Siewior , Andy Lutomirski , Greg KH , LKML , Rik van Riel , "H. Peter Anvin" , "Jason A. Donenfeld" , Ard Biesheuvel , Dave Hansen , Ingo Molnar , Nicolai Stange , Paolo Bonzini , =?UTF-8?B?UmFkaW0gS3LEjW3DocWZ?= , Thomas Gleixner , x86@kernel.org, stable@vger.kernel.org, Jiri Kosina References: <761345df6285930339aced868ebf8ec459091383.1556807897.git.luto@kernel.org> <20190502154043.gfv4iplcvzjz3mc6@linutronix.de> <20190504004747.GA107909@gmail.com> From: Sebastian Gottschall Message-ID: <2238f6ed-9338-903c-760c-6200e73b1599@newmedia-net.de> Date: Sat, 4 May 2019 04:28:17 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190504004747.GA107909@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Received: from [2003:c9:3f07:6200:2ce0:fea8:6812:6f6a] by webmail.newmedia-net.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.72) (envelope-from ) id 1hMkPo-0003Iw-Df; Sat, 04 May 2019 04:28:40 +0200 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am 04.05.2019 um 02:47 schrieb Ingo Molnar: > * Jiri Kosina wrote: > >> On Thu, 2 May 2019, Sebastian Andrzej Siewior wrote: >> >>> Please don't start this. We have everything _GPL that is used for FPU >>> related code and only a few functions are exported because KVM needs it. >> That's not completely true. There are a lot of static inlines out there, >> which basically made it possible for external modules to use FPU (in some >> way) when they had kernel_fpu_[begin|end]() available. >> >> I personally don't care about ZFS a tiny little bit; but in general, the >> current situation with _GPL and non-_GPL exports is simply not nice. It's >> not really about licensing (despite the name), it's about 'internal vs >> external', which noone is probably able to define properly. > But that's exactly what licensing *IS* about: the argument is that > 'internal' interfaces are clear proof that the binary module is actually > a derived work of the kernel. Using fpu code in kernel space in a kernel module is a derived work of the kernel itself? dont get me wrong, but this is absurd. i mean you limit the use of cpu instructions. the use of cpu instructions should be free of any licensing issue. i would even argument you are violating the license of the cpu ower given to the kernel by executing it, by restricting its use for no reason Sebastian