lass
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: introduce uuid_str_to_le_bin function
lib: uuid: introduce testcase for uuid_str_t
://documentation-service.arm.com/static/5f8edaeff86e16515cdbe4c6?token=
Signed-off-by: Abdellatif El Khlifi
Reviewed-by: Jens Wiklander
Cc: Tom Rini
Cc: Simon Glass
Cc: Ilias Apalodimas
---
Changelog:
===
v9:
* update the copyright string
v7:
* improve indentation of
convert UUID string to little endian binary data
Signed-off-by: Abdellatif El Khlifi
Cc: Tom Rini
Cc: Simon Glass
Cc: Ilias Apalodimas
Cc: Jens Wiklander
---
Changelog:
===
v9:
* add a full function prototype description in uuid.h
v8:
* use simple_strtoull() in
provide a test case
Signed-off-by: Abdellatif El Khlifi
Cc: Simon Glass
---
MAINTAINERS | 5 +
test/lib/Makefile | 1 +
test/lib/uuid.c | 44
3 files changed, 50 insertions(+)
create mode 100644 test/lib/uuid.c
diff --git a
information and ping 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
Cc: Tom Rini
Cc: Simon Glass
Cc: Ilias
based on that.
sandbox driver supports only 64-bit direct messaging.
Signed-off-by: Abdellatif El Khlifi
Cc: Tom Rini
Cc: Simon Glass
Cc: Ilias Apalodimas
Cc: Jens Wiklander
---
Changelog:
===
v9: align FF-A sandbox driver with FF-A discovery through DM
v8: update
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
Cc: Simon Glass
Cc: Ilias Apalodimas
Cc: Jens Wiklander
---
Changelog:
===
v9: align
driver documentation [2].
[1]: https://developer.arm.com/documentation/den0077/latest/
[2]: doc/arch/arm64.ffa.rst
Signed-off-by: Abdellatif El Khlifi
Cc: Tom Rini
Cc: Simon Glass
Cc: Ilias Apalodimas
Cc: Jens Wiklander
---
Changelog:
===
v9:
* integrate the FF-A bus discovery
Add Sandbox test for the armffa command
Signed-off-by: Abdellatif El Khlifi
Cc: Tom Rini
Cc: Simon Glass
Cc: Ilias Apalodimas
Cc: Jens Wiklander
---
Changelog:
===
v9: align the test with FF-A discovery through DM
v4: drop use of helper APIs
v1: introduce armffa command
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:
===
v9: update
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
Signed-off-by: Gowtham Suresh
On Fri, Mar 10, 2023 at 12:49:57PM -0800, Simon Glass wrote:
> Hi Abdellatif,
>
> On Fri, 10 Mar 2023 at 06:10, Abdellatif El Khlifi
> wrote:
> >
> > Provide a Sandbox driver to emulate the FF-A ABIs
> >
> > The emulated ABIs are those supported by the FF-A c
On Fri, Mar 10, 2023 at 12:50:01PM -0800, Simon Glass wrote:
Hi Simon,
> Hi Abdellatif,
>
> On Fri, 10 Mar 2023 at 06:11, Abdellatif El Khlifi
> wrote:
> >
> > Add MM communication support using FF-A transport
> >
> > This feature allows accessing MM pa
Hi Simon,
> Hi Abdellatif,
>
> On Fri, 10 Mar 2023 at 06:10, Abdellatif El Khlifi
> wrote:
> >
> > 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 spec
Hi Simon,
On Sun, Jul 02, 2023 at 04:44:41PM +0100, Simon Glass wrote:
> Hi Abdellatif,
>
...
> > > > Changelog:
> > > > ===
> > > >
> > > > v13:
> > > >
> > > > * doc minor change: specify in the readme that the user
> > > >should call ffa_rxtx_unmap() driver operation to unmap
>
Hi Ilias,
On Tue, Jun 20, 2023 at 05:05:52PM +0300, Ilias Apalodimas wrote:
> Hi Abdellatif,
>
> On Fri, 16 Jun 2023 at 18:28, Abdellatif El Khlifi
> wrote:
> >
> > add support for x0-x17 registers used by the SMC calls
> >
> > In SMCCC v1.2 [1] argu
Hi Ilias,
On Tue, Jun 20, 2023 at 05:25:51PM +0300, Ilias Apalodimas wrote:
> [...]
> > +int do_ffa_ping(struct cmd_tbl *cmdtp, int flag, int argc, char *const
> > argv[])
> > +{
> > + struct ffa_send_direct_data msg = {
> > + .data0 = 0x,
> > +
Hi Ilias,
On Mon, Jul 03, 2023 at 12:59:58PM +0300, Ilias Apalodimas wrote:
> > > [...]
> > > > +int do_ffa_ping(struct cmd_tbl *cmdtp, int flag, int argc, char *const
> > > > argv[])
> > > > +{
> > > > + struct ffa_send_direct_data msg = {
> > > > + .data0 = 0xaaa
Hi Simon, Ilias,
On Mon, Jul 03, 2023 at 02:30:51PM +0100, Simon Glass wrote:
...
> > > > > > + log_info("device name %s, dev %p, driver name %s, ops %p\n",
> > > > > > +dev->name,
> > > > > > + (void *)map_to_sysmem(dev),
> > > > > > +dev->drive
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 (11):
arm64: smccc: add support for SMCCCv1.2 x0-x17 registers
lib: uuid: introduce uuid_str_to_le_bin function
lib: uuid: introd
://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
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
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
sets the log formatting according to the platform (64-bit vs 32-bit)
Signed-off-by: Abdellatif El Khlifi
Cc: Simon Glass
---
include/log.h | 8
1 file changed, 8 insertions(+)
diff --git a/include/log.h b/include/log.h
index 3bab40b617..689cef905b 100644
--- a/include/log.h
+++ b
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
The sandbox FF-A emulator supports only 64-bit direct messaging.
Signed-off-by: Abdellatif El Khlifi
Cc: Tom Rini
Cc: Simon Glass
Cc: Ilias Apalodimas
Cc: Jens Wiklander
Cc: Heinrich Schuchardt
---
Changelog:
===
v12:
* remove reparenting by making the emulator parent of the
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
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
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
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
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:
===
v13
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
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
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
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
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
://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
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
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
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
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
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
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
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
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
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
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
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
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_
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
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
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 <
Hi Tom,
> > > > >
> > > > > *** CID 464361: Control flow issues (DEADCODE)
> > > > > /drivers/firmware/arm-ffa/arm-ffa-uclass.c: 148 in
> > > > > ffa_print_error_log()
> > > > > 142
> > > >
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
> >
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:
>
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
Ilias Apalodimas
Cc: Jens Wiklander
Cc: Achin Gupta
Cc: Vishnu Banavath
Cc: Xueliang Zhong
Abdellatif El Khlifi (10):
arm64: smccc: add support for SMCCCv1.2 x0-x17 registers
arm64: smccc: clear the Xn registers after SMC calls
lib: uuid: introduce be_uuid_str_to_le_bin function
ar
prevent lower exception levels (EL1/EL0)
from reading the SMC data exchanged at EL2.
Changelog:
===
v4:
* move the clearing code into a new macro: clear_gp_regs
v3:
* clear the Xn registers after SMC calls
Signed-off-by: Abdellatif El Khlifi
Cc: Tom Rini
Cc: Simon Glass
Cc
Xn registers support used by SMC calls
Signed-off-by: Abdellatif El Khlifi
Cc: Tom Rini
Cc: Simon Glass
Cc: Ilias Apalodimas
Cc: Jens Wiklander
---
arch/arm/cpu/armv8/smccc-call.S | 53 +
arch/arm/lib/asm-offsets.c | 14 +
include/linux/arm-smccc.h
driver interfaces (partition_info_get, sync_send_receive)
in armffa command
v2:
* replace use of ffa_helper_init_device function by
ffa_helper_bus_discover
v1:
* introduce armffa command
Signed-off-by: Abdellatif El Khlifi
Cc: Tom Rini
Cc: Simon Glass
Cc: Ilias Apalodimas
Cc: Jens Wiklander
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
Cc: Simon Glass
Cc: Ilias Apalodimas
Cc: Jens Wiklander
Changelog:
===
v4: align
-off-by: Abdellatif El Khlifi
Cc: Tom Rini
Cc: Simon Glass
Cc: Ilias Apalodimas
Cc: Jens Wiklander
---
include/uuid.h | 8 +++
lib/uuid.c | 64 ++
2 files changed, 72 insertions(+)
diff --git a/include/uuid.h b/include/uuid.h
index
Add Sandbox test for the armffa command
Signed-off-by: Abdellatif El Khlifi
Cc: Tom Rini
Cc: Simon Glass
Cc: Ilias Apalodimas
Cc: Jens Wiklander
Changelog:
===
v4: drop use of helper APIs
v1: introduce armffa command sandbox test
---
MAINTAINERS | 1 +
test/cmd
FFA_RXTX_MAP, FFA_MSG_SEND_DIRECT_{REQ, RESP}
v2:
* make FF-A bus discoverable using device_{bind, probe} APIs
* remove device tree support
v1:
* introduce FF-A bus driver with device tree support
Signed-off-by: Abdellatif El Khlifi
Cc: Tom Rini
Cc: Simon Glass
Cc: Ilias Apalodimas
Cc: Jens Wiklander
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
---
configs/corstone1000_defconfig | 4
based on that.
Signed-off-by: Abdellatif El Khlifi
Cc: Tom Rini
Cc: Simon Glass
Cc: Ilias Apalodimas
Cc: Jens Wiklander
Changelog:
===
v4: align sandbox driver with the new FF-A driver interfaces
and new way of error handling
v1: introduce the sandbox driver
---
MAINTAINERS
available at EFI runtime level.
Signed-off-by: Abdellatif El Khlifi
Signed-off-by: Gowtham Suresh Kumar
Cc: Tom Rini
Cc: Simon Glass
Cc: Ilias Apalodimas
Cc: Jens Wiklander
Changelog:
===
v4:
* use the new FF-A driver interfaces
* discover MM partitions at runtime
* copy FF-A driver
On Fri, May 13, 2022 at 05:23:19PM +0300, Ilias Apalodimas wrote:
> Hi Abdellatif
> On Fri, Apr 15, 2022 at 01:27:58PM +0100, abdellatif.elkhl...@arm.com wrote:
> > From: Abdellatif El Khlifi
> >
> > Add the driver implementing Arm Firmware Framework for Armv8-A v1
On Thu, Apr 14, 2022 at 10:54:08PM +0300, Ilias Apalodimas wrote:
> Hi Abdellatif,
>
> Can you please keep me cc'ed in future revisions?
>
> On Tue, Mar 29, 2022 at 04:16:59PM +0100, abdellatif.elkhl...@arm.com wrote:
> > From: Abdellatif El Khlifi
> >
> &
On Fri, Aug 12, 2022 at 10:39:23AM +0300, Ilias Apalodimas wrote:
> Hi Abdellatif,
>
> On Mon, 1 Aug 2022 at 20:21, Abdellatif El Khlifi
> wrote:
> >
> > Add the driver implementing Arm Firmware Framework for Armv8-A v1.0
> >
> > The Firmware Framewor
On Fri, May 13, 2022 at 04:40:36PM +0200, Jens Wiklander wrote:
> On Fri, Apr 15, 2022 at 01:27:58PM +0100, abdellatif.elkhl...@arm.com wrote:
> > From: Abdellatif El Khlifi
> >
> > Add the driver implementing Arm Firmware Framework for Armv8-A v1.0
> >
> >
On Tue, Aug 16, 2022 at 01:48:31PM +0200, Jens Wiklander wrote:
> On Mon, Aug 1, 2022 at 7:21 PM Abdellatif El Khlifi
> wrote:
> >
> > set to zero the x0-x17 registers
> >
> > As per the SMCCC v1.2 spec, unused result and scratch registers can leak
> > i
On Fri, Aug 12, 2022 at 08:21:02PM -0600, Simon Glass wrote:
> Hi Abdellatif,
>
> On Mon, 1 Aug 2022 at 11:21, Abdellatif El Khlifi
> wrote:
> >
> > Add the driver implementing Arm Firmware Framework for Armv8-A v1.0
> >
> > The Firmware Framewor
...@arm.com/
[4]:
https://lore.kernel.org/all/20220926101723.9965-1-abdellatif.elkhl...@arm.com/
Cc: Tom Rini
Cc: Simon Glass
Cc: Ilias Apalodimas
Cc: Jens Wiklander
Cc: Achin Gupta
Cc: Vishnu Banavath
Cc: Xueliang Zhong
Abdellatif El Khlifi (10):
arm64: smccc: add support for SMCCCv1.2 x0
://documentation-service.arm.com/static/5f8edaeff86e16515cdbe4c6?token=
Signed-off-by: Abdellatif El Khlifi
Cc: Tom Rini
Cc: Simon Glass
Cc: Ilias Apalodimas
Cc: Jens Wiklander
---
Changelog:
===
v4:
* rename the commit title and improve description
new commit title: the current
v3
prevent lower exception levels (EL1/EL0)
from reading the SMC data exchanged at EL2.
Signed-off-by: Abdellatif El Khlifi
Cc: Tom Rini
Cc: Simon Glass
Cc: Ilias Apalodimas
Cc: Jens Wiklander
---
Changelog:
===
v4:
* move the clearing code into a new macro: clear_gp_regs
v3
convert big endian UUID string to little endian buffer
Signed-off-by: Abdellatif El Khlifi
Cc: Tom Rini
Cc: Simon Glass
Cc: Ilias Apalodimas
Cc: Jens Wiklander
---
Changelog:
===
v4:
* rename ffa_uuid_str_to_bin to be_uuid_str_to_le_bin and put in
a standalone commit (the
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
Cc: Simon Glass
Cc: Ilias Apalodimas
Cc: Jens Wiklander
-by: Abdellatif El Khlifi
Cc: Tom Rini
Cc: Simon Glass
Cc: Ilias Apalodimas
Cc: Jens Wiklander
---
Changelog:
===
v4:
* add doc/README.ffa.drv
* moving the FF-A driver work to drivers/firmware/arm-ffa
* use less #ifdefs in lib/efi_loader/efi_boottime.c and replace
#if defined by
based on that.
Signed-off-by: Abdellatif El Khlifi
Cc: Tom Rini
Cc: Simon Glass
Cc: Ilias Apalodimas
Cc: Jens Wiklander
---
Changelog:
===
v4: align sandbox driver with the new FF-A driver interfaces
and new way of error handling
v1: introduce the sandbox driver
MAINTAINERS
Add Sandbox test for the armffa command
Signed-off-by: Abdellatif El Khlifi
Cc: Tom Rini
Cc: Simon Glass
Cc: Ilias Apalodimas
Cc: Jens Wiklander
---
Changelog:
===
v4: drop use of helper APIs
v1: introduce armffa command sandbox test
MAINTAINERS | 1 +
test/cmd
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
Cc: Simon Glass
Cc: Ilias Apalodimas
Cc: Jens Wiklander
---
Changelog:
===
v4
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
---
configs/corstone1000_defconfig | 4
available at EFI runtime level.
Signed-off-by: Abdellatif El Khlifi
Signed-off-by: Gowtham Suresh Kumar
Cc: Tom Rini
Cc: Simon Glass
Cc: Ilias Apalodimas
Cc: Jens Wiklander
---
Changelog:
===
v4:
* use the new FF-A driver interfaces
* discover MM partitions at runtime
* copy FF-A
S3 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: introduce uuid_str_to_le_bin function
l
provide a test case
Signed-off-by: Abdellatif El Khlifi
Cc: Simon Glass
---
MAINTAINERS | 5 +
test/lib/Makefile | 1 +
test/lib/uuid.c | 44
3 files changed, 50 insertions(+)
create mode 100644 test/lib/uuid.c
diff --git a
://documentation-service.arm.com/static/5f8edaeff86e16515cdbe4c6?token=
Signed-off-by: Abdellatif El Khlifi
Reviewed-by: Jens Wiklander
Cc: Tom Rini
Cc: Simon Glass
Cc: Ilias Apalodimas
---
Changelog:
===
v9:
* update the copyright string
v7:
* improve indentation of
convert UUID string to little endian binary data
Signed-off-by: Abdellatif El Khlifi
Reviewed-by: Simon Glass
Cc: Tom Rini
Cc: Simon Glass
Cc: Ilias Apalodimas
Cc: Jens Wiklander
---
Changelog:
===
v9:
* add a full function prototype description in uuid.h
v8:
* use
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
Cc: Tom Rini
Cc: Simon Glass
Cc: Ilias Apalodimas
Cc: Jens Wiklander
Cc: Heinrich
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
Cc: Tom Rini
Cc: Simon Glass
Cc: Ilias Apalodimas
Cc: Jens
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
The sandbox FF-A emulator supports only 64-bit direct messaging.
Signed-off-by: Abdellatif El Khlifi
Cc: Tom Rini
Cc: Simon Glass
Cc: Ilias Apalodimas
Cc: Jens Wiklander
Cc: Heinrich Schuchardt
---
Changelog:
===
v10:
* split the FF-A sandbox support into an emulator and a d
Add Sandbox test for the armffa command
Signed-off-by: Abdellatif El Khlifi
Reviewed-by: Simon Glass
Cc: Tom Rini
Cc: Simon Glass
Cc: Ilias Apalodimas
Cc: Jens Wiklander
---
Changelog:
===
v10:
* replace CMD_RET_SUCCESS with 0
* replace CONFIG_SANDBOX_FFA with
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:
===
v9: update
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
Signed-off-by: Gowtham Suresh
On Thu, Mar 30, 2023 at 09:02:18AM +1300, Simon Glass wrote:
> On Wed, 29 Mar 2023 at 05:12, Abdellatif El Khlifi
> wrote:
> >
> > provide a test case
> >
> > Signed-off-by: Abdellatif El Khlifi
> > Cc: Simon Glass
> > ---
> > MAINTAIN
On Mon, Apr 03, 2023 at 12:59:06PM +0300, Ilias Apalodimas wrote:
> On Sun, Apr 02, 2023 at 02:41:17PM +1200, Simon Glass wrote:
> > Hi Abdellatif,
> >
> > On Wed, 29 Mar 2023 at 05:12, Abdellatif El Khlifi <
> > abdellatif.elkhl...@arm.com> wrote:
> &g
@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: Xueliang Zhong
Abdel
://documentation-service.arm.com/static/5f8edaeff86e16515cdbe4c6?token=
Signed-off-by: Abdellatif El Khlifi
Reviewed-by: Jens Wiklander
Reviewed-by: Simon Glass
Cc: Tom Rini
Cc: Simon Glass
Cc: Ilias Apalodimas
---
Changelog:
===
v9:
* update the copyright string
v7:
* improve
convert UUID string to little endian binary data
Signed-off-by: Abdellatif El Khlifi
Reviewed-by: Simon Glass
Cc: Tom Rini
Cc: Simon Glass
Cc: Ilias Apalodimas
Cc: Jens Wiklander
---
Changelog:
===
v9:
* add a full function prototype description in uuid.h
v8:
* use
1 - 100 of 305 matches
Mail list logo