Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp969251yba; Fri, 3 May 2019 13:35:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqxTUhY5M5avkscwRZh6FeUw7kBprl5iqUU1d6STcX3yuXGFx7jsnBuuRfMgGxoAY1PEuAfK X-Received: by 2002:a65:43c8:: with SMTP id n8mr12737146pgp.365.1556915727617; Fri, 03 May 2019 13:35:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556915727; cv=none; d=google.com; s=arc-20160816; b=qXRpxjjDVx9eaob6mlWiS2w5qEWLuk2eGCigjlEMqrdWVZ6Ud2YmqTrCp4kxFd3fsq z0Yr/CZzD91IOdASnyaCILHEjTuusgvK/0pXGJf0YeY1ASK92RzgOqmvg7zwHyIuwNM7 V/9FfQ274U0VTuXm1rbXVYQrmN+mXDI+D5uNZiTNSDLxAOQDMyJuA4555YC2ct7sP8gW iZfaC/sgJE8Ke9J+H0p9EpQPWVrud6EftF+V07ik/uqgRSJS9GJlbSwYdgoYAPC7Of6v /nY4QI8FTpysNlLQLjeDETZ2bUmDkC5aDC0tPkKOLtD2JAhmdxN9BuVYMEVWWbagU4rW dvPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:dkim-signature; bh=jNpdn+5fsvrXYWS1t6q6BGlDjSLyaro1hz6w+Z7cVVc=; b=IEjZUhD/tTMlkiYAHL2kwFl1A/xXwKNzf4+FCknU9KqBW63yzqCrP9GN7wJkuGRLiw kiS556jKFguZAagOtsMsa/ctyvAFLux3t1DNjNRbeGlOMIPvOCNMuNMWhy/2jbhXVqKP nS3qPp9OFOWQf7/M3JZqTrFBK5DghMiTM/9Z+6mbaRxP7/JHy2A0izCLu1if0mnk8P9E lUlkRqe5WXHdImvS5G6+7uNOSnYCFUEycis/Y1MmU1JJt4FwupVmZLnjan6wHHtHnvlD EpkKtNtDEl+VcqQs5sgMolZyZNxyAAvzXfGEYYmSprkdG4I9nVgqC7XXaXXFudNMqHsH DV1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amacapital-net.20150623.gappssmtp.com header.s=20150623 header.b=Ze7V2HJI; 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 u63si3949538pfu.88.2019.05.03.13.35.12; Fri, 03 May 2019 13:35:27 -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=@amacapital-net.20150623.gappssmtp.com header.s=20150623 header.b=Ze7V2HJI; 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 S1726743AbfECSy7 (ORCPT + 99 others); Fri, 3 May 2019 14:54:59 -0400 Received: from mail-pg1-f194.google.com ([209.85.215.194]:40438 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725997AbfECSy7 (ORCPT ); Fri, 3 May 2019 14:54:59 -0400 Received: by mail-pg1-f194.google.com with SMTP id d31so3128419pgl.7 for ; Fri, 03 May 2019 11:54:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amacapital-net.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=jNpdn+5fsvrXYWS1t6q6BGlDjSLyaro1hz6w+Z7cVVc=; b=Ze7V2HJIleQKSjHWj+M8QP+fsyogjvoif9Jv4VUtem6IBwfSqPNCJyVFNS20XYCvAG XiSiR4FfiR7PHepl3n7MzONfPKL6x8eNJK/acB633DENM67QE2n0/ZXkJLw07kzUybk+ 8kdjfjTk04bOmEI3V8gE/VRanycjWAJaY9U6Wt2lUgZkp9y3k45UTcrG/mMVasY2yJa/ EMclqm+L5FRQAeoGKA1ajR/gwJ/S8KScXoReh8pvIKw6ta+j6lxXVx7/hNFcLt5bvJHV 8tG0lvQIn0cr9hI0S69KAzETz2P7hsKN1/WCQUOS2+4Xsodv1Bo004jz2TEtsDGvrUxO ej/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=jNpdn+5fsvrXYWS1t6q6BGlDjSLyaro1hz6w+Z7cVVc=; b=X47F1unfAbr+GlNdpX+Vc2xJL9tM9TDXE62Zuu5kn9iGA+2n5or+Ic9Nu+fA7tt+Nm AAY8LPqE5/6qAzWvM103hLNeChUAoLLP2z7DTQiBrfMCbssNyi9y0E+NdE/hrGEMWpDh ZkTUeOLOo3FprUfluX+wc005u9wJU+IBlL5uE73F7IR0sPnsDXcKYs/H+rZzIPyAvb9M azy4/3m2nLe7lia/GrhwFYD2QbVGCLHUosIpRCltRx3YApBp6/VUmRX1IuaFsLvvvHnH +r8e3YYTThLiQtf2Yhq47SEW6Py8z1eHv0Xo6wsgRqrCAfUyGM6XTO3j8aZA0qQtoXOo cVXw== X-Gm-Message-State: APjAAAU6e/ncVdJv08Goh6cAkgIMzEzRWtTZMq+oN2awneSomM5HKxsh REejE4GfEVafEC/pGsiYir3Pug== X-Received: by 2002:a62:164f:: with SMTP id 76mr13278829pfw.172.1556909698011; Fri, 03 May 2019 11:54:58 -0700 (PDT) Received: from ?IPv6:2600:1010:b051:5fe3:59e6:3e7a:27ff:af6f? ([2600:1010:b051:5fe3:59e6:3e7a:27ff:af6f]) by smtp.gmail.com with ESMTPSA id v15sm3711892pff.105.2019.05.03.11.54.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 03 May 2019 11:54:56 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (1.0) Subject: Re: [PATCH] x86/fpu: Remove the _GPL from the kernel_fpu_begin/end() export From: Andy Lutomirski X-Mailer: iPhone Mail (16E227) In-Reply-To: <20190503180739.GF5020@zn.tnic> Date: Fri, 3 May 2019 11:54:54 -0700 Cc: Paolo Bonzini , Andy Lutomirski , Sebastian Andrzej Siewior , Greg KH , LKML , Rik van Riel , "H. Peter Anvin" , "Jason A. Donenfeld" , Ard Biesheuvel , Dave Hansen , Ingo Molnar , Nicolai Stange , =?utf-8?Q?Radim_Kr=C4=8Dm=C3=A1=C5=99?= , Thomas Gleixner , X86 ML , stable Content-Transfer-Encoding: quoted-printable Message-Id: <5BD87ACE-1200-4612-AA83-1590DA9E45E5@amacapital.net> References: <761345df6285930339aced868ebf8ec459091383.1556807897.git.luto@kernel.org> <20190502154043.gfv4iplcvzjz3mc6@linutronix.de> <20190502165520.GC6565@zn.tnic> <20190503180739.GF5020@zn.tnic> To: Borislav Petkov Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On May 3, 2019, at 11:07 AM, Borislav Petkov wrote: >=20 >> On Fri, May 03, 2019 at 11:21:15AM -0600, Paolo Bonzini wrote: >> Your observation that the API only exists on x86 and s390 has no bearing >> to whether the functions should be EXPORT_SYMBOL_GPL or EXPORT_SYMBOL. >> ARM has kernel_neon_begin/end, PPC has enable/disable_kernel_altivec. >> It's just that SIMD code is so arch-specific that nobody has bothered >> unifying the namings (or, nobody considers the different names a problem >> at all). >=20 > This is actually proving my point: there wasn't any real agreement on > what interfaces should be immutable so that out-of-tree code can use > them and us guaranteeing they won't change. Instead, it was a random > thing that just happened. >=20 I don=E2=80=99t think I or has said we should try to make these interfaces i= mmutable. What I=E2=80=99m saying is that, since we=E2=80=99re exporting the= symbol anyway and it=E2=80=99s not particularly Linuxy, that we shouldn=E2=80= =99t say that only *GPL* out-of-tree modules may use it. It seems like anyo= ne who wants to put the effort into tracking which kernel has which symbols a= nd is willing to accept the utter instability of the interface may use it. So if we ever unexport the symbol entirely, I won=E2=80=99t object. I objec= t to what I consider to be the inappropriate claim that it=E2=80=99s a *GPL*= export. (I actually hope we unexport it once simd_get() and friends land =E2=80=94 t= hey=E2=80=99re a much better API, and we should migrate over to it.)