Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4405810rdb; Fri, 15 Sep 2023 00:41:06 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG9MTrhjYiFefvuFND9pdphv6uk2jiqTJukAJ+kOSQJ8X1V0/tlcFjd7+VNNAcOEILSZ5a+ X-Received: by 2002:a05:6a21:6d8d:b0:157:1b5:61ce with SMTP id wl13-20020a056a216d8d00b0015701b561cemr1413780pzb.4.1694763666581; Fri, 15 Sep 2023 00:41:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694763666; cv=none; d=google.com; s=arc-20160816; b=CkX4YE6Ur4rgCuhhR109dX/GXpqLHghaIkQl/uEWa3hqfY9+BbjaWooezAmMFIbFZl W9CrropmSo7Mlqf3mmL5CT6/n30Fueogf0MNubXTbK4cnTaC/dWkywnFU6U+hYSO/SP1 2dLyVoPdFc+rpwQG7z7OtrAf51MFDgAqNVESAJu5HodgN5bD7Vh/mQZIqtiuCgsCMg3Z dHpJsnT28+fq9naWYAf+/UxSKmy+nGrUmy9HLsBS8aO14V9MXHieZOx1D34SENkQiSdE x8zBf0AsTvMzMwfnXjn9TfPxB5mwnGjRyllwaZt67a+tcrXYJ6T8S3X6lBOF5QEu92rd R5Bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :mime-version:accept-language:in-reply-to:references:message-id:date :thread-index:thread-topic:subject:cc:to:from; bh=WAhodtltbt+rBvoBltVyxMtuB/b5K/5aM0DjuX8FBw4=; fh=upt4AdBXtl01lrXZPxOZIKh85G859oZX16vSX4qf2hg=; b=oT7VGll+Noy5JtAoFrRL1hBpbR4aENrnHYdCUtsDUpvdKtmNhI+w58Ve1kxdS1PPwf gWljwGrJLOaCZ2X89ZD78KyfwwkxrmGtBA8ToQDwVHbppeakGOMrhVDJMM5tuJ+ruWqb t6Fw0K75lJJorlIC0eq5kcf2hW1s6yY6OuB7afYyww8cK9djwHkrj+/lMiKE+/EcH2Np 3AY/HI+W9zMqg1zB4YmBCiHhhFtKXgW52l4X8/TCPNjlaAi68V1hW1kXjfYCEOLz/RK9 m4w0mB9Z6shGrO4rb5/GRUcGwdrq9HT1456fiA26xHNO1xYTe/sW+HGcYJmV5yhAjKIE FdSQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id l10-20020a17090aec0a00b00267ba1c43adsi2906212pjy.101.2023.09.15.00.41.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 00:41:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id BED798343528; Fri, 15 Sep 2023 00:29:57 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232387AbjIOH37 (ORCPT + 99 others); Fri, 15 Sep 2023 03:29:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34378 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229767AbjIOH36 (ORCPT ); Fri, 15 Sep 2023 03:29:58 -0400 Received: from eu-smtp-delivery-151.mimecast.com (eu-smtp-delivery-151.mimecast.com [185.58.85.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 3927719A5 for ; Fri, 15 Sep 2023 00:29:39 -0700 (PDT) Received: from AcuMS.aculab.com (156.67.243.121 [156.67.243.121]) by relay.mimecast.com with ESMTP with both STARTTLS and AUTH (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id uk-mta-232-4Gk51lTPOEe7Li4u2XVmiA-1; Fri, 15 Sep 2023 08:29:26 +0100 X-MC-Unique: 4Gk51lTPOEe7Li4u2XVmiA-1 Received: from AcuMS.Aculab.com (10.202.163.4) by AcuMS.aculab.com (10.202.163.4) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Fri, 15 Sep 2023 08:29:23 +0100 Received: from AcuMS.Aculab.com ([::1]) by AcuMS.aculab.com ([::1]) with mapi id 15.00.1497.048; Fri, 15 Sep 2023 08:29:23 +0100 From: David Laight To: 'Charlie Jenkins' , Palmer Dabbelt , Conor Dooley , Samuel Holland , "linux-riscv@lists.infradead.org" , "linux-kernel@vger.kernel.org" CC: Paul Walmsley , Albert Ou Subject: RE: [PATCH v5 1/4] asm-generic: Improve csum_fold Thread-Topic: [PATCH v5 1/4] asm-generic: Improve csum_fold Thread-Index: AQHZ54ewpMv53rwyPk26+JqeBsO74rAbfALw Date: Fri, 15 Sep 2023 07:29:23 +0000 Message-ID: References: <20230914-optimize_checksum-v5-0-c95b82a2757e@rivosinc.com> <20230914-optimize_checksum-v5-1-c95b82a2757e@rivosinc.com> In-Reply-To: <20230914-optimize_checksum-v5-1-c95b82a2757e@rivosinc.com> Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.202.205.107] MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: aculab.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 15 Sep 2023 00:29:58 -0700 (PDT) RnJvbTogQ2hhcmxpZSBKZW5raW5zDQo+IFNlbnQ6IDE1IFNlcHRlbWJlciAyMDIzIDA0OjUwDQo+ IA0KPiBUaGlzIGNzdW1fZm9sZCBpbXBsZW1lbnRhdGlvbiBpbnRyb2R1Y2VkIGludG8gYXJjaC9h cmMgYnkgVmluZWV0IEd1cHRhDQo+IGlzIGJldHRlciB0aGFuIHRoZSBkZWZhdWx0IGltcGxlbWVu dGF0aW9uIG9uIGF0IGxlYXN0IGFyYywgeDg2LCBhcm0sIGFuZA0KPiByaXNjdi4gVXNpbmcgR0ND IHRydW5rIGFuZCBjb21waWxpbmcgbm9uLWlubGluZWQgdmVyc2lvbiwgdGhpcw0KPiBpbXBsZW1l bnRhdGlvbiBoYXMgNDEuNjY2NyUsIDI1JSwgMTYuNjY2NyUgZmV3ZXIgaW5zdHJ1Y3Rpb25zIG9u DQo+IHJpc2N2NjQsIHg4Ni02NCwgYW5kIGFybTY0IHJlc3BlY3RpdmVseSB3aXRoIC1PMyBvcHRp bWl6YXRpb24uDQoNCk5pdC1waWNraW5nIHRoZSBjb21taXQgbWVzc2FnZS4uLg0KU29tZSBvZiB0 aG9zZSBhcmNoaXRlY3R1cmVzIGhhdmUgdGhlaXIgb3duIGFzbSBpbXBsZW1lbnRhdGlvbi4NClRo ZSBhcm0gb25lIGlzIGJldHRlciB0aGFuIHRoZSBDIGNv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