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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B80DACCFA05 for ; Fri, 7 Nov 2025 13:03:09 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id ECA8B83D2E; Fri, 7 Nov 2025 14:03:07 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=pschenker.ch Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=pschenker.ch header.i=@pschenker.ch header.b="bQeE2m3V"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8C44183D8A; Fri, 7 Nov 2025 14:03:07 +0100 (CET) Received: from smtp-42ad.mail.infomaniak.ch (smtp-42ad.mail.infomaniak.ch [IPv6:2001:1600:7:10::42ad]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 0235F83CB1 for ; Fri, 7 Nov 2025 14:03:01 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=pschenker.ch Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=dev@pschenker.ch Received: from smtp-4-0001.mail.infomaniak.ch (unknown [IPv6:2001:1600:7:10::a6c]) by smtp-4-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4d2zkY3F0kzkq9; Fri, 7 Nov 2025 14:03:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pschenker.ch; s=20220412; t=1762520581; bh=/446HyDK00CmRbZ1Bb9DnbUjtqthUhlKsmtN3Gtrjds=; h=From:To:Cc:Subject:Date:From; b=bQeE2m3V8edzJZkcMaieDFXAPtDTBMQTAs1HXArWPEAQmdcaY+dw+bj+Rd/W3+r/T TysSAgLCZaTkIY4YyzwyQHzNtBPLzTJHzKl47jZf/mCQvOzos2oV/lRdmUTNmPTUPH fhmTaBVCK4/My13Srl3BB1d/n4Wo/5wv+g13lx/o= Received: from unknown by smtp-4-0001.mail.infomaniak.ch (Postfix) with ESMTPA id 4d2zkX1bvFzQSC; Fri, 7 Nov 2025 14:03:00 +0100 (CET) From: Philippe Schenker To: u-boot@lists.denx.de Cc: stefan@embear.ch, Philippe Schenker , Andrew Davis , Andrew Goodbody , Beleswar Padhi , Daniel Schultz , Hari Nagalla , Judith Mendez , Neha Malcom Francis , Peng Fan , Tom Rini , Ye Li Subject: [PATCH v2 0/6] remoteproc: k3-r5: Build fixes and security improvements Date: Fri, 7 Nov 2025 14:00:59 +0100 Message-ID: <20251107130216.3084134-1-dev@pschenker.ch> X-Mailer: git-send-email 2.51.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Infomaniak-Routing: alpha X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean From: Philippe Schenker This series fixes compilation errors when building for R5 cores and addresses a security issue where authenticated images were not being used correctly. Patch 1: Cosmetic removal of duplicate code Patches 2-3: Fix build errors caused by type mismatches between function signatures and the types used in R5 builds. Patches 4-5: fix a bug where ti_secure_image_post_process() relocates images during authentication, but callers were still using the original unverified addresses. Patch 6: Implements is_running operation to allow querying R5F core status. Changes in v2: - Made sure there are no build-warnings caused by this series. Philippe Schenker (6): arm: dts: k3-am642-evm: Remove duplicate node remoteproc: k3-r5: cast size to size_t soc: ti: pruss: Fix size ptr type in probe mach-k3: security: Propagate verified image addr remoteproc: k3-r5: Use verified image address remoteproc: k3-r5: Implement is_running operation arch/arm/dts/k3-am642-evm-u-boot.dtsi | 4 ---- arch/arm/mach-k3/security.c | 2 ++ drivers/remoteproc/ti_k3_r5f_rproc.c | 23 ++++++++++++++++++++--- drivers/soc/ti/pruss.c | 2 +- 4 files changed, 23 insertions(+), 8 deletions(-) -- 2.51.2 base-commit: ddc916334a7a7e180b532dbb2cf1b778466d2b9b branch: am64x-various-fixes__master