From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.223.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3D6A538A700 for ; Tue, 14 Jul 2026 11:52:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.135.223.130 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784029979; cv=none; b=sts85r2toZ3yR7Q0l+oz9AgFwViJ54HgKgjg3KNax7Ss8l/UKlCHoD7IhKcWmC2IFQacr1VKarAPWwejTHHR3PePTd1Cgm5oJnzLeJdhNgHqcyzXcpP7cvN3ZlVtyaNj4EyEVGxY++X1KV4jrtiHmZSusohdKTn84gI2O2QOv8c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784029979; c=relaxed/simple; bh=q62MG/KZnFtxq0b7Jy3yHW3PGTLF9Pt17ZkpVcdzoX0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=HQcDH5MmH9cjFoS3F0fcINuoWKJuRTRjfyiVDJd3E/YuRIK3idb40cO835apNNx/j34Imtz7EqWsDGxzTUmyNsEXVTe19YT7uF//eA87bC09kp2wIDonQ4kFr3hZjKZ9tY3h305h+uHibFpUJntZM4jywr3ULUYvfbTeO/IjJZo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=suse.de; spf=pass smtp.mailfrom=suse.de; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b=1V5YCDK1; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b=72W64q08; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b=1V5YCDK1; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b=72W64q08; arc=none smtp.client-ip=195.135.223.130 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="1V5YCDK1"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="72W64q08"; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="1V5YCDK1"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="72W64q08" Received: from kunlun.suse.cz (unknown [IPv6:2a07:de40:b306:2000::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 27F0D77E49; Tue, 14 Jul 2026 11:52:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1784029976; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/arxFu0AfWl5VKJfwYtAIB0ze2CiMONt1SfavfBwTcc=; b=1V5YCDK1E9WAmMcZbM4dTaBj5YSZQY0MdPJCDn05bnQi+scYeXcLmKPgJ50aU0gZMzFPPd lEKHgSKoFTt9/1j3+I8cFgpefGOm14/hS1Mys2OE/QaxCYTDfrB6+HWLa0R4rOeRu7zkhQ MxqP4LEqj8UdPYuFmHQJYWkp+VRY938= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1784029976; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/arxFu0AfWl5VKJfwYtAIB0ze2CiMONt1SfavfBwTcc=; b=72W64q08AWUN8gzE3h+nMI8Xu2c5ClDSnYmLwAXd/4poFfEQeEJ15hkGSkvAZkFMqCA71J ahS/STSnnltMr3Bw== Authentication-Results: smtp-out1.suse.de; dkim=pass header.d=suse.de header.s=susede2_rsa header.b=1V5YCDK1; dkim=pass header.d=suse.de header.s=susede2_ed25519 header.b=72W64q08 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1784029976; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/arxFu0AfWl5VKJfwYtAIB0ze2CiMONt1SfavfBwTcc=; b=1V5YCDK1E9WAmMcZbM4dTaBj5YSZQY0MdPJCDn05bnQi+scYeXcLmKPgJ50aU0gZMzFPPd lEKHgSKoFTt9/1j3+I8cFgpefGOm14/hS1Mys2OE/QaxCYTDfrB6+HWLa0R4rOeRu7zkhQ MxqP4LEqj8UdPYuFmHQJYWkp+VRY938= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1784029976; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/arxFu0AfWl5VKJfwYtAIB0ze2CiMONt1SfavfBwTcc=; b=72W64q08AWUN8gzE3h+nMI8Xu2c5ClDSnYmLwAXd/4poFfEQeEJ15hkGSkvAZkFMqCA71J ahS/STSnnltMr3Bw== Date: Tue, 14 Jul 2026 13:52:55 +0200 From: Michal =?iso-8859-1?Q?Such=E1nek?= To: Andre Przywara Cc: Mark Rutland , Lorenzo Pieralisi , Sudeep Holla , Conor Dooley , vsethi@nvidia.com, Salman Nabi , Rob Herring , linux-kernel@vger.kernel.org, Varun Wadekar , Trilok Soni , devicetree@vger.kernel.org, Nirmoy Das , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v3 0/8] Arm Live Firmware Activation (LFA) support Message-ID: References: <20260706134455.132091-1-andre.przywara@arm.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Flag: YES X-Rspamd-Action: add header X-Spam-Level: *************** X-Rspamd-Server: rspamd2.dmz-prg2.suse.org X-Spamd-Result: default: False [15.68 / 50.00]; SPAM_FLAG(5.00)[]; NEURAL_SPAM_LONG(3.50)[1.000]; BAYES_HAM(-3.00)[100.00%]; HFILTER_HOSTNAME_UNKNOWN(2.50)[]; RDNS_NONE(2.00)[]; NEURAL_SPAM_SHORT(1.99)[0.665]; SUSPICIOUS_RECIPS(1.50)[]; ONCE_RECEIVED(1.20)[]; HFILTER_HELO_IP_A(1.00)[kunlun.suse.cz]; HFILTER_HELO_NORES_A_OR_MX(0.30)[kunlun.suse.cz]; R_DKIM_ALLOW(-0.20)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; MIME_GOOD(-0.10)[text/plain]; MX_GOOD(-0.01)[]; FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_TWELVE(0.00)[15]; FUZZY_RATELIMITED(0.00)[rspamd.com]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; DKIM_TRACE(0.00)[suse.de:+]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TAGGED_RCPT(0.00)[dt]; MISSING_XM_UA(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]; DNSWL_BLOCKED(0.00)[2a07:de40:b306:2000::2:from]; TO_DN_SOME(0.00)[]; DBL_BLOCKED_OPENRESOLVER(0.00)[suse.de:dkim] X-Spamd-Bar: +++++++++++++++ X-Rspamd-Queue-Id: 27F0D77E49 X-Spam-Score: 15.68 X-Spam: Yes On Mon, Jul 13, 2026 at 06:02:35PM +0200, Michal Suchánek wrote: > On Mon, Jul 06, 2026 at 03:44:40PM +0200, Andre Przywara wrote: > > Hi all, > > > > this is version 3 of the Live Firmware Activation kernel support. The > > device part of the code now relies on Aneesh's SMCCC bus patches[1], > > which solves some problems rather nicely. I also added the formerly > > missing sysfs ABI documentation. Based on v7.2-rc1, plus the first > > two patches from Aneesh's series. More detailed changelog below. > > ============================== > > > > This series implements the kernel side support of the Arm Live > > Firmware Activation (LFA) specification [2]. LFA enables the activation > > of updated firmware components without requiring a system reboot, > > reducing downtime and allowing quicker deployment of critical bug fixes > > in environments such as data centers and hyperscale systems. > > It requires explicit firmware support, both via an agent running in EL3 > > (for instance in TF-A, already merged), but also in the firmware > > component to be activated. TF-RMM recently merged support for this. > > > > Unlike the usual firmware update process (which may use tools like > > fwupd), LFA focuses solely on the activation of an already updated > > firmware component, called "pending activation" in LFA lingo. This works > > by signalling the LFA agent (part of the EL3 runtime firmware) via an > > SMC call, which then does the heavy lifting of the live update, in > > cooperation with the to-be-updated firmware component. > > > > Key features of the driver: > > * Detects LFA support in system firmware (EL3). > > * Lists all firmware components that support live activation, identified > > by their GUID. > > * Exposes component attributes (e.g., activation capability, and > > activation pending) via sysfs under /sys/firmware/lfa//. > > * Provides interfaces to: > > - Trigger activation of an updated firmware component. > > - Cancel an ongoing activation if required. > > A more detailed list of features can be found in patch 2/8. > > Based on v7.2-rc1. > > > > This work is conceptually similar to Intel’s Platform Firmware Runtime > > Update and telemetry (PFRUT) [3] and TDX module updates [4], but > > targets Arm platforms. The driver has been used to successfully activate > > a Realm Management Monitor (RMM) firmware image in a controlled test > > environment. RMM is analogous to Intel’s TDX module. > > > > There is effort on similar work from the OCP [5]. Future work may > > include integration with utilities like fwupd to automatically select > > the appropriate driver, based on platform architecture, for Live/Runtime > > firmware updates. > > > > Please have a look, test and comment! > > Hello, > > booting a kernel with v2 of this patchset applied the module does not > get autoloaded. Loading it manually I get > > [ 1972.957282] [ T5195] Arm LFA: Live Firmware Activation: detected v1.0 > [ 1972.958620] [ T5195] Arm LFA: registered LFA ACPI notification > > Is this expected? > > I would expect the driver to load automatically. > > I do not see anything in the v3 changelog obviously addressing > autoloading but changing to using a bus might affect that. > > I will try to update to v3 later. Hello, updating to v3 of the patchset resolves the problem. The driver is now autoloaded. Thanks Michal