Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp360646rwd; Thu, 8 Jun 2023 01:32:19 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6ZYIkTpDDYftyindi8rd3KoAMZ4x1vBQQZS+lwSy3ZAYPxVKXhQl9Tv8/ENaMXddVSVpxX X-Received: by 2002:a05:6359:324:b0:129:c2dc:1bcb with SMTP id ef36-20020a056359032400b00129c2dc1bcbmr3352470rwb.1.1686213139450; Thu, 08 Jun 2023 01:32:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686213139; cv=none; d=google.com; s=arc-20160816; b=y3V1BO+oMbsmsmhzPSFlpET63df4FzSTKK8wnpWQPN4aBfgnLyjDiELZyAQ5NQZEDP DmEhIeFXEzlrdxy3JhVEyTOWVDvMTX7kRJBh56gkS2H3QVmD9WXpexeyep2UnLRMxek1 3c5R4h8lgj6evelWh6T1TNS7ua2yEn/Ru+4xIiNqRYfTgCDjo+e9WTT/mp/yvSKkyReK DtrrmzdU2oGdIBjVoK7P/PZaZDLcONeHZaSgN/9B+VjlUUGWzb8h9UOd44jL7RyJegZQ qUKbHOublDdbS8OwLMnDsbE1Mt3PKPkeiujseMZhi6dV9PRXa8EEzemMio8MIVo/YMkc EFrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:dlp-filter:cms-type:content-language :thread-index:content-transfer-encoding:mime-version:message-id:date :subject:in-reply-to:cc:to:from:dkim-signature:dkim-filter; bh=HJppTh4hNx/lcCe0c2zXtHzte8UoSXTnYqenZDXOec4=; b=XWI9DDhhtSfX4kDULepDA5IanYTh/PHHOsfvaSAViiRNvKVbF1mZbMxKxIQmJCROzG cqUcp0x8gPZATTohXAy2FhWOQ6v0yV44IEQ+/rXVRYzpL4C/bd7i0pVuFHqXmr9NJoMU A7wybIeK+ft2YXzE43f64GxNLpfIYP5sttUlLSMZ3ZF9qBf2MVNp2D0qncuxjdAPfRfm 2vUx5FF+mlNIA9v+pwgmsWAphVMZ0LCWfm9TdtYEWRY9/IMRsBIxDV0LXRckKIKLwmcq DbM+Tx+QjIEvbnRIGD1cVr94L2G7cEuyncoJs0UB/CEHJS6kThL1/2TmY43qtDJ86Am4 J/eg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=i061bEF4; 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=samsung.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h184-20020a6383c1000000b00542b9f14ca7si709788pge.24.2023.06.08.01.32.05; Thu, 08 Jun 2023 01:32:19 -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=@samsung.com header.s=mail20170921 header.b=i061bEF4; 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=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233030AbjFHHvM (ORCPT + 99 others); Thu, 8 Jun 2023 03:51:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44280 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233490AbjFHHvJ (ORCPT ); Thu, 8 Jun 2023 03:51:09 -0400 Received: from mailout3.samsung.com (mailout3.samsung.com [203.254.224.33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9CD78210C for ; Thu, 8 Jun 2023 00:51:03 -0700 (PDT) Received: from epcas1p3.samsung.com (unknown [182.195.41.47]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20230608075059epoutp03e6a7dbdb7f5bb2d410fc9d6f7997d6bb~mn6kSfIRP0298702987epoutp03o for ; Thu, 8 Jun 2023 07:50:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20230608075059epoutp03e6a7dbdb7f5bb2d410fc9d6f7997d6bb~mn6kSfIRP0298702987epoutp03o DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1686210659; bh=HJppTh4hNx/lcCe0c2zXtHzte8UoSXTnYqenZDXOec4=; h=From:To:Cc:In-Reply-To:Subject:Date:References:From; b=i061bEF49zWI59T7QtPVQkQzYZL+ycj9MxtievDB4MXAR1ElG7V8vfYGGLfaPAm4F UkRMZL273hIDgdvaS+CL8wGFYLRdkF7lSD2TtjDT3v1mD6Q/2NCK50p1YpgrOAWqUU fY3NbMoHD3YU43z84db4iu8UkHKLC01Z2lHyEv2g= 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 Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQFxm6qKyBFRC1seLjkBq1pGYFP2NAEpdoRnAm01MviwM83LIA== Content-Language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrBJsWRmVeSWpSXmKPExsWy7bCmnm5iR2OKwdwfLBZ/Z29nt7hxYT+z xZotjUwWUzbtYLdYOXUVm8WTA+2MFhfPvGa0WNi2hMXi8q45bBbbPrcAJabsZ7NoX/mUzeLD hP9MFivnL2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27DoG9+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 Content-Type: text/plain; charset="utf-8" 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-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 > 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.