Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4009246rdb; Thu, 14 Sep 2023 09:06:52 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEyLbVqFIs7MeRNPthWZBKh659157l2IW3MZqAuec+iyvxV5JvStcConbM38FCMvcqGgshL X-Received: by 2002:a05:6a21:328c:b0:157:54fd:5c26 with SMTP id yt12-20020a056a21328c00b0015754fd5c26mr6856564pzb.38.1694707612295; Thu, 14 Sep 2023 09:06:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694707612; cv=none; d=google.com; s=arc-20160816; b=ziUh3oUf8gak2CUyTmAjhVsdNT10e17JlqPggx0hyIxg3Aacar5AKu/LGWqIss7tKz H/YOzpxZMV3624511XmR/5xTc/VN7u+pYgKIzl3BtYo/nNergEWik3pp120uqpdf6uiN uV6PTMQNJ0L0mHvgDkAoY01TghC9CDtuiveS9gHvoCMNNoNzJICpqkP8fnwpDSGxUZ0h CW2u7fkPaANiIvg4XnunQkFiH8jYKLuN6J7Cp46Yr6UxltPz5XeaAqryjXSeDIjnawFi sukIMnKKhAEtamZCEsNO8ga4z5zSB2HAvwe2UFGxaPYuy18itvrSZzPQEagyuDjxn1Da k8WA== 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=K4bTpPl1XCIjZEECAotolkUKJfsRT+4LNOWo+6nwTx0=; fh=SYud5HBWxbPmmKr8EuldJF4H4Y+suRzniVg65qxyIs8=; b=je179wk1l7S2uGNipjL8ygVhk6BrzLo2AAn3AUWt0HrRqm/29OJNaFchIJDrQNebms DBtlkjh4PHDphdDR9lw7zQDVF2dixjaGCl2IU2bxopbPE6GLxEAA6fdfzjbT0KOvDNtX LSBnM+WK8Miq5HA7rH9BHOBLSDst5VhsGcf4y/qyh/nQ00nY5BUAZrQCH0Qs9mienBXi EdQQUZt+gkK+vmq0TfL8f2m92dBOxLWbyrsI49a2hcqdzV0ihipGAtDpTZmsERvcbAuh SeTMFDkOKmqXCDUx4WVPTzb4GMhWbgmm+aSEOKIzzNIDQY/bJhJMQnsDWnCW2+P+bTN8 d5TA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id m1-20020a656a01000000b00564bfbb19easi1946987pgu.472.2023.09.14.09.06.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 09:06:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (Postfix) with ESMTP id 847E1807CB56; Thu, 14 Sep 2023 08:56:38 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241359AbjINP4H (ORCPT + 99 others); Thu, 14 Sep 2023 11:56:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44766 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241366AbjINP4D (ORCPT ); Thu, 14 Sep 2023 11:56:03 -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 8860E1FD5 for ; Thu, 14 Sep 2023 08:55:58 -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-162-aexGLwkiOnauP1AYfmqQIw-1; Thu, 14 Sep 2023 16:55:45 +0100 X-MC-Unique: aexGLwkiOnauP1AYfmqQIw-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; Thu, 14 Sep 2023 16:55:41 +0100 Received: from AcuMS.Aculab.com ([::1]) by AcuMS.aculab.com ([::1]) with mapi id 15.00.1497.048; Thu, 14 Sep 2023 16:55:41 +0100 From: David Laight To: 'Evan Green' CC: Geert Uytterhoeven , Palmer Dabbelt , Heiko Stuebner , "linux-doc@vger.kernel.org" , =?utf-8?B?QmrDtnJuIFTDtnBlbA==?= , Conor Dooley , Guo Ren , Jisheng Zhang , "linux-riscv@lists.infradead.org" , Jonathan Corbet , "Sia Jee Heng" , Marc Zyngier , "Masahiro Yamada" , Greentime Hu , "Simon Hosie" , Andrew Jones , "Albert Ou" , Alexandre Ghiti , "Ley Foon Tan" , Paul Walmsley , Anup Patel , "linux-kernel@vger.kernel.org" , Xianting Tian , Palmer Dabbelt , "Andy Chiu" Subject: RE: [PATCH v4 1/2] RISC-V: Probe for unaligned access speed Thread-Topic: [PATCH v4 1/2] RISC-V: Probe for unaligned access speed Thread-Index: AQHZ5t2uDoI3R+Ee30ay/cEMVFilT7AaADQQgABZ2YCAABclwA== Date: Thu, 14 Sep 2023 15:55:41 +0000 Message-ID: <172bc43cc2ac45239ec40477d53d263a@AcuMS.aculab.com> References: <20230818194136.4084400-1-evan@rivosinc.com> <20230818194136.4084400-2-evan@rivosinc.com> In-Reply-To: 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 (morse.vger.email [0.0.0.0]); Thu, 14 Sep 2023 08:56:38 -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 morse.vger.email RnJvbTogRXZhbiBHcmVlbg0KPiBTZW50OiAxNCBTZXB0ZW1iZXIgMjAyMyAxNjowMQ0KPiANCj4g T24gVGh1LCBTZXAgMTQsIDIwMjMgYXQgMTo0N+KAr0FNIERhdmlkIExhaWdodCA8RGF2aWQuTGFp Z2h0QGFjdWxhYi5jb20+IHdyb3RlOg0KPiA+DQo+ID4gRnJvbTogR2VlcnQgVXl0dGVyaG9ldmVu DQo+ID4gPiBTZW50OiAxNCBTZXB0ZW1iZXIgMjAyMyAwODozMw0KPiA+IC4uLg0KPiA+ID4gPiA+ ICAgICByemZpdmU6DQo+ID4gPiA+ID4gICAgICAgICBjcHUwOiBSYXRpbyBvZiBieXRlIGFjY2Vz cyB0aW1lIHRvIHVuYWxpZ25lZCB3b3JkIGFjY2VzcyBpcw0KPiA+ID4gPiA+IDEuMDUsIHVuYWxp Z25lZCBhY2Nlc3NlcyBhcmUgZmFzdA0KPiA+ID4gPg0KPiA+ID4gPiBIcm0sIEknbSBhIGxpdHRs ZSBzdXJwcmlzZWQgdG8gYmUgc2VlaW5nIHRoaXMgbnVtYmVyIGNvbWUgb3V0IHNvI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