From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=198.54.127.76 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1794855019; b=FdrboEFa99qSudJIR+bhzTFGe4KbHDhsWVC2VxvbpAyCF7rRZ4KZiBWgOb/vttydzelY wRQpovyYyJzO3tfV9VuVVervLxS7vWmsKKls0LHhbx85NwALd8qVqWbHDXWALWEV9bIkt ooWkmio/Dc1W2FP5+yLA1zOmshws3MXg9booLNjWsyETixMvBykRd5OwFum1Cb264DZ75 8VFir/wYFf0F5GfrD/rZ9LHpJ1TsQ0C2TclAuL3LGhV3MIRQV4TgS9DhDkvFClbvd9vH7 GbwXU2PnvRN5+MVYBm7ztcASCLnLxcslfM1jF3r7nJUpBIjTxNRe7UtsB43yZr6RMMA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794855019; h=DMARC-Filter:Received:DKIM-Signature:From:To:Cc:Subject:Date: Message-ID:X-Mailer:In-Reply-To:References:MIME-Version: Content-Transfer-Encoding:X-Envelope-From; bh=DCHZYaWu1dPZB8pm/wvMR3k7jNPsdPLwrum599FCVB8=; b=AgIYabYYeCo38jCV2dz3+QOwwNc5GyIs31NuNjbmca6bxFkgWvQO0umlC8R2QzbXk245 fNfL8uNWLjzqyy7OIetmooVK3+FLMRuX1+s9AHjuxwiMOtjtT6GTigbBzmYgoeytEQpT1 nlcSocg7pNNOHZ6F27OxF0Lswl0EmPmxFdhcJKpyGcnXMvrT82trF1pxQUpY0vx7jGhrQ vF9sfqrYohKBVTfmKeV4Ok1kpg2YxroChrpM7RTHQNT82ETfzJ8PgLbD7M0Wsj0/N9Isf /z7L5DttcHSv41EwGA2gJP00dI1hIexFaGpoXkjzGd8WihVBfT9CKkIYLM487q5bxvw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=chrispinetinega.com; spf=pass smtp.mailfrom=chrispinetinega.com; dkim=pass header.d=chrispinetinega.com header.i=@chrispinetinega.com header.a=rsa-sha256 header.s=default header.b=j8mkQfv2; arc=none smtp.remote-ip=198.54.127.76 Received: from out-zbxj-a76.jellyfish.systems (out-zbxj-a76.jellyfish.systems [198.54.127.76]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2DB00606A332 for ; Mon, 16 Nov 2026 18:50:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 2DB00606A332 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chrispinetinega.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chrispinetinega.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=chrispinetinega.com header.i=@chrispinetinega.com header.a=rsa-sha256 header.s=default header.b=j8mkQfv2 Received: from mail.privateemail.com (unknown [62.8.90.37]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.privateemail.com (Postfix) with ESMTPSA id 4jSxkR4JYJz8sWT; Mon, 16 Nov 2026 18:50:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chrispinetinega.com; s=default; t=1794855010; bh=DCHZYaWu1dPZB8pm/wvMR3k7jNPsdPLwrum599FCVB8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=j8mkQfv2gol86ZQEATbWhu1dpi+BqUU1TMS0NiBuvlys4MF91uYUMhTOp3W7sGNLA MdULthcG8wmfGWSHbWwLeC8lby3TgYgkWLEX0cZ0iHIhHo+4+5/iZJ0Edo9KBp85u2 +3a/6jyGVugx9KK2gGn+sOBrcFor3+81+HL1taIcdeE9fcl2iJT1ig0pVNg1aC7EnI Bi7PVX6/j8sYnWNb6k4UgyFZKd+Tt5KbJM4KTXM260qXPa0VTgXsJqdLB0WrFI/04Q Ccnq0hHbXzZaFBalG+EFerEYhg0z/z6vaCYFg0jNOJXjN5mUVP3gctEVFiAgRVnL9P m5fwXYraCbVpg== From: Chrispine Tinega To: francesco@valla.it Cc: andersson@kernel.org, mathieu.poirier@linaro.org, linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, Chrispine Tinega Subject: Re: [PATCH 0/2] remoteproc: k3: Recover a crashed remote core Date: Mon, 16 Nov 2026 21:50:00 +0300 Message-ID: <20261116185000.1900725-1-dev@chrispinetinega.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: References: <20261109160431.720498-1-dev@chrispinetinega.com> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Envelope-From: dev@chrispinetinega.com Hi Francesco, On Sun, Nov 15, 2026 at 10:11:01PM +0100, Francesco Valla wrote: > An update on this. Recovery is definitley _not_ working on R5F remote > cores in case of crash, because the reset action that is required from > them to re-start correctly is in do_unprepare(), which the recovery > action does not call (while sysfs does). This is of course out of the > scope of your patch set, but has to be considered (maybe deserves a > note in the commit message?). Thank you for tracking that down. I agree it deserves a note. In v2 the commit message of patch 1 says that recovery cannot yet restart an R5F, because the reset it needs is applied in unprepare(), which sysfs stop calls and recovery does not. The R5F driver keeps recovery disabled, so the series does not change what happens there: the core moves to "crashed" and can be restarted through sysfs. Making recovery work on the R5F, by doing that reset on the recovery path too, seems like a separate series. I am happy to look at it after this one. v2 also drops the duplicate crash print, as you suggested. I have just sent it: https://lore.kernel.org/all/20261116184146.1897281-1-dev@chrispinetinega.com/ A Tested-by on v2 for patch 1 on the R5F would be very welcome. Thanks, Chrispine