Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2215691imu; Thu, 10 Jan 2019 10:09:46 -0800 (PST) X-Google-Smtp-Source: ALg8bN6Lacr5G3AtEGEYxxXy3DrUhO/F83Hws2NDAM6UFnZGZirEC1pJF2z4eiQh2+HfyV5Pso6F X-Received: by 2002:a17:902:c05:: with SMTP id 5mr11396589pls.155.1547143786537; Thu, 10 Jan 2019 10:09:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547143786; cv=none; d=google.com; s=arc-20160816; b=MmsgYodOZyjWdlcypueqopa+j/1bJYP5eT+dP58+zwSj+KNBCmWufh4tWVF6niol5G DfMHJE+s7Z/CSttr4E7Whg+80TNrIY0kgngVlV/i0LFLVmSMKxNLTtV9jfy+JOy1NPy6 ++EpcL6jviC1QktTo/IRPeB7E6OijcwDemM3QYCMqPSDNsB+vkFwGBTePoUbD0BBPz2e BLgwxQyzw6j+sPs6DNXfgRXJsng1fP3LSjAntnsUkE5t/TAIiPip6phGrvovXOu04+8Z AuMxPIzAgoxDryhEjxRKwl2oVHEVXljc+UMjbw/7drs9SYM3+AlAntr3V0BKCYEAgkGr FftQ== 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; bh=15E8Q8f3R6QrT3yvavCljTZcOzwZvsOZCQupMIRJ36s=; b=xQDsAkWZq1Q/IzGwqVIi3wY4bM/b+0GWZquyl77wfxegJh0sfLHZg6WVBdbqguJlwR 2Vyxz0bynGtFoVKuN9MdX3G/R3rjA+RqrRFa/1caYkncleECT3AiQH6+C00IvonIDVqm PW5lnROS6T9j6SiYAV3fSHtjbeAUc4REB43kq3A4oulKgddlc2Z/pIPGejpG79ZfI/Px gsq3AqHvNcdlLQJka/7DSjMr/5j1BIoJ9Wf46HSjmnJuKFQTulI3Q85fvW+IpWCzLMZ1 OjUW0esEJxlBG1R1+tUbSz3KelZtKrC6DbBhayqCeGbebSHi2rznDz+VpJjvtbJ1Sr1Q 56dg== ARC-Authentication-Results: i=1; mx.google.com; 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 e15si16601544pgm.25.2019.01.10.10.09.30; Thu, 10 Jan 2019 10:09:46 -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; 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 S1730876AbfAJSH5 convert rfc822-to-8bit (ORCPT + 99 others); Thu, 10 Jan 2019 13:07:57 -0500 Received: from Galois.linutronix.de ([146.0.238.70]:60678 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730851AbfAJSH5 (ORCPT ); Thu, 10 Jan 2019 13:07:57 -0500 Received: from bigeasy by Galois.linutronix.de with local (Exim 4.80) (envelope-from ) id 1ghekC-0002gY-NI; Thu, 10 Jan 2019 19:07:52 +0100 Date: Thu, 10 Jan 2019 19:07:52 +0100 From: Sebastian Andrzej Siewior To: "Hutter, Tony" Cc: Greg Kroah-Hartman , Marc Dionne , Linus Torvalds , Linux Kernel Mailing List , "x86@kernel.org" Subject: Re: x86/fpu: Don't export __kernel_fpu_{begin,end}() Message-ID: <20190110180752.f4cnunadzzkev24m@linutronix.de> References: <20190109111951.5zvnj7ls6jv56p2u@linutronix.de> <20190109165235.GA8151@kroah.com> <20190109170935.e6b6rwzpk6dlruu4@linutronix.de> <20190110131132.GC20217@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8BIT In-Reply-To: User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2019-01-10 17:32:58 [+0000], Hutter, Tony wrote: > > But since when did out-of-tree modules use __kernel_fpu_begin? It's an > > x86-only thing, and shouldn't really be used by anyone, right? > > ZFS on Linux uses it for checksums. Its removal is currently breaking ZFS builds against 5.0: So btrfs uses crc32c() / kernel's crypto API for that and ZFS can't? Well the crypto API is GPL only exported so that won't work. crc32c() is EXPORT_SYMBOL() so it would work. On the other hand it does not look right to provide a EXPORT_SYMBOL wrapper around a GPL only interface… Sebastian