Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp2120911pxb; Fri, 25 Mar 2022 11:27:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyC1C0sAGi5NpgkAuoE5yC10616lhBjGSpB1BgX/Cb8UpoZKwAMvV4jfbL0mJGhDbbPbIq+ X-Received: by 2002:a17:902:ea52:b0:153:fd04:c158 with SMTP id r18-20020a170902ea5200b00153fd04c158mr12916722plg.83.1648232823113; Fri, 25 Mar 2022 11:27:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648232823; cv=none; d=google.com; s=arc-20160816; b=aVA136srgQxVJZAfnkAtfjabU9K6KQaLUAeww+y80408FavRNPK1NBeK3LwVTk1hQu oUv79RVkBLXIm37782KHuARSOIJUIl5BVm1wzg2w0QuxG8+P5730NgniYi+hBivtRWI4 odMz8vJvKiNwcIYeulHdjmMKRnCXkGZRYGwXw6pRIKXxJdEiYBhqYZgoU5cyn66tf5M+ MY7TtpNkONu/pWg9AaioYyq6vi5DtGFy6Xf35MtxPRj5a0KTRDL6RdBKfntSo/3a4E/S xeXpnecQCiMoSXrSYBS33KlJd7gJ1ymCaqdz/qMvboRo7GXf8daJfy8prUSwDPeOIwEe 9LOg== 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=6d3GoQJcwZhU/C+J9RgGAKq9X0S+TkwtbOFOzD8+K3E=; b=X44qvpsc//56YQsdrNDZ6fcKHVPfaIeKtAD01LWn/qKDZAorHoVYf41e3qZ6RcuyXM xkVwrB1aTEW1UEUiKB9pQXQP/CJiX0sU0tGE5W1+lTgu8niXEvQwHGi/g8tq9MnMAPo7 Ctsm0PxX2Sb6WbqPjFxntU4FXLbAIJQ3mjtBDn96b7LmbYvM+pME44R+49CqznrqBOWI mhItNEN+rndEhe6sO9j5Ne2uJ+JimrRVwfsK6S8f92feed7yLl4jvvn58MxEBsSBUCif 1ZzgBvXh0sER0qnZXCXcDVm5d2F3FpnzvYqi5WkQ5SfxrgPtiBuvA1pUc1SdIzmsIIkD DVUw== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id 7-20020a630707000000b003816043f0casi2838075pgh.703.2022.03.25.11.27.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Mar 2022 11:27:03 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 709C0176D07; Fri, 25 Mar 2022 10:50:04 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355555AbiCXWzn (ORCPT + 99 others); Thu, 24 Mar 2022 18:55:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60712 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238115AbiCXWzm (ORCPT ); Thu, 24 Mar 2022 18:55:42 -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 F02416F4AF for ; Thu, 24 Mar 2022 15:54:08 -0700 (PDT) Received: from AcuMS.aculab.com (156.67.243.121 [156.67.243.121]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id uk-mta-231-THU0TZx9N2OyJfewrvht5w-1; Thu, 24 Mar 2022 22:54:05 +0000 X-MC-Unique: THU0TZx9N2OyJfewrvht5w-1 Received: from AcuMS.Aculab.com (fd9f:af1c:a25b:0:994c:f5c2:35d6:9b65) by AcuMS.aculab.com (fd9f:af1c:a25b:0:994c:f5c2:35d6:9b65) with Microsoft SMTP Server (TLS) id 15.0.1497.32; Thu, 24 Mar 2022 22:54:05 +0000 Received: from AcuMS.Aculab.com ([fe80::994c:f5c2:35d6:9b65]) by AcuMS.aculab.com ([fe80::994c:f5c2:35d6:9b65%12]) with mapi id 15.00.1497.033; Thu, 24 Mar 2022 22:54:05 +0000 From: David Laight To: 'Nick Desaulniers' , Borislav Petkov CC: Nathan Chancellor , x86-ml , lkml , "llvm@lists.linux.dev" , Mark Rutland , Peter Zijlstra , Josh Poimboeuf Subject: RE: clang memcpy calls Thread-Topic: clang memcpy calls Thread-Index: AQHYP68jFJQQj1SZ3U2APgeueTpytqzPHokA Date: Thu, 24 Mar 2022 22:54:04 +0000 Message-ID: <7c95cb9c9255448bb74d1f1f694abffb@AcuMS.aculab.com> References: 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 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=C51A453 smtp.mailfrom=david.laight@aculab.com 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, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 RnJvbTogTmljayBEZXNhdWxuaWVycw0KPiBTZW50OiAyNCBNYXJjaCAyMDIyIDE4OjQ0DQo+IA0K PiBPbiBUaHUsIE1hciAyNCwgMjAyMiBhdCA0OjE5IEFNIEJvcmlzbGF2IFBldGtvdiA8YnBAYWxp ZW44LmRlPiB3cm90ZToNCj4gPg0KPiA+IEhpIGZvbGtzLA0KPiA+DQo+ID4gc28gSSd2ZSBiZWVu IGxvb2tpbmcgYXQgYSByZWNlbnQgb2JqdG9vbCBub2luc3RyIHdhcm5pbmcgZnJvbSBjbGFuZw0K PiA+IGJ1aWxkczoNCj4gPg0KPiA+IHZtbGludXgubzogd2FybmluZzogb2JqdG9vbDogc3luY19y ZWdzKCkrMHgyMDogY2FsbCB0byBtZW1jcHkoKSBsZWF2ZXMgLm5vaW5zdHIudGV4dCBzZWN0aW9u DQo+ID4NCj4gPiBUaGUgaXNzdWUgaXMgdGhhdCBjbGFuZyBnZW5lcmF0ZXMgYSBtZW1jcHkoKSBj YWxsIHdoZW4gYSBzdHJ1Y3QgY29weQ0KPiA+IGhhcHBlbnM6DQo+ID4NCj4gPiAgICAgICAgIGlm IChyZWdzICE9IGVyZWdzKQ0KPiA+ICAgICAgICAgICAgICAgICAqcmVncyA9ICplcmVnczsNCj4g DQo+IFNwZWNpZmljYWxseSwgdGhpcyBpcyBjb3B5aW5nIG9uZSBzdHJ1Y3QgcHRfcmVncyB0byBh bm90aGVyLiBJdCBsb29rcw0KPiBsaWtlIHRoZSBzaXplb2Ygc3RydWN0IHB0X3JlZ3MgaXMganVz dCBsYXJnZSBlbm91Z2ggdG8gaGF2ZSBjbGFuZyBlbWl0DQo+IHRoZSBsaWJjYWxsLg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