Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp442764rdg; Tue, 10 Oct 2023 15:24:26 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH1a3zPfoiZKUl2rsKYb6BKoV7p4biHp0tiipd59OwFdGteDmOoaxYtYlc7TFs15YXEFTrE X-Received: by 2002:a17:902:aa05:b0:1c5:8a0e:b01e with SMTP id be5-20020a170902aa0500b001c58a0eb01emr15194028plb.63.1696976665704; Tue, 10 Oct 2023 15:24:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696976665; cv=none; d=google.com; s=arc-20160816; b=N+iXNURtmlDZyibA5ImiRKUg1V2Xmqx856Ma1x+ZO50Yw4Z3IAdLNTEPbNXiqRyxNI knqIFIY/qUI/j6+Yi7K02FOmV2IgqCRwEuyEuXGaymcltFkJ8W9GPCDn2G25XfDsROht 1TJtJBykZPf8Oh9slcZ6ugiD2+LMofLjZHLiDfOkyf5xyPvIFEE36LQHbngYylCeikg2 p4vCRq7q+jtoeRZN7BA3bTVTZu5iBLjspTkESqCz69BBxPT11ed4hkxmXsKRdhn6wJ1i qHATLHbzWNySjpahp9depg8PpVwCUdldHhJnXeccBuueY3O6Zf/6VJpi3wtj72JcIVbP IFBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=jKM6X9DW5ZaZr1/Qmc2UJFJHXlJjhVjqRx8RRr4UsNI=; fh=lue8Vm0SYpFtWlhgx44xL+V+XkFZyCEImlxcRS+B+i8=; b=UFaR/jgWI8Ai96n2+X7swLV693BNxuNlxaO0ZJNytKQcMwUSh6TfLKBbIlkvBFjEHI IXLvCQDBkIoqamKd0OHjGNRNsHr89kL9rf5mV9im/5pZDacLO61M+5oiT7xaf0oL/X5v Nwrvf3TQjnhZJM76Augq5uMtF7X8AjezSxOpvyMJaIDIFWC7iUk1SY50T5F3uZBV2Lv5 rh566kX60LfA159yTq5MpWs9DdWCvOHisi+DaWidVEY+mNYoffr1ykjsjHW8Q6rfgc0w FQlsPIwsfI2wb7EyMXZcROZqWrjzDI0nildhMWuB2WmHj29RJAaRcM55Sy7ob0TaZD2r 3WaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@umich.edu header.s=google-2016-06-03 header.b=ho8Rv1I6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=umich.edu Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id x6-20020a170902a38600b001c9ad7c1f82si2926501pla.287.2023.10.10.15.24.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Oct 2023 15:24:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@umich.edu header.s=google-2016-06-03 header.b=ho8Rv1I6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=umich.edu Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 593FB81CDE03; Tue, 10 Oct 2023 15:24:23 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231926AbjJJWYR (ORCPT + 99 others); Tue, 10 Oct 2023 18:24:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33462 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231919AbjJJWYQ (ORCPT ); Tue, 10 Oct 2023 18:24:16 -0400 Received: from mail-yb1-xb30.google.com (mail-yb1-xb30.google.com [IPv6:2607:f8b0:4864:20::b30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EB23999 for ; Tue, 10 Oct 2023 15:24:14 -0700 (PDT) Received: by mail-yb1-xb30.google.com with SMTP id 3f1490d57ef6-d9a7a3e17d1so829705276.2 for ; Tue, 10 Oct 2023 15:24:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umich.edu; s=google-2016-06-03; t=1696976654; x=1697581454; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=jKM6X9DW5ZaZr1/Qmc2UJFJHXlJjhVjqRx8RRr4UsNI=; b=ho8Rv1I6XZ6wAkQVGSk6AJd8hJyFKwm4QsF05RhJolvUSHTz1Slj09NZ+3ZckpQJyG 4yi0quC6sMrch8WRYjXw7a6vxaZaP8GDFFrWSuk4jzck805p2qDKr5mwpnk1cj9kWAcV CG4ucOo5y+NGsEkfOimrsA7DYGVDDHG5DnPfdFzx3ke1Wi84Nvd3cRbz4m7yEH0DhAdB mFTISZOxW0kzClrv1d3fiR/M8lm+aDKSPP3sBTbE+GS7xGSVjXXEAxa4LJ7vK1iktZK/ YTMLsNtaOnNZV5VK/nLW2hZzHzJCxFFhVkeWH3M8rmE6reKttKdsxiRJf0pgjcU7Adub CORg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696976654; x=1697581454; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=jKM6X9DW5ZaZr1/Qmc2UJFJHXlJjhVjqRx8RRr4UsNI=; b=RYhkE68Ew34krW5IIkswOTSaaZEt2WgHzo1PoFlcYbMg7a3BjGC5IXfTppQn0U7g4C 4COm4RsxCSNo86KSyKbRyfoMbqjhm0K58wKCOCAmw+mZPMX5rAQKFglNwUwyB+GS6lij FJ+qFZYG7NlKxVCWvHj/DleWnihDoI5d9T/QNeIEeiKXL3MnseRrx8DIAb34uVC6DLms FjYihnUDxSZjztTCzHGGIj5XtIZNXSZYp4/+kmPUW0+4rfn5dwCwxQftF0SDAwN4IxOs GnURWfKf07LInvVqD9bOvD7ZqEPA/sURGrfTEWuW1q/2dHqzmemZoycUPZB2qW3rGHt6 2LRA== X-Gm-Message-State: AOJu0YzPo0QIDt/TsmjekR5WcZW+eQLuMQWA76yJspK2ozSAQ/mtFZRT /UjpxTJsyi8RBOwayjV9YIYygEhWLHGjZnT5bFClIQ== X-Received: by 2002:a25:f910:0:b0:d9a:6316:42c8 with SMTP id q16-20020a25f910000000b00d9a631642c8mr2777970ybe.54.1696976654175; Tue, 10 Oct 2023 15:24:14 -0700 (PDT) MIME-Version: 1.0 References: <20231009224347.2076221-1-mmaurer@google.com> <20231010081220.GD377@noisy.programming.kicks-ass.net> In-Reply-To: From: Trevor Gross Date: Tue, 10 Oct 2023 18:24:03 -0400 Message-ID: Subject: Re: [PATCH] x86: Enable IBT in Rust if enabled in C To: Nick Desaulniers Cc: Peter Zijlstra , Matthew Maurer , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, Miguel Ojeda , Alex Gaynor , Wedson Almeida Filho , "H. Peter Anvin" , Boqun Feng , Gary Guo , =?UTF-8?Q?Bj=C3=B6rn_Roy_Baron?= , Benno Lossin , Andreas Hindborg , Alice Ryhl , linux-kernel@vger.kernel.org, rust-for-linux@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=2.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email 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 (lipwig.vger.email [0.0.0.0]); Tue, 10 Oct 2023 15:24:23 -0700 (PDT) X-Spam-Level: ** On Tue, Oct 10, 2023 at 11:39=E2=80=AFAM Nick Desaulniers wrote: > > > > https://godbolt.org/z/bc4n6sq5q > > Intel asm syntax...my eyes!!! :) If it helps, you can click on the "output" (gear) dropdown in any of the asm panels and toggle between Intel and AT&T