Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp1106072pxu; Fri, 16 Oct 2020 04:10:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz4Leooj/QXRTKQBgNLqxCEolRqQMFoXa9bu5ppeshgsLsmbwIocRKs5x66fN1VMrZIOs00 X-Received: by 2002:a17:906:b01:: with SMTP id u1mr3035819ejg.57.1602846622637; Fri, 16 Oct 2020 04:10:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602846622; cv=none; d=google.com; s=arc-20160816; b=wcwzwcOwa7ZUqTiwm4lLsgzIZw0hGTupa8Ewq3a9PE5JI5+MOTisQVGSwFRD2wCm8z LSVdB+nh8yA14Jur0ssBYwovin6Ikf17bUA648bh0jvhv7xfp+t/itt4OE14CvkX9O0P EgtWud7IQjOOdSi/0bSZXfB1H6EtGetf40/1enEC2y1EnXG20WPU7U0EhFxtLdC6Mc/e pJEDUN4gPqPJt0xw2hcprj6hx8LIebtmUdVaB+4lizxynuRqiA2jOjg1UweBNytDBr6j bO5MTrDcfVj9eH4MHJYMYc7iOUHOQRGijw0iJbJqd6bFHGaflQ9FCYLJxgttaVnn9MUT CIxg== 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=6UidhmsZQE+JZ54ULRf6OC7jein4Xti2e8Bg3otbl1s=; b=nBbKqR7Ke0VbD2Ajs1vVsqT8PbdLPdkRSXXbbhoHU7f6zl0phB3PkVfmhmCLd4OLfV sVvOEj3GzYW3qvfWALZDAi/B8GCpHIwgpl5xwlvHRZvApLjsUgPX4xTcNuskCJL9urXF lNP5m/RE1bknIK/RGUcsWLANV1dhgikVI8nsv3xk4u//GVAOn3gD89Dh2jj2HgR0IPAm kVqFTETZ6LkQIiNE9AEoaFaOnseL28LnFheZUO7bzjlxaQLH+MQ4m3+oke/YXjmzBGQg Bsj8OsBLE3MjDp4PkY0Khr7yZj1qkK2WbyC/eIYRgMhmxxggG4zZl5J0ZsM2qRkMfZHH mZgg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i11si1400057ejv.366.2020.10.16.04.09.55; Fri, 16 Oct 2020 04:10:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390618AbgJPIYo (ORCPT + 99 others); Fri, 16 Oct 2020 04:24:44 -0400 Received: from eu-smtp-delivery-151.mimecast.com ([185.58.86.151]:31779 "EHLO eu-smtp-delivery-151.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390417AbgJPIYn (ORCPT ); Fri, 16 Oct 2020 04:24:43 -0400 Received: from AcuMS.aculab.com (156.67.243.126 [156.67.243.126]) (Using TLS) by relay.mimecast.com with ESMTP id uk-mta-273-i6wHZgkwOuCyd54uBSAOqg-1; Fri, 16 Oct 2020 09:24:39 +0100 X-MC-Unique: i6wHZgkwOuCyd54uBSAOqg-1 Received: from AcuMS.Aculab.com (fd9f:af1c:a25b:0:43c:695e:880f:8750) by AcuMS.aculab.com (fd9f:af1c:a25b:0:43c:695e:880f:8750) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Fri, 16 Oct 2020 09:24:38 +0100 Received: from AcuMS.Aculab.com ([fe80::43c:695e:880f:8750]) by AcuMS.aculab.com ([fe80::43c:695e:880f:8750%12]) with mapi id 15.00.1347.000; Fri, 16 Oct 2020 09:24:38 +0100 From: David Laight To: 'Ian Rogers' , "hpa@zytor.com" CC: Thomas Gleixner , Ingo Molnar , Borislav Petkov , x86 , "Peter Zijlstra (Intel)" , Masami Hiramatsu , "Josh Poimboeuf" , LKML , "Adrian Hunter" , Arnaldo Carvalho de Melo , Numfor Mbiziwo-Tiapo Subject: RE: [PATCH v2] x86/insn, tools/x86: Fix some potential undefined behavior. Thread-Topic: [PATCH v2] x86/insn, tools/x86: Fix some potential undefined behavior. Thread-Index: AQHWozzR0vhHSt8IyUOTNiEuTh8IJamZ40Kw Date: Fri, 16 Oct 2020 08:24:38 +0000 Message-ID: <699073ad09bf4882861003a5da6d6b3c@AcuMS.aculab.com> References: <20201015161216.1563600-1-irogers@google.com> <5E711F64-A9BF-48EC-83A3-3C644D80F848@zytor.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 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogSWFuIFJvZ2Vycw0KPiBTZW50OiAxNSBPY3RvYmVyIDIwMjAgMjI6NDcNCi4uLg0KPiBU aGUgZGVjb2RlciBpcyBhIHNoYXJlZCBjb2RlIGFuZCB1c2luZyB1bmFsaWduZWQgbWFjcm9zIG1h a2VzIGxpZmUNCj4gaGFyZCBmb3IgdGhlIG90aGVyIHVzZXJzIG9mIHRoZSBjb2RlLiBNZW1jcHkg aXMgdGhlICJzdGFuZGFy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