Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp943642imu; Wed, 9 Jan 2019 08:55:16 -0800 (PST) X-Google-Smtp-Source: ALg8bN6a3259PGJcy5dF4pT33UVTnS1ogGQIRmkYmkFgpIZbqs4x1NVoTf6O9NRbXLTC0I7mjRGf X-Received: by 2002:a17:902:6bc7:: with SMTP id m7mr6894154plt.106.1547052916882; Wed, 09 Jan 2019 08:55:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547052916; cv=none; d=google.com; s=arc-20160816; b=cbrvPVwa4Mx/F2j3hBGs16olkTBmM5wVjry3TM7RN0RwRrOzx2tXBB6d9poLyG7NXe id2i0+hvw7+nvD58WVxthgxH1DBMSpwL+VDhPqOFQiB4Vu3cnyg2DwlcsvDIipbxbJze Em822N1zp8EH+72gUKPumYCLEETgwFbBeFPGB04naZJpyujVqFbMdkY8DVi6KLmxZIXQ ZjiViiF653bM6QKCblUicxVRQ1Vyh7NAczyxwPTzsUXbEaq0cstmLZBXnzl5WHNga77f 8dVRDQpfktXfBOnp6Kw/ISHRcpXMhj6dFivKPQQZtcnQrorxmiO4pSFAC2WLN3mWJ0mT L7lw== 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-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=qoJb+lHlVe4KJveEtkIHZYTqOMPED9iKGtrunpVfE14=; b=0A1EwuLIS03S1QsbWS0su2KY8uhAj4qhZH/N89yWOReqwVavFrTXyhnY9/ZcI8PN8B ObpIEbQAX4SV8la9iDNp0hLqi+xhBSKuLWpbL6CBMUJCTGzEoajsFRJwLPegn7vQ6xHl 26D174eczHt34DNhpzEWnW/rwDlmvo7LJqqSaTQ2mZtFo50XtuHNbUEalpHuHQao/+JK ifVlW7NMTcJYau6AO8WVuK0tSCkGSqlMYJ2nAz3zhHw7xtEPZtD979G1pdOJQv4fALU+ yqAyoZKAEgl2AXPCXGNUxx58rgel7GmBVEG/DjfmqeYZNlzwpwTR6Zc4JTYg5pQARpDw 6Sqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=1OeohSki; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 69si30368010pgc.164.2019.01.09.08.55.01; Wed, 09 Jan 2019 08:55:16 -0800 (PST) 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=@kernel.org header.s=default header.b=1OeohSki; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726491AbfAIQwj (ORCPT + 99 others); Wed, 9 Jan 2019 11:52:39 -0500 Received: from mail.kernel.org ([198.145.29.99]:49812 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726275AbfAIQwi (ORCPT ); Wed, 9 Jan 2019 11:52:38 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B4901206BA; Wed, 9 Jan 2019 16:52:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1547052758; bh=PGmQbghLzB//LYJFii0db6Hv2f/jthDwNAeOQyXQduk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=1OeohSki498/SbzVQ4l7ltwXEM4p766QfBV+9ohg8SHz0ndntxEQ09W3kSRB5YybH xAe/Bu4A00E2tXTcRP6u45HoJn1rrQl9mBLeKuEwHxRwJS9u+mY45q8xl0JQv5pf+M WzSPO1d55AdhE4WZ2vZLYaNkaHzz4MQj47Cg1AO8= Date: Wed, 9 Jan 2019 17:52:35 +0100 From: Greg Kroah-Hartman To: Sebastian Andrzej Siewior Cc: Marc Dionne , Linus Torvalds , Linux Kernel Mailing List , x86@kernel.org Subject: Re: x86/fpu: Don't export __kernel_fpu_{begin,end}() Message-ID: <20190109165235.GA8151@kroah.com> References: <20190109111951.5zvnj7ls6jv56p2u@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190109111951.5zvnj7ls6jv56p2u@linutronix.de> User-Agent: Mutt/1.11.2 (2019-01-07) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 09, 2019 at 12:19:52PM +0100, Sebastian Andrzej Siewior wrote: > On 2019-01-07 18:08:26 [-0400], Marc Dionne wrote: > > On Thu, Dec 27, 2018 at 11:20 AM Linux Kernel Mailing List > > wrote: > > > > > > Commit: 12209993e98c5fa1855c467f22a24e3d5b8be205 > > > x86/fpu: Don't export __kernel_fpu_{begin,end}() > > > > … > > > With EFI gone as the last user of __kernel_fpu_{begin|end}(), both can > > > be made static and not exported anymore. > > > > > This commit removes an exported function pair that is currently used > > by out of tree modules, while the replacement pair > > (kernel_fpu_begin/end) is EXPORT_SYMBOL_GPL. So this is making > > existing functionality GPL only, which will probably be an issue for > > several out of tree modules that use the fpu. > > > > Could kernel_fpu_begin/end be made plain EXPORT_SYMBOL? > > It can be used by OOT modules as long as they are not under a > proprietary license. The change here is not for me to decide, I added > the x86 maintainers to make their decision. I can make a patch if they > say so. If there are no in-kernel users, the symbols should not be exported anymore. That's nothing new, we have always done this. > On the other hand could we just drop EXPORT_SYMBOL_GPL? I doubt this > helps in any way yet please correct me if I am wrong. Yes, it helps, please leave it as-is. thanks, greg k-h