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 5E769C25B48 for ; Wed, 25 Oct 2023 02:02:30 +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:Cc:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Scl6pEQ3mgtmNMDK+ehizcQCVluQD0Gt7aKbSlro66s=; b=i+8VPqamMqcVIJ BJy1yZNo/nUCVUuNjzDw8n3ql8EQqTKdE1tJi3vOFkJ+hfHfQtU8/7Mtfa04xvUEGsqVKNVpHhqT+ iyoptPBJXeYfQnIUbLt4h/GlqCeSEgetleFC4B//D1vJL8kqOEhNIJ65Td/OlIGjXoQZOiHuxIi29 kc0VdQo50NXONaTbRFYKllRg06TTW3kKMSMTX6jjCYzJdnNabwb3OLoCdt/5qR5DJEsvxXISydlw3 ecmBb7U7CL8lICXCGJXASCKI0Fj9qsVXce4sJbiIKmGxICm/ux6h5Bs7K//cBdbQ0MLFDxckhSMkd Z/k/CJ/1+VimYtB6AtvA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qvTDe-00B9ow-1r; Wed, 25 Oct 2023 02:02:02 +0000 Received: from mail-ed1-x533.google.com ([2a00:1450:4864:20::533]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qvTDa-00B9oV-0f for linux-arm-kernel@lists.infradead.org; Wed, 25 Oct 2023 02:02:00 +0000 Received: by mail-ed1-x533.google.com with SMTP id 4fb4d7f45d1cf-53fc7c67a41so784209a12.0 for ; Tue, 24 Oct 2023 19:01:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698199314; x=1698804114; darn=lists.infradead.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=GM5rExFFAkHF7RtOeKmV3ULAewVErHQqCo+hgEVi4RA=; b=buh5clmuZEFCSWzIJqyA5/g6+bAchXfCFhnmlNBBW08FdCAqV3GTk6o4rqolK/kjHO g/vgcolus5+eBICl6/Zpm2M/aXDip9J3/Ppi2E/SJ1g7uaLvv6u5qTuK0HZ8a9UlHali oY3lWb1VRySQ1cuDOvj6KNopousWf1xzn4dQbv28o2ykuvp68bMxzIvsGs/BQKAC3NSP Faq5bb054S/f5UJVvVmR+EcvcKFUV4VCsKFfRcmX2ylxwUDi6Xx5xqATIngsLf2s8uaz 5BUwQMV5xGsfT5tnfXh8l5Uva7VImSHGdKFgDToRAG7/TCoRMLx+GhrIdsQ73tAJ2oKj oGFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698199314; x=1698804114; h=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=GM5rExFFAkHF7RtOeKmV3ULAewVErHQqCo+hgEVi4RA=; b=aBYX3AGgUFcE/JlBMKp5pVj+OI+ERdvew0TvsQT7KV3aMpvqPVOFc5u6Dlgm+jj6co OTYvADTI0vb7D4wEGUimqknC6X3dPnLjaWdTKU1lhqBW9klAeBwM7zrBTRA2Qb5jRbaE rhTBlYh8AQ2XOMW8MIDJNSpcQIXHMaDElmmlVBn6yFObETwzSKn0+GtxmFv59WrdIJMO rIY2QI7r67ihFiwUNpnuuwMH6VB39UnyeUHd9OaWixN6oj8XC0Q3v+MAmuEzaCrtPxrY WYJ+ej/G9fincOnKQzBAVwDeEkEqQqiGffQ+CJ8rigLKm8KJI0742VWmAzcdJKEojpsF C6nA== X-Gm-Message-State: AOJu0Ywt0tHJs4gKVT8MSEMsghTGuzlmq0A04LgZh6TYkqwtbHzHpTJo jHI/p4AeTu3qOvnusi3d9UlHHA2bXKsEl2Igbg== X-Google-Smtp-Source: AGHT+IF5wNjXCrU3e3AhnULwTZzACMqTHWJmcxngSuiAJ4OzxgmbLU15VCielhFiQyycbsVTC2YVJ3uRiPEmjWkMwUI= X-Received: by 2002:a17:906:6a13:b0:9ad:8a96:ad55 with SMTP id qw19-20020a1709066a1300b009ad8a96ad55mr16665902ejc.14.1698199314119; Tue, 24 Oct 2023 19:01:54 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Pratham Patel Date: Wed, 25 Oct 2023 07:31:17 +0530 Message-ID: Subject: Re: [PATCH v4 2/2] arm64: rust: Enable Rust support for AArch64 To: Miguel Ojeda Cc: boqun.feng@gmail.com, Jamie.Cunliffe@arm.com, andrew@lunn.ch, catalin.marinas@arm.com, lina@asahilina.net, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, mturquette@baylibre.com, ojeda@kernel.org, rust-for-linux@vger.kernel.org, sboyd@kernel.org, steve.capper@arm.com, will@kernel.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231024_190158_266874_D01313E2 X-CRM114-Status: GOOD ( 25.89 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, 24 Oct 2023 at 20:49, Miguel Ojeda wrote: > > but from a developer's and packager's > > perspective, this will lead to a few wasted hours until the > > metaphorical person figures out why said Rust code failed to build for > > AArch64 BE. > > Why would the code fail to build? i.e. as far as I understand, Boqun > successfully compiled and QEMU-booted a BE image. > > If you mean that it could stop compiling at any point because it is > not officially supported, then note that we pin the compiler, and that > it also applies to the rest of the code due to other unstable features > too, which is why we need to get the Rust project to support the > kernel properly for the use cases we need (not just targets, but also > features). Yes, apologies for not clarifying it. I meant exactly that: the code would stop compiling if either the target was dropped for any reason, or supporting AArch64 BE would hold back upgrading the compiler for other architectures. Though, this is from a very high level overview. If you feel like this won't be an issue, I don't have any problems with this :) > Also please note that, even if everything else was formally supported, > it would still be a good idea to add this support early (possibly with > a warning or gate or similar if not intended to be used by end users > yet) so that we have the first big-endian target around. > > P.S. This is my first time sending an email to a mailing list, sorry > > if I mucked something up. > > The content looks fine :) > > However, I think the proper `In-Reply-To` header is not there so Lore > gets confused -- did you use the suggested parameters at the bottom of > e.g. [1]? > > [1] https://lore.kernel.org/rust-for-linux/CAM+6MoE1DyOay-fMWQP0hsenz174hSuGJnKM7symh0C-y1mqZw@mail.gmail.com/ Yes, I appear to have missed copying the `In-Reply-To` header in this reply thread. Sorry about that. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel