Re: [edk2-devel] 回复: [PATCH v5 2/5] ArmPkg: prepare 32bit ARM build of StandaloneMmPkg

2021-08-11 Thread Etienne Carriere
Thanks for your update. This version should pass CI. > > > > > > Sami: > > > Can you help review the updated patch? So, it can still catch this > > > stable > > > tag. > > > > > > > I will go ahead and review/submit it if you are

[edk2-devel] [PATCH v3 6/6] Platform/StandaloneMm: build StandaloneMmRpmb for 32bit architectures

2021-08-10 Thread Etienne Carriere
when StMM runs in OP-TEE. Cc: Ard Biesheuvel Cc: Ilias Apalodimas Cc: Leif Lindholm Cc: Sami Mujawar Signed-off-by: Etienne Carriere --- No change since v2 Changes since v1: - Remove useless duplication of ArmSvcLib loading. - Move BaseStackCheckLib to generic library classes instead of ARM

[edk2-devel] [PATCH v3 5/6] Drivers/OpTee: address cast build warning issue in 32b mode

2021-08-10 Thread Etienne Carriere
Use (UINTN) cast to cast physical or virtual address values to the pointer size before casting from/to a pointer value. Cc: Ard Biesheuvel Cc: Ilias Apalodimas Cc: Leif Lindholm Cc: Sami Mujawar Signed-off-by: Etienne Carriere --- No change since v2 No change since v1 --- Drivers/OpTee

[edk2-devel] [PATCH v3 4/6] Drivers/OpTee: Add Aarch32 SVC IDs for 32bit Arm targets

2021-08-10 Thread Etienne Carriere
: Ard Biesheuvel Cc: Ilias Apalodimas Cc: Leif Lindholm Cc: Sami Mujawar Signed-off-by: Etienne Carriere --- No change since v2 Changes since v1: - Use _AARCH64 (resp. _AARCH32) suffix instead of _64 (resp. _32) in the added macros. --- Drivers/OpTee/OpteeRpmbPkg/OpTeeRpmbFvb.c | 2

[edk2-devel] [PATCH v3 2/6] Platform/Socionext/DeveloperBox: sync with edk2 StandaloneMmCpu path change

2021-08-10 Thread Etienne Carriere
: Sughosh Ganu Cc: Thomas Abraham Signed-off-by: Etienne Carriere --- No change since v2 Changes since v1: - split change in 3: this change relates to DeveloperBox only. --- Platform/Socionext/DeveloperBox/DeveloperBoxMm.dsc | 2 +- Platform/Socionext/DeveloperBox/DeveloperBoxMm.fdf | 2 +- 2 files

[edk2-devel] [PATCH v3 3/6] Platform/StandaloneMm: sync with edk2 StandaloneMmCpu path change

2021-08-10 Thread Etienne Carriere
: Sughosh Ganu Cc: Thomas Abraham Signed-off-by: Etienne Carriere --- No change since v2 Changes since v1: - split change in 3: this change relates to StandaloneMm package only. --- Platform/StandaloneMm/PlatformStandaloneMmPkg/PlatformStandaloneMmRpmb.dsc | 2 +- Platform/StandaloneMm

[edk2-devel] [PATCH v3 1/6] Platform/ARM/SgiPkg: sync with edk2 StandaloneMmCpu path change

2021-08-10 Thread Etienne Carriere
: Sughosh Ganu Cc: Thomas Abraham Signed-off-by: Etienne Carriere --- Changes since v2: - Fix StandaloneMmCpu.inf path required when rebasing the patch. Changes since v1: - split change in 3: this change relates to Platform/ARM/SgiPkg only. --- Platform/ARM/SgiPkg/PlatformStandaloneMm.fdf | 2

[edk2-devel] [PATCH v3 0/6] Arm 32bit support in PlatformStandaloneMmRpmb

2021-08-10 Thread Etienne Carriere
d-instructions [4] https://source.denx.de/u-boot/u-boot/-/commit/99bb5f248ade371ee4713e0ef51401708ecbb13c [5] https://source.denx.de/u-boot/u-boot/-/commit/a9f7be509af90fa5f2c308867ad3b0bd48532c6e Etienne Carriere (6): Platform/ARM/SgiPkg: sync with edk2 StandaloneMmCpu path change Platform/Socio

[edk2-devel] [PATCH v5 5/5] StandaloneMmPkg: build for 32bit arm machines

2021-08-09 Thread Etienne Carriere
64b Arm targets. Signed-off-by: Etienne Carriere --- Changes since v4: - Update StandaloneMmCoreEntryPoint.h path in StandaloneMmPkg.dec for both AArch64 and ARM targets. Changes since v3: - Fix BuildOptions.ARM in StandaloneMmPkg. - Remove Cc tags. No change since v2 Changes since v1

[edk2-devel] [PATCH v5 4/5] StandaloneMmPkg: fix pointer/int casts against 32bit architectures

2021-08-09 Thread Etienne Carriere
Use intermediate (UINTN) cast when casting int from/to pointer. This is needed as UINT64 values cast from/to 32bit pointer for 32bit architectures. Signed-off-by: Etienne Carriere Acked-by: Jiewen Yao Reviewed-by: Sami Mujawar --- No change since v4 Changes since v3: - Remove Cc tags and

[edk2-devel] [PATCH v5 3/5] GenFv: Arm: support images entered in Thumb mode

2021-08-09 Thread Etienne Carriere
Thumb mode. Signed-off-by: Etienne Carriere Acked-by: Liming Gao Reviewed-by: Sami Mujawar --- No change since v4 Changes since v3: - Removed Cc tags and apply review tags. Changes since v2: - Fix missing parentheses in expression. Changes since v1: - Fix typos in commit log and inline

[edk2-devel] [PATCH v5 2/5] ArmPkg: prepare 32bit ARM build of StandaloneMmPkg

2021-08-09 Thread Etienne Carriere
and 64bit architectures. Signed-off-by: Etienne Carriere --- Changes since v4: - Remove changes related to MmCommunicationDxe and ArmMmuPeiLib since they currently don't need to be built for ARM targets. - Remove review tags applied to patch v3. Changes since v3: - Remove Cc tags and

[edk2-devel] [PATCH v5 1/5] ArmPkg/IndustryStandard: 32b/64b agnostic FF-A, Mm SVC and Std SMC IDs

2021-08-09 Thread Etienne Carriere
Defines ARM_SVC_ID_FFA_* and ARM_SVC_ID_SP_* identifiers for 32bit function IDs as per SMCCC specification. Defines also generic ARM SVC identifier macros to wrap 32bit or 64bit identifiers upon target built architecture. Signed-off-by: Etienne Carriere Reviewed-by: Sami Mujawar --- Changes

Re: [edk2-devel] [PATCH v4 5/5] StandaloneMmPkg: build for 32bit arm machines

2021-08-06 Thread Etienne Carriere
Library/Arm/StandaloneMmCoreEntryPoint.h > not declared in package DEC StandaloneMmPkg/StandaloneMmPkg.dec > > Thanks > Liming > > -邮件原件- > > 发件人: devel@edk2.groups.io 代表 Ard > > Biesheuvel > > 发送时间: 2021年7月28日 14:52 > > 收件人: Sami Mujawar > >

[edk2-devel] [PATCH v4 3/5] GenFv: Arm: support images entered in Thumb mode

2021-05-19 Thread Etienne Carriere
Thumb mode. Signed-off-by: Etienne Carriere Acked-by: Liming Gao Reviewed-by: Sami Mujawar --- Changes since v3: - Removed Cc tags and apply review tags. Changes since v2: - Fix missing parentheses in expression. Changes since v1: - Fix typos in commit log and inline comments - Change if

[edk2-devel] [PATCH v4 1/5] ArmPkg/IndustryStandard: 32b/64b agnostic FF-A, Mm SVC and Std SMC IDs

2021-05-19 Thread Etienne Carriere
Defines ARM_SVC_ID_FFA_* and ARM_SVC_ID_SP_* identifiers for 32bit function IDs as per SMCCC specification. Defines also generic ARM SVC identifier macros to wrap 32bit or 64bit identifiers upon target built architecture. Signed-off-by: Etienne Carriere Reviewed-by: Sami Mujawar --- Changes

[edk2-devel] [PATCH v4 2/5] ArmPkg: prepare 32bit ARM build of StandaloneMmPkg

2021-05-19 Thread Etienne Carriere
/ArmMmuStandaloneMmLib.c and compile it for both 32bit and 64bit architectures. Signed-off-by: Etienne Carriere Reviewed-by: Sami Mujawar --- Changes since v3: - Remove Cc tags and apply review tag. No change since v2 No change since v1 --- ArmPkg/ArmPkg.dec

[edk2-devel] [PATCH v4 4/5] StandaloneMmPkg: fix pointer/int casts against 32bit architectures

2021-05-19 Thread Etienne Carriere
Use intermediate (UINTN) cast when casting int from/to pointer. This is needed as UINT64 values cast from/to 32bit pointer for 32bit architectures. Signed-off-by: Etienne Carriere Acked-by: Jiewen Yao Reviewed-by: Sami Mujawar --- Changes since v3: - Remove Cc tags and apply review tags. No

[edk2-devel] [PATCH v4 5/5] StandaloneMmPkg: build for 32bit arm machines

2021-05-19 Thread Etienne Carriere
64b Arm targets. Signed-off-by: Etienne Carriere --- Changes since v3: - Fix BuildOptions.ARM in StandaloneMmPkg. - Remove Cc tags. No change since v2 Changes since v1: - ARM_SMC_ID_MM_COMMUNICATE 32b/64b agnostic helper ID is defined in ArmStdSmc.h (see 1st commit in this series) instead of

Re: [edk2-devel] [PATCH v3 5/5] StandaloneMmPkg: build for 32bit arm machines

2021-05-18 Thread Etienne Carriere
Hello Sami, Thanks for the catch. I missed that. My comment below. On Tue, 18 May 2021 at 13:07, Sami Mujawar wrote: > > Hi Etienne, > > Please find my response inline marked [SAMI]. > > Regards, > > Sami Mujawar > > On 17/05/2021 08:40 AM, Etienne Carriere wr

Re: [edk2-devel] [PATCH v2 3/5] GenFv: Arm: support images entered in Thumb mode

2021-05-17 Thread Etienne Carriere
es. > > Thanks > Liming > > -邮件原件- > > 发件人: devel@edk2.groups.io 代表 Etienne > > Carriere > > 发送时间: 2021年5月17日 15:35 > > 收件人: gaoliming > > 抄送: devel@edk2.groups.io; Achin Gupta ; Ard > > Biesheuvel ; Jiewen Yao > > ; Leif Lindholm ; Sami

[edk2-devel] [PATCH v3 4/5] StandaloneMmPkg: fix pointer/int casts against 32bit architectures

2021-05-17 Thread Etienne Carriere
Use intermediate (UINTN) cast when casting int from/to pointer. This is needed as UINT64 values cast from/to 32bit pointer for 32bit architectures. Cc: Achin Gupta Cc: Ard Biesheuvel Cc: Jiewen Yao Cc: Leif Lindholm Cc: Sami Mujawar Cc: Sughosh Ganu Signed-off-by: Etienne Carriere --- No

[edk2-devel] [PATCH v3 5/5] StandaloneMmPkg: build for 32bit arm machines

2021-05-17 Thread Etienne Carriere
64b Arm targets. Cc: Achin Gupta Cc: Ard Biesheuvel Cc: Jiewen Yao Cc: Leif Lindholm Cc: Sami Mujawar Cc: Sughosh Ganu Signed-off-by: Etienne Carriere --- No change since v2 Changes since v1: - ARM_SMC_ID_MM_COMMUNICATE 32b/64b agnostic helper ID is defined in ArmStdSmc.h (see 1st commit

[edk2-devel] [PATCH v3 2/5] ArmPkg: prepare 32bit ARM build of StandaloneMmPkg

2021-05-17 Thread Etienne Carriere
/ArmMmuStandaloneMmLib.c and compile it for both 32bit and 64bit architectures. Cc: Achin Gupta Cc: Ard Biesheuvel Cc: Leif Lindholm Cc: Sughosh Ganu Signed-off-by: Etienne Carriere --- No change since v2 No change since v1 --- ArmPkg/ArmPkg.dec

[edk2-devel] [PATCH v3 3/5] GenFv: Arm: support images entered in Thumb mode

2021-05-17 Thread Etienne Carriere
Thumb mode. Cc: Bob Feng Cc: Liming Gao Cc: Achin Gupta Cc: Ard Biesheuvel Cc: Leif Lindholm Cc: Sughosh Ganu Signed-off-by: Etienne Carriere --- Changes since v2: - Fix missing parentheses in expression. Changes since v1: - Fix typos in commit log and inline comments - Change if() test

[edk2-devel] [PATCH v3 1/5] ArmPkg/IndustryStandard: 32b/64b agnostic FF-A, Mm SVC and Std SMC IDs

2021-05-17 Thread Etienne Carriere
Signed-off-by: Etienne Carriere --- No change since v2 Changes since v1: - Define ARM_SMC_ID_MM_COMMUNICATE 32b/64b agnostic helper ID in ArmStdSmc.h, as expected by few following commits in this series. --- ArmPkg/Include/IndustryStandard/ArmFfaSvc.h | 12 ArmPkg/Include

Re: [edk2-devel] [PATCH v2 3/5] GenFv: Arm: support images entered in Thumb mode

2021-05-17 Thread Etienne Carriere
On Mon, 17 May 2021 at 09:24, gaoliming wrote: > > Acked-by: Liming Gao > > > -邮件原件- > > 发件人: Etienne Carriere > > 发送时间: 2021年5月17日 13:49 > > 收件人: devel@edk2.groups.io > > 抄送: Achin Gupta ; Ard Biesheuvel > > ; Jiewen Yao ; Leif > > L

Re: [edk2-devel] [PATCH v2 5/5] StandaloneMmPkg: build for 32bit arm machines

2021-05-16 Thread Etienne Carriere
Dear all, For info, Tested on Qemu/arm and stm32mp1 (both armv7-a) and on 64bit Qemu/AArch64. I used OP-TEE 3.13.0 to host the StMM instance. Regards, Etienne On Mon, 17 May 2021 at 07:50, Etienne Carriere wrote: > > This change allows to build StandaloneMmPkg components for 32b

[edk2-devel] [edk2-platforms][PATCH v2 6/6] Platform/StandaloneMm: build StandaloneMmRpmb for 32bit architectures

2021-05-16 Thread Etienne Carriere
when StMM runs in OP-TEE. Cc: Ard Biesheuvel Cc: Ilias Apalodimas Cc: Leif Lindholm Cc: Sami Mujawar Signed-off-by: Etienne Carriere --- Changes since v1: - Remove useless duplication of ArmSvcLib loading. - Move BaseStackCheckLib to generic library classes instead of ARM only. - include

[edk2-devel] [edk2-platforms][PATCH v2 5/6] Drivers/OpTee: address cast build warning issue in 32b mode

2021-05-16 Thread Etienne Carriere
Use (UINTN) cast to cast physical or virtual address values to the pointer size before casting from/to a pointer value. Cc: Ard Biesheuvel Cc: Ilias Apalodimas Cc: Leif Lindholm Cc: Sami Mujawar Signed-off-by: Etienne Carriere --- No change since v1 --- Drivers/OpTee/OpteeRpmbPkg

[edk2-devel] [edk2-platforms][PATCH v2 4/6] Drivers/OpTee: Add Aarch32 SVC IDs for 32bit Arm targets

2021-05-16 Thread Etienne Carriere
: Ard Biesheuvel Cc: Ilias Apalodimas Cc: Leif Lindholm Cc: Sami Mujawar Signed-off-by: Etienne Carriere --- Changes since v1: - Use _AARCH64 (resp. _AARCH32) suffix instead of _64 (resp. _32) in the added macros. --- Drivers/OpTee/OpteeRpmbPkg/OpTeeRpmbFvb.c | 2 +- Drivers/OpTee

[edk2-devel] [edk2-platforms][PATCH v2 3/6] Platform/StandaloneMm: sync with edk2 StandaloneMmCpu path change

2021-05-16 Thread Etienne Carriere
: Sughosh Ganu Cc: Thomas Abraham Signed-off-by: Etienne Carriere --- Changes since v1: - split change in 3: this change relates to StandaloneMm package only. --- Platform/StandaloneMm/PlatformStandaloneMmPkg/PlatformStandaloneMmRpmb.dsc | 2 +- Platform/StandaloneMm/PlatformStandaloneMmPkg

[edk2-devel] [edk2-platforms][PATCH v2 2/6] Platform/Socionext/DeveloperBox: sync with edk2 StandaloneMmCpu path change

2021-05-16 Thread Etienne Carriere
: Sughosh Ganu Cc: Thomas Abraham Signed-off-by: Etienne Carriere --- Changes since v1: - split change in 3: this change relates to DeveloperBox only. --- Platform/Socionext/DeveloperBox/DeveloperBoxMm.dsc | 2 +- Platform/Socionext/DeveloperBox/DeveloperBoxMm.fdf | 2 +- 2 files changed, 2 insertions

[edk2-devel] [edk2-platforms][PATCH v2 1/6] Platform/ARM/SgiPkg: sync with edk2 StandaloneMmCpu path change

2021-05-16 Thread Etienne Carriere
: Sughosh Ganu Cc: Thomas Abraham Signed-off-by: Etienne Carriere --- Changes since v1: - split change in 3: this change relates to Platform/ARM/SgiPkg only. --- Platform/ARM/SgiPkg/PlatformStandaloneMm.dsc | 2 +- Platform/ARM/SgiPkg/PlatformStandaloneMm.fdf | 2 +- 2 files changed, 2 insertions(+), 2

[edk2-devel] [PATCH v2 5/5] StandaloneMmPkg: build for 32bit arm machines

2021-05-16 Thread Etienne Carriere
64b Arm targets. Cc: Achin Gupta Cc: Ard Biesheuvel Cc: Jiewen Yao Cc: Leif Lindholm Cc: Sami Mujawar Cc: Sughosh Ganu Signed-off-by: Etienne Carriere --- Changes since v1: - ARM_SMC_ID_MM_COMMUNICATE 32b/64b agnostic helper ID is defined in ArmStdSmc.h (see 1st commit in this series

[edk2-devel] [PATCH v2 4/5] StandaloneMmPkg: fix pointer/int casts against 32bit architectures

2021-05-16 Thread Etienne Carriere
Use intermediate (UINTN) cast when casting int from/to pointer. This is needed as UINT64 values cast from/to 32bit pointer for 32bit architectures. Cc: Achin Gupta Cc: Ard Biesheuvel Cc: Jiewen Yao Cc: Leif Lindholm Cc: Sami Mujawar Cc: Sughosh Ganu Signed-off-by: Etienne Carriere --- No

[edk2-devel] [PATCH v2 3/5] GenFv: Arm: support images entered in Thumb mode

2021-05-16 Thread Etienne Carriere
Thumb mode. Cc: Bob Feng Cc: Liming Gao Cc: Achin Gupta Cc: Ard Biesheuvel Cc: Leif Lindholm Cc: Sughosh Ganu Signed-off-by: Etienne Carriere --- Changes since v1: - Fix typos in commit log and inline comments - Change if() test operand to be an explicit boolean --- BaseTools/Source/C

[edk2-devel] [PATCH v2 1/5] ArmPkg/IndustryStandard: 32b/64b agnostic FF-A, Mm SVC and Std SMC IDs

2021-05-16 Thread Etienne Carriere
Signed-off-by: Etienne Carriere --- Changes since v1: - Define ARM_SMC_ID_MM_COMMUNICATE 32b/64b agnostic helper ID in ArmStdSmc.h, as expected by few following commits in this series. --- ArmPkg/Include/IndustryStandard/ArmFfaSvc.h | 12 ArmPkg/Include/IndustryStandard/ArmMmSvc.h

[edk2-devel] [PATCH v2 2/5] ArmPkg: prepare 32bit ARM build of StandaloneMmPkg

2021-05-16 Thread Etienne Carriere
/ArmMmuStandaloneMmLib.c and compile it for both 32bit and 64bit architectures. Cc: Achin Gupta Cc: Ard Biesheuvel Cc: Leif Lindholm Cc: Sughosh Ganu Signed-off-by: Etienne Carriere --- No change since v1 --- ArmPkg/ArmPkg.dec | 2 +- ArmPkg

Re: [edk2-devel] [PATCH 5/5] StandaloneMmPkg: build for 32bit arm machines

2021-05-12 Thread Etienne Carriere
ps://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-a/downloads > > Apart from this, there are some minor comments that I have marked inline > as [SAMI]. > > With those addressed. > > Reviewed-by: Sami Mujawar > > Regards, > >

[edk2-devel] [edk2-platforms][PATCH 2/4] Drivers/OpTee: Add Aarch32 SVC IDs for 32bit Arm targets

2021-05-10 Thread Etienne Carriere
: Ard Biesheuvel Cc: Ilias Apalodimas Cc: Leif Lindholm Cc: Sami Mujawar Signed-off-by: Etienne Carriere --- Drivers/OpTee/OpteeRpmbPkg/OpTeeRpmbFvb.c | 2 +- Drivers/OpTee/OpteeRpmbPkg/OpTeeRpmbFvb.h | 16 ++-- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/Drivers

[edk2-devel] [edk2-platforms][PATCH 3/4] Drivers/OpTee: address cast build warning issue in 32b mode

2021-05-10 Thread Etienne Carriere
Use (UINTN) cast to cast physical or virtual address values to the pointer size before casting from/to a pointer value. Cc: Ard Biesheuvel Cc: Ilias Apalodimas Cc: Leif Lindholm Cc: Sami Mujawar Signed-off-by: Etienne Carriere --- Drivers/OpTee/OpteeRpmbPkg/OpTeeRpmbFvb.c | 21

[edk2-devel] [edk2-platforms][PATCH 1/4] sync with edk2 where StandaloneMmCpu moved to AArch64/ parent directory

2021-05-10 Thread Etienne Carriere
: Sughosh Ganu Cc: Thomas Abraham Signed-off-by: Etienne Carriere --- Platform/ARM/SgiPkg/PlatformStandaloneMm.dsc | 2 +- Platform/ARM/SgiPkg/PlatformStandaloneMm.fdf | 2 +- Platform/Socionext/DeveloperBox/DeveloperBoxMm.dsc

[edk2-devel] [edk2-platforms][PATCH 4/4] Platform/StandaloneMm: build StandaloneMmRpmb for 32bit architectures

2021-05-10 Thread Etienne Carriere
when StMM runs in OP-TEE. Cc: Ard Biesheuvel Cc: Ilias Apalodimas Cc: Leif Lindholm Cc: Sami Mujawar Signed-off-by: Etienne Carriere --- Platform/StandaloneMm/PlatformStandaloneMmPkg/PlatformStandaloneMmRpmb.dsc | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git

[edk2-devel] [edk2-platforms][PATCH 0/4] Arm 32bit support in StandaloneMmRpmb

2021-05-10 Thread Etienne Carriere
support in OpTee drivers and last updates PlatformStandaloneMmRpmb.dsc for 32bit the ARM architure. [1] https://edk2.groups.io/g/devel/message/74734 Etienne Carriere (4): sync with edk2 where StandaloneMmCpu moved to AArch64/ parent directory Drivers/OpTee: Add Aarch32 SVC IDs for 32bit Arm

Re: [edk2-devel] [PATCH 0/5] Arm 32bit support in StandaloveMm

2021-05-05 Thread Etienne Carriere
Hello Liming, Sure, I will do, thanks. Regards, Etienne On Thu, 6 May 2021 at 05:26, gaoliming wrote: > Etienne: > Can you submit one BZ (https://bugzilla.tianocore.org/) for this new > feature? > > Thanks > Liming > > -邮件原件- > > 发件人: devel@edk2.grou

[edk2-devel] [PATCH 5/5] StandaloneMmPkg: build for 32bit arm machines

2021-05-04 Thread Etienne Carriere
64b Arm targets. Cc: Achin Gupta Cc: Ard Biesheuvel Cc: Jiewen Yao Cc: Leif Lindholm Cc: Sami Mujawar Cc: Sughosh Ganu Signed-off-by: Etienne Carriere --- StandaloneMmPkg/Core/StandaloneMmCore.inf | 2

[edk2-devel] [PATCH 4/5] StandaloneMmPkg: fix pointer/int casts against 32bit architectures

2021-05-04 Thread Etienne Carriere
Use intermediate (UINTN) cast when casting int from/to pointer. This is needed as UINT64 values cast from/to 32bit pointer for 32bit architectures. Cc: Achin Gupta Cc: Ard Biesheuvel Cc: Jiewen Yao Cc: Leif Lindholm Cc: Sami Mujawar Cc: Sughosh Ganu Signed-off-by: Etienne Carriere

[edk2-devel] [PATCH 1/5] ArmPkg/IndustryStandard: 32b/64b agnostic FF-A and Mm SVC IDs

2021-05-04 Thread Etienne Carriere
Signed-off-by: Etienne Carriere --- ArmPkg/Include/IndustryStandard/ArmFfaSvc.h | 12 ArmPkg/Include/IndustryStandard/ArmMmSvc.h | 15 +++ 2 files changed, 27 insertions(+) diff --git a/ArmPkg/Include/IndustryStandard/ArmFfaSvc.h b/ArmPkg/Include/IndustryStandard

[edk2-devel] [PATCH 0/5] Arm 32bit support in StandaloveMm

2021-05-04 Thread Etienne Carriere
change is a resend of [2], rebased to latest master. [1] https://github.com/etienne-lms/edk2-platforms/commit/becbd185167f6a115dbd3895bc6071ab04e44d9b [2] https://edk2.groups.io/g/devel/message/72834 (with 72835, 72836, 72837 and 72838) Etienne Carriere (5): ArmPkg/IndustryStandard: 32b/64b

[edk2-devel] [PATCH 3/5] GenGv: Arm: support images entered in Thumb mode

2021-05-04 Thread Etienne Carriere
Thumb mode. Cc: Bob Feng Cc: Liming Gao Cc: Achin Gupta Cc: Ard Biesheuvel Cc: Leif Lindholm Cc: Sughosh Ganu Signed-off-by: Etienne Carriere --- BaseTools/Source/C/GenFv/GenFvInternalLib.c | 38 +++- 1 file changed, 29 insertions(+), 9 deletions(-) diff --git a/BaseTools

[edk2-devel] [PATCH 2/5] ArmPkg: prepare 32bit ARM build of StandaloneMmPkg

2021-05-04 Thread Etienne Carriere
/ArmMmuStandaloneMmLib.c and compile it for both 32bit and 64bit architectures. Cc: Achin Gupta Cc: Ard Biesheuvel Cc: Leif Lindholm Cc: Sughosh Ganu Signed-off-by: Etienne Carriere --- ArmPkg/ArmPkg.dec | 2 +- ArmPkg/ArmPkg.dsc

[edk2-devel] [PATCH 2/5] ArmPkg: prepare 32bit ARM build of StandaloneMmPkg

2021-03-15 Thread Etienne Carriere
specification upon the target architecture. Signed-off-by: Etienne Carriere --- ArmPkg/ArmPkg.dec | 2 +- ArmPkg/ArmPkg.dsc | 2 +- .../MmCommunicationDxe/MmCommunication.c | 2 +- .../{AArch64 => }/ArmMmuStandaloneMmLib.c |

[edk2-devel] [PATCH 4/5] StandaloneMmPkg: fix pointer/int casts against 32bit architectures

2021-03-15 Thread Etienne Carriere
Use intermediate (UINTN) cast when casting int from/to pointer. This is needed as UINT64 values cast from/to 32bit pointer for 32bit architectures. Signed-off-by: Etienne Carriere --- .../StandaloneMmCpu/AArch64/StandaloneMmCpu.c | 8 .../AArch64/CreateHobList.c

[edk2-devel] [PATCH 5/5] StandaloneMmPkg: build for 32bit arm machines

2021-03-15 Thread Etienne Carriere
64b Arm targets. Signed-off-by: Etienne Carriere --- StandaloneMmPkg/Core/StandaloneMmCore.inf| 2 +- .../StandaloneMmCpu/{AArch64 => }/EventHandle.c | 12 ++-- .../{AArch64 => }/StandaloneMmCpu.c | 2 +- .../{AArch64 => }/StandaloneMmCpu.h

[edk2-devel] [PATCH 3/5] GenGv: Arm: support images entered in Thumb mode

2021-03-15 Thread Etienne Carriere
Thumb mode. Signed-off-by: Etienne Carriere --- BaseTools/Source/C/GenFv/GenFvInternalLib.c | 39 - 1 file changed, 30 insertions(+), 9 deletions(-) diff --git a/BaseTools/Source/C/GenFv/GenFvInternalLib.c b/BaseTools/Source/C/GenFv/GenFvInternalLib.c index 6e296b8ad6

[edk2-devel] [PATCH 1/5] ArmPkg/IndustryStandard: 32b/64b agnostic FF-A and Mm SVC IDs

2021-03-15 Thread Etienne Carriere
. [1] https://developer.arm.com/documentation/den0077/latest Signed-off-by: Etienne Carriere --- ArmPkg/Include/IndustryStandard/ArmFfaSvc.h | 12 ArmPkg/Include/IndustryStandard/ArmMmSvc.h | 15 +++ 2 files changed, 27 insertions(+) diff --git a/ArmPkg/Include