From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CAC79C7EE45 for ; Thu, 8 Jun 2023 07:51:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:References:MIME-Version:Message-ID:Date :Subject:In-Reply-To:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=3tWdA8CeT66x8eEiANJ1fAaWj5nHu/K1fHp/P7oeo+M=; b=CmeYFEaSQ+U21x LBpHwkkD1pG8Z7ugh3ADNrYqNeIUnIHl1k52twk5Fe80ZhBiqMhIUccoAhYZ27Uwg9FhXo0IIUckA Da8Rs//Nq/scM4fiAPyErGuR+xorzlZaPakhJM2kBmptRQfvo6Nm8vjoLQSJxhXggxYKRYEOp1ZPv 5NkqtdbfAeN8/7reZJPmcY+t2PIyX6xBdq82xdo7gsfsvsEHTLhOK2bcHTOwYurBwtTxb+lVlvAjh dBk13gVxkc8Q6XQuMOQycxwVnHYQCPQ810M9MG1zY+hRE3yHT/vKViL63nPtj+6EpMfdyD7c5Yd9M IWcU71t4mmOzOXNsNNqg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q7AQI-008S8W-2g; Thu, 08 Jun 2023 07:51:10 +0000 Received: from mailout2.samsung.com ([203.254.224.25]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q7AQB-008S7J-1F for linux-riscv@lists.infradead.org; Thu, 08 Jun 2023 07:51:09 +0000 Received: from epcas1p3.samsung.com (unknown [182.195.41.47]) by mailout2.samsung.com (KnoxPortal) with ESMTP id 20230608075058epoutp02a4589c6271725fd323974f4856d087a8~mn6kLFXCV0884308843epoutp02c for ; Thu, 8 Jun 2023 07:50:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.samsung.com 20230608075058epoutp02a4589c6271725fd323974f4856d087a8~mn6kLFXCV0884308843epoutp02c DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1686210658; bh=HJppTh4hNx/lcCe0c2zXtHzte8UoSXTnYqenZDXOec4=; h=From:To:Cc:In-Reply-To:Subject:Date:References:From; b=CdQbIt/RSP+03E4O1kD/WZP0NdxpYzT1dwQ3jAJcACyEW8nvyytXNe+abvl1Wvzyi Vd/9Y4MMx1mK20sQYf9GfRoEv9xZ6NdvMoNWFirBVX6//jYnpdE11N86fWYdAhPbqc aLjIDJk7G3OiQPnduAMsz+stHad9tw7ldSDE1O8U= Received: from epsnrtp2.localdomain (unknown [182.195.42.163]) by epcas1p2.samsung.com (KnoxPortal) with ESMTP id 20230608075058epcas1p208b63cbbb4dec4c9cf2a976c8643abd6~mn6jrHY981980819808epcas1p2n; Thu, 8 Jun 2023 07:50:58 +0000 (GMT) Received: from epsmges1p5.samsung.com (unknown [182.195.38.236]) by epsnrtp2.localdomain (Postfix) with ESMTP id 4QcGc11J1mz4x9Q9; Thu, 8 Jun 2023 07:50:57 +0000 (GMT) Received: from epcas1p2.samsung.com ( [182.195.41.46]) by epsmges1p5.samsung.com (Symantec Messaging Gateway) with SMTP id 21.FB.48553.16881846; Thu, 8 Jun 2023 16:50:57 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas1p4.samsung.com (KnoxPortal) with ESMTPA id 20230608075056epcas1p498e31886d0eb6243db5aec32603ae762~mn6h-Hvjh1909019090epcas1p47; Thu, 8 Jun 2023 07:50:56 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20230608075056epsmtrp26e8294f529a4d25bf724b1bfa581fff3~mn6h7czUv3003730037epsmtrp2W; Thu, 8 Jun 2023 07:50:56 +0000 (GMT) X-AuditID: b6c32a39-509937000001bda9-4e-64818861c066 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 61.8A.27706.06881846; Thu, 8 Jun 2023 16:50:56 +0900 (KST) Received: from kson001 (unknown [10.102.7.58]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20230608075056epsmtip1ad0ca5eaf3a865ba893b0cceb3a5da06~mn6hma8Tj0289902899epsmtip1R; Thu, 8 Jun 2023 07:50:56 +0000 (GMT) From: "Kwanghoon Son" To: "'Conor Dooley'" , Cc: , "'Miguel Ojeda'" , "'Alex Gaynor'" , "'Wedson Almeida Filho'" , "'Boqun Feng'" , "'Gary Guo'" , =?utf-8?Q?'Bj=C3=B6rn_Roy_Baron'?= , "'Jonathan Corbet'" , "'Paul Walmsley'" , "'Palmer Dabbelt'" , "'Nathan Chancellor'" , "'Nick Desaulniers'" , "'Tom Rix'" , , , , In-Reply-To: <20230608-dispatch-sneer-aa09bd7b2eb8@wendy> Subject: RE: [PATCH v1 0/2] RISC-V: enable rust Date: Thu, 8 Jun 2023 16:50:55 +0900 Message-ID: <000001d999dd$f5166cd0$df434670$@samsung.com> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQFxm6qKyBFRC1seLjkBq1pGYFP2NAEpdoRnAm01MviwM83LIA== Content-Language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrBJsWRmVeSWpSXmKPExsWy7bCmnm5iR2OKwdwfLBZ/Z29nt7hxYT+z xZotjUwWUzbtYL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pVTF30/tLvExDXXcXz9kRabv6nbSZ3mbhX1v9Ch0eLBVbxb5u +o36zv65q0PdJiXd/pVi27DoG9+52qrM9o+r8z6lZLafj5a+xpF/a4KqlF7/rYqNwr57ds97 8nSl7zFRr6zpE2L3Hnb1tfcos/3xxenxDsNaHp/fbwoZnzzSmTonNyx+p/OLgoXT+GZkXvOv EXjy6OD0Ylm3r4z125jVrx7qMTPJeOphf3t/W3b6sgs/Xs8/ph2yVdU06fCls2q9V8srr/2Z 9FVhVctKGyWW4oxEQy3mouJEAFHOyo14AwAA X-CMS-MailID: 20230608075056epcas1p498e31886d0eb6243db5aec32603ae762 X-Msg-Generator: CA X-Sendblock-Type: SVC_REQ_APPROVE CMS-TYPE: 101P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20230608070229epcas1p1aeafe28fca0bd682585c4115670d7cc9 References: <20230307102441.94417-1-conor.dooley@microchip.com> <20230608-dispatch-sneer-aa09bd7b2eb8@wendy> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230608_005105_791049_BDC3992A X-CRM114-Status: GOOD ( 21.16 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org > Hey Kwang, > > > Hi, > > Recently I'm trying to put a rust patch on the risc-v board. > > I saw a patch [1] and looked through it roughly. > > Only if llvm(not gcc) is allowed, it looks good with no major problems. > > > > > I'll revisit this when my thoughts have settled down. > > > > If you let me know the problematic part, may I try the patch? > > > > [1] https://lore.kernel.org/linux-riscv/20230405-itinerary-handgrip- > > a5ffba368148@spud/ > > Yeah, you can definitely try this or the downstream rust-for-linux > project - both should work well on RISC-V. > The problematic part is figuring out what ISA extensions are supported > by the rust compiler being used (and by bindgen), and deciding what to > put in -march as a result. > > I think it is unlikely to matter for you, unless you're aggressively > mixing versions for different parts of your toolchain. > > I do intend revisting this, probably after the min. version for rust > gets bumped, I've just been really busy with other work the last weeks. No rush! I was just curious. Thank you for the explanation! > > Cheers, > Conor. _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv