Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp2447603rdb; Tue, 12 Sep 2023 02:01:59 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGBrhiyXOaN/KZcSdjmD00R0S7H9E+jAo16Z6jK47EtJ29+2X3Y2nMBEw3ToasxtyOTdrfp X-Received: by 2002:a17:90b:1c0b:b0:26d:49c8:78aa with SMTP id oc11-20020a17090b1c0b00b0026d49c878aamr10052098pjb.32.1694509318886; Tue, 12 Sep 2023 02:01:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694509318; cv=none; d=google.com; s=arc-20160816; b=FC2g930qjFJjKMlu3LWyYjoHcKbEv+G5pGFR40WNOzUy24Zs66EvaugLw0wrj52PEe OUUDDTL/6DHD8keNStr0YQCQYaQoUk74N+O2toZIZUa0gQ1g5Ym8M2CilwHc7aPajnvw R0CgLrr+tKdr4DfdpbSERUzvESfqSvBfdZwWx6LRnHxoEapCNsPssIQObHG9coq6AtAz L5Rz8hIHdpHKulSMMpc1FquvxTt1dZqzS9H0T0RlerkWq0znC22ckzj9jQfjK6zNnBQn BdI4js3bcBie6s6Ucr4EfhI8W43InBBaSY8e9kFYMmZjR9iGB3obL+DjOsxRGX91q1Ze opNw== 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=0FO7H92tklK2a1CssSJb+/vRjwLA30+VfO2DWF1HCkA=; fh=upt4AdBXtl01lrXZPxOZIKh85G859oZX16vSX4qf2hg=; b=fpncLE5CMhxNWF1+rmZ+Wakky/gZwUC0DsIwFSwc8LNCB54YatSb0UTrdlmQSwUlhf A3CN+C3+05WGtJ/4/bfd9IpDWtw0hM/KSJwu8BXyPqt9m5NsVyLRyaMSgBUmHlbhS2VX udfHGIvJl+f2oLVvmMvZk8jKGk8gZt/sTDbpGzQx8ja2iTPWQEq+V7FyqO/1k15y3Bts 4coX++fM+sxZkp620tz1F4XDJdMPQQF1/lJgD0k8tmCneXxC6LaHyEu/2NXHf4+MCrc3 QRJcsboMagiiD7yE1IYXecLRlZDL9iEmvIfUOUPK+POpQZDwYuZnEgFEkpIeSfPIBEcz TTYw== 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:8 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 fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id f11-20020a17090ab94b00b0026b49c1aa50si9621802pjw.111.2023.09.12.02.01.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 02:01:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (Postfix) with ESMTP id C9BDE807932E; Tue, 12 Sep 2023 01:46:01 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232910AbjILIqA (ORCPT + 99 others); Tue, 12 Sep 2023 04:46:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58744 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232836AbjILIp7 (ORCPT ); Tue, 12 Sep 2023 04:45:59 -0400 Received: from eu-smtp-delivery-151.mimecast.com (eu-smtp-delivery-151.mimecast.com [185.58.86.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 636B5AA for ; Tue, 12 Sep 2023 01:45:55 -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-251-xsmTvxyCNdS6PTrhFzXR5w-1; Tue, 12 Sep 2023 09:45:42 +0100 X-MC-Unique: xsmTvxyCNdS6PTrhFzXR5w-1 Received: from AcuMS.Aculab.com (10.202.163.6) by AcuMS.aculab.com (10.202.163.6) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Tue, 12 Sep 2023 09:45:39 +0100 Received: from AcuMS.Aculab.com ([::1]) by AcuMS.aculab.com ([::1]) with mapi id 15.00.1497.048; Tue, 12 Sep 2023 09:45:39 +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 v4 2/5] riscv: Add checksum library Thread-Topic: [PATCH v4 2/5] riscv: Add checksum library Thread-Index: AQHZ5QNmAqaxDkDqBUuW+t+6iXe0brAW2+/w Date: Tue, 12 Sep 2023 08:45:38 +0000 Message-ID: <1818c4114b0e4144a9df21f235984840@AcuMS.aculab.com> References: <20230911-optimize_checksum-v4-0-77cc2ad9e9d7@rivosinc.com> <20230911-optimize_checksum-v4-2-77cc2ad9e9d7@rivosinc.com> In-Reply-To: <20230911-optimize_checksum-v4-2-77cc2ad9e9d7@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 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 (fry.vger.email [0.0.0.0]); Tue, 12 Sep 2023 01:46:02 -0700 (PDT) X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email RnJvbTogQ2hhcmxpZSBKZW5raW5zDQo+IFNlbnQ6IDExIFNlcHRlbWJlciAyMDIzIDIzOjU3DQo+ IA0KPiBQcm92aWRlIGEgMzIgYW5kIDY0IGJpdCB2ZXJzaW9uIG9mIGRvX2NzdW0uIFdoZW4gY29t cGlsZWQgZm9yIDMyLWJpdA0KPiB3aWxsIGxvYWQgZnJvbSB0aGUgYnVmZmVyIGluIGdyb3VwcyBv ZiAzMiBiaXRzLCBhbmQgd2hlbiBjb21waWxlZCBmb3INCj4gNjQtYml0IHdpbGwgbG9hZCBpbiBn cm91cHMgb2YgNjQgYml0cy4gQmVuY2htYXJraW5nIGJ5IHByb3h5IGNvbXBpbGluZw0KPiBjc3Vt X2lwdjZfbWFnaWMgKDY0LWJpdCB2ZXJzaW9uKSBmb3IgYW4geDg2IGNoaXAgYXMgd2VsbCBhcyBy dW5uaW5nDQo+IHRoZSByaXNjdiBnZW5lcmF0ZWQgY29kZSBpbiBRRU1VLCBkaXNjb3ZlcmVkIHRo YXQgc3VtbWluZyBpbiBhDQo+IHRyZWUtbGlrZSBzdHJ1Y3R1cmUgaXMgYWJvdXQgNCUgZmFzdGVy IHRoYW4gZG9pbmcgNjQtYml0IHJlYWRzLg0KPiANCi4uLg0KPiArCXN1bSAgID0gc2FkZHItPnM2 X2FkZHIzMlswXTsNCj4gKwlzdW0gICs9IHNhZGRyLT5z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