Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 15CFBC678DB for ; Sun, 5 Mar 2023 13:28:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229744AbjCEN2v (ORCPT ); Sun, 5 Mar 2023 08:28:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47042 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229567AbjCEN2t (ORCPT ); Sun, 5 Mar 2023 08:28:49 -0500 Received: from xry111.site (xry111.site [IPv6:2001:470:683e::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 758E9E07F for ; Sun, 5 Mar 2023 05:28:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xry111.site; s=default; t=1678022925; bh=ZaWQHTmSRiNklxlg5kkcCCgVC4tnODce6ijtWwOheZ4=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=ZTPkcc6wRuQsNrXyD46UE4gidUiFbhkCct0fmP79t+FmeKTAoFrkEZjxjj7UU+893 LXypH6FLUAyVCgcm2e9eJL/4de+F7xlVOuohZLTJE41IaIeau5mIjyQQQP7mUgyvLA nrVa8/ya6KWlUK5vS7boTHFY0clhxB6IhPCnMUeg= Received: from [IPv6:240e:456:1100:450:13f:c7a5:b729:8342] (unknown [IPv6:240e:456:1100:450:13f:c7a5:b729:8342]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) (Authenticated sender: xry111@xry111.site) by xry111.site (Postfix) with ESMTPSA id 577DF6639E; Sun, 5 Mar 2023 08:28:36 -0500 (EST) Message-ID: <58cc7e6d19628757d6d8dc192d07876288f6077e.camel@xry111.site> Subject: Re: [PATCH] LoongArch: Provide kernel fpu functions From: Xi Ruoyao To: Huacai Chen , WANG Xuerui Cc: Huacai Chen , Arnd Bergmann , loongarch@lists.linux.dev, linux-arch@vger.kernel.org, Xuefeng Li , Guo Ren , Jiaxun Yang , linux-kernel@vger.kernel.org, loongson-kernel@lists.loongnix.cn Date: Sun, 05 Mar 2023 21:28:27 +0800 In-Reply-To: References: <20230305052818.4030447-1-chenhuacai@loongson.cn> <48f508aa-ab40-7032-a68d-90d8986afb2f@xen0n.name> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 2023-03-05 at 20:18 +0800, Huacai Chen wrote: > > Might be good to provide some explanation in the commit message as to > > why the pair of helpers should be GPL-only. Do they touch state buried > > deep enough to make any downstream user a "derivative work"? Or are the > > annotation inspired by arch/x86? > Yes, just inspired by arch/x86, and I don't think these symbols should > be used by non-GPL modules. Hmm, what if one of your partners wish to provide a proprietary GPU driver using the FPU like this way? As a FLOSS developer I'd say "don't do that, make your driver GPL". But for Loongson there may be a commercial issue. --=20 Xi Ruoyao School of Aerospace Science and Technology, Xidian University