Hi,
This is a small series adding various firmware-related options to the Morello defconfig. These options work out of the box in PCuABI (no build or runtime issue).
Patch 1 is useful to inspect the EFI configuration on a live system, and is used by tools like bootctl (systemd-boot).
Patch 2 enables the DPU to be successfully probed when using the firmware-provided device tree (part of upstream TF-A), as it relies on the DPU clock being provided by SCMI. This should be useful for controlling other functionalities as well (e.g. power management).
Review branch:
https://git.morello-project.org/kbrodsky-arm/linux/-/commits/morello/defconf...
Thanks, Kevin
Kevin Brodsky (2): arm64: morello: Enable EFIVAR_FS in defconfig arm64: morello: Enable SCMI in defconfig
arch/arm64/configs/morello_transitional_pcuabi_defconfig | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
efivarfs is useful for inspecting EFI variables and is automatically mounted by systemd if supported (/sys/firmware/efi/efivars/). It builds just fine in PCuABI, and is part of the standard arm64 defconfig, so let's add it to the Morello one too.
Signed-off-by: Kevin Brodsky kevin.brodsky@arm.com --- arch/arm64/configs/morello_transitional_pcuabi_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/configs/morello_transitional_pcuabi_defconfig b/arch/arm64/configs/morello_transitional_pcuabi_defconfig index 6291231b8d9c..655ca13e2f99 100644 --- a/arch/arm64/configs/morello_transitional_pcuabi_defconfig +++ b/arch/arm64/configs/morello_transitional_pcuabi_defconfig @@ -143,7 +143,7 @@ CONFIG_VFAT_FS=y CONFIG_PROC_KCORE=y CONFIG_TMPFS=y CONFIG_HUGETLBFS=y -# CONFIG_EFIVAR_FS is not set +CONFIG_EFIVAR_FS=y CONFIG_NFS_FS=y CONFIG_ROOT_NFS=y CONFIG_9P_FS=y
SCMI is used to communicate and obtain various information from the firmware, notably clock timings, which some device trees may rely on. Enable the required options, including transport layers (mailbox), for SCMI to work on the Morello board.
Signed-off-by: Kevin Brodsky kevin.brodsky@arm.com --- arch/arm64/configs/morello_transitional_pcuabi_defconfig | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/arch/arm64/configs/morello_transitional_pcuabi_defconfig b/arch/arm64/configs/morello_transitional_pcuabi_defconfig index 655ca13e2f99..651371adb755 100644 --- a/arch/arm64/configs/morello_transitional_pcuabi_defconfig +++ b/arch/arm64/configs/morello_transitional_pcuabi_defconfig @@ -83,6 +83,7 @@ CONFIG_PCI=y CONFIG_PCI_HOST_GENERIC=y CONFIG_DEVTMPFS=y CONFIG_DEVTMPFS_MOUNT=y +CONFIG_ARM_SCMI_PROTOCOL=y CONFIG_EFI_CAPSULE_LOADER=y CONFIG_BLK_DEV_LOOP=y CONFIG_VIRTIO_BLK=y @@ -129,6 +130,10 @@ CONFIG_MMC_ARMMMCI=y CONFIG_RTC_CLASS=y CONFIG_RTC_DRV_EFI=y CONFIG_VIRTIO_MMIO=y +CONFIG_COMMON_CLK_SCMI=y +CONFIG_MAILBOX=y +CONFIG_ARM_MHU=y +CONFIG_PLATFORM_MHU=y CONFIG_ARM_SMMU_V3=y CONFIG_MEMORY=y CONFIG_ARM_SPE_PMU=y
On 3/26/24 12:22 PM, Kevin Brodsky wrote:
Hi,
This is a small series adding various firmware-related options to the Morello defconfig. These options work out of the box in PCuABI (no build or runtime issue).
Patch 1 is useful to inspect the EFI configuration on a live system, and is used by tools like bootctl (systemd-boot).
Patch 2 enables the DPU to be successfully probed when using the firmware-provided device tree (part of upstream TF-A), as it relies on the DPU clock being provided by SCMI. This should be useful for controlling other functionalities as well (e.g. power management).
Review branch:
https://git.morello-project.org/kbrodsky-arm/linux/-/commits/morello/defconf...
Thanks, Kevin
Kevin Brodsky (2): arm64: morello: Enable EFIVAR_FS in defconfig arm64: morello: Enable SCMI in defconfig
arch/arm64/configs/morello_transitional_pcuabi_defconfig | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
+1 to this series - i see no potential issues here.
On 05/04/2024 15:34, Carsten Haitzler wrote:
On 3/26/24 12:22 PM, Kevin Brodsky wrote:
Hi,
This is a small series adding various firmware-related options to the Morello defconfig. These options work out of the box in PCuABI (no build or runtime issue).
Patch 1 is useful to inspect the EFI configuration on a live system, and is used by tools like bootctl (systemd-boot).
Patch 2 enables the DPU to be successfully probed when using the firmware-provided device tree (part of upstream TF-A), as it relies on the DPU clock being provided by SCMI. This should be useful for controlling other functionalities as well (e.g. power management).
Review branch:
https://git.morello-project.org/kbrodsky-arm/linux/-/commits/morello/defconf...
Thanks, Kevin
Kevin Brodsky (2): arm64: morello: Enable EFIVAR_FS in defconfig arm64: morello: Enable SCMI in defconfig
arch/arm64/configs/morello_transitional_pcuabi_defconfig | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
+1 to this series - i see no potential issues here.
Thanks for taking a look. Now in next.
Kevin
linux-morello@op-lists.linaro.org