Re: [PATCH v3 17/24] fwu_arm_psa: Add ESRT support

2025-07-25 Thread Abdellatif El Khlifi
Hi Michal, > > > On 7/21/25 13:18, abdellatif.elkhl...@arm.com wrote: > > From: Abdellatif El Khlifi > > > > Read ESRT data from Secure world in GetImageInfo() > > > > Use FWU_READ_STREAM ABI to read ESRT data from Secure world. > > > > S

Re: [PATCH v2 01/25] arm_ffa: Remove NULL pointer check for ops

2025-07-21 Thread Abdellatif El Khlifi
Hi Michal, > pá 11. 7. 2025 v 16:49 odesílatel napsal: > > > > From: Abdellatif El Khlifi > > > > Remove NULL pointer check for ops > > > > uclasses that use ops typically don't check for NULL. > > > > Signed-off-by: Abdellatif El Khlifi

Re: [PATCH 25/25] fwu_arm_psa: Document FWU support for Arm PSA

2025-07-10 Thread Abdellatif El Khlifi
Hi Michal, > > > On 7/2/25 17:25, abdellatif.elkhl...@arm.com wrote: > > From: Abdellatif El Khlifi > > > > Add a README > > > > Signed-off-by: Abdellatif El Khlifi > > Signed-off-by: Davidson kumaresan > > Cc: Heinrich Schuchardt &g

Re: [PATCH 25/25] fwu_arm_psa: Document FWU support for Arm PSA

2025-07-10 Thread Abdellatif El Khlifi
Hi Heinrich, > On 02.07.25 17:25, abdellatif.elkhl...@arm.com wrote: > > From: Abdellatif El Khlifi > > > > Add a README > > > > Signed-off-by: Abdellatif El Khlifi > > Signed-off-by: Davidson kumaresan > > Cc: Heinrich Schuchardt > >

Re: [PATCH 0/8] arm_ffa: Add FFA_MEM_SHARE and FFA_MEM_RECLAIM support

2024-11-20 Thread Abdellatif El Khlifi
Hi Tom, I'm happy to address your review comments and make the patchset meets your expectations. Please feel free to give a feedback and I'll be addressing that ASAP. Cheers Abdellatif On Thu, Nov 07, 2024 at 03:33:11PM +, Abdellatif El Khlifi wrote: > Hi Simon, Tom, > >

Re: [PATCH 0/8] arm_ffa: Add FFA_MEM_SHARE and FFA_MEM_RECLAIM support

2024-11-07 Thread Abdellatif El Khlifi
]: commit cc2195fe536c28e192df5d07e6dd277af36814b4 > Files: drivers/firmware/arm_ffa/driver.c , include/linux/arm_ffa.h > > Cc: Tom Rini > Cc: Simon Glass > Cc: Ilias Apalodimas > Cc: Jens Wiklander > Cc: Achin Gupta > Cc: Drew Reed > Cc: Hugues Kamba Mpia

Re: [PATCH 3/8] arm_ffa: Add FFA_MEM_RECLAIM support

2024-11-04 Thread Abdellatif El Khlifi
Hi Ilias, > > +/** > > + * ffa_memory_reclaim_hdlr() - FFA_MEM_RECLAIM handler function > > + * @dev: The FF-A bus device > > + * @g_handle: The memory region globally unique Handle > > + * @flags: Zero memory and time slicing flags > > + * > > + * Implement FFA_MEM_RECLAIM FF-A function > > + * t

Re: [PATCH v4 02/23] nvmxip: Avoid probing on boot

2024-09-12 Thread Abdellatif El Khlifi
Hi Simon, Tom, > > > Devices should be probed when they are used, not before. Drop this > > > boot-time probing. > > > > > > Signed-off-by: Simon Glass > > > --- > > > > > > (no changes since v1) > > > > > > drivers/mtd/nvmxip/nvmxip-uclass.c | 7 --- > > > 1 file changed, 7 deletions(-) > >

Re: [PATCH v3 1/3] firmware: psci: Fix bind_smccc_features psci check

2024-02-01 Thread Abdellatif El Khlifi
Hi Weizhao, > - if (request_psci_features(ARM_SMCCC_ARCH_FEATURES) == > + if (request_psci_features(ARM_SMCCC_VERSION) == > PSCI_RET_NOT_SUPPORTED) > return 0; > > + if (invoke_psci_fn(ARM_SMCCC_VERSION, 0, 0, 0) < ARM_SMCCC_VERSION_1_1) > + return

Re: [PATCH 1/3] firmware: psci: Fix bind_smccc_features psci check

2024-01-26 Thread Abdellatif El Khlifi
Hi Weizhao, On Thu, Jan 25, 2024 at 02:05:00PM +, Weizhao Ouyang wrote: > According to PSCI specification DEN0022F, PSCI_FEATURES is used to check > whether the SMCCC is implemented by discovering SMCCC_VERSION. > > Signed-off-by: Weizhao Ouyang > --- > drivers/firmware/psci.c | 2 +- > i

Re: Adding EFI runtime support to the Arm's FF-A bus

2024-01-08 Thread Abdellatif El Khlifi
Hi Ilias, Heinrich On Mon, Jan 08, 2024 at 04:35:59PM +0200, Ilias Apalodimas wrote: > On Mon, 8 Jan 2024 at 16:32, Heinrich Schuchardt wrote: > > > > On 08.01.24 15:12, Abdellatif El Khlifi wrote: > > > Happy new year Ilias, > > > > > > On Mon, Dec 1

Re: Adding EFI runtime support to the Arm's FF-A bus

2024-01-08 Thread Abdellatif El Khlifi
Happy new year Ilias, On Mon, Dec 18, 2023 at 04:59:09PM +, Abdellatif El Khlifi wrote: > Hi Ilias > > On Thu, Dec 14, 2023 at 09:47:13PM +0200, Ilias Apalodimas wrote: > > Hi Mark, Abdellatif > > > > On Thu, 14 Dec 2023 at 18:47, Mark Kettenis wrote: > >

Re: Adding EFI runtime support to the Arm's FF-A bus

2023-12-19 Thread Abdellatif El Khlifi
llatif > >> > >> On Thu, 14 Dec 2023 at 18:47, Mark Kettenis > >> wrote: > >> > > >> > > Date: Thu, 14 Dec 2023 15:53:46 + > >> > > From: Abdellatif El Khlifi > >> > > >> > Hi Abdellatif, > >

Re: Adding EFI runtime support to the Arm's FF-A bus

2023-12-18 Thread Abdellatif El Khlifi
Hi Mark, On Thu, Dec 14, 2023 at 05:47:42PM +0100, Mark Kettenis wrote: > > Date: Thu, 14 Dec 2023 15:53:46 + > > From: Abdellatif El Khlifi > > Hi Abdellatif, > > > Hi guys, > > > > I'd like to ask for advice regarding adding EFI RT supp

Re: Adding EFI runtime support to the Arm's FF-A bus

2023-12-18 Thread Abdellatif El Khlifi
Hi Ilias On Thu, Dec 14, 2023 at 09:47:13PM +0200, Ilias Apalodimas wrote: > Hi Mark, Abdellatif > > On Thu, 14 Dec 2023 at 18:47, Mark Kettenis wrote: > > > > > Date: Thu, 14 Dec 2023 15:53:46 +0000 > > > From: Abdellatif El Khlifi > > > > Hi A

Adding EFI runtime support to the Arm's FF-A bus

2023-12-14 Thread Abdellatif El Khlifi
Hi guys, I'd like to ask for advice regarding adding EFI RT support to the Arm's FF-A bus in U-Boot. The objective is to enable the FF-A messaging APIs in EFI RT to be used for comms with the secure world. This will help getting/setting EFI variables through FF-A. The existing FF-A APIs in U-Boo

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

2023-11-01 Thread Abdellatif El Khlifi
Hi Tom, > On Thu, Oct 26, 2023 at 01:50:49PM +0100, abdellatif.elkhl...@arm.com wrote: > > > From: Abdellatif El Khlifi > > > > unzip the kernel before executing it > > > > The Corstone-1000 kernel has become too large to fit in the available > >

Re: Fwd: New Defects reported by Coverity Scan for Das U-Boot

2023-10-31 Thread Abdellatif El Khlifi
Hi Tom, > > > > > > > > > > *** CID 464361: Control flow issues (DEADCODE) > > > > > /drivers/firmware/arm-ffa/arm-ffa-uclass.c: 148 in > > > > > ffa_print_error_log() > > > > > 142 > > > >

Re: Fwd: New Defects reported by Coverity Scan for Das U-Boot

2023-10-25 Thread Abdellatif El Khlifi
Hi Tom, > > > > > > *** CID 464361: Control flow issues (DEADCODE) > > > /drivers/firmware/arm-ffa/arm-ffa-uclass.c: 148 in ffa_print_error_log() > > > 142 > > > 143 if (ffa_id <

[PATCH] arm_ffa: fix: remove deadcode in ffa_print_error_log()

2023-10-20 Thread Abdellatif El Khlifi
address the CID 464361 Control flow issues [1] [1]: https://lore.kernel.org/all/20230821210927.GL3953269@bill-the-cat/ Signed-off-by: Abdellatif El Khlifi Cc: Tom Rini --- drivers/firmware/arm-ffa/arm-ffa-uclass.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/firmware/arm-ffa

Re: [PATCH v2 1/2] log: select physical address formatting in a generic way

2023-10-20 Thread Abdellatif El Khlifi
Hi Simon, > sets the log formatting according to the platform (64-bit vs 32-bit) > > Signed-off-by: Abdellatif El Khlifi > Cc: Simon Glass > --- > cmd/armffa.c | 8 > include/log.h | 9 + > 2 files changed, 9 insertions(+), 8 deletions(-) > > d

Re: Fwd: New Defects reported by Coverity Scan for Das U-Boot

2023-10-20 Thread Abdellatif El Khlifi
Hi Tom, > > *** CID 464361: Control flow issues (DEADCODE) > /drivers/firmware/arm-ffa/arm-ffa-uclass.c: 148 in ffa_print_error_log() > 142 > 143 if (ffa_id < FFA_FIRST_ID || ffa_

Re: Fwd: New Defects reported by Coverity Scan for Das U-Boot

2023-08-24 Thread Abdellatif El Khlifi
Hi Tom, > Here's the latest report > > -- Forwarded message - > From: > Date: Mon, Aug 21, 2023 at 4:30 PM > Subject: New Defects reported by Coverity Scan for Das U-Boot > To: > > > Hi, > > Please find the latest report on new defect(s) introduced to Das > U-Boot found with

Re: [PATCH 1/2] drivers/mtd/nvmxip: Rework the read accessor to support 32bit systems

2023-08-21 Thread Abdellatif El Khlifi
nt the read by either 4 or 8 bytes depending on if > > this is systemd with 32bit or 64bit physical address. > > > > Signed-off-by: Marek Vasut > > --- > > Cc: Abdellatif El Khlifi > > Cc: Simon Glass > > Sandbox CI test fails with this series: >

Re: [PATCH v2 2/2] nvmxip: add sandbox support

2023-08-16 Thread Abdellatif El Khlifi
Hi Marek, Please kindly find my comments below. > > arch/sandbox/dts/sandbox.dts | 14 ++ > > Please separate DT change > > > configs/sandbox_defconfig | 4 ++-- > > Config change too, separate patch that goes last. This commit is doing 1 thing: adding 32-bit sandb

[PATCH v2 2/2] nvmxip: add sandbox support

2023-08-16 Thread Abdellatif El Khlifi
enable the 32-bit version of sandbox Initially NVMXIP came with sandbox64 support. Let's enable sandbox support as well. Signed-off-by: Abdellatif El Khlifi Cc: Tom Rini Cc: Simon Glass Cc: Marek Vasut --- Changelog: === v2: * split into 2 commits: one for sandbox 3

[PATCH v2 1/2] log: select physical address formatting in a generic way

2023-08-16 Thread Abdellatif El Khlifi
sets the log formatting according to the platform (64-bit vs 32-bit) Signed-off-by: Abdellatif El Khlifi Cc: Simon Glass --- cmd/armffa.c | 8 include/log.h | 9 + 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/cmd/armffa.c b/cmd/armffa.c index 7e6eafc03a

Re: [PATCH 2/2] configs: sandbox: test: dm: blk: Enable NVMXIP QSPI and update test

2023-08-15 Thread Abdellatif El Khlifi
t; on sandbox64. Update blk tests to match. > > > > > > Signed-off-by: Marek Vasut > > > --- > > > Cc: Abdellatif El Khlifi > > > Cc: Simon Glass > > > --- > > > configs/sandbox_defconfig | 1 + > > > test/dm/blk.

[PATCH] nvmxip: add sandbox support

2023-08-15 Thread Abdellatif El Khlifi
enable the 32-bit version of sandbox Initially NVMXIP came with sandbox64 support. Let's enable sandbox support as well. Signed-off-by: Abdellatif El Khlifi Cc: Tom Rini Cc: Simon Glass --- arch/sandbox/dts/sandbox.dts | 14 ++ configs/sandbox_defconfig

[PATCH] arm_ffa: use debug logs

2023-08-09 Thread Abdellatif El Khlifi
replace info logs with debug logs Signed-off-by: Abdellatif El Khlifi Cc: Tom Rini Cc: Simon Glass --- doc/arch/arm64.ffa.rst | 2 +- drivers/firmware/arm-ffa/arm-ffa-uclass.c | 4 ++-- drivers/firmware/arm-ffa/arm-ffa.c | 2 +- drivers/firmware/arm-ffa/ffa-emul

Re: [PATCH v19 0/9] introduce Arm FF-A support

2023-08-07 Thread Abdellatif El Khlifi
Hi Tom, > > > Adding support for Arm FF-A v1.0 (Arm Firmware Framework for Armv8-A) [A]. > > > > FF-A specifies interfaces that enable a pair of software execution > > environments aka partitions to > > communicate with each other. A partition could be a VM in the Normal or > > Secure world, a

Re: [PATCH v19 8/9] arm_ffa: efi: introduce FF-A MM communication

2023-08-07 Thread Abdellatif El Khlifi
Hi Ilias, > > Add MM communication support using FF-A transport > > > > This feature allows accessing MM partitions services through > > EFI MM communication protocol. MM partitions such as StandAlonneMM > > or smm-gateway secure partitions which reside in secure world. > > ... > > > > Changelog

[PATCH v19 9/9] arm_ffa: efi: corstone1000: enable MM communication

2023-08-04 Thread Abdellatif El Khlifi
turn on EFI MM communication On Corstone-1000 platform MM communication between u-boot and the secure world (Optee) is done using the FF-A bus. Changes made are generated using savedefconfig. Signed-off-by: Abdellatif El Khlifi Cc: Tom Rini Cc: Simon Glass Cc: Ilias Apalodimas Cc: Jens

[PATCH v19 8/9] arm_ffa: efi: introduce FF-A MM communication

2023-08-04 Thread Abdellatif El Khlifi
release. Please find the test reports at [1]. [1]: https://gitlab.arm.com/arm-reference-solutions/arm-reference-solutions-test-report/-/tree/master/embedded-a/corstone1000/CORSTONE1000-2023.06/acs_results_fpga.zip Signed-off-by: Abdellatif El Khlifi Tested-by: Gowtham Suresh Kumar Reviewed-by

[PATCH v19 7/9] arm_ffa: introduce armffa command

2023-08-04 Thread Abdellatif El Khlifi
these partitions. The command is also helpful in testing the communication with secure partitions. For more details please refer to the command documentation [1]. A Sandbox test is provided for the armffa command. [1]: doc/usage/cmd/armffa.rst Signed-off-by: Abdellatif El Khlifi Reviewed-by

[PATCH v19 6/9] arm_ffa: introduce sandbox test cases for UCLASS_FFA

2023-08-04 Thread Abdellatif El Khlifi
Add functional test cases for the FF-A support These tests rely on the FF-A sandbox emulator and FF-A sandbox driver which help in inspecting the FF-A communication. Signed-off-by: Abdellatif El Khlifi Reviewed-by: Simon Glass Cc: Tom Rini Cc: Ilias Apalodimas Cc: Jens Wiklander Cc

[PATCH v19 5/9] arm_ffa: introduce sandbox FF-A support

2023-08-04 Thread Abdellatif El Khlifi
The sandbox FF-A emulator supports only 64-bit direct messaging. Signed-off-by: Abdellatif El Khlifi Reviewed-by: Simon Glass Cc: Tom Rini Cc: Ilias Apalodimas Cc: Jens Wiklander Cc: Heinrich Schuchardt --- Changelog: === v12: * remove reparenting by making the emulator parent o

[PATCH v19 4/9] arm_ffa: introduce Arm FF-A support

2023-08-04 Thread Abdellatif El Khlifi
implemented in the Uclass (arm-ffa-uclass.c). Arm specific methods are implemented in the Arm driver (arm-ffa.c). For more details please refer to the driver documentation [2]. [1]: https://developer.arm.com/documentation/den0077/latest/ [2]: doc/arch/arm64.ffa.rst Signed-off-by: Abdellatif El Khlifi

[PATCH v19 3/9] lib: uuid: introduce testcase for uuid_str_to_le_bin

2023-08-04 Thread Abdellatif El Khlifi
provide a test case Signed-off-by: Abdellatif El Khlifi Reviewed-by: Simon Glass Cc: Tom Rini --- Changelog: === v16: * MAINTAINERS: place the UUID part in an alphabetical order v11: * use ut_asserteq_mem() MAINTAINERS | 5 + test/lib/Makefile | 1 + test/lib

[PATCH v19 2/9] lib: uuid: introduce uuid_str_to_le_bin function

2023-08-04 Thread Abdellatif El Khlifi
convert UUID string to little endian binary data Signed-off-by: Abdellatif El Khlifi Reviewed-by: Simon Glass Cc: Tom Rini Cc: Ilias Apalodimas Cc: Jens Wiklander --- Changelog: === v9: * add a full function prototype description in uuid.h v8: * use simple_strtoull() in

[PATCH v19 1/9] arm64: smccc: add support for SMCCCv1.2 x0-x17 registers

2023-08-04 Thread Abdellatif El Khlifi
://documentation-service.arm.com/static/5f8edaeff86e16515cdbe4c6?token= Signed-off-by: Abdellatif El Khlifi Reviewed-by: Ilias Apalodimas Reviewed-by: Jens Wiklander Reviewed-by: Simon Glass Cc: Tom Rini --- Changelog: === v9: * update the copyright string v7: * improve indentation

[PATCH v19 0/9] introduce Arm FF-A support

2023-08-04 Thread Abdellatif El Khlifi
imon Glass Cc: Rob Herring Cc: Ilias Apalodimas Cc: Jens Wiklander Cc: Achin Gupta Cc: Drew Reed Cc: Xueliang Zhong Abdellatif El Khlifi (9): arm64: smccc: add support for SMCCCv1.2 x0-x17 registers lib: uuid: introduce uuid_str_to_le_bin function lib: uuid: introduce testcase for uuid_str

Re: [PATCH v18 9/9] arm_ffa: efi: corstone1000: enable MM communication

2023-08-04 Thread Abdellatif El Khlifi
Hi Tom, > > Changelog: > > === > > > > v18: > > > > Ilias, Tom: > > > > * drop use of CONFIG_FFA_SHARED_MM_BUF_* > > Why? What was wrong before was what I commented on still being wrong in > 8/9, this part was fine. > I thought when we decided to bring back the #ifdefs the buffe

[PATCH v18 9/9] arm_ffa: efi: corstone1000: enable MM communication

2023-08-03 Thread Abdellatif El Khlifi
turn on EFI MM communication On Corstone-1000 platform MM communication between u-boot and the secure world (Optee) is done using the FF-A bus. Changes made are generated using savedefconfig. Signed-off-by: Abdellatif El Khlifi Cc: Tom Rini Cc: Simon Glass Cc: Ilias Apalodimas Cc: Jens

[PATCH v18 8/9] arm_ffa: efi: introduce FF-A MM communication

2023-08-03 Thread Abdellatif El Khlifi
release. Please find the test reports at [1]. [1]: https://gitlab.arm.com/arm-reference-solutions/arm-reference-solutions-test-report/-/tree/master/embedded-a/corstone1000/CORSTONE1000-2023.06/acs_results_fpga.zip Signed-off-by: Abdellatif El Khlifi Tested-by: Gowtham Suresh Kumar Reviewed-by

[PATCH v18 7/9] arm_ffa: introduce armffa command

2023-08-03 Thread Abdellatif El Khlifi
these partitions. The command is also helpful in testing the communication with secure partitions. For more details please refer to the command documentation [1]. A Sandbox test is provided for the armffa command. [1]: doc/usage/cmd/armffa.rst Signed-off-by: Abdellatif El Khlifi Reviewed-by

[PATCH v18 6/9] arm_ffa: introduce sandbox test cases for UCLASS_FFA

2023-08-03 Thread Abdellatif El Khlifi
Add functional test cases for the FF-A support These tests rely on the FF-A sandbox emulator and FF-A sandbox driver which help in inspecting the FF-A communication. Signed-off-by: Abdellatif El Khlifi Reviewed-by: Simon Glass Cc: Tom Rini Cc: Ilias Apalodimas Cc: Jens Wiklander Cc

[PATCH v18 5/9] arm_ffa: introduce sandbox FF-A support

2023-08-03 Thread Abdellatif El Khlifi
The sandbox FF-A emulator supports only 64-bit direct messaging. Signed-off-by: Abdellatif El Khlifi Reviewed-by: Simon Glass Cc: Tom Rini Cc: Ilias Apalodimas Cc: Jens Wiklander Cc: Heinrich Schuchardt --- Changelog: === v12: * remove reparenting by making the emulator parent o

[PATCH v18 4/9] arm_ffa: introduce Arm FF-A support

2023-08-03 Thread Abdellatif El Khlifi
implemented in the Uclass (arm-ffa-uclass.c). Arm specific methods are implemented in the Arm driver (arm-ffa.c). For more details please refer to the driver documentation [2]. [1]: https://developer.arm.com/documentation/den0077/latest/ [2]: doc/arch/arm64.ffa.rst Signed-off-by: Abdellatif El Khlifi

[PATCH v18 3/9] lib: uuid: introduce testcase for uuid_str_to_le_bin

2023-08-03 Thread Abdellatif El Khlifi
provide a test case Signed-off-by: Abdellatif El Khlifi Reviewed-by: Simon Glass Cc: Tom Rini --- Changelog: === v16: * MAINTAINERS: place the UUID part in an alphabetical order v11: * use ut_asserteq_mem() MAINTAINERS | 5 + test/lib/Makefile | 1 + test/lib

[PATCH v18 2/9] lib: uuid: introduce uuid_str_to_le_bin function

2023-08-03 Thread Abdellatif El Khlifi
convert UUID string to little endian binary data Signed-off-by: Abdellatif El Khlifi Reviewed-by: Simon Glass Cc: Tom Rini Cc: Ilias Apalodimas Cc: Jens Wiklander --- Changelog: === v9: * add a full function prototype description in uuid.h v8: * use simple_strtoull() in

[PATCH v18 1/9] arm64: smccc: add support for SMCCCv1.2 x0-x17 registers

2023-08-03 Thread Abdellatif El Khlifi
://documentation-service.arm.com/static/5f8edaeff86e16515cdbe4c6?token= Signed-off-by: Abdellatif El Khlifi Reviewed-by: Ilias Apalodimas Reviewed-by: Jens Wiklander Reviewed-by: Simon Glass Cc: Tom Rini --- Changelog: === v9: * update the copyright string v7: * improve indentation

[PATCH v18 0/9] introduce Arm FF-A support

2023-08-03 Thread Abdellatif El Khlifi
x-musl-gcc (GCC) 12.2.0, GNU ld (GNU Binutils) 2.40.202301193 Machine model: ARM Corstone1000 FPGA MPS3 board ``` Cc: Tom Rini Cc: Simon Glass Cc: Rob Herring Cc: Ilias Apalodimas Cc: Jens Wiklander Cc: Achin Gupta Cc: Drew Reed Cc: Xueliang Zhong Abdellatif El Khlifi (9): arm64: smcc

Re: [PATCH v17 09/10] arm_ffa: efi: introduce FF-A MM communication

2023-08-02 Thread Abdellatif El Khlifi
Hi Jens, On Tue, Aug 01, 2023 at 02:28:34PM +0200, Jens Wiklander wrote: > > > > > > > ... > > > > > > > Changelog: > > > > > > > === > > > > > > > > > > > > > > v17: > > > > > > > > > > > > > > * show a debug message rather than an error when FF-A is not > > > > > > > detected > > >

Re: [PATCH v17 09/10] arm_ffa: efi: introduce FF-A MM communication

2023-08-01 Thread Abdellatif El Khlifi
Hi guys, On Tue, Aug 01, 2023 at 11:00:57AM -0400, Tom Rini wrote: > > > > > > > > ... > > > > > > > > Changelog: > > > > > > > > === > > > > > > > > > > > > > > > > v17: > > > > > > > > > > > > > > > > * show a debug message rather than an error when FF-A is not > > > > > > > > detec

Re: [PATCH v17 09/10] arm_ffa: efi: introduce FF-A MM communication

2023-07-31 Thread Abdellatif El Khlifi
Hi Ilias, On Mon, Jul 31, 2023 at 12:38:16PM +0300, Ilias Apalodimas wrote: > > > > > ... > > > > > Changelog: > > > > > === > > > > > > > > > > v17: > > > > > > > > > > * show a debug message rather than an error when FF-A is not detected > > > > [snip] > > > > > diff --git a/lib/efi_

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

2023-07-28 Thread Abdellatif El Khlifi
Hi Simon, Heinrich, On Thu, Jul 27, 2023 at 07:52:00PM -0600, Simon Glass wrote: > Hi Abdellatif, > > On Thu, 27 Jul 2023 at 03:00, Abdellatif El Khlifi > wrote: > > > > Hi Heinrich, > > > > On Thu, Jul 27, 2023 at 07:51:42AM +0200, Heinrich Schu

Re: [PATCH v17 09/10] arm_ffa: efi: introduce FF-A MM communication

2023-07-28 Thread Abdellatif El Khlifi
Hi Tom, On Thu, Jul 27, 2023 at 12:43:45PM -0400, Tom Rini wrote: > On Thu, Jul 27, 2023 at 05:07:11PM +0100, Abdellatif El Khlifi wrote: > > > Add MM communication support using FF-A transport > > > > This feature allows accessing MM partitions services through

[PATCH v17 04/10] arm_ffa: introduce Arm FF-A support

2023-07-27 Thread Abdellatif El Khlifi
implemented in the Uclass (arm-ffa-uclass.c). Arm specific methods are implemented in the Arm driver (arm-ffa.c). For more details please refer to the driver documentation [2]. [1]: https://developer.arm.com/documentation/den0077/latest/ [2]: doc/arch/arm64.ffa.rst Signed-off-by: Abdellatif El Khlifi

[PATCH v17 06/10] arm_ffa: introduce sandbox FF-A support

2023-07-27 Thread Abdellatif El Khlifi
The sandbox FF-A emulator supports only 64-bit direct messaging. Signed-off-by: Abdellatif El Khlifi Reviewed-by: Simon Glass Cc: Tom Rini Cc: Ilias Apalodimas Cc: Jens Wiklander Cc: Heinrich Schuchardt --- Changelog: === v12: * remove reparenting by making the emulator parent o

[PATCH v17 09/10] arm_ffa: efi: introduce FF-A MM communication

2023-07-27 Thread Abdellatif El Khlifi
read the data and updates the MM shared buffer with the response data. The response data is copied back to the communication buffer and consumed by the EFI subsystem. MM communication protocol supports FF-A 64-bit direct messaging. Signed-off-by: Abdellatif El Khlifi Tested-by: Gowtham Suresh Kumar

[PATCH v17 01/10] arm64: smccc: add support for SMCCCv1.2 x0-x17 registers

2023-07-27 Thread Abdellatif El Khlifi
://documentation-service.arm.com/static/5f8edaeff86e16515cdbe4c6?token= Signed-off-by: Abdellatif El Khlifi Reviewed-by: Ilias Apalodimas Reviewed-by: Jens Wiklander Reviewed-by: Simon Glass Cc: Tom Rini --- Changelog: === v9: * update the copyright string v7: * improve indentation

[PATCH v17 10/10] arm_ffa: efi: corstone1000: enable MM communication

2023-07-27 Thread Abdellatif El Khlifi
turn on EFI MM communication On Corstone-1000 platform MM communication between u-boot and the secure world (Optee) is done using the FF-A bus. Changes made are generated using savedefconfig. Signed-off-by: Abdellatif El Khlifi Cc: Tom Rini Cc: Simon Glass Cc: Ilias Apalodimas Cc: Jens

[PATCH v17 05/10] arm_ffa: introduce armffa command

2023-07-27 Thread Abdellatif El Khlifi
these partitions. The command is also helpful in testing the communication with secure partitions. For more details please refer to the command documentation [1]. [1]: doc/usage/cmd/armffa.rst Signed-off-by: Abdellatif El Khlifi Reviewed-by: Simon Glass Cc: Tom Rini Cc: Ilias Apalodimas Cc

[PATCH v17 07/10] arm_ffa: introduce sandbox test cases for UCLASS_FFA

2023-07-27 Thread Abdellatif El Khlifi
Add functional test cases for the FF-A support These tests rely on the FF-A sandbox emulator and FF-A sandbox driver which help in inspecting the FF-A communication. Signed-off-by: Abdellatif El Khlifi Reviewed-by: Simon Glass Cc: Tom Rini Cc: Ilias Apalodimas Cc: Jens Wiklander Cc

[PATCH v17 08/10] arm_ffa: introduce armffa command Sandbox test

2023-07-27 Thread Abdellatif El Khlifi
Add Sandbox test for the armffa command Signed-off-by: Abdellatif El Khlifi Reviewed-by: Simon Glass Cc: Tom Rini Cc: Ilias Apalodimas Cc: Jens Wiklander --- Changelog: === v12: * address nits v10: * replace CMD_RET_SUCCESS with 0 * replace CONFIG_SANDBOX_FFA with

[PATCH v17 02/10] lib: uuid: introduce uuid_str_to_le_bin function

2023-07-27 Thread Abdellatif El Khlifi
convert UUID string to little endian binary data Signed-off-by: Abdellatif El Khlifi Reviewed-by: Simon Glass Cc: Tom Rini Cc: Ilias Apalodimas Cc: Jens Wiklander --- Changelog: === v9: * add a full function prototype description in uuid.h v8: * use simple_strtoull() in

[PATCH v17 03/10] lib: uuid: introduce testcase for uuid_str_to_le_bin

2023-07-27 Thread Abdellatif El Khlifi
provide a test case Signed-off-by: Abdellatif El Khlifi Reviewed-by: Simon Glass Cc: Tom Rini --- Changelog: === v16: * MAINTAINERS: place the UUID part in an alphabetical order v11: * use ut_asserteq_mem() MAINTAINERS | 5 + test/lib/Makefile | 1 + test/lib

[PATCH v17 00/10] introduce Arm FF-A support

2023-07-27 Thread Abdellatif El Khlifi
.1.9-yocto-standard (oe-user@oe-host) (aarch64-poky-linux-musl-gcc (GCC) 12.2.0, GNU ld (GNU Binutils) 2.40.202301193 Machine model: ARM Corstone1000 FPGA MPS3 board ``` Cc: Tom Rini Cc: Simon Glass Cc: Rob Herring Cc: Ilias Apalodimas Cc: Jens Wiklander Cc: Achin Gupta Cc: Drew Reed Cc:

Re: [PATCH v16 09/10] arm_ffa: efi: introduce FF-A MM communication

2023-07-27 Thread Abdellatif El Khlifi
Hi Ilias, On Thu, Jul 27, 2023 at 02:27:21PM +0300, Ilias Apalodimas wrote: > Hi Abdellatif, > > [...] > > > +} > > + > > +/** > > + * get_mm_comms() - detect the available MM transport > > + * > > + * Make sure the FF-A bus is probed successfully > > + * which means FF-A communication with sec

Re: [PATCH v16 09/10] arm_ffa: efi: introduce FF-A MM communication

2023-07-27 Thread Abdellatif El Khlifi
Hi Tom, On Wed, Jul 26, 2023 at 03:39:12PM -0400, Tom Rini wrote: > On Wed, Jul 26, 2023 at 10:45:02AM +0100, Abdellatif El Khlifi wrote: > > > Add MM communication support using FF-A transport > > > > This feature allows accessing MM partitions services through

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

2023-07-27 Thread Abdellatif El Khlifi
Hi Heinrich, On Thu, Jul 27, 2023 at 07:51:42AM +0200, Heinrich Schuchardt wrote: > On 3/29/22 17:16, abdellatif.elkhl...@arm.com wrote: > > From: Abdellatif El Khlifi > > > > Provide armffa command showcasing the use of the FF-A driver > > > > The armf

[PATCH v16 06/10] arm_ffa: introduce sandbox FF-A support

2023-07-26 Thread Abdellatif El Khlifi
The sandbox FF-A emulator supports only 64-bit direct messaging. Signed-off-by: Abdellatif El Khlifi Reviewed-by: Simon Glass Cc: Tom Rini Cc: Ilias Apalodimas Cc: Jens Wiklander Cc: Heinrich Schuchardt --- Changelog: === v12: * remove reparenting by making the emulator parent o

[PATCH v16 04/10] arm_ffa: introduce Arm FF-A support

2023-07-26 Thread Abdellatif El Khlifi
implemented in the Uclass (arm-ffa-uclass.c). Arm specific methods are implemented in the Arm driver (arm-ffa.c). For more details please refer to the driver documentation [2]. [1]: https://developer.arm.com/documentation/den0077/latest/ [2]: doc/arch/arm64.ffa.rst Signed-off-by: Abdellatif El Khlifi

[PATCH v16 05/10] arm_ffa: introduce armffa command

2023-07-26 Thread Abdellatif El Khlifi
these partitions. The command is also helpful in testing the communication with secure partitions. For more details please refer to the command documentation [1]. [1]: doc/usage/cmd/armffa.rst Signed-off-by: Abdellatif El Khlifi Reviewed-by: Simon Glass Cc: Tom Rini Cc: Ilias Apalodimas Cc

[PATCH v16 08/10] arm_ffa: introduce armffa command Sandbox test

2023-07-26 Thread Abdellatif El Khlifi
Add Sandbox test for the armffa command Signed-off-by: Abdellatif El Khlifi Reviewed-by: Simon Glass Cc: Tom Rini Cc: Ilias Apalodimas Cc: Jens Wiklander --- Changelog: === v12: * address nits v10: * replace CMD_RET_SUCCESS with 0 * replace CONFIG_SANDBOX_FFA with

[PATCH v16 09/10] arm_ffa: efi: introduce FF-A MM communication

2023-07-26 Thread Abdellatif El Khlifi
read the data and updates the MM shared buffer with the response data. The response data is copied back to the communication buffer and consumed by the EFI subsystem. MM communication protocol supports FF-A 64-bit direct messaging. Signed-off-by: Abdellatif El Khlifi Tested-by: Gowtham Suresh Kumar

[PATCH v16 07/10] arm_ffa: introduce sandbox test cases for UCLASS_FFA

2023-07-26 Thread Abdellatif El Khlifi
Add functional test cases for the FF-A support These tests rely on the FF-A sandbox emulator and FF-A sandbox driver which help in inspecting the FF-A communication. Signed-off-by: Abdellatif El Khlifi Reviewed-by: Simon Glass Cc: Tom Rini Cc: Ilias Apalodimas Cc: Jens Wiklander Cc

[PATCH v16 10/10] arm_ffa: efi: corstone1000: enable MM communication

2023-07-26 Thread Abdellatif El Khlifi
turn on EFI MM communication On Corstone-1000 platform MM communication between u-boot and the secure world (Optee) is done using the FF-A bus. Signed-off-by: Abdellatif El Khlifi Cc: Tom Rini Cc: Simon Glass Cc: Ilias Apalodimas Cc: Jens Wiklander --- Changelog: === v16

[PATCH v16 00/10] introduce Arm FF-A support

2023-07-26 Thread Abdellatif El Khlifi
Achin Gupta Cc: Drew Reed Cc: Xueliang Zhong Abdellatif El Khlifi (10): arm64: smccc: add support for SMCCCv1.2 x0-x17 registers lib: uuid: introduce uuid_str_to_le_bin function lib: uuid: introduce testcase for uuid_str_to_le_bin arm_ffa: introduce Arm FF-A support arm_ffa: int

[PATCH v16 01/10] arm64: smccc: add support for SMCCCv1.2 x0-x17 registers

2023-07-26 Thread Abdellatif El Khlifi
://documentation-service.arm.com/static/5f8edaeff86e16515cdbe4c6?token= Signed-off-by: Abdellatif El Khlifi Reviewed-by: Ilias Apalodimas Reviewed-by: Jens Wiklander Reviewed-by: Simon Glass Cc: Tom Rini --- Changelog: === v9: * update the copyright string v7: * improve indentation

[PATCH v16 02/10] lib: uuid: introduce uuid_str_to_le_bin function

2023-07-26 Thread Abdellatif El Khlifi
convert UUID string to little endian binary data Signed-off-by: Abdellatif El Khlifi Reviewed-by: Simon Glass Cc: Tom Rini Cc: Ilias Apalodimas Cc: Jens Wiklander --- Changelog: === v9: * add a full function prototype description in uuid.h v8: * use simple_strtoull() in

[PATCH v16 03/10] lib: uuid: introduce testcase for uuid_str_to_le_bin

2023-07-26 Thread Abdellatif El Khlifi
provide a test case Signed-off-by: Abdellatif El Khlifi Reviewed-by: Simon Glass Cc: Tom Rini --- Changelog: === v16: * MAINTAINERS: place the UUID part in an alphabetical order v11: * use ut_asserteq_mem() MAINTAINERS | 5 + test/lib/Makefile | 1 + test/lib

Re: [PATCH v15 00/10] introduce Arm FF-A support

2023-07-25 Thread Abdellatif El Khlifi
Hi Tom, On Tue, Jul 25, 2023 at 09:47:24AM -0400, Tom Rini wrote: > On Tue, Jul 25, 2023 at 10:26:16AM +0100, Abdellatif El Khlifi wrote: > > Hi Tom, > > > > On Mon, Jul 24, 2023 at 07:50:07PM -0400, Tom Rini wrote: > > > On Thu, Jul 13, 2023 at 02:28:37PM +01

Re: [PATCH v15 00/10] introduce Arm FF-A support

2023-07-25 Thread Abdellatif El Khlifi
Hi Tom, On Mon, Jul 24, 2023 at 07:50:07PM -0400, Tom Rini wrote: > On Thu, Jul 13, 2023 at 02:28:37PM +0100, Abdellatif El Khlifi wrote: > > Adding support for Arm FF-A v1.0 (Arm Firmware Framework for Armv8-A) [A]. > > > > FF-A specifies interfaces that enable a pair

Re: [PATCH v15 00/10] introduce Arm FF-A support

2023-07-24 Thread Abdellatif El Khlifi
Hi Tom, Simon, On Thu, Jul 13, 2023 at 02:28:37PM +0100, Abdellatif El Khlifi wrote: > Adding support for Arm FF-A v1.0 (Arm Firmware Framework for Armv8-A) [A]. > > FF-A specifies interfaces that enable a pair of software execution > environments aka partitions to > communicate

[PATCH v15 10/10] arm_ffa: efi: corstone1000: enable MM communication

2023-07-13 Thread Abdellatif El Khlifi
turn on EFI MM communication On corstone1000 platform MM communication between u-boot and the secure world (Optee) is done using the FF-A bus. Signed-off-by: Abdellatif El Khlifi Cc: Tom Rini Cc: Simon Glass Cc: Ilias Apalodimas Cc: Jens Wiklander --- Changelog: === v15

[PATCH v15 09/10] arm_ffa: efi: introduce FF-A MM communication

2023-07-13 Thread Abdellatif El Khlifi
read the data and updates the MM shared buffer with the response data. The response data is copied back to the communication buffer and consumed by the EFI subsystem. MM communication protocol supports FF-A 64-bit direct messaging. Signed-off-by: Abdellatif El Khlifi Tested-by: Gowtham Suresh Kumar

[PATCH v15 08/10] arm_ffa: introduce armffa command Sandbox test

2023-07-13 Thread Abdellatif El Khlifi
Add Sandbox test for the armffa command Signed-off-by: Abdellatif El Khlifi Reviewed-by: Simon Glass Cc: Tom Rini Cc: Ilias Apalodimas Cc: Jens Wiklander --- Changelog: === v12: * address nits v10: * replace CMD_RET_SUCCESS with 0 * replace CONFIG_SANDBOX_FFA with

[PATCH v15 06/10] arm_ffa: introduce sandbox FF-A support

2023-07-13 Thread Abdellatif El Khlifi
The sandbox FF-A emulator supports only 64-bit direct messaging. Signed-off-by: Abdellatif El Khlifi Reviewed-by: Simon Glass Cc: Tom Rini Cc: Ilias Apalodimas Cc: Jens Wiklander Cc: Heinrich Schuchardt --- Changelog: === v12: * remove reparenting by making the emulator parent o

[PATCH v15 07/10] arm_ffa: introduce sandbox test cases for UCLASS_FFA

2023-07-13 Thread Abdellatif El Khlifi
Add functional test cases for the FF-A support These tests rely on the FF-A sandbox emulator and FF-A sandbox driver which help in inspecting the FF-A communication. Signed-off-by: Abdellatif El Khlifi Reviewed-by: Simon Glass Cc: Tom Rini Cc: Ilias Apalodimas Cc: Jens Wiklander Cc

[PATCH v15 04/10] arm_ffa: introduce Arm FF-A support

2023-07-13 Thread Abdellatif El Khlifi
implemented in the Uclass (arm-ffa-uclass.c). Arm specific methods are implemented in the Arm driver (arm-ffa.c). For more details please refer to the driver documentation [2]. [1]: https://developer.arm.com/documentation/den0077/latest/ [2]: doc/arch/arm64.ffa.rst Signed-off-by: Abdellatif El Khlifi

[PATCH v15 05/10] arm_ffa: introduce armffa command

2023-07-13 Thread Abdellatif El Khlifi
these partitions. The command is also helpful in testing the communication with secure partitions. For more details please refer to the command documentation [1]. [1]: doc/usage/cmd/armffa.rst Signed-off-by: Abdellatif El Khlifi Reviewed-by: Simon Glass Cc: Tom Rini Cc: Ilias Apalodimas Cc

[PATCH v15 03/10] lib: uuid: introduce testcase for uuid_str_to_le_bin

2023-07-13 Thread Abdellatif El Khlifi
provide a test case Signed-off-by: Abdellatif El Khlifi Reviewed-by: Simon Glass Cc: Tom Rini --- Changelog: === v11: * use ut_asserteq_mem() MAINTAINERS | 5 + test/lib/Makefile | 1 + test/lib/uuid.c | 41 + 3 files

[PATCH v15 01/10] arm64: smccc: add support for SMCCCv1.2 x0-x17 registers

2023-07-13 Thread Abdellatif El Khlifi
://documentation-service.arm.com/static/5f8edaeff86e16515cdbe4c6?token= Signed-off-by: Abdellatif El Khlifi Reviewed-by: Ilias Apalodimas Reviewed-by: Jens Wiklander Reviewed-by: Simon Glass Cc: Tom Rini --- Changelog: === v9: * update the copyright string v7: * improve indentation

[PATCH v15 02/10] lib: uuid: introduce uuid_str_to_le_bin function

2023-07-13 Thread Abdellatif El Khlifi
convert UUID string to little endian binary data Signed-off-by: Abdellatif El Khlifi Reviewed-by: Simon Glass Cc: Tom Rini Cc: Ilias Apalodimas Cc: Jens Wiklander --- Changelog: === v9: * add a full function prototype description in uuid.h v8: * use simple_strtoull() in

[PATCH v15 00/10] introduce Arm FF-A support

2023-07-13 Thread Abdellatif El Khlifi
ne model: ARM Corstone1000 FPGA MPS3 board ``` Cc: Tom Rini Cc: Simon Glass Cc: Rob Herring Cc: Ilias Apalodimas Cc: Jens Wiklander Cc: Achin Gupta Cc: Drew Reed Cc: Xueliang Zhong Abdellatif El Khlifi (10): arm64: smccc: add support for SMCCCv1.2 x0-x17 registers lib: uuid: in

Re: [PATCH v14 11/11] arm_ffa: efi: corstone1000: enable MM communication

2023-07-10 Thread Abdellatif El Khlifi
Hi Simon, Tom, > > > > #include > > > > > > > > +#define FFA_SHARED_MM_BUFFER_SIZE SZ_4K /* 4 KB */ > > > > + > > > > +/* > > > > + * shared buffer physical address used for communication between > > > > + * u-boot and the MM SP > > > > + */ > > > > +#define FFA_SHARED_MM_BUFFER_ADDR 0

Re: [PATCH v14 05/11] log: select physical address formatting in a generic way

2023-07-10 Thread Abdellatif El Khlifi
Hi Simon, On Mon, Jul 10, 2023 at 08:17:41AM -0600, Simon Glass wrote: > Hi Abdellatif, > > On Mon, 10 Jul 2023 at 06:15, Abdellatif El Khlifi > wrote: > > > > Hi Simon, > > > > On Fri, Jul 07, 2023 at 06:34:14PM +0100, Simon Glass wrote: > > > Hi

Re: [PATCH v14 05/11] log: select physical address formatting in a generic way

2023-07-10 Thread Abdellatif El Khlifi
Hi Simon, On Fri, Jul 07, 2023 at 06:34:14PM +0100, Simon Glass wrote: > Hi Abdellatif, > > On Fri, 7 Jul 2023 at 15:44, Abdellatif El Khlifi > wrote: > > > > sets the log formatting according to the platform (64-bit vs 32-bit) > > > > Signed-off-by: Abdel

  1   2   3   4   >