[edk2-devel] [edk2-platforms][PATCH] Platform/Sgi: Add VariableFlashInfoLib to fix missing dependency

2022-09-20 Thread Vijayenthiran Subramaniam
dependency. [1]: https://github.com/tianocore/edk2/commit/8db39c60cdf35e0a53ccdbccf7e152ab41f54f4c Signed-off-by: Vijayenthiran Subramaniam --- Platform/ARM/SgiPkg/SgiPlatformMm.dsc.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/Platform/ARM/SgiPkg/SgiPlatformMm.dsc.inc b/Platform/ARM/SgiPkg

[edk2-devel] [edk2-platforms][PATCH] Platform/Sgi: Remove inaccurate comment in dsc file

2022-09-05 Thread Vijayenthiran Subramaniam
SgiMemoryMap2.dsc.inc files. Signed-off-by: Vijayenthiran Subramaniam --- Platform/ARM/SgiPkg/SgiPlatform.dsc.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Platform/ARM/SgiPkg/SgiPlatform.dsc.inc b/Platform/ARM/SgiPkg/SgiPlatform.dsc.inc index b3627c7f0f01..2f5dadfaefc6

Re: [edk2-devel] [edk2-platforms] [PATCH v3 2/3] Platform/ARM/SgiPkg: Add HMAT ACPI table for RdN1EdgeX2

2021-04-08 Thread Vijayenthiran Subramaniam
Hi Sami, Agree with the suggestion. Please make the changes. Regards, Vijay From: "Sami Mujawar via Groups.Io" Reply to: Sami Mujawar Date: Thursday, 8 April 2021 at 12:07 AM To: Vijayenthiran Subramaniam , "devel@edk2.groups.io" Subject: Re: [edk2-devel] [edk2-plat

Re: [edk2-devel] [PATCH v1 3/3] ArmPlatformPkg: Remove package dependency in NorFlashStandaloneMm

2021-03-15 Thread Vijayenthiran Subramaniam
cy. > > Signed-off-by: Pierre Gondois Tested this patch on Arm's reference design platform. Tested-by: Vijayenthiran Subramaniam > --- > The changes can be seen at: > https://github.com/PierreARM/edk2/tree/1641_CI_fixes_for_ArmPlatformPkg_v1 > > ArmPlatformPkg/Drivers/NorFl

[edk2-devel] [edk2-platforms] [PATCH v3 3/3] Platform/ARM/SgiPkg: Add HMAT ACPI table for RD-V1-MC

2021-02-17 Thread Vijayenthiran Subramaniam
. Signed-off-by: Vijayenthiran Subramaniam --- Platform/ARM/SgiPkg/AcpiTables/RdV1McAcpiTables.inf | 3 +- Platform/ARM/SgiPkg/AcpiTables/RdV1Mc/Hmat.aslc | 153 2 files changed, 155 insertions(+), 1 deletion(-) diff --git a/Platform/ARM/SgiPkg/AcpiTables

[edk2-devel] [edk2-platforms] [PATCH v3 2/3] Platform/ARM/SgiPkg: Add HMAT ACPI table for RdN1EdgeX2

2021-02-17 Thread Vijayenthiran Subramaniam
-by: Vijayenthiran Subramaniam --- Platform/ARM/SgiPkg/AcpiTables/RdN1EdgeX2AcpiTables.inf | 3 +- Platform/ARM/SgiPkg/AcpiTables/RdN1EdgeX2/Hmat.aslc | 121 2 files changed, 123 insertions(+), 1 deletion(-) diff --git a/Platform/ARM/SgiPkg/AcpiTables

[edk2-devel] [edk2-platforms] [PATCH v3 1/3] Platform/ARM/SgiPkg: Add helper macros for HMAT table

2021-02-17 Thread Vijayenthiran Subramaniam
Add helper macros to create Memory Proximity Domain, System Locality Latency and Bandwidth Information, Memory Side Cache Information structures in the HMAT table. Signed-off-by: Vijayenthiran Subramaniam --- Platform/ARM/SgiPkg/Include/SgiAcpiHeader.h | 113 +++- 1 file changed

[edk2-devel] [edk2-platforms] [PATCH v3 0/3] Add HMAT tables for RD multi-chip platforms

2021-02-17 Thread Vijayenthiran Subramaniam
anges since v2: - Coding style fixes Changes since v1: - Fix typo reported here: https://edk2.groups.io/g/devel/message/70855 - Add comment in the HMAT table about the latency values: https://edk2.groups.io/g/devel/message/71012 Vijayenthiran Subramaniam (3): Platform/ARM/SgiPkg: Add helper macro

Re: [edk2-devel] [edk2-platforms] [PATCH v2 3/3] Platform/ARM/SgiPkg: Add HMAT ACPI table for RD-V1-MC

2021-02-17 Thread Vijayenthiran Subramaniam
Hi Sami, On Fri, Feb 12, 2021 at 5:28 PM Sami Mujawar wrote: > > Hi Vijay, > > This patch needs similar changes as patch 2/3. Ack. > > Regards, > > Sami Mujawar > > -Original Message- > From: Vijayenthiran Subramaniam > Sent: 03 February 2021

Re: [edk2-devel] [edk2-platforms] [PATCH v2 1/3] Platform/ARM/SgiPkg: Add helper macros for HMAT table

2021-02-17 Thread Vijayenthiran Subramaniam
Hi Sami, On Fri, Feb 12, 2021 at 5:28 PM Sami Mujawar wrote: > > Hi Vijay, > > Please find my response inline marked [SAMI]. > > Regards, > > Sami Mujawar > > -Original Message- > From: Vijayenthiran Subramaniam > Sent: 03 February 2021 09:07 AM >

Re: [edk2-devel] [edk2-platforms] [PATCH v2 0/3] Add HMAT tables for RD multi-chip platforms

2021-02-11 Thread Vijayenthiran Subramaniam
Hi, On Wed, Feb 3, 2021 at 9:08 AM Vijayenthiran Subramaniam wrote: > > This patch series adds HMAT tables for Arm's Neoverse reference design > multi-chip fixed virtual platforms. The first patch in the series adds helper > macros to create HMAT table within SgiPkg and the rest

[edk2-devel] [edk2-platforms] [PATCH v2 1/3] Platform/ARM/SgiPkg: Add helper macros for HMAT table

2021-02-03 Thread Vijayenthiran Subramaniam
Add helper macros to create Memory Proximity Domain, System Locality Latency and Bandwidth Information, Memory Side Cache Information structures in the HMAT table. Signed-off-by: Vijayenthiran Subramaniam --- Platform/ARM/SgiPkg/Include/SgiAcpiHeader.h | 110 1 file changed

[edk2-devel] [edk2-platforms] [PATCH v2 0/3] Add HMAT tables for RD multi-chip platforms

2021-02-03 Thread Vijayenthiran Subramaniam
anges since v1: - Fix typo reported here: https://edk2.groups.io/g/devel/message/70855 - Add comment in the HMAT table about the latency values: https://edk2.groups.io/g/devel/message/71012 Vijayenthiran Subramaniam (3): Platform/ARM/SgiPkg: Add helper macros for HMAT table Platform/ARM/SgiPkg

[edk2-devel] [edk2-platforms] [PATCH v2 2/3] Platform/ARM/SgiPkg: Add HMAT ACPI table for RdN1EdgeX2

2021-02-03 Thread Vijayenthiran Subramaniam
-by: Vijayenthiran Subramaniam --- Platform/ARM/SgiPkg/AcpiTables/RdN1EdgeX2AcpiTables.inf | 1 + Platform/ARM/SgiPkg/AcpiTables/RdN1EdgeX2/Hmat.aslc | 114 2 files changed, 115 insertions(+) diff --git a/Platform/ARM/SgiPkg/AcpiTables/RdN1EdgeX2AcpiTables.inf b

[edk2-devel] [edk2-platforms] [PATCH v2 3/3] Platform/ARM/SgiPkg: Add HMAT ACPI table for RD-V1-MC

2021-02-03 Thread Vijayenthiran Subramaniam
. Signed-off-by: Vijayenthiran Subramaniam --- Platform/ARM/SgiPkg/AcpiTables/RdV1McAcpiTables.inf | 1 + Platform/ARM/SgiPkg/AcpiTables/RdV1Mc/Hmat.aslc | 144 2 files changed, 145 insertions(+) diff --git a/Platform/ARM/SgiPkg/AcpiTables/RdV1McAcpiTables.inf b

Re: [edk2-devel] [edk2-platforms] [PATCH v1 2/3] Platform/ARM/SgiPkg: Add HMAT ACPI table for RdN1EdgeX2

2021-02-01 Thread Vijayenthiran Subramaniam
Hi Jonathan, On Mon, Feb 1, 2021 at 11:16 AM Jonathan Cameron via groups.io wrote: > > On Fri, 29 Jan 2021 17:11:03 + > Vijayenthiran Subramanian wrote: > > Hi Vijayenthiran, > > > > > > > > + // Memory Proximity Domain > > > > > + { > > > > > + > > > > > EFI_ACPI_6_3_HMAT_STRUCTU

Re: [edk2-devel] [edk2-platforms] [PATCH v1 2/3] Platform/ARM/SgiPkg: Add HMAT ACPI table for RdN1EdgeX2

2021-01-29 Thread Vijayenthiran Subramaniam
Hi Jonathan, On Fri, Jan 29, 2021 at 9:50 AM Jonathan Cameron via groups.io wrote: > > On Thu, 28 Jan 2021 15:58:48 + > Jonathan Cameron via groups.io wrote: > > > On Thu, 28 Jan 2021 19:12:30 +0530 > > Vijayenthiran Subramaniam wrote: > > > > > Add

Re: [edk2-devel] [PATCH v4 1/1] ShellPkg/AcpiView: HMAT Parser

2021-01-28 Thread Vijayenthiran Subramaniam
; Signed-off-by: Marc Moisson-Franckhauser > Signed-off-by: Sami Mujawar Tested this patch on Arm's reference design platform with the patch series https://edk2.groups.io/g/devel/message/70847 applied. Tested-by: Vijayenthiran Subramaniam > --- > > The changes can be seen at: &g

[edk2-devel] [edk2-platforms] [PATCH v1 3/3] Platform/ARM/SgiPkg: Add HMAT ACPI table for RD-V1-MC

2021-01-28 Thread Vijayenthiran Subramaniam
Add HMAT ACPI tables that is specific for RD-V1-MC quad-chip platform. Signed-off-by: Vijayenthiran Subramaniam --- Platform/ARM/SgiPkg/AcpiTables/RdV1McAcpiTables.inf | 1 + Platform/ARM/SgiPkg/AcpiTables/RdV1Mc/Hmat.aslc | 138 2 files changed, 139 insertions

[edk2-devel] [edk2-platforms] [PATCH v1 0/3] Add HMAT tables for RD multi-chip platforms

2021-01-28 Thread Vijayenthiran Subramaniam
adds HMAT tables for RD multi-chip platforms. The first patch in the series adds helper macros to create HMAT table within SgiPkg and the rest two patches adds HMAT table for RD-N1-Edge-X2 and RD-V1-MC platforms respectively. Vijayenthiran Subramaniam (3): Platform/ARM/SgiPkg: Add helper macro

[edk2-devel] [edk2-platforms] [PATCH v1 1/3] Platform/ARM/SgiPkg: Add helper macros for HMAT table

2021-01-28 Thread Vijayenthiran Subramaniam
Add helper macros to create Memory Proximity Domain, System Locality Latency and Bandwidth Information, Memory Side Cache Information structures in the HMAT table. Signed-off-by: Vijayenthiran Subramaniam --- Platform/ARM/SgiPkg/Include/SgiAcpiHeader.h | 110 1 file changed

[edk2-devel] [edk2-platforms] [PATCH v1 2/3] Platform/ARM/SgiPkg: Add HMAT ACPI table for RdN1EdgeX2

2021-01-28 Thread Vijayenthiran Subramaniam
Add HMAT table support for RD-N1-Edge Dual-chip platform. Signed-off-by: Vijayenthiran Subramaniam --- Platform/ARM/SgiPkg/AcpiTables/RdN1EdgeX2AcpiTables.inf | 1 + Platform/ARM/SgiPkg/AcpiTables/RdN1EdgeX2/Hmat.aslc | 108 2 files changed, 109 insertions(+) diff

[edk2-devel] [edk2-platforms] [PATCH v3-resend] SgiPkg/RdN1EdgeX2: Add missing reference to PcdChipCount

2020-10-06 Thread Vijayenthiran Subramaniam
Commit e8fe2026dd79 (“Platform/ARM/SgiPkg: Use chip count constant on rdn1edgex2 platform”) used the PcdChipCount constant but did not declare its use in the ACPI table module. Fix this by listing it in the list of PCDs to be looked up. Signed-off-by: Vijayenthiran Subramaniam Reviewed-by

[edk2-devel] [edk2-platforms] [PATCH v3] SgiPkg/RdN1EdgeX2: Add missing reference to PcdChipCount

2020-10-06 Thread Vijayenthiran Subramaniam
Commit e8fe2026dd79 (“Platform/ARM/SgiPkg: Use chip count constant on rdn1edgex2 platform”) used the PcdChipCount constant but did not declare its use in the ACPI table module. Fix this by listing it in the list of PCDs to be looked up. Signed-off-by: Vijayenthiran Subramaniam --- Changes since

[edk2-devel] [edk2-platforms] [PATCH v2] SgiPkg/RdN1EdgeX2: Add missing reference to PcdChipCount

2020-08-21 Thread Vijayenthiran Subramaniam
Commit e8fe2026dd79 (“Platform/ARM/SgiPkg: Use chip count constant on rdn1edgex2 platform”) used the PcdChipCount constant but did not declare its use in the ACPI table module. Fix this by listing it in the list of PCDs to be looked up. Signed-off-by: Vijayenthiran Subramaniam --- Changes since

Re: [edk2-devel] [PATCH] SgiPkg: Add chip count PCD to build information file for rdn1edgex2

2020-08-21 Thread Vijayenthiran Subramaniam
Hi Leif, On Thu, Aug 20, 2020 at 10:00 AM Leif Lindholm wrote: > > On Wed, Aug 19, 2020 at 20:23:43 +0530, Vijayenthiran Subramaniam wrote: > > PcdChipCount constant is used to define the maximum number chips > > included in the multi-chip configuration. Add this constant to

[edk2-devel] [PATCH] SgiPkg: Add chip count PCD to build information file for rdn1edgex2

2020-08-19 Thread Vijayenthiran Subramaniam
PcdChipCount constant is used to define the maximum number chips included in the multi-chip configuration. Add this constant to the RDN1EdgeX2 ACPI tables build information (INF) file to allow this constant to be used in the RDN1EdgeX2 ACPI tables. Signed-off-by: Vijayenthiran Subramaniam

[edk2-devel] [PATCH] ArmPkg/ArmSvcLib: prevent speculative execution beyond svc

2020-06-04 Thread Vijayenthiran Subramaniam
/safeside/blob/master/kernel_modules/kmod_eret_hvc_smc/eret_hvc_smc_module.c Signed-off-by: Vijayenthiran Subramaniam --- ArmPkg/Library/ArmSvcLib/AArch64/ArmSvc.S | 5 - ArmPkg/Library/ArmSvcLib/Arm/ArmSvc.S | 5 - ArmPkg/Library/ArmSvcLib/Arm/ArmSvc.asm | 5 - 3 files changed

Re: [edk2-devel] [edk2-platforms] [PATCH v2] Platform/ARM/SgiPkg: Fix constant-logical-operand clang error

2020-05-15 Thread Vijayenthiran Subramaniam
Hi Thomas, Thanks for reviewing. Hi Leif, Any feedback on this patch. For context, this patch fixes the Clang build errors reported here: https://edk2.groups.io/g/devel/message/54586 Regards, Vijay. -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Repl

Re: [edk2-devel] [edk2-platforms] [PATCH v2] Platform/ARM/SgiPkg: Fix constant-logical-operand clang error

2020-03-01 Thread Vijayenthiran Subramaniam
Hi, On Wed, Feb 19, 2020 at 8:37 AM Vijayenthiran Subramaniam wrote: > > Fix "use of logical '&&' with constant operand" error when built with > CLANG38 toolchain. > > Signed-off-by: Vijayenthiran Subramaniam > --- > > Changes since v1: >

Re: [edk2-devel] [edk2-platforms] [PATCH v3 0/5] Platform/ARM/SgiPkg: Add support for RD-N1-Edge-Dual platform

2020-02-19 Thread Vijayenthiran Subramaniam
Hi Leif, On Tue, Feb 18, 2020 at 8:34 PM Leif Lindholm wrote: > > On Fri, Feb 14, 2020 at 19:11:29 +0530, Vijayenthiran Subramaniam wrote: > > Changes since v2: > > - Rename i to Idx in Patch 2/5 > > - Retaining R-b in rest of the patches as there's no change > &

[edk2-devel] [edk2-platforms] [PATCH v2] Platform/ARM/SgiPkg: Fix constant-logical-operand clang error

2020-02-19 Thread Vijayenthiran Subramaniam
Fix "use of logical '&&' with constant operand" error when built with CLANG38 toolchain. Signed-off-by: Vijayenthiran Subramaniam --- Changes since v1: - Fix Copyright year Notes: Fix Clan error reported by Leif in https://edk2.groups.io/g/devel/message/

[edk2-devel] [edk2-platforms] [PATCH] Platform/ARM/SgiPkg: Fix constant-logical-operand clang error

2020-02-19 Thread Vijayenthiran Subramaniam
Fix "use of logical '&&' with constant operand" error when built with CLANG38 toolchain. Signed-off-by: Vijayenthiran Subramaniam --- Notes: Fix Clan error reported by Leif in https://edk2.groups.io/g/devel/message/54586. Build tested with clang 9: CL

Re: [edk2-devel] [edk2-platforms] [PATCH v2 0/5] Platform/ARM/SgiPkg: Add support for RD-N1-Edge-Dual platform

2020-02-14 Thread Vijayenthiran Subramaniam
t Regards, > > Leif > > On Wed, Feb 12, 2020 at 18:59:22 +0530, Vijayenthiran Subramaniam wrote: > > Changes since v1: > > - Fix typo which caused build error > > > > This patch series adds support for RD-N1-Edge platform with multi-chip > > capability.

[edk2-devel] [edk2-platforms] [PATCH v3 5/5] Platform/ARM/Sgi: Add initial support for RD-N1-Edge-Dual platform

2020-02-14 Thread Vijayenthiran Subramaniam
For RD-N1-Edge platforms, use multi-chip-mode information from the SGI platform descriptor HOB to pick the correct ACPI table to be installed. Signed-off-by: Vijayenthiran Subramaniam Reviewed-by: Leif Lindholm --- Platform/ARM/SgiPkg/Drivers/PlatformDxe/PlatformDxe.inf | 1 + Platform/ARM

[edk2-devel] [edk2-platforms] [PATCH v3 4/5] Platform/ARM/Sgi: Add ACPI tables for dual-chip RD-N1-Edge platform

2020-02-14 Thread Vijayenthiran Subramaniam
RD-N1-Edge supports a dual-chip configuration in which two RD-N1-Edge platforms are connected through high speed CCIX link. In this dual-chip configuration, the CPU and core GIC Redistributors count are doubled. Add ACPI tables for dual-chip RD-N1-Edge platform. Signed-off-by: Vijayenthiran

[edk2-devel] [edk2-platforms] [PATCH v3 1/5] Platform/ARM/SgiPkg: Disable use of deprecated APIs

2020-02-14 Thread Vijayenthiran Subramaniam
Add the `DISABLE_NEW_DEPRECATED_INTERFACES` build option in DSC file to make sure that the deprecated APIs are not used SgiPkg. Signed-off-by: Vijayenthiran Subramaniam Reviewed-by: Leif Lindholm --- Platform/ARM/SgiPkg/PlatformStandaloneMm.dsc | 3 +++ Platform/ARM/SgiPkg/SgiPlatform.dsc

[edk2-devel] [edk2-platforms] [PATCH v3 3/5] Platform/ARM/SgiPkg: Add MultiChipMode to Platform Descriptor

2020-02-14 Thread Vijayenthiran Subramaniam
;multi-chip-mode' property from fdt. Signed-off-by: Vijayenthiran Subramaniam Reviewed-by: Leif Lindholm --- Platform/ARM/SgiPkg/Include/SgiPlatform.h| 4 Platform/ARM/SgiPkg/Drivers/PlatformDxe/PlatformDxe.c| 13 ++--- Platform/ARM/SgiPkg/Libra

[edk2-devel] [edk2-platforms] [PATCH v3 2/5] Platform/ARM/SgiPkg: Use lookup table to install ACPI table

2020-02-14 Thread Vijayenthiran Subramaniam
Use lookup table to identify the platform and install corresponding ACPI tables. As the number of supported platforms grow, the existing platform identification using if..else does not scale well. Signed-off-by: Vijayenthiran Subramaniam --- Platform/ARM/SgiPkg/Drivers/PlatformDxe/PlatformDxe.c

[edk2-devel] [edk2-platforms] [PATCH v3 0/5] Platform/ARM/SgiPkg: Add support for RD-N1-Edge-Dual platform

2020-02-14 Thread Vijayenthiran Subramaniam
ement to SgiPkg to avoid any usage of deprecated APIs. The second patch refactors the existing code to use lookup table in order to identify the platform. The rest of the patch adds multi-chip support for the RD-N1-Edge platform. Vijayenthiran Subramaniam (5): Platform/ARM/SgiPkg: Disable u

[edk2-devel] [edk2-platforms] [PATCH v2 2/5] Platform/ARM/SgiPkg: Use lookup table to install ACPI table

2020-02-12 Thread Vijayenthiran Subramaniam
Use lookup table to identify the platform and install corresponding ACPI tables. As the number of supported platforms grow, the existing platform identification using if..else does not scale well. Signed-off-by: Vijayenthiran Subramaniam --- Platform/ARM/SgiPkg/Drivers/PlatformDxe/PlatformDxe.c

[edk2-devel] [edk2-platforms] [PATCH v2 5/5] Platform/ARM/Sgi: Add initial support for RD-N1-Edge-Dual platform

2020-02-12 Thread Vijayenthiran Subramaniam
For RD-N1-Edge platforms, use multi-chip-mode information from the SGI platform descriptor HOB to pick the correct ACPI table to be installed. Signed-off-by: Vijayenthiran Subramaniam --- Platform/ARM/SgiPkg/Drivers/PlatformDxe/PlatformDxe.inf | 1 + Platform/ARM/SgiPkg/Drivers/PlatformDxe

[edk2-devel] [edk2-platforms] [PATCH v2 3/5] Platform/ARM/SgiPkg: Add MultiChipMode to Platform Descriptor

2020-02-12 Thread Vijayenthiran Subramaniam
;multi-chip-mode' property from fdt. Signed-off-by: Vijayenthiran Subramaniam --- Platform/ARM/SgiPkg/Include/SgiPlatform.h| 4 Platform/ARM/SgiPkg/Drivers/PlatformDxe/PlatformDxe.c| 13 ++--- Platform/ARM/SgiPkg/Library/SgiPlatformPei/SgiPlatformP

[edk2-devel] [edk2-platforms] [PATCH v2 4/5] Platform/ARM/Sgi: Add ACPI tables for dual-chip RD-N1-Edge platform

2020-02-12 Thread Vijayenthiran Subramaniam
RD-N1-Edge supports a dual-chip configuration in which two RD-N1-Edge platforms are connected through high speed CCIX link. In this dual-chip configuration, the CPU and core GIC Redistributors count are doubled. Add ACPI tables for dual-chip RD-N1-Edge platform. Signed-off-by: Vijayenthiran

[edk2-devel] [edk2-platforms] [PATCH v2 1/5] Platform/ARM/SgiPkg: Disable use of deprecated APIs

2020-02-12 Thread Vijayenthiran Subramaniam
Add the `DISABLE_NEW_DEPRECATED_INTERFACES` build option in DSC file to make sure that the deprecated APIs are not used SgiPkg. Signed-off-by: Vijayenthiran Subramaniam --- Platform/ARM/SgiPkg/PlatformStandaloneMm.dsc | 3 +++ Platform/ARM/SgiPkg/SgiPlatform.dsc | 3 +++ 2 files

[edk2-devel] [edk2-platforms] [PATCH v2 0/5] Platform/ARM/SgiPkg: Add support for RD-N1-Edge-Dual platform

2020-02-12 Thread Vijayenthiran Subramaniam
table in order to identify the platform. The rest of the patch adds multi-chip support for the RD-N1-Edge platform. Vijayenthiran Subramaniam (5): Platform/ARM/SgiPkg: Disable use of deprecated APIs Platform/ARM/SgiPkg: Use lookup table to install ACPI table Platform/ARM/SgiPkg: Add

[edk2-devel] [PATCH edk2-platforms 0/5] Add support for RD-N1-Edge-Dual platform

2020-02-11 Thread Vijayenthiran Subramaniam
patch adds multi-chip support for the RD-N1-Edge platform. Vijayenthiran Subramaniam (5): Platform/ARM/SgiPkg: Disable use of deprecated APIs Platform/ARM/SgiPkg: Use lookup table to install ACPI table Platform/ARM/SgiPkg: Add MultiChipMode to Platform Descriptor Platform/ARM/Sgi: Add ACPI

[edk2-devel] [PATCH edk2-platforms 3/5] Platform/ARM/SgiPkg: Add MultiChipMode to Platform Descriptor

2020-02-11 Thread Vijayenthiran Subramaniam
;multi-chip-mode' property from fdt. Signed-off-by: Vijayenthiran Subramaniam --- Platform/ARM/SgiPkg/Include/SgiPlatform.h| 4 Platform/ARM/SgiPkg/Drivers/PlatformDxe/PlatformDxe.c| 9 +++-- Platform/ARM/SgiPkg/Library/SgiPlatformPei/SgiPlatform

[edk2-devel] [PATCH edk2-platforms 5/5] Platform/ARM/Sgi: Add initial support for RD-N1-Edge-Dual platform

2020-02-11 Thread Vijayenthiran Subramaniam
For RD-N1-Edge platforms, use multi-chip-mode information from the SGI platform descriptor HOB to pick the correct ACPI table to be installed. Signed-off-by: Vijayenthiran Subramaniam --- Platform/ARM/SgiPkg/Drivers/PlatformDxe/PlatformDxe.inf | 1 + Platform/ARM/SgiPkg/Drivers/PlatformDxe

[edk2-devel] [PATCH edk2-platforms 1/5] Platform/ARM/SgiPkg: Disable use of deprecated APIs

2020-02-11 Thread Vijayenthiran Subramaniam
Add the `DISABLE_NEW_DEPRECATED_INTERFACES` build option in DSC file to make sure that the deprecated APIs are not used SgiPkg. Signed-off-by: Vijayenthiran Subramaniam --- Platform/ARM/SgiPkg/PlatformStandaloneMm.dsc | 3 +++ Platform/ARM/SgiPkg/SgiPlatform.dsc | 3 +++ 2 files

[edk2-devel] [PATCH edk2-platforms 4/5] Platform/ARM/Sgi: Add ACPI tables for dual-chip RD-N1-Edge platform

2020-02-11 Thread Vijayenthiran Subramaniam
RD-N1-Edge supports a dual-chip configuration in which two RD-N1-Edge platforms are connected through high speed CCIX link. In this dual-chip configuration, the CPU and core GIC Redistributors count are doubled. Add ACPI tables for dual-chip RD-N1-Edge platform. Signed-off-by: Vijayenthiran

[edk2-devel] [PATCH edk2-platforms 2/5] Platform/ARM/SgiPkg: Use lookup table to install ACPI table

2020-02-11 Thread Vijayenthiran Subramaniam
Use lookup table to identify the platform and install corresponding ACPI tables. As the number of supported platforms grow, the existing platform identification using if..else does not scale well. Signed-off-by: Vijayenthiran Subramaniam --- Platform/ARM/SgiPkg/Drivers/PlatformDxe/PlatformDxe.c