[PATCH 3/3] corstone1000: enable PSCI reset

2023-10-26 Thread abdellatif . elkhlifi
From: Emekcan Aras enable PSCI reset used for the system reset Even though Corstone-1000 does not implement the entire PSCI APIs, it relies on PSCI reset interface for the system reset. Signed-off-by: Emekcan Aras Signed-off-by: Abdellatif El Khlifi --- configs/corstone1000_defconfig | 2 +-

[PATCH 1/3] corstone1000: add compressed kernel support

2023-10-26 Thread abdellatif . elkhlifi
From: Abdellatif El Khlifi unzip the kernel before executing it The Corstone-1000 kernel has become too large to fit in the available storage. Switching to a compressed kernel avoids the problem, but requires uncompressing it. Changes made are generated using savedefconfig. Signed-off-by:

[PATCH 2/3] corstone1000: enable distro booting command

2023-10-26 Thread abdellatif . elkhlifi
From: Abdellatif El Khlifi enable distro_bootcmd Signed-off-by: Abdellatif El Khlifi Signed-off-by: Rui Miguel Silva --- include/configs/corstone1000.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/configs/corstone1000.h b/include/configs/corstone1000.h index

[PATCH 0/3] Corstone-1000: enable platform specific configs

2023-10-26 Thread abdellatif . elkhlifi
From: Abdellatif El Khlifi This patchset enables configs needed by the Corstone-1000 platform. The enabled configs allow the following: - unzip the kernel before executing it (the kernel has become too large to fit in the available storage) - enable distro_bootcmd (needed to boot distros

[PATCH] corstone1000: update maintainers

2023-08-11 Thread abdellatif . elkhlifi
From: Abdellatif El Khlifi Update MAINTAINERS of corstone1000 board. Signed-off-by: Xueliang Zhong Signed-off-by: Abdellatif El Khlifi --- board/armltd/corstone1000/MAINTAINERS | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/armltd/corstone1000/MAINTAINERS

[PATCH v1 1/6] drivers/nvmxip: introduce NVM XIP block storage emulation

2023-01-16 Thread abdellatif . elkhlifi
From: Abdellatif El Khlifi add block storage emulation for NVM XIP flash devices Some paltforms such as Corstone-1000 need to see NVM XIP raw flash as a block storage device with read only capability. Here NVM flash devices are devices with addressable memory (e.g: QSPI NOR flash). The

[PATCH v1 6/6] sandbox64: add a test case for UCLASS_NVMXIP

2023-01-16 Thread abdellatif . elkhlifi
From: Abdellatif El Khlifi provide a test for NVM XIP devices The test case allows to make sure of the following: - The NVM XIP QSPI devices are probed - The DT entries are read correctly - the data read from the flash by the NVMXIP block driver is correct Signed-off-by: Abdellatif El Khlifi

[PATCH v1 4/6] corstone1000: add NVM XIP QSPI device tree node

2023-01-16 Thread abdellatif . elkhlifi
From: Abdellatif El Khlifi add QSPI flash device node for block storage access Signed-off-by: Abdellatif El Khlifi --- arch/arm/dts/corstone1000.dtsi | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/corstone1000.dtsi b/arch/arm/dts/corstone1000.dtsi

[PATCH v1 3/6] sandbox64: add support for NVMXIP QSPI

2023-01-16 Thread abdellatif . elkhlifi
From: Abdellatif El Khlifi enable NVMXIP QSPI for sandbox 64-bit Adding two NVM XIP QSPI storage devices. Signed-off-by: Abdellatif El Khlifi --- arch/sandbox/dts/sandbox64.dts | 13 + arch/sandbox/dts/test.dts | 14 ++ configs/sandbox64_defconfig| 1 +

[PATCH v1 5/6] corstone1000: enable NVM XIP QSPI flash

2023-01-16 Thread abdellatif . elkhlifi
From: Abdellatif El Khlifi add the QSPI flash device with block storage capability Signed-off-by: Abdellatif El Khlifi --- configs/corstone1000_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/corstone1000_defconfig b/configs/corstone1000_defconfig index

[PATCH v1 0/6] introduce NVM XIP block storage emulation

2023-01-16 Thread abdellatif . elkhlifi
From: Abdellatif El Khlifi Adding block storage emulation for NVM XIP flash devices. Some paltforms such as Corstone-1000 need to see NVM XIP raw flash as a block storage device with read only capability. Here NVM flash devices are devices with addressable memory (e.g: QSPI NOR flash). The

[PATCH v1 2/6] sandbox64: fix: return unsigned long in readq()

2023-01-16 Thread abdellatif . elkhlifi
From: Abdellatif El Khlifi make readq return unsigned long readq should return 64-bit data Signed-off-by: Abdellatif El Khlifi --- arch/sandbox/cpu/cpu.c| 2 +- arch/sandbox/include/asm/io.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/sandbox/cpu/cpu.c

[PATCH v2 6/6] arm_ffa: introduce FF-A MM communication

2022-04-15 Thread abdellatif . elkhlifi
From: Abdellatif El Khlifi Add MM communication support using FF-A transport FF-A MM communication allows exchanging data with StandAlonneMM or smm-gateway secure partitions which run in OP-TEE. An MM shared buffer and a door bell event are used to exchange this data. The data is used by EFI

[PATCH v2 5/6] arm_ffa: introduce armffa command Sandbox test

2022-04-15 Thread abdellatif . elkhlifi
From: Abdellatif El Khlifi Add Sandbox test for the armffa command Signed-off-by: Abdellatif El Khlifi --- MAINTAINERS | 2 ++ test/cmd/Makefile | 1 + test/cmd/armffa.c | 33 + test/cmd/armffa.h | 13 + 4 files changed, 49 insertions(+)

[PATCH v2 4/6] arm_ffa: introduce Sandbox test cases for UCLASS_FFA

2022-04-15 Thread abdellatif . elkhlifi
From: Abdellatif El Khlifi Add functional test cases for the FF-A core driver These tests rely on the FF-A Sandbox driver which helps in inspecting the FF-A core driver. Signed-off-by: Abdellatif El Khlifi --- MAINTAINERS | 2 + test/dm/Makefile | 1 + test/dm/ffa.c| 418

[PATCH v2 3/6] arm_ffa: introduce the FF-A Sandbox driver

2022-04-15 Thread abdellatif . elkhlifi
From: Abdellatif El Khlifi Provide a Sandbox driver to emulate the FF-A ABIs The emulated ABIs are those supported by the FF-A core driver and according to FF-A specification v1.0. The Sandbox driver provides operations allowing the test application to read the status of all the inspected ABIs

[PATCH v2 2/6] arm_ffa: introduce armffa command

2022-04-15 Thread abdellatif . elkhlifi
From: Abdellatif El Khlifi Provide armffa command showcasing the use of the FF-A driver The armffa command allows to query secure partitions data from the secure world and exchanging messages with the partitions. Signed-off-by: Abdellatif El Khlifi --- MAINTAINERS | 1 +

[PATCH v2 1/6] arm_ffa: introduce Arm FF-A low-level driver

2022-04-15 Thread abdellatif . elkhlifi
From: Abdellatif El Khlifi Add the driver implementing Arm Firmware Framework for Armv8-A v1.0 The Firmware Framework for Arm A-profile processors (FF-A) describes interfaces (ABIs) that standardize communication between the Secure World and Normal World leveraging TrustZone technology. This

[PATCH v2 0/6] introduce Arm FF-A support

2022-04-15 Thread abdellatif . elkhlifi
From: Abdellatif El Khlifi This patchset adds support for Arm FF-A (Arm Firmware Framework for Armv8-A v1.0). FF-A support is generic by design and can be used by any Arm platform. The features added are as follows: 1/ FF-A bus driver 2/ armffa command 3/ FF-A Sandbox driver 4/ FF-A

[PATCH 3/6] arm_ffa: introduce the FF-A Sandbox driver

2022-03-29 Thread abdellatif . elkhlifi
From: Abdellatif El Khlifi Provide a Sandbox driver to emulate the FF-A ABIs The emulated ABIs are those supported by the FF-A core driver and according to FF-A specification v1.0. The Sandbox driver provides operations allowing the test application to read the status of all the inspected ABIs

[PATCH 6/6] arm_ffa: introduce FF-A MM communication

2022-03-29 Thread abdellatif . elkhlifi
From: Abdellatif El Khlifi Add MM communication support using FF-A transport FF-A MM communication allows exchanging data with StandAlonneMM or smm-gateway secure partitions which run in OP-TEE. An MM shared buffer and a door bell event are used to exchange this data. The data is used by EFI

[PATCH 1/6] arm_ffa: introduce Arm FF-A low-level driver

2022-03-29 Thread abdellatif . elkhlifi
From: Abdellatif El Khlifi Add the driver implementing Arm Firmware Framework for Armv8-A v1.0 The Firmware Framework for Arm A-profile processors (FF-A) describes interfaces (ABIs) that standardize communication between the Secure World and Normal World leveraging TrustZone technology. This

[PATCH 4/6] arm_ffa: introduce Sandbox test cases for UCLASS_FFA

2022-03-29 Thread abdellatif . elkhlifi
From: Abdellatif El Khlifi Add functional test cases for the FF-A core driver These tests rely on the FF-A Sandbox driver which helps in inspecting the FF-A core driver. Signed-off-by: Abdellatif El Khlifi Cc: Tom Rini --- MAINTAINERS | 2 + test/dm/Makefile | 1 + test/dm/ffa.c

[PATCH 5/6] arm_ffa: introduce armffa command Sandbox test

2022-03-29 Thread abdellatif . elkhlifi
From: Abdellatif El Khlifi Add Sandbox test for the armffa command Signed-off-by: Abdellatif El Khlifi Cc: Tom Rini --- MAINTAINERS | 2 ++ test/cmd/Makefile | 1 + test/cmd/armffa.c | 33 + test/cmd/armffa.h | 13 + 4 files changed, 49

[PATCH 2/6] arm_ffa: introduce armffa command

2022-03-29 Thread abdellatif . elkhlifi
From: Abdellatif El Khlifi Provide armffa command showcasing the use of the FF-A driver The armffa command allows to query secure partitions data from the secure world and exchanging messages with the partitions. Signed-off-by: Abdellatif El Khlifi Cc: Tom Rini --- MAINTAINERS |

[PATCH 0/6] introduce Arm FF-A support

2022-03-29 Thread abdellatif . elkhlifi
From: Abdellatif El Khlifi This patchset adds support for Arm FF-A (Arm Firmware Framework for Armv8-A v1.0). FF-A support is generic by design and can be used by any Arm platform. The features added are as follows: 1/ FF-A device driver 2/ armffa command 3/ FF-A Sandbox driver 4/ FF-A