From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 63324FC6176 for ; Sat, 14 Sep 2024 22:19:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=4873CSwZC6tfZUgE9j6NFQF2OsstQZsO/wnwECYCDHY=; b=iS53upPhNZzhxf0okuwb4JBUoH F6FggMxYM//VyDy9rLEz0Oh9e1p1sgDlzp4iSCeQflQSj0tYL3HJ1XCiEgyQw6heaXd31cneL2Jay cVTG75zI/PiceVWQH3Zzj/UvcZRryP9a9bzLp9pgekKfAO9kVYr9NWTPyDw6BY9Ksol65lpUpvotL DO/60u3cv4kqJ58x7Ujngdc4lI45HM91US8bjy01r4Tgl5I3hUM/vAHPscuFGNcQb9pz1A6/ZlcGi KTJYK3+5oGTlBzHDi2+3uP/Cd3Mr1SYCDyIuMewXMQyF8gpPuOPns3I5eFSn2jcn4khIJhFd/Jhf2 c4qmQyEQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1spb6h-00000001Jii-2wYp; Sat, 14 Sep 2024 22:19:07 +0000 Received: from nyc.source.kernel.org ([147.75.193.91]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1spb3K-00000001JON-0uMs; Sat, 14 Sep 2024 22:15:40 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by nyc.source.kernel.org (Postfix) with ESMTP id 36850A400FD; Sat, 14 Sep 2024 22:15:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CFF7BC4CEC0; Sat, 14 Sep 2024 22:15:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1726352135; bh=CbuOYtL+nJOrUCr5pQsOYq97OPNcveR8zM/nfsn08qY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=VQDKnls003f8BK0pKf1mAStEZ9zE6wsWHaExX8l8zaWXnpDiBsz1jZs7ZttGkqDSa XatEWwLlqGA1c6lCIgeKGcsUk99gpo63jaFqtbfURKCUTk7glOMU4PdvuguR/Rk5xd 008Op3BGEMvHes4BgTBis51CxqO/Q+Lse+BZ0FWM4mdsg0ftYw9+Z70Cm920dhA5Go FQzfzQCtDH1SqvgamYPu9C/Bj8QTuM0ENOBpC+tTr3Pnd4b1Ky+JSApbXwzGyLnIRA gIIWc3a9hlYpEhltsut6EeWj1jdEBP8nCX/uOAHZ6fRNW7M03nXKHVj95BYfODd31K Wt0mM0JoWMGTA== Date: Sat, 14 Sep 2024 23:15:27 +0100 From: Conor Dooley To: Gary Guo Cc: rust-for-linux@vger.kernel.org, Miguel Ojeda , Alice Ryhl , Paul Walmsley , Palmer Dabbelt , Albert Ou , Catalin Marinas , Will Deacon , Ard Biesheuvel , Jamie Cunliffe , Sami Tolvanen , Nathan Chancellor , Kees Cook , Masahiro Yamada , Nicolas Schier , Marc Zyngier , Mark Rutland , Mark Brown , Nick Desaulniers , Miguel Ojeda , Alex Gaynor , Wedson Almeida Filho , Boqun Feng , =?iso-8859-1?Q?Bj=F6rn?= Roy Baron , Benno Lossin , Andreas Hindborg , Valentin Obst , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-riscv Subject: Re: [PATCH v7] rust: support for shadow call stack sanitizer Message-ID: <20240914-romp-clothing-965a16cb4dd4@spud> References: <20240829-shadow-call-stack-v7-1-2f62a4432abf@google.com> <20240913-shack-estate-b376a65921b1@spud> <20240914173037.422902b9.gary@garyguo.net> <20240914-jitters-barber-a0e51e7b83a8@spud> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="aukCVL/k+hWQAKhq" Content-Disposition: inline In-Reply-To: <20240914-jitters-barber-a0e51e7b83a8@spud> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240914_151538_430514_5017FC6E X-CRM114-Status: GOOD ( 12.98 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --aukCVL/k+hWQAKhq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Sep 14, 2024 at 05:46:14PM +0100, Conor Dooley wrote: > On Sat, Sep 14, 2024 at 05:30:37PM +0100, Gary Guo wrote: > > On Fri, 13 Sep 2024 22:17:56 +0100 > > Conor Dooley wrote: >=20 > > > error[E0425]: cannot find function `__mutex_init` in crate `bindings` > > > --> /stuff/linux/rust/kernel/sync/lock/mutex.rs:104:28 =20 > > > | > > > 104 | unsafe { bindings::__mutex_init(ptr, name, key) } > > > | ^^^^^^^^^^^^ help: a function with a s= imilar name exists: `__mutex_rt_init` > > > | > > > ::: /stuff/brsdk/work/linux/rust/bindings/bindings_generated.rs:12907= :5 > > > | > > > 12907 | / pub fn __mutex_rt_init( > > > 12908 | | lock: *mut mutex, > > > 12909 | | name: *const core::ffi::c_char, > > > 12910 | | key: *mut lock_class_key, > > > 12911 | | ); > > > | |_____- similarly named function `__mutex_rt_init` defined here > > >=20 > > > error: aborting due to 1 previous error > > >=20 > >=20 > > Do you have PREEMPT_RT enabled? >=20 > I do indeed. Turned it off, only to find out my board farm is non-functional! Looks fine in QEMU however :) --aukCVL/k+hWQAKhq Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZuYK/wAKCRB4tDGHoIJi 0l1DAQCyyTAltATXfFiGsTKm9k1tm3bo1zh+Ka4em8UHR49XWgD+IOU3xgen2R5l RRhM8jVPdaxa/BqvxrBHgqH4wRX5xgg= =Fb0t -----END PGP SIGNATURE----- --aukCVL/k+hWQAKhq--