Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1183398rwb; Tue, 27 Sep 2022 09:26:36 -0700 (PDT) X-Google-Smtp-Source: AMsMyM66VWo4pWT9JI8syWsS4r7pgBbCvklVpiThOGd4okIee80u+ls65aZtRFIYhogIWC3JlrfE X-Received: by 2002:a17:906:478d:b0:783:2270:e85a with SMTP id cw13-20020a170906478d00b007832270e85amr12943307ejc.371.1664295995845; Tue, 27 Sep 2022 09:26:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664295995; cv=none; d=google.com; s=arc-20160816; b=z33VWFPUrI5OQ90Tu56TYd34cPd576iQIBMHH+vde+pCazpJ7BFuuTNdLrylIrusVn hrpRLUy/C6sCPIz6mwhE8ocrhRvoRYIYnzOsc6XnjYHzAcTmVDYgOEkVswFbL/cNfYek Vqhe8zy3Oow3+mrE3uKBQsE2+KEsxaQ1eQwQcOuobX9fmxGyfYEvrquGKsiqBqxwUI13 Cfz2PTMB5eiqL/HxsN8+aHgloLwz+57NH/QoSIBbizUgxpgjQPQgqECtnESvqAncqXbz lApEC5KcUc88Uxzx9KC5QnDEy43oIoUYEcLvJ33N5LEVF+PFdJ6bJQmU0jJoaJO437vY e9JA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=w8SldVS43alm/3s/QR1GAI9Wf0Hnb5yBiYDtiGgz3AI=; b=aVCf9b0P9px0K8p2NZ9DZTzAUC/tCaBGZT0urpQYozBYpxpZWAcTOOu5Ve0ZswIEiE bLWzYAczSrE75w+tGjPb7/BIldgT2MyBtZzEMzwwYb/WfbhHhLXh8ac9RxbMhi7vR6RR U9wz058SL0NhLm+oICGTlkhFknblKSO5+qt1Qh83nwa58b0W+taybiQYd+WzxXcALYF9 r0ncPtXz1DUb2ndUeTYjKCQm9GbNAZk7kfAstrfI2ZNMlOZb3F8cDVea70PleomEXgyK BucC/ZQUwa7XWuZ3e7rf462/KQgeXGelAZ0GMb5i0vu6FwXF7Ga7cJnuQXRP0oQkwTgI bZBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=wFyvyXeq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id go30-20020a1709070d9e00b0077cfdda438csi2176686ejc.35.2022.09.27.09.26.09; Tue, 27 Sep 2022 09:26:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=wFyvyXeq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232142AbiI0Pb1 (ORCPT + 99 others); Tue, 27 Sep 2022 11:31:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42360 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232177AbiI0PbZ (ORCPT ); Tue, 27 Sep 2022 11:31:25 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DDB4E1BF0CA; Tue, 27 Sep 2022 08:31:24 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 6DC7C61A2D; Tue, 27 Sep 2022 15:31:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5F8C9C433D6; Tue, 27 Sep 2022 15:31:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1664292683; bh=c38sDKyGOCIWMAL+5RdQblbALUt7vW6NR+mbJSrj9nc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=wFyvyXeqy4uXX6VyLVzObGRKH68++Fu/jaJvuc7rq1E/W5DBnGYfSqWYcwn9lhZO3 8Xi58k51JRSlVMTXj7VUDdd/wyFXg8YcdI4qvAsgaSrCNSQwyWilnXJKStZ5SFvXJd H9G+k/h7sQ4B4xOcGRaLGCkhwql54fjgO0iRmzEs= Date: Tue, 27 Sep 2022 17:31:16 +0200 From: Greg Kroah-Hartman To: Miguel Ojeda Cc: Linus Torvalds , rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, patches@lists.linux.dev, Jarkko Sakkinen , Kees Cook , Alex Gaynor , Wedson Almeida Filho , David Gow , Boqun Feng , Gary Guo , =?iso-8859-1?Q?Bj=F6rn?= Roy Baron , Jonathan Corbet , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , linux-doc@vger.kernel.org Subject: Re: [PATCH v10 25/27] x86: enable initial Rust support Message-ID: References: <20220927131518.30000-1-ojeda@kernel.org> <20220927131518.30000-26-ojeda@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220927131518.30000-26-ojeda@kernel.org> X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham 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 On Tue, Sep 27, 2022 at 03:14:56PM +0200, Miguel Ojeda wrote: > Note that only x86_64 is covered and not all features nor mitigations > are handled, but it is enough as a starting point and showcases > the basics needed to add Rust support for a new architecture. > > Reviewed-by: Kees Cook > Co-developed-by: Alex Gaynor > Signed-off-by: Alex Gaynor > Co-developed-by: Wedson Almeida Filho > Signed-off-by: Wedson Almeida Filho > Co-developed-by: David Gow > Signed-off-by: David Gow > Signed-off-by: Miguel Ojeda > --- > Documentation/rust/arch-support.rst | 1 + > arch/x86/Kconfig | 1 + > arch/x86/Makefile | 10 ++++++++++ > scripts/generate_rust_target.rs | 15 +++++++++++++-- > 4 files changed, 25 insertions(+), 2 deletions(-) Reviewed-by: Greg Kroah-Hartman