Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions Documentation/devicetree/bindings/arm/arm,lfa.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/arm/arm,lfa.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Arm Live Firmware Activation (LFA)

maintainers:
- Andre Przywara <andre.przywara@arm.com>
- Sudeep Holla <sudeep.holla@arm.com>

description:
The Arm Live Firmware Activation (LFA) specification [1] describes a
firmware interface to activate an updated firmware at runtime, without
requiring a reboot. Updates might be supplied out-of-band, for instance
via a BMC, in which case the platform needs to notify an OS about pending
image updates.
[1] https://developer.arm.com/documentation/den0147/latest/

properties:
compatible:
const: arm,lfa

interrupts:
maxItems: 1
description: notification interrupt for changed firmware image status

required:
- compatible
- interrupts

additionalProperties: false

examples:
- |
#include <dt-bindings/interrupt-controller/arm-gic.h>

firmware {
arm-lfa {
compatible = "arm,lfa";
interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>;
};
};
...
8 changes: 5 additions & 3 deletions drivers/firmware/smccc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@ config ARM_SMCCC_SOC_ID

config ARM_LFA
tristate "Arm Live Firmware activation support"
depends on HAVE_ARM_SMCCC_DISCOVERY
depends on HAVE_ARM_SMCCC_DISCOVERY && ARM64
default y
help
Include support for triggering Live Firmware Activation, which
allows to upgrade certain firmware components without a reboot.
Include support for triggering a Live Firmware Activation (LFA),
which allows to upgrade certain firmware components without a reboot.
This is described in the Arm DEN0147 specification, and relies on
a firmware agent running in EL3.
Loading
Loading