[{"id":3674711,"web_url":"http://patchwork.ozlabs.org/comment/3674711/","msgid":"<adYj8vxQL2NtHb7_@luna>","date":"2026-04-08T09:46:26","subject":"Re: [PATCH V10 0/4] Rust support for powerpc","submitter":{"id":81627,"url":"http://patchwork.ozlabs.org/api/people/81627/","name":"Link Mauve","email":"linkmauve@linkmauve.fr"},"content":"Hi,\n\nOn Tue, Apr 07, 2026 at 01:31:45AM +0530, Mukesh Kumar Chaurasiya (IBM) wrote:\n> Enable experimental rust support for ppc64le and ppc32be. The patch for\n> ppc32 has been provided by Link Mauve[1] and ppc64le support[2] has been\n> merged over it. ppc32 needs some toolchain fixes mentioned in the patch\n> `rust: Add PowerPC support` and the discussion for that is done here[1].\n> \n> This has been tested on\n> - powernv9 hardware\n> - pseries P11 hardware\n> - pseries(9, 10) qemu\n> - powernv(9, 10) qemu\n> - rustdoc on x86 and powerpc64le\n> - rusttest on x86 and powerpc64le\n\nI just tested your series for the Wii, so targeting powerpc (32, be),\nand got this error:\n```\nerror[E0463]: can't find crate for `pin_init_internal`\n   --> ../rust/pin-init/src/lib.rs:365:11\n    |\n365 | pub use ::pin_init_internal::pin_data;\n    |           ^^^^^^^^^^^^^^^^^ can't find crate\n\nerror: aborting due to 1 previous error\n\nFor more information about this error, try `rustc --explain E0463`.\n```\n\nI didn’t get this error in a previous version of your series, would you\nwant me to bisect them?\n\nThanks for your continuous work on it anyway!\n\n> \n> We are actively working with our LLVM team to get the target for ppc,\n> ppc64 and ppc64le in the rust compiler.\n> \n> \n> [1] https://lore.kernel.org/all/20260204030507.8203-1-linkmauve@linkmauve.fr\n> [2] https://lore.kernel.org/all/20260204042417.83903-1-mkchauras@gmail.com\n> \n> Changelog:\n> V9 -> V10:\n> - rust/Makefile updated with review comments from Miguel\n> - Patch 1/4 updated with commit message and subject\n> V9: https://lore.kernel.org/all/20260404121610.1956528-1-mkchauras@gmail.com/\n> \n> V8 -> V9:\n> - rust/Makefile updated with a directory instead of abspath\n> V8: https://lore.kernel.org/all/20260403145308.1042622-1-mkchauras@gmail.com/\n> \n> V7 -> V8:\n> - rust/Makefile updated to separate host libraries from target\n> V7: https://lore.kernel.org/all/20260329160254.2592207-1-mkchauras@gmail.com/\n> \n> Changelog:\n> V6 -> V7:\n> - Documentation removed as powerpc is still under development\n> - Added a fix for race condition in rust/Makefile\n> V6: https://lore.kernel.org/all/20260210090023.2587534-1-mkchauras@gmail.com\n> \n> V5 -> V6:\n> - Added a missing Tested by from Venkat which got missed since V3\n> - Support is marked as Maintained instead of experimental\n> V5: https://lore.kernel.org/all/20260210053756.2088302-1-mkchauras@gmail.com\n> \n> V4 -> V5:\n> - Removed a nested ifdef from PPC64 for Little endian toolchain\n> V4: https://lore.kernel.org/all/20260209105456.1551677-1-mkchauras@gmail.com\n> \n> V3 -> V4:\n> - Co-developed-by header added in patch 1\n> V3: https://lore.kernel.org/all/20260205180429.3280657-1-mkchauras@gmail.com\n> \n> V2 -> V3:\n> - Splited HAVE_RUST in 2 lines\n> - BINDGEN_TARGET_powerpc initialized before assigning the same to\n>   BINDGEN_TARGET\n> V2: https://lore.kernel.org/all/20260204210125.613350-1-mkchauras@gmail.com\n> \n> V1 -> V2:\n> - jump label fix for rust has been moved to a separate patch\n> - PPC32 support has been taken\n> - rust support has been marked experimental\n> - target.json dependency has been removed\n> - HAVE_RUST now depends on CPU_LITTLE_ENDIAN for PPC64\n> \n> Link Mauve (1):\n>   rust: Add PowerPC support\n> \n> Mukesh Kumar Chaurasiya (IBM) (3):\n>   rust: Fix \"multiple candidates for rmeta dependency core\" error\n>   powerpc/jump_label: adjust inline asm to be consistent\n>   powerpc: Enable Rust for ppc64le\n> \n>  arch/powerpc/Kconfig                  |  2 +\n>  arch/powerpc/Makefile                 |  7 +++\n>  arch/powerpc/include/asm/jump_label.h | 23 ++++++----\n>  rust/Makefile                         | 66 ++++++++++++++++-----------\n>  4 files changed, 61 insertions(+), 37 deletions(-)\n> \n> -- \n> 2.53.0\n> \n>","headers":{"Return-Path":"\n <linuxppc-dev+bounces-19491-incoming=patchwork.ozlabs.org@lists.ozlabs.org>","X-Original-To":["incoming@patchwork.ozlabs.org","linuxppc-dev@lists.ozlabs.org"],"Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org\n (client-ip=2404:9400:21b9:f100::1; helo=lists.ozlabs.org;\n envelope-from=linuxppc-dev+bounces-19491-incoming=patchwork.ozlabs.org@lists.ozlabs.org;\n receiver=patchwork.ozlabs.org)","lists.ozlabs.org;\n arc=none smtp.remote-ip=82.65.109.163","lists.ozlabs.org;\n dmarc=none (p=none dis=none) header.from=linkmauve.fr","lists.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=linkmauve.fr\n (client-ip=82.65.109.163; helo=luna.linkmauve.fr;\n envelope-from=linkmauve@linkmauve.fr; receiver=lists.ozlabs.org)"],"Received":["from lists.ozlabs.org (lists.ozlabs.org\n [IPv6:2404:9400:21b9:f100::1])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1 raw public key)\n server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4frKwN1GGlz1yD3\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 08 Apr 2026 21:05:06 +1000 (AEST)","from boromir.ozlabs.org (localhost [127.0.0.1])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 4frKwD25kqz2yVP;\n\tWed, 08 Apr 2026 21:05:00 +1000 (AEST)","from luna.linkmauve.fr (82-65-109-163.subs.proxad.net\n [82.65.109.163])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n\t(No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 4frJ9q4PWsz2xc8\n\tfor <linuxppc-dev@lists.ozlabs.org>; Wed, 08 Apr 2026 19:46:39 +1000 (AEST)","by luna.linkmauve.fr (Postfix, from userid 1000)\n\tid 7145FF40664; Wed, 08 Apr 2026 11:46:27 +0200 (CEST)"],"ARC-Seal":"i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1775641600;\n\tcv=none;\n b=LG/ImhrhBy9jjvLK7DeQO/VEHJLlfnyyYEcXIXql3+rE3G67eN6AIkd7XDwuazbBCcHGpF0aIwQWXJG6w7XPWai6LqCPMfFral6YlifiQYwH+NYhNh3xrs5TLbPXVxzuwy+ynLgtPYaLM5DVoNAF5RMgVG91WYRYXWe6Dl7i/1pOdocGwOkamMwm2VLbGbj4SO5KAOjMcS0vbRpUpRk+n8mgDK5WbQABfEEKJpMJUc9QxjjpGeu5YZi8XUTBaWcT1GJ6MD/pZ8YBe182pUqUs8re6sSh0hh42SOFCvtSOgU6n2j5jxLol+cHA6azkd4cpkA5WPNajE6Edv7EY1DGOg==","ARC-Message-Signature":"i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707;\n\tt=1775641600; c=relaxed/relaxed;\n\tbh=i5vqdh7DfNLGq9EKYUjCp5kSgJqFG1qecb9QsnaryGY=;\n\th=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:\n\t Content-Type:Content-Disposition:In-Reply-To;\n b=V9xapwWOhdGVwyh+VzVGQyMhzq4NS87ZHnzpN3nS3AeevDEBmTwPPRJLbPIwqwBeD/JuQZgpz8Cucup+fh48ZX3xfLwMlW2yY6Th8ODg4SvvJa37T6Al8ihCdBNkWJGgBQj9bOtAgqTxBARKhfQOT7QyPVrLW96Wm5fjUsRHl7+Ox1h9Gwhc/6oiRkX9A4lOPxCzU3uJua7kBdBpFpxZqSt05RG0KOVvtkccwpQmN4hlDcZMyC5gIvjIVIHTA59DImgMxcA4LJ2ciOMw2YhFj2ignzKbpSMzRpZnyg/3gelSxlpXWsEqVsFO1KSL44Jvo1DGw61bN+9EtIlX8Vow2w==","ARC-Authentication-Results":"i=1; lists.ozlabs.org;\n dmarc=none (p=none dis=none) header.from=linkmauve.fr;\n spf=pass (client-ip=82.65.109.163; helo=luna.linkmauve.fr;\n envelope-from=linkmauve@linkmauve.fr;\n receiver=lists.ozlabs.org) smtp.mailfrom=linkmauve.fr","Date":"Wed, 8 Apr 2026 11:46:26 +0200","From":"Link Mauve <linkmauve@linkmauve.fr>","To":"\"Mukesh Kumar Chaurasiya (IBM)\" <mkchauras@gmail.com>","Cc":"maddy@linux.ibm.com, mpe@ellerman.id.au, npiggin@gmail.com,\n\tchleroy@kernel.org, peterz@infradead.org, jpoimboe@kernel.org,\n\tjbaron@akamai.com, aliceryhl@google.com, rostedt@goodmis.org,\n\tardb@kernel.org, ojeda@kernel.org, boqun@kernel.org,\n\tgary@garyguo.net, bjorn3_gh@protonmail.com, lossin@kernel.org,\n\ta.hindborg@kernel.org, tmgross@umich.edu, dakr@kernel.org,\n\tnathan@kernel.org, nick.desaulniers+lkml@gmail.com,\n\tmorbo@google.com, justinstitt@google.com,\n\tlinuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org,\n\trust-for-linux@vger.kernel.org, llvm@lists.linux.dev","Subject":"Re: [PATCH V10 0/4] Rust support for powerpc","Message-ID":"<adYj8vxQL2NtHb7_@luna>","References":"<20260406200149.3727922-1-mkchauras@gmail.com>","X-Mailing-List":"linuxppc-dev@lists.ozlabs.org","List-Id":"<linuxppc-dev.lists.ozlabs.org>","List-Help":"<mailto:linuxppc-dev+help@lists.ozlabs.org>","List-Owner":"<mailto:linuxppc-dev+owner@lists.ozlabs.org>","List-Post":"<mailto:linuxppc-dev@lists.ozlabs.org>","List-Archive":"<https://lore.kernel.org/linuxppc-dev/>,\n  <https://lists.ozlabs.org/pipermail/linuxppc-dev/>","List-Subscribe":"<mailto:linuxppc-dev+subscribe@lists.ozlabs.org>,\n  <mailto:linuxppc-dev+subscribe-digest@lists.ozlabs.org>,\n  <mailto:linuxppc-dev+subscribe-nomail@lists.ozlabs.org>","List-Unsubscribe":"<mailto:linuxppc-dev+unsubscribe@lists.ozlabs.org>","Precedence":"list","MIME-Version":"1.0","Content-Type":"text/plain; charset=utf-8","Content-Disposition":"inline","Content-Transfer-Encoding":"8bit","In-Reply-To":"<20260406200149.3727922-1-mkchauras@gmail.com>","Jabber-ID":"linkmauve@linkmauve.fr","X-Spam-Flag":"YES","X-Spam-Status":"Yes, score=3.9 required=3.0 tests=RCVD_IN_PBL,RDNS_DYNAMIC,\n\tSPF_HELO_NONE,SPF_PASS autolearn=disabled version=4.0.1 OzLabs 8","X-Spam-Report":"\n\t*  3.6 RCVD_IN_PBL RBL: Received via a relay in Spamhaus PBL\n\t*      [82.65.109.163 listed in zen.spamhaus.org]\n\t* -0.0 SPF_PASS SPF: sender matches SPF record\n\t*  0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record\n\t*  0.4 RDNS_DYNAMIC Delivered to internal network by host with\n\t*      dynamic-looking rDNS","X-Spam-Level":"***","X-Spam-Checker-Version":"SpamAssassin 4.0.1 (2024-03-25) on lists.ozlabs.org"}},{"id":3674712,"web_url":"http://patchwork.ozlabs.org/comment/3674712/","msgid":"<adYlLLfRgSyxus3n@luna>","date":"2026-04-08T09:51:40","subject":"Re: [PATCH V10 0/4] Rust support for powerpc [RESEND]","submitter":{"id":81627,"url":"http://patchwork.ozlabs.org/api/people/81627/","name":"Link Mauve","email":"linkmauve@linkmauve.fr"},"content":"Hi,\n\n(This email is a resent, my IP address got flagged by spamhaus again\nbecause I’m on a residential range, hopefully this incident is\nresolved…)\n\nOn Tue, Apr 07, 2026 at 01:31:45AM +0530, Mukesh Kumar Chaurasiya (IBM) wrote:\n> Enable experimental rust support for ppc64le and ppc32be. The patch for\n> ppc32 has been provided by Link Mauve[1] and ppc64le support[2] has been\n> merged over it. ppc32 needs some toolchain fixes mentioned in the patch\n> `rust: Add PowerPC support` and the discussion for that is done here[1].\n> \n> This has been tested on\n> - powernv9 hardware\n> - pseries P11 hardware\n> - pseries(9, 10) qemu\n> - powernv(9, 10) qemu\n> - rustdoc on x86 and powerpc64le\n> - rusttest on x86 and powerpc64le\n\nI just tested your series for the Wii, so targeting powerpc (32, be),\nand got this error:\n```\nerror[E0463]: can't find crate for `pin_init_internal`\n   --> ../rust/pin-init/src/lib.rs:365:11\n    |\n365 | pub use ::pin_init_internal::pin_data;\n    |           ^^^^^^^^^^^^^^^^^ can't find crate\n\nerror: aborting due to 1 previous error\n\nFor more information about this error, try `rustc --explain E0463`.\n```\n\nI didn’t get this error in a previous version of your series, would you\nwant me to bisect them?\n\nThanks for your continuous work on it anyway!\n\n> \n> We are actively working with our LLVM team to get the target for ppc,\n> ppc64 and ppc64le in the rust compiler.\n> \n> \n> [1] https://lore.kernel.org/all/20260204030507.8203-1-linkmauve@linkmauve.fr\n> [2] https://lore.kernel.org/all/20260204042417.83903-1-mkchauras@gmail.com\n> \n> Changelog:\n> V9 -> V10:\n> - rust/Makefile updated with review comments from Miguel\n> - Patch 1/4 updated with commit message and subject\n> V9: https://lore.kernel.org/all/20260404121610.1956528-1-mkchauras@gmail.com/\n> \n> V8 -> V9:\n> - rust/Makefile updated with a directory instead of abspath\n> V8: https://lore.kernel.org/all/20260403145308.1042622-1-mkchauras@gmail.com/\n> \n> V7 -> V8:\n> - rust/Makefile updated to separate host libraries from target\n> V7: https://lore.kernel.org/all/20260329160254.2592207-1-mkchauras@gmail.com/\n> \n> Changelog:\n> V6 -> V7:\n> - Documentation removed as powerpc is still under development\n> - Added a fix for race condition in rust/Makefile\n> V6: https://lore.kernel.org/all/20260210090023.2587534-1-mkchauras@gmail.com\n> \n> V5 -> V6:\n> - Added a missing Tested by from Venkat which got missed since V3\n> - Support is marked as Maintained instead of experimental\n> V5: https://lore.kernel.org/all/20260210053756.2088302-1-mkchauras@gmail.com\n> \n> V4 -> V5:\n> - Removed a nested ifdef from PPC64 for Little endian toolchain\n> V4: https://lore.kernel.org/all/20260209105456.1551677-1-mkchauras@gmail.com\n> \n> V3 -> V4:\n> - Co-developed-by header added in patch 1\n> V3: https://lore.kernel.org/all/20260205180429.3280657-1-mkchauras@gmail.com\n> \n> V2 -> V3:\n> - Splited HAVE_RUST in 2 lines\n> - BINDGEN_TARGET_powerpc initialized before assigning the same to\n>   BINDGEN_TARGET\n> V2: https://lore.kernel.org/all/20260204210125.613350-1-mkchauras@gmail.com\n> \n> V1 -> V2:\n> - jump label fix for rust has been moved to a separate patch\n> - PPC32 support has been taken\n> - rust support has been marked experimental\n> - target.json dependency has been removed\n> - HAVE_RUST now depends on CPU_LITTLE_ENDIAN for PPC64\n> \n> Link Mauve (1):\n>   rust: Add PowerPC support\n> \n> Mukesh Kumar Chaurasiya (IBM) (3):\n>   rust: Fix \"multiple candidates for rmeta dependency core\" error\n>   powerpc/jump_label: adjust inline asm to be consistent\n>   powerpc: Enable Rust for ppc64le\n> \n>  arch/powerpc/Kconfig                  |  2 +\n>  arch/powerpc/Makefile                 |  7 +++\n>  arch/powerpc/include/asm/jump_label.h | 23 ++++++----\n>  rust/Makefile                         | 66 ++++++++++++++++-----------\n>  4 files changed, 61 insertions(+), 37 deletions(-)\n> \n> -- \n> 2.53.0\n> \n>","headers":{"Return-Path":"\n <linuxppc-dev+bounces-19492-incoming=patchwork.ozlabs.org@lists.ozlabs.org>","X-Original-To":["incoming@patchwork.ozlabs.org","linuxppc-dev@lists.ozlabs.org"],"Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org\n (client-ip=2404:9400:21b9:f100::1; helo=lists.ozlabs.org;\n envelope-from=linuxppc-dev+bounces-19492-incoming=patchwork.ozlabs.org@lists.ozlabs.org;\n receiver=patchwork.ozlabs.org)","lists.ozlabs.org;\n arc=none smtp.remote-ip=82.65.109.163","lists.ozlabs.org;\n dmarc=none (p=none dis=none) header.from=linkmauve.fr","lists.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=linkmauve.fr\n (client-ip=82.65.109.163; helo=luna.linkmauve.fr;\n envelope-from=linkmauve@linkmauve.fr; receiver=lists.ozlabs.org)"],"Received":["from lists.ozlabs.org (lists.ozlabs.org\n [IPv6:2404:9400:21b9:f100::1])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1 raw public key)\n server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4frKwT7315z1xtJ\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 08 Apr 2026 21:05:13 +1000 (AEST)","from boromir.ozlabs.org (localhost [127.0.0.1])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 4frKwT6Kypz2yng;\n\tWed, 08 Apr 2026 21:05:13 +1000 (AEST)","from luna.linkmauve.fr (82-65-109-163.subs.proxad.net\n [82.65.109.163])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 4frJHj2qpSz2xc8\n\tfor <linuxppc-dev@lists.ozlabs.org>; Wed, 08 Apr 2026 19:51:45 +1000 (AEST)","by luna.linkmauve.fr (Postfix, from userid 1000)\n\tid 9D936F406D7; Wed, 08 Apr 2026 11:51:40 +0200 (CEST)"],"ARC-Seal":"i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1775641905;\n\tcv=none;\n b=cKhsyAjpG72/aDVkzOS49T8txhftjdEeM76BFM9AWdWbZZ/phCh7CPK5jm0hXFFfbF/zMj0hR76Vy0HUbag+iqnIl8oceCr653/VrtjFsgR4nZYpcZJkqeiOzF5kZqbZz3lqtz7kTLpnLUFZzZdFoMHoGFIrTmZjdpzT9QACu5YmXNmDjPhHEyz7ZVe77Lib8Ga2W6pA5aJmTCi3ecW/n6Y/K+9g7/PZbBW7+3KWlq65lVQK5DthbOdDbz+h/v8a2Xu0EAbGy77z2uFFC6J9g5BhFztfxNYiTCVhdwADwZBwS6hx0sbafndC44LwplnRm1Z8sB2K6WtZ2WAF/Ee2fA==","ARC-Message-Signature":"i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707;\n\tt=1775641905; c=relaxed/relaxed;\n\tbh=Hvse3DbDwQddZc+LIMEeQsyuNm30c430JGwGVkssxZA=;\n\th=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:\n\t Content-Type:Content-Disposition:In-Reply-To;\n b=VYwn8jLQjzEnHQcjZI7phKNkfwq4MwF7vjoMPUxxMLR+UeOnhR5DxQMCxH4F/mZDssGum3/mzWkyW0VFdXlVCDo4LG4oEuyMftQ7E5om8Y8scaCTKYI0PuzbF1KUJFdNuOEgJQEMsb1ECYig0GOBZOnfL5ETsHQPSeDgDvBpcdbo0ckpdtcR+j9r4s3WqvjkogD2byNpzvYGmkAtHCVrTmGZ+BjrUq1jcKm94ZC94qpOB3KTaRlJq7edeth6sya4Z3G/P9qauv7tjMVB7Pf3mS4anTwdwQHib5F6ZnSgrbEG9evpc4/Zqknpyc/bhWlrjkWTSynwgGBY2178AbY7fQ==","ARC-Authentication-Results":"i=1; lists.ozlabs.org;\n dmarc=none (p=none dis=none) header.from=linkmauve.fr;\n spf=pass (client-ip=82.65.109.163; helo=luna.linkmauve.fr;\n envelope-from=linkmauve@linkmauve.fr;\n receiver=lists.ozlabs.org) smtp.mailfrom=linkmauve.fr","Date":"Wed, 8 Apr 2026 11:51:40 +0200","From":"Link Mauve <linkmauve@linkmauve.fr>","To":"\"Mukesh Kumar Chaurasiya (IBM)\" <mkchauras@gmail.com>","Cc":"maddy@linux.ibm.com, mpe@ellerman.id.au, npiggin@gmail.com,\n\tchleroy@kernel.org, peterz@infradead.org, jpoimboe@kernel.org,\n\tjbaron@akamai.com, aliceryhl@google.com, rostedt@goodmis.org,\n\tardb@kernel.org, ojeda@kernel.org, boqun@kernel.org,\n\tgary@garyguo.net, bjorn3_gh@protonmail.com, lossin@kernel.org,\n\ta.hindborg@kernel.org, tmgross@umich.edu, dakr@kernel.org,\n\tnathan@kernel.org, nick.desaulniers+lkml@gmail.com,\n\tmorbo@google.com, justinstitt@google.com,\n\tlinuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org,\n\trust-for-linux@vger.kernel.org, llvm@lists.linux.dev","Subject":"Re: [PATCH V10 0/4] Rust support for powerpc [RESEND]","Message-ID":"<adYlLLfRgSyxus3n@luna>","References":"<20260406200149.3727922-1-mkchauras@gmail.com>","X-Mailing-List":"linuxppc-dev@lists.ozlabs.org","List-Id":"<linuxppc-dev.lists.ozlabs.org>","List-Help":"<mailto:linuxppc-dev+help@lists.ozlabs.org>","List-Owner":"<mailto:linuxppc-dev+owner@lists.ozlabs.org>","List-Post":"<mailto:linuxppc-dev@lists.ozlabs.org>","List-Archive":"<https://lore.kernel.org/linuxppc-dev/>,\n  <https://lists.ozlabs.org/pipermail/linuxppc-dev/>","List-Subscribe":"<mailto:linuxppc-dev+subscribe@lists.ozlabs.org>,\n  <mailto:linuxppc-dev+subscribe-digest@lists.ozlabs.org>,\n  <mailto:linuxppc-dev+subscribe-nomail@lists.ozlabs.org>","List-Unsubscribe":"<mailto:linuxppc-dev+unsubscribe@lists.ozlabs.org>","Precedence":"list","MIME-Version":"1.0","Content-Type":"text/plain; charset=utf-8","Content-Disposition":"inline","Content-Transfer-Encoding":"8bit","In-Reply-To":"<20260406200149.3727922-1-mkchauras@gmail.com>","Jabber-ID":"linkmauve@linkmauve.fr","X-Spam-Flag":"YES","X-Spam-Status":"Yes, score=3.9 required=3.0 tests=RCVD_IN_PBL,RDNS_DYNAMIC,\n\tSPF_HELO_NONE,SPF_PASS autolearn=disabled version=4.0.1 OzLabs 8","X-Spam-Report":"\n\t*  3.6 RCVD_IN_PBL RBL: Received via a relay in Spamhaus PBL\n\t*      [82.65.109.163 listed in zen.spamhaus.org]\n\t* -0.0 SPF_PASS SPF: sender matches SPF record\n\t*  0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record\n\t*  0.4 RDNS_DYNAMIC Delivered to internal network by host with\n\t*      dynamic-looking rDNS","X-Spam-Level":"***","X-Spam-Checker-Version":"SpamAssassin 4.0.1 (2024-03-25) on lists.ozlabs.org"}},{"id":3674722,"web_url":"http://patchwork.ozlabs.org/comment/3674722/","msgid":"<adZBWoVVoJefiTcM@li-1a3e774c-28e4-11b2-a85c-acc9f2883e29.ibm.com>","date":"2026-04-08T11:53:39","subject":"Re: [PATCH V10 0/4] Rust support for powerpc [RESEND]","submitter":{"id":92575,"url":"http://patchwork.ozlabs.org/api/people/92575/","name":"Mukesh Kumar Chaurasiya","email":"mkchauras@gmail.com"},"content":"On Wed, Apr 08, 2026 at 11:51:40AM +0200, Link Mauve wrote:\n> Hi,\n> \n> (This email is a resent, my IP address got flagged by spamhaus again\n> because I’m on a residential range, hopefully this incident is\n> resolved…)\n> \n> On Tue, Apr 07, 2026 at 01:31:45AM +0530, Mukesh Kumar Chaurasiya (IBM) wrote:\n> > Enable experimental rust support for ppc64le and ppc32be. The patch for\n> > ppc32 has been provided by Link Mauve[1] and ppc64le support[2] has been\n> > merged over it. ppc32 needs some toolchain fixes mentioned in the patch\n> > `rust: Add PowerPC support` and the discussion for that is done here[1].\n> > \n> > This has been tested on\n> > - powernv9 hardware\n> > - pseries P11 hardware\n> > - pseries(9, 10) qemu\n> > - powernv(9, 10) qemu\n> > - rustdoc on x86 and powerpc64le\n> > - rusttest on x86 and powerpc64le\n> \n> I just tested your series for the Wii, so targeting powerpc (32, be),\n> and got this error:\n> ```\n> error[E0463]: can't find crate for `pin_init_internal`\n>    --> ../rust/pin-init/src/lib.rs:365:11\n>     |\n> 365 | pub use ::pin_init_internal::pin_data;\n>     |           ^^^^^^^^^^^^^^^^^ can't find crate\n> \n> error: aborting due to 1 previous error\n> \n> For more information about this error, try `rustc --explain E0463`.\n> ```\n> \n> I didn’t get this error in a previous version of your series, would you\n> want me to bisect them?\n> \n> Thanks for your continuous work on it anyway!\n> \n\nHey Link,\n\nThanks for testing this.\n\nCan you give me the command generated via make with V=1\ne.g. `make LLVM=1 V=1`\n\nRegards,\nMukesh\n\n> > \n> > We are actively working with our LLVM team to get the target for ppc,\n> > ppc64 and ppc64le in the rust compiler.\n> > \n> > \n> > [1] https://lore.kernel.org/all/20260204030507.8203-1-linkmauve@linkmauve.fr\n> > [2] https://lore.kernel.org/all/20260204042417.83903-1-mkchauras@gmail.com\n> > \n> > Changelog:\n> > V9 -> V10:\n> > - rust/Makefile updated with review comments from Miguel\n> > - Patch 1/4 updated with commit message and subject\n> > V9: https://lore.kernel.org/all/20260404121610.1956528-1-mkchauras@gmail.com/\n> > \n> > V8 -> V9:\n> > - rust/Makefile updated with a directory instead of abspath\n> > V8: https://lore.kernel.org/all/20260403145308.1042622-1-mkchauras@gmail.com/\n> > \n> > V7 -> V8:\n> > - rust/Makefile updated to separate host libraries from target\n> > V7: https://lore.kernel.org/all/20260329160254.2592207-1-mkchauras@gmail.com/\n> > \n> > Changelog:\n> > V6 -> V7:\n> > - Documentation removed as powerpc is still under development\n> > - Added a fix for race condition in rust/Makefile\n> > V6: https://lore.kernel.org/all/20260210090023.2587534-1-mkchauras@gmail.com\n> > \n> > V5 -> V6:\n> > - Added a missing Tested by from Venkat which got missed since V3\n> > - Support is marked as Maintained instead of experimental\n> > V5: https://lore.kernel.org/all/20260210053756.2088302-1-mkchauras@gmail.com\n> > \n> > V4 -> V5:\n> > - Removed a nested ifdef from PPC64 for Little endian toolchain\n> > V4: https://lore.kernel.org/all/20260209105456.1551677-1-mkchauras@gmail.com\n> > \n> > V3 -> V4:\n> > - Co-developed-by header added in patch 1\n> > V3: https://lore.kernel.org/all/20260205180429.3280657-1-mkchauras@gmail.com\n> > \n> > V2 -> V3:\n> > - Splited HAVE_RUST in 2 lines\n> > - BINDGEN_TARGET_powerpc initialized before assigning the same to\n> >   BINDGEN_TARGET\n> > V2: https://lore.kernel.org/all/20260204210125.613350-1-mkchauras@gmail.com\n> > \n> > V1 -> V2:\n> > - jump label fix for rust has been moved to a separate patch\n> > - PPC32 support has been taken\n> > - rust support has been marked experimental\n> > - target.json dependency has been removed\n> > - HAVE_RUST now depends on CPU_LITTLE_ENDIAN for PPC64\n> > \n> > Link Mauve (1):\n> >   rust: Add PowerPC support\n> > \n> > Mukesh Kumar Chaurasiya (IBM) (3):\n> >   rust: Fix \"multiple candidates for rmeta dependency core\" error\n> >   powerpc/jump_label: adjust inline asm to be consistent\n> >   powerpc: Enable Rust for ppc64le\n> > \n> >  arch/powerpc/Kconfig                  |  2 +\n> >  arch/powerpc/Makefile                 |  7 +++\n> >  arch/powerpc/include/asm/jump_label.h | 23 ++++++----\n> >  rust/Makefile                         | 66 ++++++++++++++++-----------\n> >  4 files changed, 61 insertions(+), 37 deletions(-)\n> > \n> > -- \n> > 2.53.0\n> > \n> > \n> \n> -- \n> Link Mauve\n>","headers":{"Return-Path":"\n <linuxppc-dev+bounces-19495-incoming=patchwork.ozlabs.org@lists.ozlabs.org>","X-Original-To":["incoming@patchwork.ozlabs.org","linuxppc-dev@lists.ozlabs.org"],"Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=HTsRpsKb;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org\n (client-ip=2404:9400:21b9:f100::1; helo=lists.ozlabs.org;\n envelope-from=linuxppc-dev+bounces-19495-incoming=patchwork.ozlabs.org@lists.ozlabs.org;\n receiver=patchwork.ozlabs.org)","lists.ozlabs.org;\n arc=none smtp.remote-ip=\"2607:f8b0:4864:20::102f\"","lists.ozlabs.org;\n dmarc=pass (p=none dis=none) header.from=gmail.com","lists.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=HTsRpsKb;\n\tdkim-atps=neutral","lists.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com\n (client-ip=2607:f8b0:4864:20::102f; helo=mail-pj1-x102f.google.com;\n envelope-from=mkchauras@gmail.com; receiver=lists.ozlabs.org)"],"Received":["from lists.ozlabs.org (lists.ozlabs.org\n [IPv6:2404:9400:21b9:f100::1])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4frM0k0TTcz1xy1\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 08 Apr 2026 21:53:57 +1000 (AEST)","from boromir.ozlabs.org (localhost [127.0.0.1])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 4frM0h1x93z2yVP;\n\tWed, 08 Apr 2026 21:53:56 +1000 (AEST)","from mail-pj1-x102f.google.com (mail-pj1-x102f.google.com\n [IPv6:2607:f8b0:4864:20::102f])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n\t(No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 4frM0f649Qz2xc8\n\tfor <linuxppc-dev@lists.ozlabs.org>; Wed, 08 Apr 2026 21:53:53 +1000 (AEST)","by mail-pj1-x102f.google.com with SMTP id\n 98e67ed59e1d1-356337f058aso3530214a91.2\n        for <linuxppc-dev@lists.ozlabs.org>;\n Wed, 08 Apr 2026 04:53:53 -0700 (PDT)","from li-1a3e774c-28e4-11b2-a85c-acc9f2883e29.ibm.com ([129.41.58.4])\n        by smtp.gmail.com with ESMTPSA id\n 98e67ed59e1d1-35dbe9379f3sm25672851a91.9.2026.04.08.04.53.41\n        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n        Wed, 08 Apr 2026 04:53:49 -0700 (PDT)"],"ARC-Seal":"i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1775649236;\n\tcv=none;\n b=CsbV6AA2hAXzte9SL6CDuVqgTiALZ13og59jLJZ9GV/w/pMeh+oFYpe8CzexAbjCJdnXhcOPU3hsWyBOIDwK53F9ECpO2na4pjq7WHIhcsrC00t5AzJJguEC8/QIKGjRPkOkh+2X8XxpdjLBiQryRn8Ek9VRuAuZqfzGhRS1Sm5OhN5xrAFmPTZTayhWIjX7H40VoBXn/JyILSGQOxWikyuYIUUV9I281B5oWlcJ+igChQMO4PWtHCUNqlNkFYgAeFLYFUMe8mg9Es3QgIWC89FN5BqnLQm5Yhm6L8LkJrf4Whrxap4QGVXIvBDx+IsCqg4nqcapRPdHHRUoHum3nQ==","ARC-Message-Signature":"i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707;\n\tt=1775649236; c=relaxed/relaxed;\n\tbh=Eoc0I6ZFUNdwIm009oH3G2THpKBnhPvBaJWle5ck1ck=;\n\th=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:\n\t Content-Type:Content-Disposition:In-Reply-To;\n b=jxUtLrLYe+N+n641BhpItZwieH9UwQ3ozJ3Fk7g1wVDTEnUHWCGX8mave/Ar7KOmgcIJ8KhM5LVvATKH3iJu0JZ4Q6XZw0AdERjn4IdP9CDFEhzuaF5fVLLQRhnjQF+9FPiTHUAVDvqJb7FFZwfQbtpY0qJLPgjjSCP9yJVmaXNvvFWtUWdmnYWybHIhDom/3AmIok6nAZbOpU53u4L/CH0zQ/oKM1lz2aYbawXOyw8fDXf7D+vhgVkNyqKE93LUZO1z/m96VxqZu0uXaaTDaZXjY1uyEZ2TxgKlGmbwnxgEZfc08XieSU+hoCccxJXSVJ/R6zYgV/om+XhgIfUBKQ==","ARC-Authentication-Results":"i=1; lists.ozlabs.org;\n dmarc=pass (p=none dis=none) header.from=gmail.com; dkim=pass (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=HTsRpsKb; dkim-atps=neutral;\n spf=pass (client-ip=2607:f8b0:4864:20::102f; helo=mail-pj1-x102f.google.com;\n envelope-from=mkchauras@gmail.com;\n receiver=lists.ozlabs.org) smtp.mailfrom=gmail.com","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=gmail.com; s=20251104; t=1775649230; x=1776254030;\n darn=lists.ozlabs.org;\n        h=in-reply-to:content-transfer-encoding:content-disposition\n         :mime-version:references:message-id:subject:cc:to:from:date:from:to\n         :cc:subject:date:message-id:reply-to;\n        bh=Eoc0I6ZFUNdwIm009oH3G2THpKBnhPvBaJWle5ck1ck=;\n        b=HTsRpsKbMEWdvb0CBqa4yHNPGXOt6bEtZX6bZ0qWPyQa/WWExGoHvnQp1Z3SvbBF7v\n         ixkJAkPCnlGxA6ICgdQQi1OyEuAo0dPDZQoUXNHuLRmejh2Uco+x7yLnuRod734llHBB\n         vtlhdNbHgtFXgQCha8Z4dtwxsEzoydNRFm9Vb2+taMYxGAqHfWVmhFi3bztaaXYONLUz\n         gKQjzP+9+3GhCEafrnDofDrlcyfdc+lsl7LDB//nEIQ06GvldH2zAH1YwuJTDaIfQ+kS\n         VBpV3HIsrXHIgVSchgEYFh3Z71SXpf8tarkGDbtAzxamdjIf6vCuofFafBThGJrjpUDa\n         iU0Q==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=1e100.net; s=20251104; t=1775649230; x=1776254030;\n        h=in-reply-to:content-transfer-encoding:content-disposition\n         :mime-version:references:message-id:subject:cc:to:from:date:x-gm-gg\n         :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;\n        bh=Eoc0I6ZFUNdwIm009oH3G2THpKBnhPvBaJWle5ck1ck=;\n        b=hFIN7/wKc+/FcppFMgDPMoPDrwGA4uofGlwmM1aKbHLgVmOWLqWC1HQWCyqeXOQ3KI\n         imC4x99Nbhj+0vImCf5YPDoGtkiozi8+qigEzz+OOmoEkE430mmEUgI29OAP/5p00GAN\n         zCa99kiaoGYpJTkoJCvH65yLALXFkgPV6Zdnm3udfZL9KPftnM5YfH2MTQCyuyBhpBUM\n         II8CCXbDeKV8hHVrfIEwwPzojbOEwonRisVNBRMCjGMKk4ppXunwN9lvlYY/AV9DWv46\n         dY4OVl4J/+AyRCPkd0kwnThQfnjO5Ascv/h31TMlIy5zmmsxevxPe3adrJKN3HtjbRmx\n         Wt+w==","X-Forwarded-Encrypted":"i=1;\n AJvYcCW4udCA6YP3ZEnm29IggHNFoeTB2rcu/A/FdKdwclL1s3Zt5AgFLhzJUC1ZJdSpsbO8QDWe/s/AK6OFSn8=@lists.ozlabs.org","X-Gm-Message-State":"AOJu0Yz7up+IKQhNW6pZhJ/vkqjd+f1YQDQAVEQ6dYohS75tJcc6to2i\n\tCebvraLm7R1no4gUi5rknowTTP3vmtaAZXalu1dCxoxlRwDXE+A0AmZP","X-Gm-Gg":"AeBDietSh6EG17//0MbgWloRZPX/3R1eeu2d/gqHM2pIyaAwKSCuLhapZXrJWw6YKu0\n\tA6jQruz0WmZxb1v9RFf9IX1hGiYBq0M90NgS7X7zUbrrN8whGf4atMsa7tW/DbHSAwH0Y/am2RG\n\tgzEYs88Zxd1qOirQXdCbY95+yGTS4GGqjrXVL+A3n939kjJs+miP77YqJkLWlczQ6/Iv07wtnPC\n\thXdADdnt3V+OZa4W/Ggi5zfXV+n2btbvyYb4Aqai7bznYytClsrSQFCxuChthrKHdYBzBcoCX1U\n\ty6383IyrdV1OtzIdfJWKBwlqcC8BMWK8CC42DhQzATtXsrDatpJfgwjBJqTNBk1x6R9EU3TbpIg\n\tPYKSEKDdCi/zQe9Mmj+v/55FX5O3+/vqDhKxVXnOhIKVEJS3iOvhN4LjugiZm9eK7T8uKFWB4zE\n\t56ynP2bPmwORRMHg0lwB6J7+wG46zSR30usVdJoT2Tm19U1jWXkAESaAhiHPQzoFVJEUE=","X-Received":"by 2002:a17:90b:54cc:b0:35d:a542:2dc0 with SMTP id\n 98e67ed59e1d1-35de67dde76mr20971504a91.8.1775649229978;\n        Wed, 08 Apr 2026 04:53:49 -0700 (PDT)","Date":"Wed, 8 Apr 2026 17:23:39 +0530","From":"Mukesh Kumar Chaurasiya <mkchauras@gmail.com>","To":"Link Mauve <linkmauve@linkmauve.fr>","Cc":"maddy@linux.ibm.com, mpe@ellerman.id.au, npiggin@gmail.com,\n\tchleroy@kernel.org, peterz@infradead.org, jpoimboe@kernel.org,\n jbaron@akamai.com,\n\taliceryhl@google.com, rostedt@goodmis.org, ardb@kernel.org, ojeda@kernel.org,\n\tboqun@kernel.org, gary@garyguo.net, bjorn3_gh@protonmail.com,\n lossin@kernel.org,\n\ta.hindborg@kernel.org, tmgross@umich.edu, dakr@kernel.org, nathan@kernel.org,\n\tnick.desaulniers+lkml@gmail.com, morbo@google.com, justinstitt@google.com,\n\tlinuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org,\n rust-for-linux@vger.kernel.org,\n\tllvm@lists.linux.dev","Subject":"Re: [PATCH V10 0/4] Rust support for powerpc [RESEND]","Message-ID":"<adZBWoVVoJefiTcM@li-1a3e774c-28e4-11b2-a85c-acc9f2883e29.ibm.com>","References":"<20260406200149.3727922-1-mkchauras@gmail.com>\n <adYlLLfRgSyxus3n@luna>","X-Mailing-List":"linuxppc-dev@lists.ozlabs.org","List-Id":"<linuxppc-dev.lists.ozlabs.org>","List-Help":"<mailto:linuxppc-dev+help@lists.ozlabs.org>","List-Owner":"<mailto:linuxppc-dev+owner@lists.ozlabs.org>","List-Post":"<mailto:linuxppc-dev@lists.ozlabs.org>","List-Archive":"<https://lore.kernel.org/linuxppc-dev/>,\n  <https://lists.ozlabs.org/pipermail/linuxppc-dev/>","List-Subscribe":"<mailto:linuxppc-dev+subscribe@lists.ozlabs.org>,\n  <mailto:linuxppc-dev+subscribe-digest@lists.ozlabs.org>,\n  <mailto:linuxppc-dev+subscribe-nomail@lists.ozlabs.org>","List-Unsubscribe":"<mailto:linuxppc-dev+unsubscribe@lists.ozlabs.org>","Precedence":"list","MIME-Version":"1.0","Content-Type":"text/plain; charset=utf-8","Content-Disposition":"inline","Content-Transfer-Encoding":"8bit","In-Reply-To":"<adYlLLfRgSyxus3n@luna>","X-Spam-Status":"No, score=-0.2 required=3.0 tests=DKIM_SIGNED,DKIM_VALID,\n\tDKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,\n\tSPF_HELO_NONE,SPF_PASS autolearn=disabled version=4.0.1 OzLabs 8","X-Spam-Checker-Version":"SpamAssassin 4.0.1 (2024-03-25) on lists.ozlabs.org"}},{"id":3674762,"web_url":"http://patchwork.ozlabs.org/comment/3674762/","msgid":"<adZV_VISz8DNraug@luna>","date":"2026-04-08T13:19:57","subject":"Re: [PATCH V10 0/4] Rust support for powerpc [RESEND]","submitter":{"id":81627,"url":"http://patchwork.ozlabs.org/api/people/81627/","name":"Link Mauve","email":"linkmauve@linkmauve.fr"},"content":"On Wed, Apr 08, 2026 at 05:23:39PM +0530, Mukesh Kumar Chaurasiya wrote:\n> On Wed, Apr 08, 2026 at 11:51:40AM +0200, Link Mauve wrote:\n> > Hi,\n> > \n> > (This email is a resent, my IP address got flagged by spamhaus again\n> > because I’m on a residential range, hopefully this incident is\n> > resolved…)\n> > \n> > On Tue, Apr 07, 2026 at 01:31:45AM +0530, Mukesh Kumar Chaurasiya (IBM) wrote:\n> > > Enable experimental rust support for ppc64le and ppc32be. The patch for\n> > > ppc32 has been provided by Link Mauve[1] and ppc64le support[2] has been\n> > > merged over it. ppc32 needs some toolchain fixes mentioned in the patch\n> > > `rust: Add PowerPC support` and the discussion for that is done here[1].\n> > > \n> > > This has been tested on\n> > > - powernv9 hardware\n> > > - pseries P11 hardware\n> > > - pseries(9, 10) qemu\n> > > - powernv(9, 10) qemu\n> > > - rustdoc on x86 and powerpc64le\n> > > - rusttest on x86 and powerpc64le\n> > \n> > I just tested your series for the Wii, so targeting powerpc (32, be),\n> > and got this error:\n> > ```\n> > error[E0463]: can't find crate for `pin_init_internal`\n> >    --> ../rust/pin-init/src/lib.rs:365:11\n> >     |\n> > 365 | pub use ::pin_init_internal::pin_data;\n> >     |           ^^^^^^^^^^^^^^^^^ can't find crate\n> > \n> > error: aborting due to 1 previous error\n> > \n> > For more information about this error, try `rustc --explain E0463`.\n> > ```\n> > \n> > I didn’t get this error in a previous version of your series, would you\n> > want me to bisect them?\n> > \n> > Thanks for your continuous work on it anyway!\n> > \n> \n> Hey Link,\n> \n> Thanks for testing this.\n> \n> Can you give me the command generated via make with V=1\n> e.g. `make LLVM=1 V=1`\n\nHere it is:\n```\n% make ARCH=powerpc CROSS_COMPILE=powerpc-linux-musl- O=wii W=1 V=1 -j1\nmake  -C /home/linkmauve/dev/linux/wii \\\n-f /home/linkmauve/dev/linux/Makefile\nmake[1]: Entering directory '/home/linkmauve/dev/linux/wii'\nmake --no-print-directory -C /home/linkmauve/dev/linux/wii \\\n-f /home/linkmauve/dev/linux/Makefile\nln -fsn .. source\n# GEN     Makefile\n  { echo \"# Automatically generated by /home/linkmauve/dev/linux/Makefile: don't edit\"; echo \"export KBUILD_OUTPUT = /home/linkmauve/dev/linux/wii\"; echo \"include /home/linkmauve/dev/linux/Makefile\"; } > Makefile\ntest -e .gitignore || \\\n{ echo \"# this is build directory, ignore it\"; echo \"*\"; } > .gitignore\nmake -f ../scripts/Makefile.build obj=arch/powerpc/kernel/syscalls all\nmake -f ../scripts/Makefile.build obj=scripts/basic\nmake -f ../scripts/Makefile.build obj=scripts/dtc\nmake -f ../scripts/Makefile.build obj=scripts\nmake -f ../scripts/Makefile.build obj=scripts/gcc-plugins \\\nneed-builtin= \\\nneed-modorder= \\\n\nset -e; mkdir -p include/config/; trap \"rm -f include/config/.tmp_kernel.release\" EXIT; { ../scripts/setlocalversion ..; } > include/config/.tmp_kernel.release; if [ ! -r include/config/kernel.release ] || ! cmp -s include/config/kernel.release include/config/.tmp_kernel.release; then : '  UPD     include/config/kernel.release'; mv -f include/config/.tmp_kernel.release include/config/kernel.release; fi\nmake -f ../scripts/Makefile.asm-headers obj=arch/powerpc/include/generated/uapi/asm \\\ngeneric=include/uapi/asm-generic\nmake -f ../scripts/Makefile.asm-headers obj=arch/powerpc/include/generated/asm \\\ngeneric=include/asm-generic\nset -e; mkdir -p include/generated/uapi/linux/; trap \"rm -f include/generated/uapi/linux/.tmp_version.h\" EXIT; { \tif [ 0 -gt 255 ]; then echo \\#define LINUX_VERSION_CODE 459007; else echo \\#define LINUX_VERSION_CODE 458752; fi; echo '#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + ((c) > 255 ? 255 : (c)))'; echo \\#define LINUX_VERSION_MAJOR 7; echo \\#define LINUX_VERSION_PATCHLEVEL 0; echo \\#define LINUX_VERSION_SUBLEVEL 0; } > include/generated/uapi/linux/.tmp_version.h; if [ ! -r include/generated/uapi/linux/version.h ] || ! cmp -s include/generated/uapi/linux/version.h include/generated/uapi/linux/.tmp_version.h; then : '  UPD     include/generated/uapi/linux/version.h'; mv -f include/generated/uapi/linux/.tmp_version.h include/generated/uapi/linux/version.h; fi\nset -e; mkdir -p include/generated/; trap \"rm -f include/generated/.tmp_utsrelease.h\" EXIT; { \tif [ `echo -n \"7.0.0-rc7-wii+\" | wc -c ` -gt 64 ]; then echo '\"7.0.0-rc7-wii+\" exceeds 64 characters' >&2; exit 1; fi; echo \\#define UTS_RELEASE \\\"7.0.0-rc7-wii+\\\"; } > include/generated/.tmp_utsrelease.h; if [ ! -r include/generated/utsrelease.h ] || ! cmp -s include/generated/utsrelease.h include/generated/.tmp_utsrelease.h; then : '  UPD     include/generated/utsrelease.h'; mv -f include/generated/.tmp_utsrelease.h include/generated/utsrelease.h; fi\nset -e; mkdir -p include/generated/; trap \"rm -f include/generated/.tmp_compile.h\" EXIT; { ../scripts/mkcompile_h \"ppc\" \"powerpc-linux-musl-gcc (GCC) 14.2.1 20250405\" \"powerpc-linux-musl-ld\"; } > include/generated/.tmp_compile.h; if [ ! -r include/generated/compile.h ] || ! cmp -s include/generated/compile.h include/generated/.tmp_compile.h; then : '  UPD     include/generated/compile.h'; mv -f include/generated/.tmp_compile.h include/generated/compile.h; fi\n../scripts/remove-stale-files\nmake -f ../scripts/Makefile.build obj=scripts/mod\nset -e; mkdir -p scripts/mod/; trap \"rm -f scripts/mod/.tmp_devicetable-offsets.h\" EXIT; { \t echo \"#ifndef __DEVICETABLE_OFFSETS_H__\"; echo \"#define __DEVICETABLE_OFFSETS_H__\"; echo \"/*\"; echo \" * DO NOT MODIFY.\"; echo \" *\"; echo \" * This file was generated by Kbuild\"; echo \" */\"; echo \"\"; sed -ne \t's:^[[:space:]]*\\.ascii[[:space:]]*\"\\(.*\\)\".*:\\1:; /^->/{s:->#\\(.*\\):/* \\1 */:; s:^->\\([^ ]*\\) [\\$#]*\\([^ ]*\\) \\(.*\\):#define \\1 \\2 /* \\3 */:; s:->::; p;}' < scripts/mod/devicetable-offsets.s; echo \"\"; echo \"#endif\"; } > scripts/mod/.tmp_devicetable-offsets.h; if [ ! -r scripts/mod/devicetable-offsets.h ] || ! cmp -s scripts/mod/devicetable-offsets.h scripts/mod/.tmp_devicetable-offsets.h; then : '  UPD     scripts/mod/devicetable-offsets.h'; mv -f scripts/mod/.tmp_devicetable-offsets.h scripts/mod/devicetable-offsets.h; fi\nmake -f ../scripts/Makefile.build obj=. prepare\nset -e; mkdir -p include/generated/; trap \"rm -f include/generated/.tmp_timeconst.h\" EXIT; { echo 1000 | bc -q ../kernel/time/timeconst.bc; } > include/generated/.tmp_timeconst.h; if [ ! -r include/generated/timeconst.h ] || ! cmp -s include/generated/timeconst.h include/generated/.tmp_timeconst.h; then : '  UPD     include/generated/timeconst.h'; mv -f include/generated/.tmp_timeconst.h include/generated/timeconst.h; fi\nset -e; mkdir -p include/generated/; trap \"rm -f include/generated/.tmp_bounds.h\" EXIT; { \t echo \"#ifndef __LINUX_BOUNDS_H__\"; echo \"#define __LINUX_BOUNDS_H__\"; echo \"/*\"; echo \" * DO NOT MODIFY.\"; echo \" *\"; echo \" * This file was generated by Kbuild\"; echo \" */\"; echo \"\"; sed -ne \t's:^[[:space:]]*\\.ascii[[:space:]]*\"\\(.*\\)\".*:\\1:; /^->/{s:->#\\(.*\\):/* \\1 */:; s:^->\\([^ ]*\\) [\\$#]*\\([^ ]*\\) \\(.*\\):#define \\1 \\2 /* \\3 */:; s:->::; p;}' < kernel/bounds.s; echo \"\"; echo \"#endif\"; } > include/generated/.tmp_bounds.h; if [ ! -r include/generated/bounds.h ] || ! cmp -s include/generated/bounds.h include/generated/.tmp_bounds.h; then : '  UPD     include/generated/bounds.h'; mv -f include/generated/.tmp_bounds.h include/generated/bounds.h; fi\nset -e; mkdir -p include/generated/; trap \"rm -f include/generated/.tmp_asm-offsets.h\" EXIT; { \t echo \"#ifndef __ASM_OFFSETS_H__\"; echo \"#define __ASM_OFFSETS_H__\"; echo \"/*\"; echo \" * DO NOT MODIFY.\"; echo \" *\"; echo \" * This file was generated by Kbuild\"; echo \" */\"; echo \"\"; sed -ne \t's:^[[:space:]]*\\.ascii[[:space:]]*\"\\(.*\\)\".*:\\1:; /^->/{s:->#\\(.*\\):/* \\1 */:; s:^->\\([^ ]*\\) [\\$#]*\\([^ ]*\\) \\(.*\\):#define \\1 \\2 /* \\3 */:; s:->::; p;}' < arch/powerpc/kernel/asm-offsets.s; echo \"\"; echo \"#endif\"; } > include/generated/.tmp_asm-offsets.h; if [ ! -r include/generated/asm-offsets.h ] || ! cmp -s include/generated/asm-offsets.h include/generated/.tmp_asm-offsets.h; then : '  UPD     include/generated/asm-offsets.h'; mv -f include/generated/.tmp_asm-offsets.h include/generated/asm-offsets.h; fi\nset -e; mkdir -p include/generated/; trap \"rm -f include/generated/.tmp_rq-offsets.h\" EXIT; { \t echo \"#ifndef __RQ_OFFSETS_H__\"; echo \"#define __RQ_OFFSETS_H__\"; echo \"/*\"; echo \" * DO NOT MODIFY.\"; echo \" *\"; echo \" * This file was generated by Kbuild\"; echo \" */\"; echo \"\"; sed -ne \t's:^[[:space:]]*\\.ascii[[:space:]]*\"\\(.*\\)\".*:\\1:; /^->/{s:->#\\(.*\\):/* \\1 */:; s:^->\\([^ ]*\\) [\\$#]*\\([^ ]*\\) \\(.*\\):#define \\1 \\2 /* \\3 */:; s:->::; p;}' < kernel/sched/rq-offsets.s; echo \"\"; echo \"#endif\"; } > include/generated/.tmp_rq-offsets.h; if [ ! -r include/generated/rq-offsets.h ] || ! cmp -s include/generated/rq-offsets.h include/generated/.tmp_rq-offsets.h; then : '  UPD     include/generated/rq-offsets.h'; mv -f include/generated/.tmp_rq-offsets.h include/generated/rq-offsets.h; fi\n# CALL    ../scripts/checksyscalls.sh\n  sh ../scripts/checksyscalls.sh powerpc-linux-musl-gcc -Wp,-MMD,./.missing-syscalls.d -nostdinc -I../arch/powerpc/include -I./arch/powerpc/include/generated -I../include -I./include -I../arch/powerpc/include/uapi -I./arch/powerpc/include/generated/uapi -I../include/uapi -I./include/generated/uapi -include ../include/linux/compiler-version.h -include ../include/linux/kconfig.h -include ../include/linux/compiler_types.h -D__KERNEL__ -mbig-endian -m32 -I ../arch/powerpc -fmacro-prefix-map=../= -Wundef -DKBUILD_EXTRA_WARN1 -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -msoft-float -ffixed-r2 -mmultiple -mno-readonly-in-sdata -mcpu=powerpc -mno-prefixed -mno-pcrel -mno-altivec -mno-vsx -mno-mma -fno-asynchronous-unwind-tables -mno-string -mbig-endian -fno-delete-null-pointer-checks -Os -fno-allow-store-data-races -fno-stack-protector -fomit-frame-pointer -ftrivial-auto-var-init=zero -fno-stack-clash-protection -fmin-function-alignment=4 -fstrict-flex-arrays=3 -fms-extensions -fno-strict-overflow -fno-stack-check -fconserve-stack -fno-builtin-wcslen -Wall -Wextra -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -Wno-frame-address -Wno-address-of-packed-member -Wmissing-declarations -Wmissing-prototypes -Wframe-larger-than=1280 -Wno-main -Wno-type-limits -Wno-dangling-pointer -Wvla-larger-than=1 -Wno-pointer-sign -Wcast-function-type -Wno-array-bounds -Wno-stringop-overflow -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wenum-conversion -Wunused -Wmissing-format-attribute -Wmissing-include-dirs -Wunused-const-variable -Wno-missing-field-initializers -Wno-shift-negative-value -Wno-maybe-uninitialized -Wno-sign-compare -Wno-unused-parameter -DGCC_PLUGINS -I../. -I.    -DKBUILD_MODFILE='\"./missing-syscalls\"' -DKBUILD_BASENAME='\"missing_syscalls\"' -DKBUILD_MODNAME='\"missing_syscalls\"' -D__KBUILD_MODNAME=missing_syscalls\nmake -f ../scripts/Makefile.build obj=arch/powerpc/kernel/vdso include/generated/vdso32-offsets.h\nmkdir -p ./tools\nmake O=/home/linkmauve/dev/linux/wii subdir=tools -C ../tools/ objtool\nmkdir -p /home/linkmauve/dev/linux/wii/tools/objtool && make O=/home/linkmauve/dev/linux/wii subdir=tools/objtool --no-print-directory -C objtool\nmake -C /home/linkmauve/dev/linux/tools/build CFLAGS= LDFLAGS= /home/linkmauve/dev/linux/wii/tools/objtool/fixdep\nif [ ! -f /home/linkmauve/dev/linux/wii/tools/objtool/fixdep ]; then\t\t\t\t\t\t\\\n\tmake -f /home/linkmauve/dev/linux/tools/build/Makefile.build dir=. obj=fixdep HOSTCFLAGS=\"-Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu11   -I ../scripts/include\";\t\\\n\trm -f /home/linkmauve/dev/linux/wii/tools/objtool/fixdep.o;\t\t\t\t\t\t\\\nfi\nmake -f /home/linkmauve/dev/linux/tools/build/Makefile.build dir=. obj=fixdep HOSTCFLAGS=\"-Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu11   -I ../scripts/include\"\nmake -C /home/linkmauve/dev/linux/tools/lib/subcmd/ O=/home/linkmauve/dev/linux/wii/tools/objtool/libsubcmd \\\n\tDESTDIR=/home/linkmauve/dev/linux/wii/tools/objtool/libsubcmd prefix= subdir= \\\n\tCC=\"gcc\" LD=\"ld\" AR=\"ar\" EXTRA_CFLAGS=\"-std=gnu11 -fomit-frame-pointer -O2 -g -Werror -Wall -Wextra -Wmissing-prototypes -Wmissing-declarations -Wwrite-strings -Wno-implicit-fallthrough -Wno-sign-compare -Wno-unused-parameter -I/home/linkmauve/dev/linux/tools/include -I/home/linkmauve/dev/linux/tools/include/uapi -I/home/linkmauve/dev/linux/tools/arch/x86/include/uapi -I/home/linkmauve/dev/linux/tools/arch/powerpc/include -I/home/linkmauve/dev/linux/tools/objtool/include -I/home/linkmauve/dev/linux/tools/objtool/arch/powerpc/include -I/home/linkmauve/dev/linux/wii/tools/objtool/libsubcmd/include   \" \\\n\t/home/linkmauve/dev/linux/wii/tools/objtool/libsubcmd/libsubcmd.a install_headers\nmake -C /home/linkmauve/dev/linux/tools/build CFLAGS= LDFLAGS= /home/linkmauve/dev/linux/wii/tools/objtool/libsubcmd/fixdep\nif [ ! -f /home/linkmauve/dev/linux/wii/tools/objtool/libsubcmd/fixdep ]; then\t\t\t\t\t\t\\\n\tmake -f /home/linkmauve/dev/linux/tools/build/Makefile.build dir=. obj=fixdep HOSTCFLAGS=\"-Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu11   -I ../scripts/include\";\t\\\n\trm -f /home/linkmauve/dev/linux/wii/tools/objtool/libsubcmd/fixdep.o;\t\t\t\t\t\t\\\nfi\nmake -f /home/linkmauve/dev/linux/tools/build/Makefile.build dir=. obj=fixdep HOSTCFLAGS=\"-Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu11   -I ../scripts/include\"\nmake[5]: 'install_headers' is up to date.\nsh ./sync-check.sh\nmake -f /home/linkmauve/dev/linux/tools/build/Makefile.build dir=. obj=objtool CC=\"gcc\" LD=\"ld\" AR=\"ar\" CFLAGS=\"-std=gnu11 -fomit-frame-pointer -O2 -g -Werror -Wall -Wextra -Wmissing-prototypes -Wmissing-declarations -Wwrite-strings -Wno-implicit-fallthrough -Wno-sign-compare -Wno-unused-parameter -I/home/linkmauve/dev/linux/tools/include -I/home/linkmauve/dev/linux/tools/include/uapi -I/home/linkmauve/dev/linux/tools/arch/x86/include/uapi -I/home/linkmauve/dev/linux/tools/arch/powerpc/include -I/home/linkmauve/dev/linux/tools/objtool/include -I/home/linkmauve/dev/linux/tools/objtool/arch/powerpc/include -I/home/linkmauve/dev/linux/wii/tools/objtool/libsubcmd/include   \" \\\n\tLDFLAGS=\"/home/linkmauve/dev/linux/wii/tools/objtool/libsubcmd/libsubcmd.a -lelf  \"\nmake -f /home/linkmauve/dev/linux/tools/build/Makefile.build dir=./arch/powerpc obj=objtool\nsh ../scripts/rust_is_available.sh\nmake -f ../scripts/Makefile.build obj=rust\n# RUSTC L rust/pin_init.o\n  OBJTREE=/home/linkmauve/dev/linux/wii rustc --edition=2021 -Zbinary_dep_depinfo=y -Astable_features -Aunused_features -Dnon_ascii_idents -Dunsafe_op_in_unsafe_fn -Wmissing_docs -Wrust_2018_idioms -Wunreachable_pub -Wclippy::all -Wclippy::as_ptr_cast_mut -Wclippy::as_underscore -Wclippy::cast_lossless -Wclippy::ignored_unit_patterns -Wclippy::mut_mut -Wclippy::needless_bitwise_bool -Aclippy::needless_lifetimes -Wclippy::no_mangle_with_rust_abi -Wclippy::ptr_as_ptr -Wclippy::ptr_cast_constness -Wclippy::ref_as_ptr -Wclippy::undocumented_unsafe_blocks -Wclippy::unnecessary_safety_comment -Wclippy::unnecessary_safety_doc -Wrustdoc::missing_crate_level_docs -Wrustdoc::unescaped_backticks -Cpanic=abort -Cembed-bitcode=n -Clto=n -Cforce-unwind-tables=n -Ccodegen-units=1 -Csymbol-mangling-version=v0 -Crelocation-model=static -Zfunction-sections=n -Wclippy::float_arithmetic --target=powerpc-unknown-linux-gnu -Copt-level=s -Cdebug-assertions=n -Coverflow-checks=y @./include/generated/rustc_cfg --extern pin_init_internal --extern macros --cfg='kernel' --emit=dep-info=rust/.pin_init.o.d --emit=obj=rust/pin_init.o --emit=metadata=rust/libpin_init.rmeta --crate-type rlib -L./rust --crate-name pin_init ../rust/pin-init/src/lib.rs --sysroot=/dev/null -Zunstable-options   ; ./tools/objtool/objtool --static-call   rust/pin_init.o\nerror[E0463]: can't find crate for `pin_init_internal`\n   --> ../rust/pin-init/src/lib.rs:365:11\n    |\n365 | pub use ::pin_init_internal::pin_data;\n    |           ^^^^^^^^^^^^^^^^^ can't find crate\n\nerror: aborting due to 1 previous error\n\nFor more information about this error, try `rustc --explain E0463`.\nmake[3]: *** [../rust/Makefile:681: rust/pin_init.o] Error 1\nmake[2]: *** [/home/linkmauve/dev/linux/Makefile:1343: prepare] Error 2\nmake[1]: *** [/home/linkmauve/dev/linux/Makefile:248: __sub-make] Error 2\nmake[1]: Leaving directory '/home/linkmauve/dev/linux/wii'\nmake: *** [Makefile:248: __sub-make] Error 2\nmake ARCH=powerpc CROSS_COMPILE=powerpc-linux-musl- O=wii W=1 V=1 -j1  1.15s user 0.56s system 100% cpu 1.695 total\n```\n\n> \n> Regards,\n> Mukesh\n> \n> > > \n> > > We are actively working with our LLVM team to get the target for ppc,\n> > > ppc64 and ppc64le in the rust compiler.\n> > > \n> > > \n> > > [1] https://lore.kernel.org/all/20260204030507.8203-1-linkmauve@linkmauve.fr\n> > > [2] https://lore.kernel.org/all/20260204042417.83903-1-mkchauras@gmail.com\n> > > \n> > > Changelog:\n> > > V9 -> V10:\n> > > - rust/Makefile updated with review comments from Miguel\n> > > - Patch 1/4 updated with commit message and subject\n> > > V9: https://lore.kernel.org/all/20260404121610.1956528-1-mkchauras@gmail.com/\n> > > \n> > > V8 -> V9:\n> > > - rust/Makefile updated with a directory instead of abspath\n> > > V8: https://lore.kernel.org/all/20260403145308.1042622-1-mkchauras@gmail.com/\n> > > \n> > > V7 -> V8:\n> > > - rust/Makefile updated to separate host libraries from target\n> > > V7: https://lore.kernel.org/all/20260329160254.2592207-1-mkchauras@gmail.com/\n> > > \n> > > Changelog:\n> > > V6 -> V7:\n> > > - Documentation removed as powerpc is still under development\n> > > - Added a fix for race condition in rust/Makefile\n> > > V6: https://lore.kernel.org/all/20260210090023.2587534-1-mkchauras@gmail.com\n> > > \n> > > V5 -> V6:\n> > > - Added a missing Tested by from Venkat which got missed since V3\n> > > - Support is marked as Maintained instead of experimental\n> > > V5: https://lore.kernel.org/all/20260210053756.2088302-1-mkchauras@gmail.com\n> > > \n> > > V4 -> V5:\n> > > - Removed a nested ifdef from PPC64 for Little endian toolchain\n> > > V4: https://lore.kernel.org/all/20260209105456.1551677-1-mkchauras@gmail.com\n> > > \n> > > V3 -> V4:\n> > > - Co-developed-by header added in patch 1\n> > > V3: https://lore.kernel.org/all/20260205180429.3280657-1-mkchauras@gmail.com\n> > > \n> > > V2 -> V3:\n> > > - Splited HAVE_RUST in 2 lines\n> > > - BINDGEN_TARGET_powerpc initialized before assigning the same to\n> > >   BINDGEN_TARGET\n> > > V2: https://lore.kernel.org/all/20260204210125.613350-1-mkchauras@gmail.com\n> > > \n> > > V1 -> V2:\n> > > - jump label fix for rust has been moved to a separate patch\n> > > - PPC32 support has been taken\n> > > - rust support has been marked experimental\n> > > - target.json dependency has been removed\n> > > - HAVE_RUST now depends on CPU_LITTLE_ENDIAN for PPC64\n> > > \n> > > Link Mauve (1):\n> > >   rust: Add PowerPC support\n> > > \n> > > Mukesh Kumar Chaurasiya (IBM) (3):\n> > >   rust: Fix \"multiple candidates for rmeta dependency core\" error\n> > >   powerpc/jump_label: adjust inline asm to be consistent\n> > >   powerpc: Enable Rust for ppc64le\n> > > \n> > >  arch/powerpc/Kconfig                  |  2 +\n> > >  arch/powerpc/Makefile                 |  7 +++\n> > >  arch/powerpc/include/asm/jump_label.h | 23 ++++++----\n> > >  rust/Makefile                         | 66 ++++++++++++++++-----------\n> > >  4 files changed, 61 insertions(+), 37 deletions(-)\n> > > \n> > > -- \n> > > 2.53.0\n> > > \n> > > \n> > \n> > -- \n> > Link Mauve\n> >","headers":{"Return-Path":"\n <linuxppc-dev+bounces-19507-incoming=patchwork.ozlabs.org@lists.ozlabs.org>","X-Original-To":["incoming@patchwork.ozlabs.org","linuxppc-dev@lists.ozlabs.org"],"Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org\n (client-ip=112.213.38.117; helo=lists.ozlabs.org;\n envelope-from=linuxppc-dev+bounces-19507-incoming=patchwork.ozlabs.org@lists.ozlabs.org;\n receiver=patchwork.ozlabs.org)","lists.ozlabs.org;\n arc=none smtp.remote-ip=82.65.109.163","lists.ozlabs.org;\n dmarc=none (p=none dis=none) header.from=linkmauve.fr","lists.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=linkmauve.fr\n (client-ip=82.65.109.163; helo=luna.linkmauve.fr;\n envelope-from=linkmauve@linkmauve.fr; receiver=lists.ozlabs.org)"],"Received":["from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1 raw public key)\n server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4frNw6186Pz1xy1\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 08 Apr 2026 23:20:06 +1000 (AEST)","from boromir.ozlabs.org (localhost [127.0.0.1])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 4frNw50h3Qz2yVP;\n\tWed, 08 Apr 2026 23:20:05 +1000 (AEST)","from luna.linkmauve.fr (82-65-109-163.subs.proxad.net\n [82.65.109.163])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n\t(No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 4frNw26qK6z2yC9\n\tfor <linuxppc-dev@lists.ozlabs.org>; Wed, 08 Apr 2026 23:20:02 +1000 (AEST)","by luna.linkmauve.fr (Postfix, from userid 1000)\n\tid 8C46AF40664; Wed, 08 Apr 2026 15:19:57 +0200 (CEST)"],"ARC-Seal":"i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1775654404;\n\tcv=none;\n b=cDmEi3lTusz1oGpCaw+IYU1nPk4ZchQSIBZRBDOIe2D1Ikvxe3c0WHXfup+asUzrAKllnCqlDA4yFIznzCkboPXrcBx9C8n3chUILNLFFEPvTC0fcjHYiJeO5mvgx37oDgZAqEa6PPEDMam1XgRETq1xmEgBXQiw7k9TukxK66LPVk71ILQJQAfs2DMVazP1XBDKV//1h5rsGAOppA8YBhTWbXJqSNx71sA7Qq3mBfnfjccHMapkPEKZKMgJ64E5wyNYZaOUonAVbJR69Ri9KVINwiSeGmVeBF847oJZKqsf87/V9qwrjff/VDVVPntlTr9BtAWtTYua5NfWv+v9qA==","ARC-Message-Signature":"i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707;\n\tt=1775654404; c=relaxed/relaxed;\n\tbh=40U6NdL8Gx9NIYzlKcY/dNARqIXyqawjjSe8PecDZeI=;\n\th=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:\n\t Content-Type:Content-Disposition:In-Reply-To;\n b=c5XXvb+BHEnmE+94svZISqUiT5MvdStqCOVsa4mnGNhtqXIZNptCqAGKuh9/VGnvL2IAPSqn/rKWjtFj88edI5ZIldIOQs+pW9yZ6Kvg6EXkiHTZ+Trz5GovXRGd8y/xGOCcqNTlgZ8MsmhwC437pXNZgO1amYGTrzuXZ3YAagu4/lWCaQKJ3cJtoCAf8k5J6W+ow/MnWUXHEoq8GVttblZ3NXNMdpIyKq2htphflLUSXnXgp/dYSI2n8DgHBBziVLyfCS6aVrsUhmjqju0pIyfwDryx1A3Flkf3Zy2+MuLUa00myDsRpr0knyVaDJvh9oYu7VZZg8j10VeihuhdOQ==","ARC-Authentication-Results":"i=1; lists.ozlabs.org;\n dmarc=none (p=none dis=none) header.from=linkmauve.fr;\n spf=pass (client-ip=82.65.109.163; helo=luna.linkmauve.fr;\n envelope-from=linkmauve@linkmauve.fr;\n receiver=lists.ozlabs.org) smtp.mailfrom=linkmauve.fr","Date":"Wed, 8 Apr 2026 15:19:57 +0200","From":"Link Mauve <linkmauve@linkmauve.fr>","To":"Mukesh Kumar Chaurasiya <mkchauras@gmail.com>","Cc":"Link Mauve <linkmauve@linkmauve.fr>, maddy@linux.ibm.com,\n\tmpe@ellerman.id.au, npiggin@gmail.com, chleroy@kernel.org,\n\tpeterz@infradead.org, jpoimboe@kernel.org, jbaron@akamai.com,\n\taliceryhl@google.com, rostedt@goodmis.org, ardb@kernel.org,\n\tojeda@kernel.org, boqun@kernel.org, gary@garyguo.net,\n\tbjorn3_gh@protonmail.com, lossin@kernel.org, a.hindborg@kernel.org,\n\ttmgross@umich.edu, dakr@kernel.org, nathan@kernel.org,\n\tnick.desaulniers+lkml@gmail.com, morbo@google.com,\n\tjustinstitt@google.com, linuxppc-dev@lists.ozlabs.org,\n\tlinux-kernel@vger.kernel.org, rust-for-linux@vger.kernel.org,\n\tllvm@lists.linux.dev","Subject":"Re: [PATCH V10 0/4] Rust support for powerpc [RESEND]","Message-ID":"<adZV_VISz8DNraug@luna>","References":"<20260406200149.3727922-1-mkchauras@gmail.com>\n <adYlLLfRgSyxus3n@luna>\n <adZBWoVVoJefiTcM@li-1a3e774c-28e4-11b2-a85c-acc9f2883e29.ibm.com>","X-Mailing-List":"linuxppc-dev@lists.ozlabs.org","List-Id":"<linuxppc-dev.lists.ozlabs.org>","List-Help":"<mailto:linuxppc-dev+help@lists.ozlabs.org>","List-Owner":"<mailto:linuxppc-dev+owner@lists.ozlabs.org>","List-Post":"<mailto:linuxppc-dev@lists.ozlabs.org>","List-Archive":"<https://lore.kernel.org/linuxppc-dev/>,\n  <https://lists.ozlabs.org/pipermail/linuxppc-dev/>","List-Subscribe":"<mailto:linuxppc-dev+subscribe@lists.ozlabs.org>,\n  <mailto:linuxppc-dev+subscribe-digest@lists.ozlabs.org>,\n  <mailto:linuxppc-dev+subscribe-nomail@lists.ozlabs.org>","List-Unsubscribe":"<mailto:linuxppc-dev+unsubscribe@lists.ozlabs.org>","Precedence":"list","MIME-Version":"1.0","Content-Type":"text/plain; charset=utf-8","Content-Disposition":"inline","Content-Transfer-Encoding":"quoted-printable","In-Reply-To":"\n <adZBWoVVoJefiTcM@li-1a3e774c-28e4-11b2-a85c-acc9f2883e29.ibm.com>","Jabber-ID":"linkmauve@linkmauve.fr","X-Spam-Status":"No, score=0.4 required=3.0 tests=RDNS_DYNAMIC,SPF_HELO_NONE,\n\tSPF_PASS autolearn=disabled version=4.0.1 OzLabs 8","X-Spam-Checker-Version":"SpamAssassin 4.0.1 (2024-03-25) on lists.ozlabs.org"}},{"id":3674790,"web_url":"http://patchwork.ozlabs.org/comment/3674790/","msgid":"<DHNTT7LIVLDL.5FC5I1FES8IO@garyguo.net>","date":"2026-04-08T14:00:23","subject":"Re: [PATCH V10 0/4] Rust support for powerpc [RESEND]","submitter":{"id":76823,"url":"http://patchwork.ozlabs.org/api/people/76823/","name":"Gary Guo","email":"gary@garyguo.net"},"content":"On Wed Apr 8, 2026 at 2:19 PM BST, Link Mauve wrote:\n> On Wed, Apr 08, 2026 at 05:23:39PM +0530, Mukesh Kumar Chaurasiya wrote:\n>> On Wed, Apr 08, 2026 at 11:51:40AM +0200, Link Mauve wrote:\n>> > Hi,\n>> > \n>> > (This email is a resent, my IP address got flagged by spamhaus again\n>> > because I’m on a residential range, hopefully this incident is\n>> > resolved…)\n>> > \n>> > On Tue, Apr 07, 2026 at 01:31:45AM +0530, Mukesh Kumar Chaurasiya (IBM) wrote:\n>> > > Enable experimental rust support for ppc64le and ppc32be. The patch for\n>> > > ppc32 has been provided by Link Mauve[1] and ppc64le support[2] has been\n>> > > merged over it. ppc32 needs some toolchain fixes mentioned in the patch\n>> > > `rust: Add PowerPC support` and the discussion for that is done here[1].\n>> > > \n>> > > This has been tested on\n>> > > - powernv9 hardware\n>> > > - pseries P11 hardware\n>> > > - pseries(9, 10) qemu\n>> > > - powernv(9, 10) qemu\n>> > > - rustdoc on x86 and powerpc64le\n>> > > - rusttest on x86 and powerpc64le\n>> > \n>> > I just tested your series for the Wii, so targeting powerpc (32, be),\n>> > and got this error:\n>> > ```\n>> > error[E0463]: can't find crate for `pin_init_internal`\n>> >    --> ../rust/pin-init/src/lib.rs:365:11\n>> >     |\n>> > 365 | pub use ::pin_init_internal::pin_data;\n>> >     |           ^^^^^^^^^^^^^^^^^ can't find crate\n>> > \n>> > error: aborting due to 1 previous error\n>> > \n>> > For more information about this error, try `rustc --explain E0463`.\n>> > ```\n>> > \n>> > I didn’t get this error in a previous version of your series, would you\n>> > want me to bisect them?\n>> > \n>> > Thanks for your continuous work on it anyway!\n>> > \n>> \n>> Hey Link,\n>> \n>> Thanks for testing this.\n>> \n>> Can you give me the command generated via make with V=1\n>> e.g. `make LLVM=1 V=1`\n>\n> Here it is:\n> ```\n> % make ARCH=powerpc CROSS_COMPILE=powerpc-linux-musl- O=wii W=1 V=1 -j1\n> make  -C /home/linkmauve/dev/linux/wii \\\n> -f /home/linkmauve/dev/linux/Makefile\n> make[1]: Entering directory '/home/linkmauve/dev/linux/wii'\n> make --no-print-directory -C /home/linkmauve/dev/linux/wii \\\n> -f /home/linkmauve/dev/linux/Makefile\n> ln -fsn .. source\n> # GEN     Makefile\n>   { echo \"# Automatically generated by /home/linkmauve/dev/linux/Makefile: don't edit\"; echo \"export KBUILD_OUTPUT = /home/linkmauve/dev/linux/wii\"; echo \"include /home/linkmauve/dev/linux/Makefile\"; } > Makefile\n> test -e .gitignore || \\\n> { echo \"# this is build directory, ignore it\"; echo \"*\"; } > .gitignore\n> make -f ../scripts/Makefile.build obj=arch/powerpc/kernel/syscalls all\n> make -f ../scripts/Makefile.build obj=scripts/basic\n> make -f ../scripts/Makefile.build obj=scripts/dtc\n> make -f ../scripts/Makefile.build obj=scripts\n> make -f ../scripts/Makefile.build obj=scripts/gcc-plugins \\\n> need-builtin= \\\n> need-modorder= \\\n>\n> set -e; mkdir -p include/config/; trap \"rm -f include/config/.tmp_kernel.release\" EXIT; { ../scripts/setlocalversion ..; } > include/config/.tmp_kernel.release; if [ ! -r include/config/kernel.release ] || ! cmp -s include/config/kernel.release include/config/.tmp_kernel.release; then : '  UPD     include/config/kernel.release'; mv -f include/config/.tmp_kernel.release include/config/kernel.release; fi\n> make -f ../scripts/Makefile.asm-headers obj=arch/powerpc/include/generated/uapi/asm \\\n> generic=include/uapi/asm-generic\n> make -f ../scripts/Makefile.asm-headers obj=arch/powerpc/include/generated/asm \\\n> generic=include/asm-generic\n> set -e; mkdir -p include/generated/uapi/linux/; trap \"rm -f include/generated/uapi/linux/.tmp_version.h\" EXIT; { \tif [ 0 -gt 255 ]; then echo \\#define LINUX_VERSION_CODE 459007; else echo \\#define LINUX_VERSION_CODE 458752; fi; echo '#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + ((c) > 255 ? 255 : (c)))'; echo \\#define LINUX_VERSION_MAJOR 7; echo \\#define LINUX_VERSION_PATCHLEVEL 0; echo \\#define LINUX_VERSION_SUBLEVEL 0; } > include/generated/uapi/linux/.tmp_version.h; if [ ! -r include/generated/uapi/linux/version.h ] || ! cmp -s include/generated/uapi/linux/version.h include/generated/uapi/linux/.tmp_version.h; then : '  UPD     include/generated/uapi/linux/version.h'; mv -f include/generated/uapi/linux/.tmp_version.h include/generated/uapi/linux/version.h; fi\n> set -e; mkdir -p include/generated/; trap \"rm -f include/generated/.tmp_utsrelease.h\" EXIT; { \tif [ `echo -n \"7.0.0-rc7-wii+\" | wc -c ` -gt 64 ]; then echo '\"7.0.0-rc7-wii+\" exceeds 64 characters' >&2; exit 1; fi; echo \\#define UTS_RELEASE \\\"7.0.0-rc7-wii+\\\"; } > include/generated/.tmp_utsrelease.h; if [ ! -r include/generated/utsrelease.h ] || ! cmp -s include/generated/utsrelease.h include/generated/.tmp_utsrelease.h; then : '  UPD     include/generated/utsrelease.h'; mv -f include/generated/.tmp_utsrelease.h include/generated/utsrelease.h; fi\n> set -e; mkdir -p include/generated/; trap \"rm -f include/generated/.tmp_compile.h\" EXIT; { ../scripts/mkcompile_h \"ppc\" \"powerpc-linux-musl-gcc (GCC) 14.2.1 20250405\" \"powerpc-linux-musl-ld\"; } > include/generated/.tmp_compile.h; if [ ! -r include/generated/compile.h ] || ! cmp -s include/generated/compile.h include/generated/.tmp_compile.h; then : '  UPD     include/generated/compile.h'; mv -f include/generated/.tmp_compile.h include/generated/compile.h; fi\n> ../scripts/remove-stale-files\n> make -f ../scripts/Makefile.build obj=scripts/mod\n> set -e; mkdir -p scripts/mod/; trap \"rm -f scripts/mod/.tmp_devicetable-offsets.h\" EXIT; { \t echo \"#ifndef __DEVICETABLE_OFFSETS_H__\"; echo \"#define __DEVICETABLE_OFFSETS_H__\"; echo \"/*\"; echo \" * DO NOT MODIFY.\"; echo \" *\"; echo \" * This file was generated by Kbuild\"; echo \" */\"; echo \"\"; sed -ne \t's:^[[:space:]]*\\.ascii[[:space:]]*\"\\(.*\\)\".*:\\1:; /^->/{s:->#\\(.*\\):/* \\1 */:; s:^->\\([^ ]*\\) [\\$#]*\\([^ ]*\\) \\(.*\\):#define \\1 \\2 /* \\3 */:; s:->::; p;}' < scripts/mod/devicetable-offsets.s; echo \"\"; echo \"#endif\"; } > scripts/mod/.tmp_devicetable-offsets.h; if [ ! -r scripts/mod/devicetable-offsets.h ] || ! cmp -s scripts/mod/devicetable-offsets.h scripts/mod/.tmp_devicetable-offsets.h; then : '  UPD     scripts/mod/devicetable-offsets.h'; mv -f scripts/mod/.tmp_devicetable-offsets.h scripts/mod/devicetable-offsets.h; fi\n> make -f ../scripts/Makefile.build obj=. prepare\n> set -e; mkdir -p include/generated/; trap \"rm -f include/generated/.tmp_timeconst.h\" EXIT; { echo 1000 | bc -q ../kernel/time/timeconst.bc; } > include/generated/.tmp_timeconst.h; if [ ! -r include/generated/timeconst.h ] || ! cmp -s include/generated/timeconst.h include/generated/.tmp_timeconst.h; then : '  UPD     include/generated/timeconst.h'; mv -f include/generated/.tmp_timeconst.h include/generated/timeconst.h; fi\n> set -e; mkdir -p include/generated/; trap \"rm -f include/generated/.tmp_bounds.h\" EXIT; { \t echo \"#ifndef __LINUX_BOUNDS_H__\"; echo \"#define __LINUX_BOUNDS_H__\"; echo \"/*\"; echo \" * DO NOT MODIFY.\"; echo \" *\"; echo \" * This file was generated by Kbuild\"; echo \" */\"; echo \"\"; sed -ne \t's:^[[:space:]]*\\.ascii[[:space:]]*\"\\(.*\\)\".*:\\1:; /^->/{s:->#\\(.*\\):/* \\1 */:; s:^->\\([^ ]*\\) [\\$#]*\\([^ ]*\\) \\(.*\\):#define \\1 \\2 /* \\3 */:; s:->::; p;}' < kernel/bounds.s; echo \"\"; echo \"#endif\"; } > include/generated/.tmp_bounds.h; if [ ! -r include/generated/bounds.h ] || ! cmp -s include/generated/bounds.h include/generated/.tmp_bounds.h; then : '  UPD     include/generated/bounds.h'; mv -f include/generated/.tmp_bounds.h include/generated/bounds.h; fi\n> set -e; mkdir -p include/generated/; trap \"rm -f include/generated/.tmp_asm-offsets.h\" EXIT; { \t echo \"#ifndef __ASM_OFFSETS_H__\"; echo \"#define __ASM_OFFSETS_H__\"; echo \"/*\"; echo \" * DO NOT MODIFY.\"; echo \" *\"; echo \" * This file was generated by Kbuild\"; echo \" */\"; echo \"\"; sed -ne \t's:^[[:space:]]*\\.ascii[[:space:]]*\"\\(.*\\)\".*:\\1:; /^->/{s:->#\\(.*\\):/* \\1 */:; s:^->\\([^ ]*\\) [\\$#]*\\([^ ]*\\) \\(.*\\):#define \\1 \\2 /* \\3 */:; s:->::; p;}' < arch/powerpc/kernel/asm-offsets.s; echo \"\"; echo \"#endif\"; } > include/generated/.tmp_asm-offsets.h; if [ ! -r include/generated/asm-offsets.h ] || ! cmp -s include/generated/asm-offsets.h include/generated/.tmp_asm-offsets.h; then : '  UPD     include/generated/asm-offsets.h'; mv -f include/generated/.tmp_asm-offsets.h include/generated/asm-offsets.h; fi\n> set -e; mkdir -p include/generated/; trap \"rm -f include/generated/.tmp_rq-offsets.h\" EXIT; { \t echo \"#ifndef __RQ_OFFSETS_H__\"; echo \"#define __RQ_OFFSETS_H__\"; echo \"/*\"; echo \" * DO NOT MODIFY.\"; echo \" *\"; echo \" * This file was generated by Kbuild\"; echo \" */\"; echo \"\"; sed -ne \t's:^[[:space:]]*\\.ascii[[:space:]]*\"\\(.*\\)\".*:\\1:; /^->/{s:->#\\(.*\\):/* \\1 */:; s:^->\\([^ ]*\\) [\\$#]*\\([^ ]*\\) \\(.*\\):#define \\1 \\2 /* \\3 */:; s:->::; p;}' < kernel/sched/rq-offsets.s; echo \"\"; echo \"#endif\"; } > include/generated/.tmp_rq-offsets.h; if [ ! -r include/generated/rq-offsets.h ] || ! cmp -s include/generated/rq-offsets.h include/generated/.tmp_rq-offsets.h; then : '  UPD     include/generated/rq-offsets.h'; mv -f include/generated/.tmp_rq-offsets.h include/generated/rq-offsets.h; fi\n> # CALL    ../scripts/checksyscalls.sh\n>   sh ../scripts/checksyscalls.sh powerpc-linux-musl-gcc -Wp,-MMD,./.missing-syscalls.d -nostdinc -I../arch/powerpc/include -I./arch/powerpc/include/generated -I../include -I./include -I../arch/powerpc/include/uapi -I./arch/powerpc/include/generated/uapi -I../include/uapi -I./include/generated/uapi -include ../include/linux/compiler-version.h -include ../include/linux/kconfig.h -include ../include/linux/compiler_types.h -D__KERNEL__ -mbig-endian -m32 -I ../arch/powerpc -fmacro-prefix-map=../= -Wundef -DKBUILD_EXTRA_WARN1 -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -msoft-float -ffixed-r2 -mmultiple -mno-readonly-in-sdata -mcpu=powerpc -mno-prefixed -mno-pcrel -mno-altivec -mno-vsx -mno-mma -fno-asynchronous-unwind-tables -mno-string -mbig-endian -fno-delete-null-pointer-checks -Os -fno-allow-store-data-races -fno-stack-protector -fomit-frame-pointer -ftrivial-auto-var-init=zero -fno-stack-clash-protection -fmin-function-alignment=4 -fstrict-flex-arrays=3 -fms-extensions -fno-strict-overflow -fno-stack-check -fconserve-stack -fno-builtin-wcslen -Wall -Wextra -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -Wno-frame-address -Wno-address-of-packed-member -Wmissing-declarations -Wmissing-prototypes -Wframe-larger-than=1280 -Wno-main -Wno-type-limits -Wno-dangling-pointer -Wvla-larger-than=1 -Wno-pointer-sign -Wcast-function-type -Wno-array-bounds -Wno-stringop-overflow -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wenum-conversion -Wunused -Wmissing-format-attribute -Wmissing-include-dirs -Wunused-const-variable -Wno-missing-field-initializers -Wno-shift-negative-value -Wno-maybe-uninitialized -Wno-sign-compare -Wno-unused-parameter -DGCC_PLUGINS -I../. -I.    -DKBUILD_MODFILE='\"./missing-syscalls\"' -DKBUILD_BASENAME='\"missing_syscalls\"' -DKBUILD_MODNAME='\"missing_syscalls\"' -D__KBUILD_MODNAME=missing_syscalls\n> make -f ../scripts/Makefile.build obj=arch/powerpc/kernel/vdso include/generated/vdso32-offsets.h\n> mkdir -p ./tools\n> make O=/home/linkmauve/dev/linux/wii subdir=tools -C ../tools/ objtool\n> mkdir -p /home/linkmauve/dev/linux/wii/tools/objtool && make O=/home/linkmauve/dev/linux/wii subdir=tools/objtool --no-print-directory -C objtool\n> make -C /home/linkmauve/dev/linux/tools/build CFLAGS= LDFLAGS= /home/linkmauve/dev/linux/wii/tools/objtool/fixdep\n> if [ ! -f /home/linkmauve/dev/linux/wii/tools/objtool/fixdep ]; then\t\t\t\t\t\t\\\n> \tmake -f /home/linkmauve/dev/linux/tools/build/Makefile.build dir=. obj=fixdep HOSTCFLAGS=\"-Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu11   -I ../scripts/include\";\t\\\n> \trm -f /home/linkmauve/dev/linux/wii/tools/objtool/fixdep.o;\t\t\t\t\t\t\\\n> fi\n> make -f /home/linkmauve/dev/linux/tools/build/Makefile.build dir=. obj=fixdep HOSTCFLAGS=\"-Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu11   -I ../scripts/include\"\n> make -C /home/linkmauve/dev/linux/tools/lib/subcmd/ O=/home/linkmauve/dev/linux/wii/tools/objtool/libsubcmd \\\n> \tDESTDIR=/home/linkmauve/dev/linux/wii/tools/objtool/libsubcmd prefix= subdir= \\\n> \tCC=\"gcc\" LD=\"ld\" AR=\"ar\" EXTRA_CFLAGS=\"-std=gnu11 -fomit-frame-pointer -O2 -g -Werror -Wall -Wextra -Wmissing-prototypes -Wmissing-declarations -Wwrite-strings -Wno-implicit-fallthrough -Wno-sign-compare -Wno-unused-parameter -I/home/linkmauve/dev/linux/tools/include -I/home/linkmauve/dev/linux/tools/include/uapi -I/home/linkmauve/dev/linux/tools/arch/x86/include/uapi -I/home/linkmauve/dev/linux/tools/arch/powerpc/include -I/home/linkmauve/dev/linux/tools/objtool/include -I/home/linkmauve/dev/linux/tools/objtool/arch/powerpc/include -I/home/linkmauve/dev/linux/wii/tools/objtool/libsubcmd/include   \" \\\n> \t/home/linkmauve/dev/linux/wii/tools/objtool/libsubcmd/libsubcmd.a install_headers\n> make -C /home/linkmauve/dev/linux/tools/build CFLAGS= LDFLAGS= /home/linkmauve/dev/linux/wii/tools/objtool/libsubcmd/fixdep\n> if [ ! -f /home/linkmauve/dev/linux/wii/tools/objtool/libsubcmd/fixdep ]; then\t\t\t\t\t\t\\\n> \tmake -f /home/linkmauve/dev/linux/tools/build/Makefile.build dir=. obj=fixdep HOSTCFLAGS=\"-Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu11   -I ../scripts/include\";\t\\\n> \trm -f /home/linkmauve/dev/linux/wii/tools/objtool/libsubcmd/fixdep.o;\t\t\t\t\t\t\\\n> fi\n> make -f /home/linkmauve/dev/linux/tools/build/Makefile.build dir=. obj=fixdep HOSTCFLAGS=\"-Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu11   -I ../scripts/include\"\n> make[5]: 'install_headers' is up to date.\n> sh ./sync-check.sh\n> make -f /home/linkmauve/dev/linux/tools/build/Makefile.build dir=. obj=objtool CC=\"gcc\" LD=\"ld\" AR=\"ar\" CFLAGS=\"-std=gnu11 -fomit-frame-pointer -O2 -g -Werror -Wall -Wextra -Wmissing-prototypes -Wmissing-declarations -Wwrite-strings -Wno-implicit-fallthrough -Wno-sign-compare -Wno-unused-parameter -I/home/linkmauve/dev/linux/tools/include -I/home/linkmauve/dev/linux/tools/include/uapi -I/home/linkmauve/dev/linux/tools/arch/x86/include/uapi -I/home/linkmauve/dev/linux/tools/arch/powerpc/include -I/home/linkmauve/dev/linux/tools/objtool/include -I/home/linkmauve/dev/linux/tools/objtool/arch/powerpc/include -I/home/linkmauve/dev/linux/wii/tools/objtool/libsubcmd/include   \" \\\n> \tLDFLAGS=\"/home/linkmauve/dev/linux/wii/tools/objtool/libsubcmd/libsubcmd.a -lelf  \"\n> make -f /home/linkmauve/dev/linux/tools/build/Makefile.build dir=./arch/powerpc obj=objtool\n> sh ../scripts/rust_is_available.sh\n> make -f ../scripts/Makefile.build obj=rust\n> # RUSTC L rust/pin_init.o\n>   OBJTREE=/home/linkmauve/dev/linux/wii rustc --edition=2021 -Zbinary_dep_depinfo=y -Astable_features -Aunused_features -Dnon_ascii_idents -Dunsafe_op_in_unsafe_fn -Wmissing_docs -Wrust_2018_idioms -Wunreachable_pub -Wclippy::all -Wclippy::as_ptr_cast_mut -Wclippy::as_underscore -Wclippy::cast_lossless -Wclippy::ignored_unit_patterns -Wclippy::mut_mut -Wclippy::needless_bitwise_bool -Aclippy::needless_lifetimes -Wclippy::no_mangle_with_rust_abi -Wclippy::ptr_as_ptr -Wclippy::ptr_cast_constness -Wclippy::ref_as_ptr -Wclippy::undocumented_unsafe_blocks -Wclippy::unnecessary_safety_comment -Wclippy::unnecessary_safety_doc -Wrustdoc::missing_crate_level_docs -Wrustdoc::unescaped_backticks -Cpanic=abort -Cembed-bitcode=n -Clto=n -Cforce-unwind-tables=n -Ccodegen-units=1 -Csymbol-mangling-version=v0 -Crelocation-model=static -Zfunction-sections=n -Wclippy::float_arithmetic --target=powerpc-unknown-linux-gnu -Copt-level=s -Cdebug-assertions=n -Coverflow-checks=y @./include/generated/rustc_cfg --extern pin_init_internal --extern macros --cfg='kernel' --emit=dep-info=rust/.pin_init.o.d --emit=obj=rust/pin_init.o --emit=metadata=rust/libpin_init.rmeta --crate-type rlib -L./rust --crate-name pin_init ../rust/pin-init/src/lib.rs --sysroot=/dev/null -Zunstable-options   ; ./tools/objtool/objtool --static-call   rust/pin_init.o\n\nLooks like the command line here is missing -L./rust/host.\n\nMukesh, perhaps when you test locally you didn't clean out the already-built\nfiles inside rust directory?\n\nBest,\nGary\n\n> error[E0463]: can't find crate for `pin_init_internal`\n>    --> ../rust/pin-init/src/lib.rs:365:11\n>     |\n> 365 | pub use ::pin_init_internal::pin_data;\n>     |           ^^^^^^^^^^^^^^^^^ can't find crate\n>\n> error: aborting due to 1 previous error\n>\n> For more information about this error, try `rustc --explain E0463`.\n> make[3]: *** [../rust/Makefile:681: rust/pin_init.o] Error 1\n> make[2]: *** [/home/linkmauve/dev/linux/Makefile:1343: prepare] Error 2\n> make[1]: *** [/home/linkmauve/dev/linux/Makefile:248: __sub-make] Error 2\n> make[1]: Leaving directory '/home/linkmauve/dev/linux/wii'\n> make: *** [Makefile:248: __sub-make] Error 2\n> make ARCH=powerpc CROSS_COMPILE=powerpc-linux-musl- O=wii W=1 V=1 -j1  1.15s user 0.56s system 100% cpu 1.695 total\n> ```\n>\n>> \n>> Regards,\n>> Mukesh\n>> \n>> > > \n>> > > We are actively working with our LLVM team to get the target for ppc,\n>> > > ppc64 and ppc64le in the rust compiler.\n>> > > \n>> > > \n>> > > [1] https://lore.kernel.org/all/20260204030507.8203-1-linkmauve@linkmauve.fr\n>> > > [2] https://lore.kernel.org/all/20260204042417.83903-1-mkchauras@gmail.com\n>> > > \n>> > > Changelog:\n>> > > V9 -> V10:\n>> > > - rust/Makefile updated with review comments from Miguel\n>> > > - Patch 1/4 updated with commit message and subject\n>> > > V9: https://lore.kernel.org/all/20260404121610.1956528-1-mkchauras@gmail.com/\n>> > > \n>> > > V8 -> V9:\n>> > > - rust/Makefile updated with a directory instead of abspath\n>> > > V8: https://lore.kernel.org/all/20260403145308.1042622-1-mkchauras@gmail.com/\n>> > > \n>> > > V7 -> V8:\n>> > > - rust/Makefile updated to separate host libraries from target\n>> > > V7: https://lore.kernel.org/all/20260329160254.2592207-1-mkchauras@gmail.com/\n>> > > \n>> > > Changelog:\n>> > > V6 -> V7:\n>> > > - Documentation removed as powerpc is still under development\n>> > > - Added a fix for race condition in rust/Makefile\n>> > > V6: https://lore.kernel.org/all/20260210090023.2587534-1-mkchauras@gmail.com\n>> > > \n>> > > V5 -> V6:\n>> > > - Added a missing Tested by from Venkat which got missed since V3\n>> > > - Support is marked as Maintained instead of experimental\n>> > > V5: https://lore.kernel.org/all/20260210053756.2088302-1-mkchauras@gmail.com\n>> > > \n>> > > V4 -> V5:\n>> > > - Removed a nested ifdef from PPC64 for Little endian toolchain\n>> > > V4: https://lore.kernel.org/all/20260209105456.1551677-1-mkchauras@gmail.com\n>> > > \n>> > > V3 -> V4:\n>> > > - Co-developed-by header added in patch 1\n>> > > V3: https://lore.kernel.org/all/20260205180429.3280657-1-mkchauras@gmail.com\n>> > > \n>> > > V2 -> V3:\n>> > > - Splited HAVE_RUST in 2 lines\n>> > > - BINDGEN_TARGET_powerpc initialized before assigning the same to\n>> > >   BINDGEN_TARGET\n>> > > V2: https://lore.kernel.org/all/20260204210125.613350-1-mkchauras@gmail.com\n>> > > \n>> > > V1 -> V2:\n>> > > - jump label fix for rust has been moved to a separate patch\n>> > > - PPC32 support has been taken\n>> > > - rust support has been marked experimental\n>> > > - target.json dependency has been removed\n>> > > - HAVE_RUST now depends on CPU_LITTLE_ENDIAN for PPC64\n>> > > \n>> > > Link Mauve (1):\n>> > >   rust: Add PowerPC support\n>> > > \n>> > > Mukesh Kumar Chaurasiya (IBM) (3):\n>> > >   rust: Fix \"multiple candidates for rmeta dependency core\" error\n>> > >   powerpc/jump_label: adjust inline asm to be consistent\n>> > >   powerpc: Enable Rust for ppc64le\n>> > > \n>> > >  arch/powerpc/Kconfig                  |  2 +\n>> > >  arch/powerpc/Makefile                 |  7 +++\n>> > >  arch/powerpc/include/asm/jump_label.h | 23 ++++++----\n>> > >  rust/Makefile                         | 66 ++++++++++++++++-----------\n>> > >  4 files changed, 61 insertions(+), 37 deletions(-)\n>> > > \n>> > > -- \n>> > > 2.53.0\n>> > > \n>> > > \n>> > \n>> > -- \n>> > Link Mauve\n>> >","headers":{"Return-Path":"\n <linuxppc-dev+bounces-19510-incoming=patchwork.ozlabs.org@lists.ozlabs.org>","X-Original-To":["incoming@patchwork.ozlabs.org","linuxppc-dev@lists.ozlabs.org"],"Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=garyguo.net header.i=@garyguo.net header.a=rsa-sha256\n header.s=selector1 header.b=GlQcsogS;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org\n (client-ip=2404:9400:21b9:f100::1; helo=lists.ozlabs.org;\n envelope-from=linuxppc-dev+bounces-19510-incoming=patchwork.ozlabs.org@lists.ozlabs.org;\n receiver=patchwork.ozlabs.org)","lists.ozlabs.org;\n arc=pass smtp.remote-ip=\"2a01:111:f403:c206::4\" arc.chain=microsoft.com","lists.ozlabs.org;\n dmarc=pass (p=none dis=none) header.from=garyguo.net","lists.ozlabs.org;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=garyguo.net header.i=@garyguo.net header.a=rsa-sha256\n header.s=selector1 header.b=GlQcsogS;\n\tdkim-atps=neutral","lists.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=garyguo.net\n (client-ip=2a01:111:f403:c206::4;\n helo=cwxp265cu010.outbound.protection.outlook.com;\n envelope-from=gary@garyguo.net; receiver=lists.ozlabs.org)","dkim=none (message not signed)\n header.d=none;dmarc=none action=none header.from=garyguo.net;"],"Received":["from lists.ozlabs.org (lists.ozlabs.org\n [IPv6:2404:9400:21b9:f100::1])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4frPqL1TrRz1xv0\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 09 Apr 2026 00:01:01 +1000 (AEST)","from boromir.ozlabs.org (localhost [127.0.0.1])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 4frPqK1Rpxz2yVP;\n\tThu, 09 Apr 2026 00:01:01 +1000 (AEST)","from CWXP265CU010.outbound.protection.outlook.com\n (mail-ukwestazlp170120004.outbound.protection.outlook.com\n [IPv6:2a01:111:f403:c206::4])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange secp256r1 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n\t(No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 4frPqF6FC7z2xc8\n\tfor <linuxppc-dev@lists.ozlabs.org>; Thu, 09 Apr 2026 00:00:56 +1000 (AEST)","from LOVP265MB8871.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:488::16)\n by CWLP265MB2804.GBRP265.PROD.OUTLOOK.COM (2603:10a6:400:cb::10) with\n Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9769.20; Wed, 8 Apr\n 2026 14:00:24 +0000","from LOVP265MB8871.GBRP265.PROD.OUTLOOK.COM\n ([fe80::1c3:ceba:21b4:9986]) by LOVP265MB8871.GBRP265.PROD.OUTLOOK.COM\n ([fe80::1c3:ceba:21b4:9986%4]) with mapi id 15.20.9769.016; Wed, 8 Apr 2026\n 14:00:24 +0000"],"ARC-Seal":["i=2; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1775656861;\n\tcv=pass;\n b=eUz60tZrPTnOES6XrkIZz2j2tlxCmtG1+nRxWih+6PnXAQS6G2sFEjcl35/wiH201kljqmRp/1gSOr1rRWbhzk0TTuJB6Fgq4Fwck3SsatUX1ZMFL94i6burEUjKTo467FIv1AbcTiH2tmp0nocRmZupozGbN2zn9Ofv4W9/fqtNsYQlzSbXaki0IZGINi356hL9Cw6ZbQYSe6w7a+DYHYqecJkS141v8Ja/6kOgM4V8dB7WfOlayKQRHfrXnYow7RxOpMwkWyTfbMdPrMQIYen6PFv5uMHUqspoNkC+32ByvKB5Ivx2M1Ev+0dSmjv7SnB6/32NkdeDfNBguUJHDA==","i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none;\n b=QqoOtGSGbQhCN9Vlb05DzhqXvgvD85kT1wLMHrxw6l0aGirA4Q5CLrq+6d/XB23S8PgFDiZ0DbYtVuQRtjuGRW5jpanhtxOsGuY4V9I0AF54hItXY3YTM7YSOKRb+91uSig2n7kwzlwP8ObbLvgbuJlUqyePYHulJaB+rP5zgdirLskTVtBPzgxLisaaqNE+maqqupZmvriLOYdnDIKitp8Rql9RU4guNG3QwO5F+LcbSal3qdSL8byahz8XQ+4Xat8pvTZBO9ieEcLiaeCXvUYU2Nsj/xtrp7vhOq+flsCrAFqUMS2yFQMskNHLfAI4NxYuudFJVTBYDYDykQwOCA=="],"ARC-Message-Signature":["i=2; a=rsa-sha256; d=lists.ozlabs.org; s=201707;\n\tt=1775656861; c=relaxed/relaxed;\n\tbh=3xwVmlwYk98XkLTpJflEEK0raTs9M4E/D9PMKVNauPU=;\n\th=Content-Type:Date:Message-Id:Cc:Subject:From:To:References:\n\t In-Reply-To:MIME-Version;\n b=Mcjp5QCTmG45s/tBWHrd0EGJEuR2mxC8nNK9BX8AL+lQ6hlN6wbhifRS06OFO818zfmAGTyPQ5ohAAg/q4zrv3pnHL3LCAqzy9HT+EthzPcL9jEI3aACNDWeTJoshpa8byfI2s+YNNQmpxKblNG6kvMzhJ968C/b7ChC+Gw1KBUcWqnPOUEvwweczQrUHLeOpCsbV3cG4kOCMFRfencGkQ7YzTbYqFKtQ1UVxjAKDkwINhAqfoCJuOph0gjIsGsQYWoeU4HbHCuTQ9xilXEvmnjHZGXpg2TqUwf/5XEojiXKcnmr6QPT5Q+cZNdQlewXKteFQoF1t+FzmTfinOdNew==","i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;\n s=arcselector10001;\n h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;\n bh=3xwVmlwYk98XkLTpJflEEK0raTs9M4E/D9PMKVNauPU=;\n b=J9M/Ceo7YEajCCmBZO+xffC7aFRd8bIQfiZMDuQlG0mIEPg6ldUK58MHLxHlR2bEcVMKZwKiY+9H77NYvKAdJyEQdZTJKS1qd68yUIBYeO5zf+jEtn7KTdouqtIgLs7rXXlTO3XAl5OSMsADc1pGLSxlvQtAIJTkXMwBggeCHnBZErTd7/QAryihgwd8gJ8f4/XiMu28F4bmB/du4lHj5/YxCMrRidK/mpTcRss7yDfx4wFccb5VIFfAvTVr0VeL6QZA9xmpOBMGZosOdBPIMKz1R44LtIiF3PFpPPjJ72NElVluvb8Nnzp61ygOmby8vPQwmRrMInwL240/jPvS9g=="],"ARC-Authentication-Results":["i=2; lists.ozlabs.org;\n dmarc=pass (p=none dis=none) header.from=garyguo.net;\n dkim=pass (1024-bit key;\n unprotected) header.d=garyguo.net header.i=@garyguo.net header.a=rsa-sha256\n header.s=selector1 header.b=GlQcsogS; dkim-atps=neutral;\n spf=pass (client-ip=2a01:111:f403:c206::4;\n helo=cwxp265cu010.outbound.protection.outlook.com;\n envelope-from=gary@garyguo.net;\n receiver=lists.ozlabs.org) smtp.mailfrom=garyguo.net","i=1; mx.microsoft.com 1; spf=pass\n smtp.mailfrom=garyguo.net; dmarc=pass action=none header.from=garyguo.net;\n dkim=pass header.d=garyguo.net; arc=none"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=garyguo.net;\n s=selector1;\n h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;\n bh=3xwVmlwYk98XkLTpJflEEK0raTs9M4E/D9PMKVNauPU=;\n b=GlQcsogSAi2v8aTz/3YA2cSHXNcG7HGlbD0Nmh0b37jjKDTakZdbaOsIASMxCnJ38M7VXVgywQSvt5vKrlC2zw5ELVSYfbFRJT8DgLMEgDorsKXCcl8ZcKv/NUCpD8F0RijBmWKZi+ZK4ksN87DokaRYma7LtwHZr6lUSrXwGkU=","Content-Transfer-Encoding":"quoted-printable","Content-Type":"text/plain; charset=UTF-8","Date":"Wed, 08 Apr 2026 15:00:23 +0100","Message-Id":"<DHNTT7LIVLDL.5FC5I1FES8IO@garyguo.net>","Cc":"<maddy@linux.ibm.com>, <mpe@ellerman.id.au>, <npiggin@gmail.com>,\n <chleroy@kernel.org>, <peterz@infradead.org>, <jpoimboe@kernel.org>,\n <jbaron@akamai.com>, <aliceryhl@google.com>, <rostedt@goodmis.org>,\n <ardb@kernel.org>, <ojeda@kernel.org>, <boqun@kernel.org>,\n <gary@garyguo.net>, <bjorn3_gh@protonmail.com>, <lossin@kernel.org>,\n <a.hindborg@kernel.org>, <tmgross@umich.edu>, <dakr@kernel.org>,\n <nathan@kernel.org>, <nick.desaulniers+lkml@gmail.com>, <morbo@google.com>,\n <justinstitt@google.com>, <linuxppc-dev@lists.ozlabs.org>,\n <linux-kernel@vger.kernel.org>, <rust-for-linux@vger.kernel.org>,\n <llvm@lists.linux.dev>","Subject":"Re: [PATCH V10 0/4] Rust support for powerpc [RESEND]","From":"\"Gary Guo\" <gary@garyguo.net>","To":"\"Link Mauve\" <linkmauve@linkmauve.fr>, \"Mukesh Kumar Chaurasiya\"\n <mkchauras@gmail.com>","X-Mailer":"aerc 0.21.0","References":"<20260406200149.3727922-1-mkchauras@gmail.com>\n <adYlLLfRgSyxus3n@luna>\n <adZBWoVVoJefiTcM@li-1a3e774c-28e4-11b2-a85c-acc9f2883e29.ibm.com>\n <adZV_VISz8DNraug@luna>","In-Reply-To":"<adZV_VISz8DNraug@luna>","X-ClientProxiedBy":"LO4P123CA0114.GBRP123.PROD.OUTLOOK.COM\n (2603:10a6:600:192::11) To LOVP265MB8871.GBRP265.PROD.OUTLOOK.COM\n (2603:10a6:600:488::16)","X-Mailing-List":"linuxppc-dev@lists.ozlabs.org","List-Id":"<linuxppc-dev.lists.ozlabs.org>","List-Help":"<mailto:linuxppc-dev+help@lists.ozlabs.org>","List-Owner":"<mailto:linuxppc-dev+owner@lists.ozlabs.org>","List-Post":"<mailto:linuxppc-dev@lists.ozlabs.org>","List-Archive":"<https://lore.kernel.org/linuxppc-dev/>,\n  <https://lists.ozlabs.org/pipermail/linuxppc-dev/>","List-Subscribe":"<mailto:linuxppc-dev+subscribe@lists.ozlabs.org>,\n  <mailto:linuxppc-dev+subscribe-digest@lists.ozlabs.org>,\n  <mailto:linuxppc-dev+subscribe-nomail@lists.ozlabs.org>","List-Unsubscribe":"<mailto:linuxppc-dev+unsubscribe@lists.ozlabs.org>","Precedence":"list","MIME-Version":"1.0","X-MS-PublicTrafficType":"Email","X-MS-TrafficTypeDiagnostic":"LOVP265MB8871:EE_|CWLP265MB2804:EE_","X-MS-Office365-Filtering-Correlation-Id":"01ac8114-17c5-4b89-085c-08de95772e4a","X-MS-Exchange-SenderADCheck":"1","X-MS-Exchange-AntiSpam-Relay":"0","X-Microsoft-Antispam":"\n\tBCL:0;ARA:13230040|1800799024|10070799003|376014|7416014|366016|22082099003|18002099003|56012099003;","X-Microsoft-Antispam-Message-Info":"\n\tt3O1HWzSMfVYuYyeTOXwkqnPfWTVy4MAHbfxXvln08wpcGRXtGu8NvGkagj+9MUSS2GeHMUNsxedj47tHnK1wkaycEnl/v9UowtXezEWvD9u6OmY2fdZsLCLcg+4fIRUk4wJo9D5jaB2j7Y9H04J2ZxSRMSzguAHuDEq4BGc7xYA46or3uxMX2cb/NABMCqqgH1tvD33Xw8cLtEAQkqS1iW9DHuLaEm6+rYB6++OK/LDATgaJlLqfx2aVbHRs9B5eXoj5kiJ0tqk24zruRJqB3wa71R6YPRzt4maXirFXwbOlDh7PoceDaYcY2U2TI2VvVxIBY53NRa4crcpM6AzeZ+1UNZ4zUG3lTqpgPUA8bv57GmfWWKeh8IRr8O98ZFTKcfIrBgf8YHikKR7eftfrILwWIQs6UMstVpx/j+fnMkFMz6R4oPvYfPyXy6LyF44j6mbcpSW1CV3KuFLSGqzdyv3hBcEx4e+N0x3ynRWNucwYEe639uCNP6M8IpA9CHX6QZngYuMW/ocvTBvVLYeC8daFq3WWpngclNJMJOY4XNRnsHw5m9116c0oVtBtKGVlSf7Q7drYQJRIdD0uoRB1HSo2Xh5KdbnAeutTZpK/LRXjaMi26CFm8QuzTPEX0D5dOgw4E6ugVWspE38+Bi4ObB6gNhtKBQ2o1jxIHhMXFD6PzSYUR3RT4Bk/nt6Dcv4YddeUhVZKThd7W9V8fRRKiOWKuP38j8ia66f2nYZPQs=","X-Forefront-Antispam-Report":"\n\tCIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:LOVP265MB8871.GBRP265.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(10070799003)(376014)(7416014)(366016)(22082099003)(18002099003)(56012099003);DIR:OUT;SFP:1102;","X-MS-Exchange-AntiSpam-MessageData-ChunkCount":"1","X-MS-Exchange-AntiSpam-MessageData-0":"=?utf-8?q?7cQRNAYHpTNx1UNaNE7/L+X6cECd?=\n\t=?utf-8?q?QVQP+28cxifNhzgELR34miiJYzBwrCW5NN8M4RryZrPVXc8y69BmVZ9hglBISQqHM?=\n\t=?utf-8?q?LeGlkHOFkeqapIiKhZ3tl5cl+6HpFJWF+cYRbhWknExFfBgTUC6iV/LNar4OERH9Z?=\n\t=?utf-8?q?+BDJpwOPpVDJGmkVbP29EAxRIs17tzJGHj/0wqMzqwcRvvm1R4Z0+zdFRJ9xh7uW6?=\n\t=?utf-8?q?AmlP7/cmkHaAzpcYIgeq1QrnMsoyyBFgU1R9MmquKXchyn4Kbz9FgG5bHoM6VBgxj?=\n\t=?utf-8?q?9FQlrPRhjiu9bOqTDxECtpb2UwrKU/n8nVlgzwzYBG40+J0ou5kdKBemHMIMOSRLP?=\n\t=?utf-8?q?fdMy9v6PYEFtP9TIHQcLRNT021lk0GGpwWYqXRE54WA4r2tRehCB+PVPO8zgnilnH?=\n\t=?utf-8?q?HTDcsACSZI6lZ1hC7f/iwsXMjiQgFJyXNRhEsyBdEWOA3NSd/55L1vX6HlMRMdIgW?=\n\t=?utf-8?q?Jtv+bHpxZ8gqSC3/1G5ML6eK2TZqisXJRWHjt7XlgH7Eq6f9SSnzDpEYDrKG2c+AD?=\n\t=?utf-8?q?/8VkVZ0kX7XTcLbYwxMhdm8MhxeEIf+BnNhifolPE7GFFXXjn9LVJ+j96lIWZ317A?=\n\t=?utf-8?q?/FL/kYqzqGeAQNhZvtn5sP25yhENCIeQJ78bDz7Iybgkzx+VgAe42b3nqv1z6bKqX?=\n\t=?utf-8?q?DDDCSP5x8Nb9MXBPwZUK42yqoworhjFtTAnaUwS3o17aR6im2HTyxwM1jmG7NvV/e?=\n\t=?utf-8?q?neaG/wN3IxLAo7wjJK1BQBDClWS6gWOMfcJyh8bx+io6ex2amesW/B3GPeQflgxKX?=\n\t=?utf-8?q?Gx39Kr/x4Ggkl5XzHEnt1SwpGk2Tv51DK43nVCONyfqcxNLvbsyVl6wlmSSKqMEUY?=\n\t=?utf-8?q?3kWh++kO8Luhsi1qdNCZTACOL/WZQYUD/3ODFilhD1XHSMc4JjvLg4FVIinlZbC5J?=\n\t=?utf-8?q?8ha+2sX9IGPK8m/MzV9ZOvS59d7ufj/2+/tWNFtS3IL2inPVJGUX6WY6GK7eOQg0n?=\n\t=?utf-8?q?5jsT+pfSIxbvzEGqQF7dnNxTvPu5Iv/ncAYXBO9Ul4a0HuROJ3piwaIjvNQD9+YuU?=\n\t=?utf-8?q?QtbtCXwH1lIGtsWC0tIENSAB7iYRdTrUgY/OS45IkFYV48yUMZWXtn25nsko4tOW0?=\n\t=?utf-8?q?ZdUx9NNg8iMaqFco00YA9KhJHbc9p4T+TXKiytZHpCymbtyDeetOXqkJTuOpaEr3H?=\n\t=?utf-8?q?klvFVOJgbexXcLc560QawglXhRoj9Sy/saJFnqzYpjTf0sgK/vLn3VWAlSTaJ92TU?=\n\t=?utf-8?q?e1cXfaL91TQYPxY0QEaVfKkSB4nCy2U4gl/5NmE+3lkF/xJ8vTUfGhsIWEo3SbAb+?=\n\t=?utf-8?q?UV9PFd/jQb1Td10I+DcKRGkQ9CFIj9AP40M26BFMTICIMTA/RzLxPqpRGhKikUeVc?=\n\t=?utf-8?q?9BqjbZAow+W37QzMRhAuNdwZLocJglAeXdJ2b7BXjFzU3UZER5uNiKMbV7vKfROEo?=\n\t=?utf-8?q?cl7gQD7gsHqTRpY4x0mIGLFvfhjzLJwqEeGYB7+asdiyFSp3XUvu+SolrfDwltlK4?=\n\t=?utf-8?q?6KeqGNs0ESFLQzZ5GaP7n4+i4Z4PwUdZquIFV7MJHCBKKnZrQmk894hadyEBh404v?=\n\t=?utf-8?q?ph7FPe1FJqwtpBF7n1m8Ci+72pCx8ezVPgotyva/04k6Zs1ipkjjEUhSaE3Qfro5+?=\n\t=?utf-8?q?ZhoY1x1dL5S/21DYOJTrUoHzAh0OD6AtDXIYwRVAL6qpDpmurceL13RMJl+2hQfph?=\n\t=?utf-8?q?rrwy7D8j2htcDTwcGcInirdxYO/C1wCw=3D=3D?=","X-OriginatorOrg":"garyguo.net","X-MS-Exchange-CrossTenant-Network-Message-Id":"\n 01ac8114-17c5-4b89-085c-08de95772e4a","X-MS-Exchange-CrossTenant-AuthSource":"LOVP265MB8871.GBRP265.PROD.OUTLOOK.COM","X-MS-Exchange-CrossTenant-AuthAs":"Internal","X-MS-Exchange-CrossTenant-OriginalArrivalTime":"08 Apr 2026 14:00:24.4519\n (UTC)","X-MS-Exchange-CrossTenant-FromEntityHeader":"Hosted","X-MS-Exchange-CrossTenant-Id":"bbc898ad-b10f-4e10-8552-d9377b823d45","X-MS-Exchange-CrossTenant-MailboxType":"HOSTED","X-MS-Exchange-CrossTenant-UserPrincipalName":"\n dQ9p79VK1EMrrWmeJHP+cE0Z7HFh0iDDcZ5BBaWALBf/iteLjkJgOiFCfRcZ21LQ5Y5HvXF7sBkubO8uHfjxgw==","X-MS-Exchange-Transport-CrossTenantHeadersStamped":"CWLP265MB2804","X-Spam-Status":"No, score=-0.2 required=3.0 tests=ARC_SIGNED,ARC_VALID,\n\tDKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,\n\tSPF_HELO_NONE,SPF_PASS autolearn=disabled version=4.0.1 OzLabs 8","X-Spam-Checker-Version":"SpamAssassin 4.0.1 (2024-03-25) on lists.ozlabs.org"}},{"id":3674795,"web_url":"http://patchwork.ozlabs.org/comment/3674795/","msgid":"<adZhrsF_p5EKtfJd@li-1a3e774c-28e4-11b2-a85c-acc9f2883e29.ibm.com>","date":"2026-04-08T14:15:07","subject":"Re: [PATCH V10 0/4] Rust support for powerpc [RESEND]","submitter":{"id":92575,"url":"http://patchwork.ozlabs.org/api/people/92575/","name":"Mukesh Kumar Chaurasiya","email":"mkchauras@gmail.com"},"content":"On Wed, Apr 08, 2026 at 03:00:23PM +0100, Gary Guo wrote:\n> On Wed Apr 8, 2026 at 2:19 PM BST, Link Mauve wrote:\n> > On Wed, Apr 08, 2026 at 05:23:39PM +0530, Mukesh Kumar Chaurasiya wrote:\n> >> On Wed, Apr 08, 2026 at 11:51:40AM +0200, Link Mauve wrote:\n> >> > Hi,\n> >> > \n> >> > (This email is a resent, my IP address got flagged by spamhaus again\n> >> > because I’m on a residential range, hopefully this incident is\n> >> > resolved…)\n> >> > \n> >> > On Tue, Apr 07, 2026 at 01:31:45AM +0530, Mukesh Kumar Chaurasiya (IBM) wrote:\n> >> > > Enable experimental rust support for ppc64le and ppc32be. The patch for\n> >> > > ppc32 has been provided by Link Mauve[1] and ppc64le support[2] has been\n> >> > > merged over it. ppc32 needs some toolchain fixes mentioned in the patch\n> >> > > `rust: Add PowerPC support` and the discussion for that is done here[1].\n> >> > > \n> >> > > This has been tested on\n> >> > > - powernv9 hardware\n> >> > > - pseries P11 hardware\n> >> > > - pseries(9, 10) qemu\n> >> > > - powernv(9, 10) qemu\n> >> > > - rustdoc on x86 and powerpc64le\n> >> > > - rusttest on x86 and powerpc64le\n> >> > \n> >> > I just tested your series for the Wii, so targeting powerpc (32, be),\n> >> > and got this error:\n> >> > ```\n> >> > error[E0463]: can't find crate for `pin_init_internal`\n> >> >    --> ../rust/pin-init/src/lib.rs:365:11\n> >> >     |\n> >> > 365 | pub use ::pin_init_internal::pin_data;\n> >> >     |           ^^^^^^^^^^^^^^^^^ can't find crate\n> >> > \n> >> > error: aborting due to 1 previous error\n> >> > \n> >> > For more information about this error, try `rustc --explain E0463`.\n> >> > ```\n> >> > \n> >> > I didn’t get this error in a previous version of your series, would you\n> >> > want me to bisect them?\n> >> > \n> >> > Thanks for your continuous work on it anyway!\n> >> > \n> >> \n> >> Hey Link,\n> >> \n> >> Thanks for testing this.\n> >> \n> >> Can you give me the command generated via make with V=1\n> >> e.g. `make LLVM=1 V=1`\n> >\n> > Here it is:\n> > ```\n> > % make ARCH=powerpc CROSS_COMPILE=powerpc-linux-musl- O=wii W=1 V=1 -j1\n> > make  -C /home/linkmauve/dev/linux/wii \\\n> > -f /home/linkmauve/dev/linux/Makefile\n> > make[1]: Entering directory '/home/linkmauve/dev/linux/wii'\n> > make --no-print-directory -C /home/linkmauve/dev/linux/wii \\\n> > -f /home/linkmauve/dev/linux/Makefile\n> > ln -fsn .. source\n> > # GEN     Makefile\n> >   { echo \"# Automatically generated by /home/linkmauve/dev/linux/Makefile: don't edit\"; echo \"export KBUILD_OUTPUT = /home/linkmauve/dev/linux/wii\"; echo \"include /home/linkmauve/dev/linux/Makefile\"; } > Makefile\n> > test -e .gitignore || \\\n> > { echo \"# this is build directory, ignore it\"; echo \"*\"; } > .gitignore\n> > make -f ../scripts/Makefile.build obj=arch/powerpc/kernel/syscalls all\n> > make -f ../scripts/Makefile.build obj=scripts/basic\n> > make -f ../scripts/Makefile.build obj=scripts/dtc\n> > make -f ../scripts/Makefile.build obj=scripts\n> > make -f ../scripts/Makefile.build obj=scripts/gcc-plugins \\\n> > need-builtin= \\\n> > need-modorder= \\\n> >\n> > set -e; mkdir -p include/config/; trap \"rm -f include/config/.tmp_kernel.release\" EXIT; { ../scripts/setlocalversion ..; } > include/config/.tmp_kernel.release; if [ ! -r include/config/kernel.release ] || ! cmp -s include/config/kernel.release include/config/.tmp_kernel.release; then : '  UPD     include/config/kernel.release'; mv -f include/config/.tmp_kernel.release include/config/kernel.release; fi\n> > make -f ../scripts/Makefile.asm-headers obj=arch/powerpc/include/generated/uapi/asm \\\n> > generic=include/uapi/asm-generic\n> > make -f ../scripts/Makefile.asm-headers obj=arch/powerpc/include/generated/asm \\\n> > generic=include/asm-generic\n> > set -e; mkdir -p include/generated/uapi/linux/; trap \"rm -f include/generated/uapi/linux/.tmp_version.h\" EXIT; { \tif [ 0 -gt 255 ]; then echo \\#define LINUX_VERSION_CODE 459007; else echo \\#define LINUX_VERSION_CODE 458752; fi; echo '#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + ((c) > 255 ? 255 : (c)))'; echo \\#define LINUX_VERSION_MAJOR 7; echo \\#define LINUX_VERSION_PATCHLEVEL 0; echo \\#define LINUX_VERSION_SUBLEVEL 0; } > include/generated/uapi/linux/.tmp_version.h; if [ ! -r include/generated/uapi/linux/version.h ] || ! cmp -s include/generated/uapi/linux/version.h include/generated/uapi/linux/.tmp_version.h; then : '  UPD     include/generated/uapi/linux/version.h'; mv -f include/generated/uapi/linux/.tmp_version.h include/generated/uapi/linux/version.h; fi\n> > set -e; mkdir -p include/generated/; trap \"rm -f include/generated/.tmp_utsrelease.h\" EXIT; { \tif [ `echo -n \"7.0.0-rc7-wii+\" | wc -c ` -gt 64 ]; then echo '\"7.0.0-rc7-wii+\" exceeds 64 characters' >&2; exit 1; fi; echo \\#define UTS_RELEASE \\\"7.0.0-rc7-wii+\\\"; } > include/generated/.tmp_utsrelease.h; if [ ! -r include/generated/utsrelease.h ] || ! cmp -s include/generated/utsrelease.h include/generated/.tmp_utsrelease.h; then : '  UPD     include/generated/utsrelease.h'; mv -f include/generated/.tmp_utsrelease.h include/generated/utsrelease.h; fi\n> > set -e; mkdir -p include/generated/; trap \"rm -f include/generated/.tmp_compile.h\" EXIT; { ../scripts/mkcompile_h \"ppc\" \"powerpc-linux-musl-gcc (GCC) 14.2.1 20250405\" \"powerpc-linux-musl-ld\"; } > include/generated/.tmp_compile.h; if [ ! -r include/generated/compile.h ] || ! cmp -s include/generated/compile.h include/generated/.tmp_compile.h; then : '  UPD     include/generated/compile.h'; mv -f include/generated/.tmp_compile.h include/generated/compile.h; fi\n> > ../scripts/remove-stale-files\n> > make -f ../scripts/Makefile.build obj=scripts/mod\n> > set -e; mkdir -p scripts/mod/; trap \"rm -f scripts/mod/.tmp_devicetable-offsets.h\" EXIT; { \t echo \"#ifndef __DEVICETABLE_OFFSETS_H__\"; echo \"#define __DEVICETABLE_OFFSETS_H__\"; echo \"/*\"; echo \" * DO NOT MODIFY.\"; echo \" *\"; echo \" * This file was generated by Kbuild\"; echo \" */\"; echo \"\"; sed -ne \t's:^[[:space:]]*\\.ascii[[:space:]]*\"\\(.*\\)\".*:\\1:; /^->/{s:->#\\(.*\\):/* \\1 */:; s:^->\\([^ ]*\\) [\\$#]*\\([^ ]*\\) \\(.*\\):#define \\1 \\2 /* \\3 */:; s:->::; p;}' < scripts/mod/devicetable-offsets.s; echo \"\"; echo \"#endif\"; } > scripts/mod/.tmp_devicetable-offsets.h; if [ ! -r scripts/mod/devicetable-offsets.h ] || ! cmp -s scripts/mod/devicetable-offsets.h scripts/mod/.tmp_devicetable-offsets.h; then : '  UPD     scripts/mod/devicetable-offsets.h'; mv -f scripts/mod/.tmp_devicetable-offsets.h scripts/mod/devicetable-offsets.h; fi\n> > make -f ../scripts/Makefile.build obj=. prepare\n> > set -e; mkdir -p include/generated/; trap \"rm -f include/generated/.tmp_timeconst.h\" EXIT; { echo 1000 | bc -q ../kernel/time/timeconst.bc; } > include/generated/.tmp_timeconst.h; if [ ! -r include/generated/timeconst.h ] || ! cmp -s include/generated/timeconst.h include/generated/.tmp_timeconst.h; then : '  UPD     include/generated/timeconst.h'; mv -f include/generated/.tmp_timeconst.h include/generated/timeconst.h; fi\n> > set -e; mkdir -p include/generated/; trap \"rm -f include/generated/.tmp_bounds.h\" EXIT; { \t echo \"#ifndef __LINUX_BOUNDS_H__\"; echo \"#define __LINUX_BOUNDS_H__\"; echo \"/*\"; echo \" * DO NOT MODIFY.\"; echo \" *\"; echo \" * This file was generated by Kbuild\"; echo \" */\"; echo \"\"; sed -ne \t's:^[[:space:]]*\\.ascii[[:space:]]*\"\\(.*\\)\".*:\\1:; /^->/{s:->#\\(.*\\):/* \\1 */:; s:^->\\([^ ]*\\) [\\$#]*\\([^ ]*\\) \\(.*\\):#define \\1 \\2 /* \\3 */:; s:->::; p;}' < kernel/bounds.s; echo \"\"; echo \"#endif\"; } > include/generated/.tmp_bounds.h; if [ ! -r include/generated/bounds.h ] || ! cmp -s include/generated/bounds.h include/generated/.tmp_bounds.h; then : '  UPD     include/generated/bounds.h'; mv -f include/generated/.tmp_bounds.h include/generated/bounds.h; fi\n> > set -e; mkdir -p include/generated/; trap \"rm -f include/generated/.tmp_asm-offsets.h\" EXIT; { \t echo \"#ifndef __ASM_OFFSETS_H__\"; echo \"#define __ASM_OFFSETS_H__\"; echo \"/*\"; echo \" * DO NOT MODIFY.\"; echo \" *\"; echo \" * This file was generated by Kbuild\"; echo \" */\"; echo \"\"; sed -ne \t's:^[[:space:]]*\\.ascii[[:space:]]*\"\\(.*\\)\".*:\\1:; /^->/{s:->#\\(.*\\):/* \\1 */:; s:^->\\([^ ]*\\) [\\$#]*\\([^ ]*\\) \\(.*\\):#define \\1 \\2 /* \\3 */:; s:->::; p;}' < arch/powerpc/kernel/asm-offsets.s; echo \"\"; echo \"#endif\"; } > include/generated/.tmp_asm-offsets.h; if [ ! -r include/generated/asm-offsets.h ] || ! cmp -s include/generated/asm-offsets.h include/generated/.tmp_asm-offsets.h; then : '  UPD     include/generated/asm-offsets.h'; mv -f include/generated/.tmp_asm-offsets.h include/generated/asm-offsets.h; fi\n> > set -e; mkdir -p include/generated/; trap \"rm -f include/generated/.tmp_rq-offsets.h\" EXIT; { \t echo \"#ifndef __RQ_OFFSETS_H__\"; echo \"#define __RQ_OFFSETS_H__\"; echo \"/*\"; echo \" * DO NOT MODIFY.\"; echo \" *\"; echo \" * This file was generated by Kbuild\"; echo \" */\"; echo \"\"; sed -ne \t's:^[[:space:]]*\\.ascii[[:space:]]*\"\\(.*\\)\".*:\\1:; /^->/{s:->#\\(.*\\):/* \\1 */:; s:^->\\([^ ]*\\) [\\$#]*\\([^ ]*\\) \\(.*\\):#define \\1 \\2 /* \\3 */:; s:->::; p;}' < kernel/sched/rq-offsets.s; echo \"\"; echo \"#endif\"; } > include/generated/.tmp_rq-offsets.h; if [ ! -r include/generated/rq-offsets.h ] || ! cmp -s include/generated/rq-offsets.h include/generated/.tmp_rq-offsets.h; then : '  UPD     include/generated/rq-offsets.h'; mv -f include/generated/.tmp_rq-offsets.h include/generated/rq-offsets.h; fi\n> > # CALL    ../scripts/checksyscalls.sh\n> >   sh ../scripts/checksyscalls.sh powerpc-linux-musl-gcc -Wp,-MMD,./.missing-syscalls.d -nostdinc -I../arch/powerpc/include -I./arch/powerpc/include/generated -I../include -I./include -I../arch/powerpc/include/uapi -I./arch/powerpc/include/generated/uapi -I../include/uapi -I./include/generated/uapi -include ../include/linux/compiler-version.h -include ../include/linux/kconfig.h -include ../include/linux/compiler_types.h -D__KERNEL__ -mbig-endian -m32 -I ../arch/powerpc -fmacro-prefix-map=../= -Wundef -DKBUILD_EXTRA_WARN1 -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -msoft-float -ffixed-r2 -mmultiple -mno-readonly-in-sdata -mcpu=powerpc -mno-prefixed -mno-pcrel -mno-altivec -mno-vsx -mno-mma -fno-asynchronous-unwind-tables -mno-string -mbig-endian -fno-delete-null-pointer-checks -Os -fno-allow-store-data-races -fno-stack-protector -fomit-frame-pointer -ftrivial-auto-var-init=zero -fno-stack-clash-protection -fmin-function-alignment=4 -fstrict-flex-arrays=3 -fms-extensions -fno-strict-overflow -fno-stack-check -fconserve-stack -fno-builtin-wcslen -Wall -Wextra -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -Wno-frame-address -Wno-address-of-packed-member -Wmissing-declarations -Wmissing-prototypes -Wframe-larger-than=1280 -Wno-main -Wno-type-limits -Wno-dangling-pointer -Wvla-larger-than=1 -Wno-pointer-sign -Wcast-function-type -Wno-array-bounds -Wno-stringop-overflow -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wenum-conversion -Wunused -Wmissing-format-attribute -Wmissing-include-dirs -Wunused-const-variable -Wno-missing-field-initializers -Wno-shift-negative-value -Wno-maybe-uninitialized -Wno-sign-compare -Wno-unused-parameter -DGCC_PLUGINS -I../. -I.    -DKBUILD_MODFILE='\"./missing-syscalls\"' -DKBUILD_BASENAME='\"missing_syscalls\"' -DKBUILD_MODNAME='\"missing_syscalls\"' -D__KBUILD_MODNAME=missing_syscalls\n> > make -f ../scripts/Makefile.build obj=arch/powerpc/kernel/vdso include/generated/vdso32-offsets.h\n> > mkdir -p ./tools\n> > make O=/home/linkmauve/dev/linux/wii subdir=tools -C ../tools/ objtool\n> > mkdir -p /home/linkmauve/dev/linux/wii/tools/objtool && make O=/home/linkmauve/dev/linux/wii subdir=tools/objtool --no-print-directory -C objtool\n> > make -C /home/linkmauve/dev/linux/tools/build CFLAGS= LDFLAGS= /home/linkmauve/dev/linux/wii/tools/objtool/fixdep\n> > if [ ! -f /home/linkmauve/dev/linux/wii/tools/objtool/fixdep ]; then\t\t\t\t\t\t\\\n> > \tmake -f /home/linkmauve/dev/linux/tools/build/Makefile.build dir=. obj=fixdep HOSTCFLAGS=\"-Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu11   -I ../scripts/include\";\t\\\n> > \trm -f /home/linkmauve/dev/linux/wii/tools/objtool/fixdep.o;\t\t\t\t\t\t\\\n> > fi\n> > make -f /home/linkmauve/dev/linux/tools/build/Makefile.build dir=. obj=fixdep HOSTCFLAGS=\"-Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu11   -I ../scripts/include\"\n> > make -C /home/linkmauve/dev/linux/tools/lib/subcmd/ O=/home/linkmauve/dev/linux/wii/tools/objtool/libsubcmd \\\n> > \tDESTDIR=/home/linkmauve/dev/linux/wii/tools/objtool/libsubcmd prefix= subdir= \\\n> > \tCC=\"gcc\" LD=\"ld\" AR=\"ar\" EXTRA_CFLAGS=\"-std=gnu11 -fomit-frame-pointer -O2 -g -Werror -Wall -Wextra -Wmissing-prototypes -Wmissing-declarations -Wwrite-strings -Wno-implicit-fallthrough -Wno-sign-compare -Wno-unused-parameter -I/home/linkmauve/dev/linux/tools/include -I/home/linkmauve/dev/linux/tools/include/uapi -I/home/linkmauve/dev/linux/tools/arch/x86/include/uapi -I/home/linkmauve/dev/linux/tools/arch/powerpc/include -I/home/linkmauve/dev/linux/tools/objtool/include -I/home/linkmauve/dev/linux/tools/objtool/arch/powerpc/include -I/home/linkmauve/dev/linux/wii/tools/objtool/libsubcmd/include   \" \\\n> > \t/home/linkmauve/dev/linux/wii/tools/objtool/libsubcmd/libsubcmd.a install_headers\n> > make -C /home/linkmauve/dev/linux/tools/build CFLAGS= LDFLAGS= /home/linkmauve/dev/linux/wii/tools/objtool/libsubcmd/fixdep\n> > if [ ! -f /home/linkmauve/dev/linux/wii/tools/objtool/libsubcmd/fixdep ]; then\t\t\t\t\t\t\\\n> > \tmake -f /home/linkmauve/dev/linux/tools/build/Makefile.build dir=. obj=fixdep HOSTCFLAGS=\"-Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu11   -I ../scripts/include\";\t\\\n> > \trm -f /home/linkmauve/dev/linux/wii/tools/objtool/libsubcmd/fixdep.o;\t\t\t\t\t\t\\\n> > fi\n> > make -f /home/linkmauve/dev/linux/tools/build/Makefile.build dir=. obj=fixdep HOSTCFLAGS=\"-Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu11   -I ../scripts/include\"\n> > make[5]: 'install_headers' is up to date.\n> > sh ./sync-check.sh\n> > make -f /home/linkmauve/dev/linux/tools/build/Makefile.build dir=. obj=objtool CC=\"gcc\" LD=\"ld\" AR=\"ar\" CFLAGS=\"-std=gnu11 -fomit-frame-pointer -O2 -g -Werror -Wall -Wextra -Wmissing-prototypes -Wmissing-declarations -Wwrite-strings -Wno-implicit-fallthrough -Wno-sign-compare -Wno-unused-parameter -I/home/linkmauve/dev/linux/tools/include -I/home/linkmauve/dev/linux/tools/include/uapi -I/home/linkmauve/dev/linux/tools/arch/x86/include/uapi -I/home/linkmauve/dev/linux/tools/arch/powerpc/include -I/home/linkmauve/dev/linux/tools/objtool/include -I/home/linkmauve/dev/linux/tools/objtool/arch/powerpc/include -I/home/linkmauve/dev/linux/wii/tools/objtool/libsubcmd/include   \" \\\n> > \tLDFLAGS=\"/home/linkmauve/dev/linux/wii/tools/objtool/libsubcmd/libsubcmd.a -lelf  \"\n> > make -f /home/linkmauve/dev/linux/tools/build/Makefile.build dir=./arch/powerpc obj=objtool\n> > sh ../scripts/rust_is_available.sh\n> > make -f ../scripts/Makefile.build obj=rust\n> > # RUSTC L rust/pin_init.o\n> >   OBJTREE=/home/linkmauve/dev/linux/wii rustc --edition=2021 -Zbinary_dep_depinfo=y -Astable_features -Aunused_features -Dnon_ascii_idents -Dunsafe_op_in_unsafe_fn -Wmissing_docs -Wrust_2018_idioms -Wunreachable_pub -Wclippy::all -Wclippy::as_ptr_cast_mut -Wclippy::as_underscore -Wclippy::cast_lossless -Wclippy::ignored_unit_patterns -Wclippy::mut_mut -Wclippy::needless_bitwise_bool -Aclippy::needless_lifetimes -Wclippy::no_mangle_with_rust_abi -Wclippy::ptr_as_ptr -Wclippy::ptr_cast_constness -Wclippy::ref_as_ptr -Wclippy::undocumented_unsafe_blocks -Wclippy::unnecessary_safety_comment -Wclippy::unnecessary_safety_doc -Wrustdoc::missing_crate_level_docs -Wrustdoc::unescaped_backticks -Cpanic=abort -Cembed-bitcode=n -Clto=n -Cforce-unwind-tables=n -Ccodegen-units=1 -Csymbol-mangling-version=v0 -Crelocation-model=static -Zfunction-sections=n -Wclippy::float_arithmetic --target=powerpc-unknown-linux-gnu -Copt-level=s -Cdebug-assertions=n -Coverflow-checks=y @./include/generated/rustc_cfg --extern pin_init_internal --extern macros --cfg='kernel' --emit=dep-info=rust/.pin_init.o.d --emit=obj=rust/pin_init.o --emit=metadata=rust/libpin_init.rmeta --crate-type rlib -L./rust --crate-name pin_init ../rust/pin-init/src/lib.rs --sysroot=/dev/null -Zunstable-options   ; ./tools/objtool/objtool --static-call   rust/pin_init.o\n>\nThanks Link.\n\n> Looks like the command line here is missing -L./rust/host.\n> \nYeah, got the fix for it. Stupid mistake.\nWill send out a new revision.\nThanks though.\n\nRegards,\nMukesh\n> Mukesh, perhaps when you test locally you didn't clean out the already-built\n> files inside rust directory?\n> \n> Best,\n> Gary\n>\n> > error[E0463]: can't find crate for `pin_init_internal`\n> >    --> ../rust/pin-init/src/lib.rs:365:11\n> >     |\n> > 365 | pub use ::pin_init_internal::pin_data;\n> >     |           ^^^^^^^^^^^^^^^^^ can't find crate\n> >\n> > error: aborting due to 1 previous error\n> >\n> > For more information about this error, try `rustc --explain E0463`.\n> > make[3]: *** [../rust/Makefile:681: rust/pin_init.o] Error 1\n> > make[2]: *** [/home/linkmauve/dev/linux/Makefile:1343: prepare] Error 2\n> > make[1]: *** [/home/linkmauve/dev/linux/Makefile:248: __sub-make] Error 2\n> > make[1]: Leaving directory '/home/linkmauve/dev/linux/wii'\n> > make: *** [Makefile:248: __sub-make] Error 2\n> > make ARCH=powerpc CROSS_COMPILE=powerpc-linux-musl- O=wii W=1 V=1 -j1  1.15s user 0.56s system 100% cpu 1.695 total\n> > ```\n> >\n> >> \n> >> Regards,\n> >> Mukesh\n> >> \n> >> > > \n> >> > > We are actively working with our LLVM team to get the target for ppc,\n> >> > > ppc64 and ppc64le in the rust compiler.\n> >> > > \n> >> > > \n> >> > > [1] https://lore.kernel.org/all/20260204030507.8203-1-linkmauve@linkmauve.fr\n> >> > > [2] https://lore.kernel.org/all/20260204042417.83903-1-mkchauras@gmail.com\n> >> > > \n> >> > > Changelog:\n> >> > > V9 -> V10:\n> >> > > - rust/Makefile updated with review comments from Miguel\n> >> > > - Patch 1/4 updated with commit message and subject\n> >> > > V9: https://lore.kernel.org/all/20260404121610.1956528-1-mkchauras@gmail.com/\n> >> > > \n> >> > > V8 -> V9:\n> >> > > - rust/Makefile updated with a directory instead of abspath\n> >> > > V8: https://lore.kernel.org/all/20260403145308.1042622-1-mkchauras@gmail.com/\n> >> > > \n> >> > > V7 -> V8:\n> >> > > - rust/Makefile updated to separate host libraries from target\n> >> > > V7: https://lore.kernel.org/all/20260329160254.2592207-1-mkchauras@gmail.com/\n> >> > > \n> >> > > Changelog:\n> >> > > V6 -> V7:\n> >> > > - Documentation removed as powerpc is still under development\n> >> > > - Added a fix for race condition in rust/Makefile\n> >> > > V6: https://lore.kernel.org/all/20260210090023.2587534-1-mkchauras@gmail.com\n> >> > > \n> >> > > V5 -> V6:\n> >> > > - Added a missing Tested by from Venkat which got missed since V3\n> >> > > - Support is marked as Maintained instead of experimental\n> >> > > V5: https://lore.kernel.org/all/20260210053756.2088302-1-mkchauras@gmail.com\n> >> > > \n> >> > > V4 -> V5:\n> >> > > - Removed a nested ifdef from PPC64 for Little endian toolchain\n> >> > > V4: https://lore.kernel.org/all/20260209105456.1551677-1-mkchauras@gmail.com\n> >> > > \n> >> > > V3 -> V4:\n> >> > > - Co-developed-by header added in patch 1\n> >> > > V3: https://lore.kernel.org/all/20260205180429.3280657-1-mkchauras@gmail.com\n> >> > > \n> >> > > V2 -> V3:\n> >> > > - Splited HAVE_RUST in 2 lines\n> >> > > - BINDGEN_TARGET_powerpc initialized before assigning the same to\n> >> > >   BINDGEN_TARGET\n> >> > > V2: https://lore.kernel.org/all/20260204210125.613350-1-mkchauras@gmail.com\n> >> > > \n> >> > > V1 -> V2:\n> >> > > - jump label fix for rust has been moved to a separate patch\n> >> > > - PPC32 support has been taken\n> >> > > - rust support has been marked experimental\n> >> > > - target.json dependency has been removed\n> >> > > - HAVE_RUST now depends on CPU_LITTLE_ENDIAN for PPC64\n> >> > > \n> >> > > Link Mauve (1):\n> >> > >   rust: Add PowerPC support\n> >> > > \n> >> > > Mukesh Kumar Chaurasiya (IBM) (3):\n> >> > >   rust: Fix \"multiple candidates for rmeta dependency core\" error\n> >> > >   powerpc/jump_label: adjust inline asm to be consistent\n> >> > >   powerpc: Enable Rust for ppc64le\n> >> > > \n> >> > >  arch/powerpc/Kconfig                  |  2 +\n> >> > >  arch/powerpc/Makefile                 |  7 +++\n> >> > >  arch/powerpc/include/asm/jump_label.h | 23 ++++++----\n> >> > >  rust/Makefile                         | 66 ++++++++++++++++-----------\n> >> > >  4 files changed, 61 insertions(+), 37 deletions(-)\n> >> > > \n> >> > > -- \n> >> > > 2.53.0\n> >> > > \n> >> > > \n> >> > \n> >> > -- \n> >> > Link Mauve\n> >> > \n>","headers":{"Return-Path":"\n <linuxppc-dev+bounces-19511-incoming=patchwork.ozlabs.org@lists.ozlabs.org>","X-Original-To":["incoming@patchwork.ozlabs.org","linuxppc-dev@lists.ozlabs.org"],"Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=kICzfa+x;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org\n (client-ip=2404:9400:21b9:f100::1; helo=lists.ozlabs.org;\n envelope-from=linuxppc-dev+bounces-19511-incoming=patchwork.ozlabs.org@lists.ozlabs.org;\n receiver=patchwork.ozlabs.org)","lists.ozlabs.org;\n arc=none smtp.remote-ip=\"2607:f8b0:4864:20::436\"","lists.ozlabs.org;\n dmarc=pass (p=none dis=none) header.from=gmail.com","lists.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=kICzfa+x;\n\tdkim-atps=neutral","lists.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com\n (client-ip=2607:f8b0:4864:20::436; helo=mail-pf1-x436.google.com;\n envelope-from=mkchauras@gmail.com; receiver=lists.ozlabs.org)"],"Received":["from lists.ozlabs.org (lists.ozlabs.org\n [IPv6:2404:9400:21b9:f100::1])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4frQ7x2l9rz1xv0\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 09 Apr 2026 00:15:24 +1000 (AEST)","from boromir.ozlabs.org (localhost [127.0.0.1])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 4frQ7w0c8Tz2yVP;\n\tThu, 09 Apr 2026 00:15:24 +1000 (AEST)","from mail-pf1-x436.google.com (mail-pf1-x436.google.com\n [IPv6:2607:f8b0:4864:20::436])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n\t(No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 4frQ7s68N8z2xc8\n\tfor <linuxppc-dev@lists.ozlabs.org>; Thu, 09 Apr 2026 00:15:20 +1000 (AEST)","by mail-pf1-x436.google.com with SMTP id\n d2e1a72fcca58-82cf83bf375so2621005b3a.0\n        for <linuxppc-dev@lists.ozlabs.org>;\n Wed, 08 Apr 2026 07:15:20 -0700 (PDT)","from li-1a3e774c-28e4-11b2-a85c-acc9f2883e29.ibm.com\n ([106.51.160.44])\n        by smtp.gmail.com with ESMTPSA id\n d2e1a72fcca58-82cf9c3ce13sm22057700b3a.38.2026.04.08.07.15.09\n        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n        Wed, 08 Apr 2026 07:15:17 -0700 (PDT)"],"ARC-Seal":"i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1775657723;\n\tcv=none;\n b=MuZ+u0N7JbRJYhZ+JnBOoFVUmfNgOiMgLWxZGB+7VCaVlecvidGOmHpVz4sv3Wgp/POnjTE2cxA7T/E28vzxk1/IvvFMgKKlV7i53WPA/dYvJkEeuZx3BCd6gq2CLNlO1q11n4aTPqPc0lg4MGQZOWSKPnkwlaQUWNh+85YEUXJuQDG3xEFD4lf9Z3pXxlfSyuE7TLG+J7EsBcsW08GqEtWDbS2SbOmEAdZJhHVXPlxepRhsnKX5nM0brnaRFZ9jV7QMLA2s8o4WMF6hhPPNxmuO23aED8PJCA/dv2R5EDk1lv8bPUtzKPq2BDAzCmnZj+3CyZgOQGDnOOscrHqLTQ==","ARC-Message-Signature":"i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707;\n\tt=1775657723; c=relaxed/relaxed;\n\tbh=hw86Z2oMjukv7dRJsZwSun/q5K/w6jTV8cXNd+xxQko=;\n\th=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:\n\t Content-Type:Content-Disposition:In-Reply-To;\n b=ePSpOmQjgME/1t6vaZiQpVhQzwFKmMXoi3QhBmEB7G5187pa324TqMw74PC+9yiIguhNpdwx3oojzovTVLgmMlOFTQ5Z/ARJ/mndUtXUxJe5Ae/ERjEYZ03+legivljXiyA3+B9bn3DvoXdoe2wnlzwBkPDU+6fR5V+u+babK/mzh21jwM/pGDeDf9cdHgABYz7sCmIsuJQIkS9dtuc9th2cFGsHJdPOxlsYZe2K1qo5dxRzpVFM14tSnzblx79hvjMQvEwpmnzADo7ysoT9fIrWr1ozo7hPev/hYUZZDI/Ypi/xl22Pnp1oG8KoKkMkoR4kuAKTKiBTdF36xcQwDg==","ARC-Authentication-Results":"i=1; lists.ozlabs.org;\n dmarc=pass (p=none dis=none) header.from=gmail.com; dkim=pass (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=kICzfa+x; dkim-atps=neutral;\n spf=pass (client-ip=2607:f8b0:4864:20::436; helo=mail-pf1-x436.google.com;\n envelope-from=mkchauras@gmail.com;\n receiver=lists.ozlabs.org) smtp.mailfrom=gmail.com","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=gmail.com; s=20251104; t=1775657718; x=1776262518;\n darn=lists.ozlabs.org;\n        h=in-reply-to:content-transfer-encoding:content-disposition\n         :mime-version:references:message-id:subject:cc:to:from:date:from:to\n         :cc:subject:date:message-id:reply-to;\n        bh=hw86Z2oMjukv7dRJsZwSun/q5K/w6jTV8cXNd+xxQko=;\n        b=kICzfa+xtbZUSHDgc0kQcCTW5LrmU6iUkYvCpHYgnMblV9M+nMBs/3k+gkaWXWT6MK\n         wTTwC5ndB2YYLLbh//pGjkHTTHUXZwP3qA51xPMbfv8jOjO5oyKAOqQ+Fo+3PQXl6mP3\n         M4WzITjr6wNSzrY4VSVeq1ZfSy5jIliKTIiBYC33nYEZeh3XayI/Yt2yPPjunjRqElwa\n         3aY5jFtUry5zTRgvkMv3hrG1tUk8M1C5nVhVu0qmYvWDD9l7GCGpSccyr5e8DmmwR90z\n         AH5DlIoD+SyrghlOwR6i4E4W2p0zOwyoNXgYC6AwqyjJGqLMs5H16uH8bjkY/q2yUKV2\n         qHug==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=1e100.net; s=20251104; t=1775657718; x=1776262518;\n        h=in-reply-to:content-transfer-encoding:content-disposition\n         :mime-version:references:message-id:subject:cc:to:from:date:x-gm-gg\n         :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;\n        bh=hw86Z2oMjukv7dRJsZwSun/q5K/w6jTV8cXNd+xxQko=;\n        b=EfFMBDG21z2drAEhqzTxMEkRpIehFPYBK5aY8l4Q65cwTR0FUkhm3Q4blZDCs3oVpI\n         MgWxKWu8hxHNUkiJU6Ce2ptAw+suqSbPlJ0CXFIlPkZmxgNX1Lf7FTsf2IXisn2YcnAn\n         57QHGoyHtUXTG/PEqSW8r0WUZO56hJyTdSuoJ7ZajG7f80wLWbECuTQ0JqBgPk0nTlqy\n         lgLVpZ87W5/a8huGpkx0cHJM1wI5QeFnG5xV9XRYtp3Ryc1TyyzKvAnMfi34lQ/kE2KD\n         o9bhMNhQxsZ1lUfPt/Kp2YAjvsFjVY0QqTyyqdxPn30Y1u6jqpLB+uGZFlZLt8y/RpHj\n         KXJw==","X-Forwarded-Encrypted":"i=1;\n AJvYcCWmPWozPEJCeicLzy+0/lP2c6pOStNmjU610v6qQHwwfY7xooA9XsbC8LjVKAxZU/02R1BU/lEAKlaZK0c=@lists.ozlabs.org","X-Gm-Message-State":"AOJu0YzdH7mswwgm4T7EVfXUyMwUbzUAMEfUXZWS+A+JWzkgtHuud+vC\n\tte/jwxCIfQ3QNb2+WQCdKOaXMRdIp/AprInI/rDsEapT6gseLFeUkq+Z","X-Gm-Gg":"AeBDieu4W/ApMJOPr/2WIy2XxUALYTPp3Q8klrcjDo4XYyfxbCIJ7xHannGiXEbIiMZ\n\tAVPFGxIt7Ntuxn4w4fJoQMr1Ufy2Ivn1sHPCygMCucH1baGPNrxmUkaSkmy8wnHltrK+GchV4mI\n\t3VoMuvvrX4PGzt9IkyNHcSdvQsHYa1c1DlRoxTWq44W5297FXQyHOrJAm6NpuuJFm+gJywJt0tl\n\tRVWkGt+85Ic8UvIfH9hruiHwtGGEbUMnrKN9FsBTch3H2COpsTW/Li6QSTVfmYrKubi3E2uvihH\n\tutEYltskzWsSnt7MdujlQ4zUhafCA8go3Glfwu2H0h87lGOSYfDN1GGeplCKFcj5KbYY7REvgw8\n\tGX0t40/iPbON8YApP+NRItm5diVVZQJOX9duQ5TnW/oY5rsIy3J86+pUpy1gF5U9O1rj8sQm3+3\n\tevUxcmaIExT/vJRcaxbkbruGVsyG7csUoXSWJr/YnUu/7e8uZCv4XbgbmukKBN/cJoHZ7Izg==","X-Received":"by 2002:a05:6a00:14cc:b0:82c:e4b4:b056 with SMTP id\n d2e1a72fcca58-82d0db9115cmr20885070b3a.43.1775657717973;\n        Wed, 08 Apr 2026 07:15:17 -0700 (PDT)","Date":"Wed, 8 Apr 2026 19:45:07 +0530","From":"Mukesh Kumar Chaurasiya <mkchauras@gmail.com>","To":"Gary Guo <gary@garyguo.net>","Cc":"Link Mauve <linkmauve@linkmauve.fr>, maddy@linux.ibm.com,\n\tmpe@ellerman.id.au, npiggin@gmail.com, chleroy@kernel.org,\n peterz@infradead.org,\n\tjpoimboe@kernel.org, jbaron@akamai.com, aliceryhl@google.com,\n rostedt@goodmis.org,\n\tardb@kernel.org, ojeda@kernel.org, boqun@kernel.org,\n bjorn3_gh@protonmail.com,\n\tlossin@kernel.org, a.hindborg@kernel.org, tmgross@umich.edu, dakr@kernel.org,\n\tnathan@kernel.org, nick.desaulniers+lkml@gmail.com, morbo@google.com,\n\tjustinstitt@google.com, linuxppc-dev@lists.ozlabs.org,\n linux-kernel@vger.kernel.org,\n\trust-for-linux@vger.kernel.org, llvm@lists.linux.dev","Subject":"Re: [PATCH V10 0/4] Rust support for powerpc [RESEND]","Message-ID":"<adZhrsF_p5EKtfJd@li-1a3e774c-28e4-11b2-a85c-acc9f2883e29.ibm.com>","References":"<20260406200149.3727922-1-mkchauras@gmail.com>\n <adYlLLfRgSyxus3n@luna>\n <adZBWoVVoJefiTcM@li-1a3e774c-28e4-11b2-a85c-acc9f2883e29.ibm.com>\n <adZV_VISz8DNraug@luna>\n <DHNTT7LIVLDL.5FC5I1FES8IO@garyguo.net>","X-Mailing-List":"linuxppc-dev@lists.ozlabs.org","List-Id":"<linuxppc-dev.lists.ozlabs.org>","List-Help":"<mailto:linuxppc-dev+help@lists.ozlabs.org>","List-Owner":"<mailto:linuxppc-dev+owner@lists.ozlabs.org>","List-Post":"<mailto:linuxppc-dev@lists.ozlabs.org>","List-Archive":"<https://lore.kernel.org/linuxppc-dev/>,\n  <https://lists.ozlabs.org/pipermail/linuxppc-dev/>","List-Subscribe":"<mailto:linuxppc-dev+subscribe@lists.ozlabs.org>,\n  <mailto:linuxppc-dev+subscribe-digest@lists.ozlabs.org>,\n  <mailto:linuxppc-dev+subscribe-nomail@lists.ozlabs.org>","List-Unsubscribe":"<mailto:linuxppc-dev+unsubscribe@lists.ozlabs.org>","Precedence":"list","MIME-Version":"1.0","Content-Type":"text/plain; charset=utf-8","Content-Disposition":"inline","Content-Transfer-Encoding":"quoted-printable","In-Reply-To":"<DHNTT7LIVLDL.5FC5I1FES8IO@garyguo.net>","X-Spam-Status":"No, score=-0.2 required=3.0 tests=DKIM_SIGNED,DKIM_VALID,\n\tDKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,\n\tSPF_HELO_NONE,SPF_PASS autolearn=disabled version=4.0.1 OzLabs 8","X-Spam-Checker-Version":"SpamAssassin 4.0.1 (2024-03-25) on lists.ozlabs.org"}}]