From mboxrd@z Thu Jan 1 00:00:00 1970 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6653FC433F5 for ; Thu, 17 Feb 2022 10:24:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=48G43eS26JW4s6gO0bE3RLgphyl0G4rLVvRhJtbR+jE=; b=U5pbIC4xSCVrYW S3eb29hbLtOya55CxYnpiPqWQF7nLIW0CdVL4SKbjdlBkSB7nRT35YFOoG9ttcSITJbTdSuIvZ1ya +KfUkfg91W7kiiz9sWfCTxRMAc6fhpl+XGELbw87lEK0sQEDy7DYKiYH+g5gjlhSgtsKDxYDiDmsA lkS7PNcF039+TbBZ+GmY/OyN0F+qqiLSbzGJpXANcl2vW30Ej+lekNpYfjztrC6oCmmmIaxh6E7Lt YbEx4Fn4K3fVIGMRRt9wWYl+Fu+1ZX7TXbLzjkiozf06jMOz9SuJHlxDdtH5rb1d9AEj1+B7p/Po2 Fo++SR1DmCU2ELXblibg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nKdwi-009tBh-JC; Thu, 17 Feb 2022 10:23:32 +0000 Received: from mail-vi1eur04on061c.outbound.protection.outlook.com ([2a01:111:f400:fe0e::61c] helo=EUR04-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nKdwe-009t9O-Au for linux-arm-kernel@lists.infradead.org; Thu, 17 Feb 2022 10:23:30 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=RG87HmNqGZjNlqwCRla1fohUQK6ruEsyhD08IEVllHI=; b=5l6s9Gr6wlmdHLMOx7uOglrFLc5Ta9pnot/mf3+w7wjSjLxLQGB1uZYlFBfzPNz/YmCOqbE3oZf5McTgueDNhADfv3/PSteZbATu75GoOtXLiOQS5scNMukMBR//YNoB24BmRTrKxMkT+u8ns8hJGa2WMYzP14ebElYv9uckgWk= Received: from AM6P194CA0041.EURP194.PROD.OUTLOOK.COM (2603:10a6:209:84::18) by PAXPR08MB6970.eurprd08.prod.outlook.com (2603:10a6:102:1d9::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4995.16; Thu, 17 Feb 2022 10:23:23 +0000 Received: from AM5EUR03FT034.eop-EUR03.prod.protection.outlook.com (2603:10a6:209:84:cafe::f4) by AM6P194CA0041.outlook.office365.com (2603:10a6:209:84::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4995.16 via Frontend Transport; Thu, 17 Feb 2022 10:23:23 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT034.mail.protection.outlook.com (10.152.16.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4975.11 via Frontend Transport; Thu, 17 Feb 2022 10:23:23 +0000 Received: ("Tessian outbound 18e50a6f0513:v113"); Thu, 17 Feb 2022 10:23:22 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 39393a5f60f749a1 X-CR-MTA-TID: 64aa7808 Received: from 903cce6da9d2.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id F6A52028-3F53-4332-A386-B727A0FB5936.1; Thu, 17 Feb 2022 10:23:16 +0000 Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 903cce6da9d2.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 17 Feb 2022 10:23:16 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PDm2cv70x1FmvCLDgkCbgUWYWb0wh+LOQVekBvj052qWK51TcygqLhJT83rtNT6wNZuplrdIPTiR+EUS8zemZSqzw3msXO6tJWmKNNkoT5gIGHTHCCKUAMHk79ed+zhnIsPsq2eh1XDyqcZzxI/mUKMSYgbkGf4jBdNLdmfBx1DPj+cDYBMp8eT3Tz6HS+XWgcKcSXuZvDkUmtfHV9lsI3fBkO5fgkFJizp34MwNErfF16fT8hNge5OIxusNYhd1t5PCi9XKdiRofw6WyHSneRxL3hVhnsycIlomje8WckmXNfZsabSFgXa3thqkhyG+MwThgTqbiIc7ezFG1xrtxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=RG87HmNqGZjNlqwCRla1fohUQK6ruEsyhD08IEVllHI=; b=YbIKlzkq709Wlo2PJ3o5uZZBTKgFI7jVo3B8c1SSwBMv4TLkA1xMefEEuQk0xYR+ni1RDucv0wSyc87UrjBq3wRkLjZub3tvW+2wkQ+Aqb+rTdHzfMlLouNq/1jwtm5Q3tVdtujs/XiWexwXZWZCU/2RPVQ1jnuzCNCeJC/zZDxpbnBVSEvOJngYgyjTN9ufBRXd8lpqoQr3EjOPZM8ETUCA025TvJoW5S2uee2Bc1r/JMnun2Wa3KwmqbRw3WzRzQYc2pzl8VVhJa2VSvS0NHtcNAi/n9usiFdcFDjMLzURJ2o2q2MdMIW2628OlTiTvB1XARI/0nfDYLDBd86pVQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=RG87HmNqGZjNlqwCRla1fohUQK6ruEsyhD08IEVllHI=; b=5l6s9Gr6wlmdHLMOx7uOglrFLc5Ta9pnot/mf3+w7wjSjLxLQGB1uZYlFBfzPNz/YmCOqbE3oZf5McTgueDNhADfv3/PSteZbATu75GoOtXLiOQS5scNMukMBR//YNoB24BmRTrKxMkT+u8ns8hJGa2WMYzP14ebElYv9uckgWk= Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; Received: from DB8PR08MB5433.eurprd08.prod.outlook.com (2603:10a6:10:118::13) by AS8PR08MB6054.eurprd08.prod.outlook.com (2603:10a6:20b:291::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4995.17; Thu, 17 Feb 2022 10:23:14 +0000 Received: from DB8PR08MB5433.eurprd08.prod.outlook.com ([fe80::d858:8573:f6d3:acdb]) by DB8PR08MB5433.eurprd08.prod.outlook.com ([fe80::d858:8573:f6d3:acdb%4]) with mapi id 15.20.4995.017; Thu, 17 Feb 2022 10:23:14 +0000 Date: Thu, 17 Feb 2022 10:23:09 +0000 From: Joey Gouly To: Robin Murphy Cc: "Russell King (Oracle)" , linux-arm-kernel@lists.infradead.org, nd@arm.com, catalin.marinas@arm.com, mark.rutland@arm.com, will@kernel.org Subject: Re: [PATCH v1 1/3] arm64: lib: Import latest version of Arm Optimized Routines' strcmp Message-ID: <20220217102309.GA27144@e124191.cambridge.arm.com> References: <20220215170723.21266-1-joey.gouly@arm.com> <20220215170723.21266-2-joey.gouly@arm.com> <626c6da4-547e-aa3e-3968-907e69e061d0@arm.com> Content-Disposition: inline In-Reply-To: <626c6da4-547e-aa3e-3968-907e69e061d0@arm.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-ClientProxiedBy: LO2P123CA0081.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:138::14) To DB8PR08MB5433.eurprd08.prod.outlook.com (2603:10a6:10:118::13) MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 1079b576-39b8-43c3-2810-08d9f1ff86dd X-MS-TrafficTypeDiagnostic: AS8PR08MB6054:EE_|AM5EUR03FT034:EE_|PAXPR08MB6970:EE_ X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:4502;OLM:4502; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: yXtXb73VJ8MJHyxLsYaWEmUWzGOimsHF6rt//yiNxnWOaSrld0Rj2HchXeSkhoqvuh6KOnbVJQJbRFplk4G5hkHpb6sYzwWK2xHL4T3PQn0n8BC+sjcH9rPhs3Du9rps2nQXb3/JCkW5P05VV2nNPZyl4IGHlvs7ntglK95eErtAU8hXgLaNCaHCpMjRhT9K2XNDMXVRKJaJAj0Wo8jNNkanGKfiS/GNmGYD8Bj7MYbrYtuhjQKXYhWvAiIrgPmy4NqcvOy6rNizEIdG0/KdPX2/7Y2tsI5zhNk87jWVyhf7Xx7kmX89KJaxxGO6enBJvRRzEgDah+MgLkyDnCglCAUPQTfBXXTnmnlakSmyJR4CpVCYf8Uhq/L0NuBAGogcwIbnBLlkJvrSQk16SISBcvlEBH4IhzvubauSVZFE80aYDoub3Dr2Cva0MdH0ainLpWoCAm3P/4V4vt9zlJ4A1yRawT+p/R+8fxWC5eVBlfkHWjUD73N1fNM3DaclRsU0YImReadgD4AgRHsh5aUmMTv0nfRL5nZzGacIms7jRFxAflNi1f/8hdcdb1Bg/M2U2j9NwVT3OMW4FvFj3DPfBAPpjN9Jcqr2GlVVClV1C9F26a6BW0oQ8knY4pXrao2Z81XGeyUuUsXNPAHlYG9mLxaI7NcrQ7dgFlceDkpYBpYF0yOETM8nulp4eRr9QufoaS0MlXo22rsL9/HQIHhV2QkOUG7AD8nn78MW4CUb8Mtv/QRZ1qlIJaC99BySJZNPtyPv1GnAluM915SJjgh+Fn39LWibE1l4NYJc5GDjoHPEeEUUKPCbDKof9ghcYonInkIkvoGMtHvc5kz5jt8+CVF6tDzucJpy82RVoDWsvZRo8UybCxsNz4/kpcubXung X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB8PR08MB5433.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(1076003)(2906002)(966005)(6636002)(6486002)(316002)(508600001)(66556008)(66476007)(6666004)(8676002)(66946007)(6506007)(33656002)(8936002)(52116002)(53546011)(6512007)(44832011)(5660300002)(186003)(86362001)(83380400001)(26005)(38350700002)(4326008)(38100700002)(6862004)(17423001)(156123004); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB6054 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT034.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 8d600ed2-e398-463d-f8b0-08d9f1ff814a X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: FKFKRGlQIgo2XvUWCx9q4XxFX8+DJUQd0DpWzgupqLHEJsELrwT19ptF/KLHo+UlN+twGLOGVB/BzbCG0ECBg9IrtyCZd91ERQTmiqIlHKS1TpbQ/4PE88aFEXsVVbu70Iy5+gqVptjP7fsP9Xiz7I3tUcGedgVXPkZ84ZGz0cHXX1YfgqTARkLw2MIqWrrfTi0yx3TGa9kgETJkVbE0HohTY/Gzd8PV4eteLQJ37f9VOV4d+BHUqYP9EW8o7fTE8Cankwc/ajG9B/ZQ+uzbqJsDqV2cDI0WL+xj/L3pBPePrkIqzEOVNXKLZpdRSuXyMh9ID02O2hAxd2Q3W5RSI/vTIc98AglihjCC0ZyOc2zk5hoJuJfGCxf/GQm9+7tcCTGsC/mE+ndK9EOo4vif5BQDRRIfqm/Vf5OBgqqJ9cASk0a44ow0fTHMYGOSDSzlZD+he9cnB8QDV5hW6g/pbponJowHeW3OZUDbMLW4d2Vc2YrLI/ksvq+JT6H0Dm9+uFwp7pfOkSw0F59CgnevksVNi19P9GoZHCHL09BWh1+orHbeITjTY9DDOpnKo1hIcnYjMGuKCEWCmfYLkj539Nm5QOv+4mx8kuiRQ2cvixjX7pYazNvm4QLXRGYglRH83B8Hcpulqk6AmRap5kGZQAxsbVoz48zyHndf8fVN1U3FV4NnIDjgJYMhBzqA+qKccQz/Mvedylq7XHmw9sx7bGkXnqnsqmVZxNm6CM64FPX9h/lUyUoQ6kDplR+fV0j65gGvNebbNNWpkTiSL1+34sWGRNJoGf0ldWCYcpFfJvIpuo2Q/OjZ2ge7GW5t26tUi87+R1OAwrS3FCO6kvZ7CaHn7pi36DOJwYo7LTEcJ/s= X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(13230001)(4636009)(40470700004)(36840700001)(46966006)(316002)(47076005)(36860700001)(6666004)(6636002)(26005)(6486002)(356005)(81166007)(966005)(70586007)(2906002)(4326008)(6862004)(8676002)(70206006)(82310400004)(508600001)(6512007)(86362001)(107886003)(33656002)(1076003)(5660300002)(8936002)(53546011)(83380400001)(40460700003)(336012)(6506007)(186003)(44832011)(17423001)(156123004); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Feb 2022 10:23:23.0612 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1079b576-39b8-43c3-2810-08d9f1ff86dd X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: AM5EUR03FT034.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR08MB6970 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220217_022328_490529_F4706EF3 X-CRM114-Status: GOOD ( 25.56 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Feb 16, 2022 at 06:36:12PM +0000, Robin Murphy wrote: > On 2022-02-16 16:44, Russell King (Oracle) wrote: > > On Tue, Feb 15, 2022 at 05:07:21PM +0000, Joey Gouly wrote: > > > Import the latest version of the Arm Optimized Routines strcmp function based > > > on the upstream code of string/aarch64/strcmp.S at commit 189dfefe37d5 from: > > > https://github.com/ARM-software/optimized-routines > > > > > > This latest version includes MTE support. > > > > > > Signed-off-by: Joey Gouly > > > Cc: Robin Murphy > > > Cc: Mark Rutland > > > Cc: Catalin Marinas > > > Cc: Will Deacon > > > --- > > > arch/arm64/lib/strcmp.S | 238 +++++++++++++++++++++------------------- > > > 1 file changed, 126 insertions(+), 112 deletions(-) > > > > > > diff --git a/arch/arm64/lib/strcmp.S b/arch/arm64/lib/strcmp.S > > > index 83bcad72ec97..758de77afd2f 100644 > > > --- a/arch/arm64/lib/strcmp.S > > > +++ b/arch/arm64/lib/strcmp.S > > > @@ -1,9 +1,9 @@ > > > /* SPDX-License-Identifier: GPL-2.0-only */ > > > > Looking at the LICENSE file in the above repository, it appears that > > this code is licensed as "MIT OR Apache-2.0 WITH LLVM-exception". > > Shouldn't the SPDX line be updated to reflect the origin license of > > this code? > > This is noted in the commits which first imported implementations from Arm > Optimized Routines (020b199bc70d and earlier): > > "Note that for simplicity Arm have chosen to contribute this code > to Linux under GPLv2 rather than the original MIT license." > > Apologies for the confusion - I should have mentioned that to Joey > beforehand, if I hadn't completely forgotten about it. I think it's just > been implicit that we'd continue to follow the same approach going forward. > Yes, I didn't mention it because I was just being implicit. I've added a note about it in the commit message, and will send out a v2 after deciding what we should do about the conflict with https://lore.kernel.org/linux-arm-kernel/20220216162229.1076788-1-mark.rutland@arm.com/ (since I may have to rebase the patches onto a different base). Thanks, Joey _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel