Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1164769yba; Fri, 3 May 2019 17:49:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqxcTfeRAefHrhz5qZtKTcuaT0BCFrx9QqxeJqdU9ZS4x3ds/aqVrZiYV/GXi/ImzfJ3J1+L X-Received: by 2002:a17:902:9a83:: with SMTP id w3mr14788802plp.241.1556930998171; Fri, 03 May 2019 17:49:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556930998; cv=none; d=google.com; s=arc-20160816; b=upoM0RJwv11CZBMwgyagKn/klUES27EtFMUESvrZgZySHosX2h+b8agnFqjx+EvVAS bZQMrCMxv1hRR06QSczOOE0AvOMiGbGyp7BpDv1Ia9fr7U0eMJ4MiVnazQMzW9kdveYH 2w0QrC3DKXIiL6F4VnLWw15sVM1K9E7uodnEQPbNqxbfOai/ogg5khyjy6QFMrwhR2zl 8dmX3GRBd68RhG6/zzUN5sROgCmjZ41YYWIlCsU0QpfaLYzN7eL/MFffuRpUmdQwTzHl sBUsr1HdE/Ik9/Sm6l52z0GdXRtEU+HXhHwY/AvEb0+zQbXgNHoyLSua04yFHxnNG0bb JntA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=+RUUwZtfXQ6xT1Hl/GMU6GnIUFgYiZSHQrHKa24Cz/8=; b=Vp7cptcPsLUtjOlOkfNjkepLir3y7g3ninXm0+Wj26zuShRHXxSASlGgAvxku7WV7u 92nZdLGz/ASMXH7zlkaG4EnJCWJHxrja6UEBSDlt3aB0TUfGfcsHdS9rD8SbnM7wMfaR GCKeHXNh6rCRfnu2TM50v/dQ0/xOdU5nE+lTQ/t301tItfUh/ALlwB0mfFJuIySfQrAL GkoN6WsasY3gvMRn3hmGRAdftTV6cn16ZQ+DDpBSvhaNGw38EMtC99Mx3S5ZIgIKzEam IrpzrGsMRAglDgPFGCupYeIqAAQecpjhjt68ZDNx6ulsCS5MGojHefSH/p8u+ZxIiWhh Cskg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=e9jyjmpD; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w1si3948369pgh.109.2019.05.03.17.49.43; Fri, 03 May 2019 17:49:58 -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=fail header.i=@gmail.com header.s=20161025 header.b=e9jyjmpD; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726600AbfEDArx (ORCPT + 99 others); Fri, 3 May 2019 20:47:53 -0400 Received: from mail-wm1-f66.google.com ([209.85.128.66]:55099 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726041AbfEDArx (ORCPT ); Fri, 3 May 2019 20:47:53 -0400 Received: by mail-wm1-f66.google.com with SMTP id b10so9018058wmj.4; Fri, 03 May 2019 17:47:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=+RUUwZtfXQ6xT1Hl/GMU6GnIUFgYiZSHQrHKa24Cz/8=; b=e9jyjmpD8fiiYb49IxcHxpChjnbrt1GkXmGxwB1yqkxqqVlETUfPgyoZF8OLyj8Vlg TKU5W4H1geDqj7jHrt6evWTUgDGUX0won4Lwepx20VYfP/p8znKpo19B9ccdU4NqOfk4 htvFT2oqzAo5G+bqmXBiY74Rq0y/8JgentxiMLcK5adNQH4wC/OzHa5bvQKENmpbrZR8 DGpH5hMMBDSGlHqRwQCvasbq4AtHAsMqZpi9zeMET3SEXEDs8MZq3wgzcXRhzHSyGBpq Ov0xyP8imrn2hjPKGe1Tm3pUi3xozie3c/EKMviGvs94DdVAApEGMcs5QiSPBuVInWw5 cUTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=+RUUwZtfXQ6xT1Hl/GMU6GnIUFgYiZSHQrHKa24Cz/8=; b=c/9a//Dj/6wyitwDni17HA1MpodR5f7D5TzRIA3Y+86q5AimLHPxIfZiUxvho3ZbeH MBpL//w8k4JM1xNCPnccZimXobPT6WJEWutk4+KSxItTOcQlKNB0HfKrihlzZiBcCSwX k+sB8epLo+/4yLQjCTWK6SJjcIjXumTx1Nmnq4S4bvGEPPTgeHZDE0C/Ov+oVG3b5mIs OLZ1h/K0Si1zmongVzwvYP47n/mYStYzwl2rnL+BoY9ro9JyjClCMcnEOZPfrE3nxuno P40fi6wklOBjm7eJO6dTp+RIqQQSt0g12AwhBcjMFYQIO6+aQ7U+iXAAGsnaZBqsvBSK 99FA== X-Gm-Message-State: APjAAAUDsaKij/9HaSF/WOxarqGm+mRdvt4/7VNqiw4/hS7YuyGMzLk0 MUyX22d4jIAP7fqgEKSErUg= X-Received: by 2002:a7b:ce84:: with SMTP id q4mr8590958wmj.41.1556930870237; Fri, 03 May 2019 17:47:50 -0700 (PDT) Received: from gmail.com (2E8B0CD5.catv.pool.telekom.hu. [46.139.12.213]) by smtp.gmail.com with ESMTPSA id n17sm3078515wrw.77.2019.05.03.17.47.48 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 03 May 2019 17:47:49 -0700 (PDT) Date: Sat, 4 May 2019 02:47:47 +0200 From: Ingo Molnar To: 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 , Radim =?utf-8?B?S3LEjW3DocWZ?= , Thomas Gleixner , x86@kernel.org, stable@vger.kernel.org, Jiri Kosina Subject: Re: [PATCH] x86/fpu: Remove the _GPL from the kernel_fpu_begin/end() export Message-ID: <20190504004747.GA107909@gmail.com> References: <761345df6285930339aced868ebf8ec459091383.1556807897.git.luto@kernel.org> <20190502154043.gfv4iplcvzjz3mc6@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * 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 regular exported symbols might still make a binary module derived work, but it's less clear-cut.) So don't be complicit with binary module authors who try to circumvent the GPL by offloading the actual license violation to the end user ... > If it would be strictly about license compatibility, that'd at least > make us somewhat deterministic. License compatibility is rarely deterministic to begin with, there's a lot of grey area. Adding _GPL increases the likelihood that the module using it has to be covered by the GPL too. In fact behavior of binary modules seems to confirm that legal expectation: very few binary modules are trying to circumvent _GPL symbols by ignoring the _GPL attribute. Anyway, in terms of _GPL exports the policy has always been that if a major author of the code asks for a symbol to be _GPL, then it should be so, even if other authors have a different judgement. Thanks, Ingo