Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp1861795rwo; Sun, 23 Jul 2023 02:13:16 -0700 (PDT) X-Google-Smtp-Source: APBJJlHASQltdA4mpHiEb/QSrxvL0DlMdF4Ks0mitCvSmXLaQisn1aNrsFP9qieYaB1veUt4tPjz X-Received: by 2002:a17:906:76cd:b0:993:f12a:39ce with SMTP id q13-20020a17090676cd00b00993f12a39cemr7317249ejn.15.1690103596648; Sun, 23 Jul 2023 02:13:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690103596; cv=none; d=google.com; s=arc-20160816; b=KEzQ+YUF15P7BdSyu2lbBxEPim9pxFd68UyZ+HFQggrdu1dV+XNsYQSVBIN9XMRFd6 ux25CjSamLajwlYAOA/OO3+s79pqv3RP318lWvOz4VCCSLOGYky7fjVrTwkI8QBXliWN 9zUHKvXq9ccnBGmSlRMaM3s/GXkyek8V2pe7NVKdxYyqUN6In5IHzv/c1To/d9fMp51i QpiHvndddzudyJHuxxkufeDAHaAlyy7Yd11Jx3TgmtwK2NkSuJ8VEX7OhJW2zzrruU0n CUYwViYk6nWuJ6D46D6A2NH/rUPmvdaKzTWSK2uND82YQ5Spo+4qjJtSxoqVCIInyzaS 5kmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=0Ct8SQ1+Hl1apWYesDSytKAsCuFVU2+mQ/8hxeppnEs=; fh=oktyAfFvTnnUlva8uVXG0N5h1nuGusaZzz++FhWKS4s=; b=YGISsSe5QE0nPmzEVU+VVgIPlqhN4KzNlfyA0f6CqikHVWJfGyzHueYiArV8/jESJa 28dbCqg6eVRRfC+Jftzc98Ck0/iWWdAhnkQsQNXakhRNWkqHyRcZoTmMJ6NZhqf6R/FV zdZHveZxoWp+PeadFJkPkpQ+Ttpj9eaWpyT/3WjCfyhuvhEJyW1f0l7mApihwcJhS2T3 lp7L5EJ+ZfEnUaGKc+2Jqw7Rp7uVlacrHgjisUGKdkUHtVpU8K3QRjbglM/i6l2oHbxu UqS2D3lc7eaSzS79qC+JJeieSC6nz3Zuvj0bzoD0K+7Dprc1OwgVqhaxr7+D3lB818su XfjQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g24-20020a50ee18000000b0051e3cc20de5si5315925eds.592.2023.07.23.02.12.52; Sun, 23 Jul 2023 02:13:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229640AbjGWIPl (ORCPT + 99 others); Sun, 23 Jul 2023 04:15:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52896 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229452AbjGWIPl (ORCPT ); Sun, 23 Jul 2023 04:15:41 -0400 Received: from 1wt.eu (ded1.1wt.eu [163.172.96.212]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 25AAEE41; Sun, 23 Jul 2023 01:15:37 -0700 (PDT) Received: (from willy@localhost) by pcw.home.local (8.15.2/8.15.2/Submit) id 36N8FK17019773; Sun, 23 Jul 2023 10:15:20 +0200 Date: Sun, 23 Jul 2023 10:15:20 +0200 From: Willy Tarreau To: Thomas =?iso-8859-1?Q?Wei=DFschuh?= Cc: Zhangjin Wu , arnd@arndb.de, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH v1 1/8] tools/nolibc: add support for powerpc Message-ID: <20230723081520.GA19768@1wt.eu> References: <64a95595-9716-4276-a747-0c985997c1ab@t-8ch.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <64a95595-9716-4276-a747-0c985997c1ab@t-8ch.de> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jul 23, 2023 at 09:32:37AM +0200, Thomas Wei?schuh wrote: > On 2023-07-19 05:10:48+0800, Zhangjin Wu wrote: > > diff --git a/tools/include/nolibc/arch-powerpc.h b/tools/include/nolibc/arch-powerpc.h > > new file mode 100644 > > index 000000000000..100ec0f412dc > > --- /dev/null > > +++ b/tools/include/nolibc/arch-powerpc.h > > @@ -0,0 +1,156 @@ > > +/* SPDX-License-Identifier: LGPL-2.1 OR MIT */ > > +/* > > + * PowerPC specific definitions for NOLIBC > > + * Copyright (C) 2023 Zhangjin Wu > > If it is taken from musl, shouldn't there also be a musl copyright? In fact it depends. If code was taken there, not only the copyright is needed, but the license' compatibility must be verified. If, however, the code was only disassembled to be understood and reimplemented (as it seems to me), then no code was taken there and it's not needed. Thanks, Willy