Re: [edk2-devel] [PATCH V2 0/4] Enable Dynamic ACPI for LS1046AFRWY

2021-08-13 Thread Vikas Singh via groups.io
Sunny, Apologies for late response. (Not keeping well these days) Ok, PSB my remarks. #1. True, if an entity is independently getting build must be prefixed with Pkg. In my previous discussion with Leif (https://edk2.groups.io/g/devel/message/70090) Leif requested a reason of this kind of

Re: [edk2-devel] [PATCH V2 3/4] NXP/LS1046aFrwyPkg: Enable ConfigurationManager on LS1046AFRWY

2021-07-26 Thread Vikas Singh via groups.io
Sunny, Thank you for reviewing my code. Here are my remarks. PSB From: Sunny Wang Sent: Monday, July 12, 2021 4:07 PM To: Vikas Singh ; devel@edk2.groups.io Cc: Sami Mujawar ; l...@nuviainc.com ; Meenakshi Aggarwal (meenakshi.aggar...@nxp.com) ; Samer

Re: [edk2-devel] [PATCH V2 0/4] Enable Dynamic ACPI for LS1046AFRWY

2021-07-26 Thread Vikas Singh via groups.io
Sunny,thanks for your review and PSB my remarks. From: Sunny Wang Sent: Monday, July 12, 2021 4:03 PM To: Vikas Singh ; devel@edk2.groups.io ; Meenakshi Aggarwal (meenakshi.aggar...@nxp.com) ; l...@nuviainc.com Cc: Sami Mujawar ; l...@nuviainc.com ; Samer

[edk2-devel] [PATCH V2 3/4] NXP/LS1046aFrwyPkg: Enable ConfigurationManager on LS1046AFRWY

2021-06-18 Thread Vikas Singh via groups.io
This patch enables the use of ConfigurationManager (CM) and its services to leverage the Dynamic ACPI support for NXP's LS1046aFrwy platform. Signed-off-by: Vikas Singh --- Platform/NXP/LS1046aFrwyPkg/Include/Platform.h | 152 Platform/NXP/LS1046aFrwyPkg/LS1046aFrwyPkg.dsc

[edk2-devel] [PATCH V2 4/4] Platform/NXP/LS1046aFrwyPkg: Add OEM specific DSDT generator

2021-06-18 Thread Vikas Singh via groups.io
This patch adds platform specific DSDT generator and Clk dsdt properties for LS1046AFRWY platform. Reviewed-by: Leif Lindholm Signed-off-by: Vikas Singh --- Platform/NXP/LS1046aFrwyPkg/AcpiTablesInclude/Dsdt/Clk.asl | 60 +

[edk2-devel] [PATCH V2 2/4] Silicon/NXP: Add support of SVR handling for LS1046A SoC

2021-06-18 Thread Vikas Singh via groups.io
This patch adds a generic method to get Silicon Version Register (SVR) on LS1046A SoC. This method will be generic for all platfroms based on LS1046A SoC, like - LS1046AFRWY, LS1046ARDB. Signed-off-by: Vikas Singh --- Silicon/NXP/LS1046A/Library/SocLib/SocLib.c | 16 1 file

[edk2-devel] [PATCH V2 1/4] Platform/NXP: Make SoC version log in ConfigurationManager generic

2021-06-18 Thread Vikas Singh via groups.io
This patch replaces the logic in ConfigurationManager to print platform name based on platform ID with a simple #define PLAT_SOC_NAME defined in platform headers. This also removes duplication of the SVR_LX2160A, SVR_SOC_VER, SVR_MAJOR and SVR_MINOR macro definitions between SoC headers and

[edk2-devel] [PATCH V2 0/4] Enable Dynamic ACPI for LS1046AFRWY

2021-06-18 Thread Vikas Singh via groups.io
This patch series basically aims to extend the Dynamic ACPI framework towards NXP's LS1046AFRWY platform. In continuation to https://edk2.groups.io/g/devel/message/71709 The change set in the series is in below order - (1)Introducing a new platform specific macro "PLAT_SOC_NAME" This macro will

Re: [edk2-devel] [PATCH V1 4/4] Platform/NXP/LS1046aFrwyPkg: Add OEM specific DSDT generator

2021-06-18 Thread Vikas Singh via groups.io
On Tue, Jun 15, 2021 at 3:07 AM Leif Lindholm wrote: > > On Fri, Jun 11, 2021 at 21:22:00 +0530, Vikas Singh wrote: > > This patch adds platform specific DSDT generator > > and Clk dsdt properties for LS1046AFRWY platform. > > > > Signed-off-by: Vikas Singh > > --- > >

Re: [edk2-devel] [PATCH V1 3/4] Platform/NXP/LS1046aFrwyPkg: Extend Dynamic ACPI support

2021-06-18 Thread Vikas Singh via groups.io
On Tue, Jun 15, 2021 at 2:58 AM Leif Lindholm wrote: > > On Fri, Jun 11, 2021 at 21:21:59 +0530, Vikas Singh wrote: > > This patch set extends Configuration Manager (CM) and > > its services to leverage the Dynamic ACPI support for > > NXP's LS1046aFrwy platform. > > This patch does not touch

Re: [edk2-devel] [PATCH V1 2/4] Silicon/NXP: Add support of SVR handling for LS1046FRWY

2021-06-18 Thread Vikas Singh via groups.io
On Tue, Jun 15, 2021 at 2:29 AM Leif Lindholm wrote: > > On Fri, Jun 11, 2021 at 21:21:58 +0530, Vikas Singh wrote: > > This change set intend to add a generic method to get > > Does it intend to add, or does it add? > > / > Leif > Leif, this patch adds a generic method to get the SVR

Re: [edk2-devel] [PATCH V1 1/4] Platform/NXP: Add generic log in CM to print SoC version

2021-06-18 Thread Vikas Singh via groups.io
On Tue, Jun 15, 2021 at 2:28 AM Leif Lindholm wrote: > > On Fri, Jun 11, 2021 at 21:21:57 +0530, Vikas Singh wrote: > > Summary - > > 1.Configuration Manager(CM) is a common implementation > > and should not evaluate the SoC version using macro's > > However CM must directly consume SoC ver

[edk2-devel] [PATCH V1 4/4] Platform/NXP/LS1046aFrwyPkg: Add OEM specific DSDT generator

2021-06-11 Thread Vikas Singh via groups.io
This patch adds platform specific DSDT generator and Clk dsdt properties for LS1046AFRWY platform. Signed-off-by: Vikas Singh --- Platform/NXP/LS1046aFrwyPkg/AcpiTablesInclude/Dsdt/Clk.asl | 60 + Platform/NXP/LS1046aFrwyPkg/AcpiTablesInclude/Dsdt/Dsdt.asl

[edk2-devel] [PATCH V1 3/4] Platform/NXP/LS1046aFrwyPkg: Extend Dynamic ACPI support

2021-06-11 Thread Vikas Singh via groups.io
This patch set extends Configuration Manager (CM) and its services to leverage the Dynamic ACPI support for NXP's LS1046aFrwy platform. Refer-https://edk2.groups.io/g/devel/message/71710 Signed-off-by: Vikas Singh --- Platform/NXP/LS1046aFrwyPkg/Include/Platform.h | 155

[edk2-devel] [PATCH V1 2/4] Silicon/NXP: Add support of SVR handling for LS1046FRWY

2021-06-11 Thread Vikas Singh via groups.io
This change set intend to add a generic method to get access to SoC's Silicon Version Register (SVR) and its handling for LS1046aFrwy platform. Signed-off-by: Vikas Singh --- Silicon/NXP/LS1046A/Library/SocLib/SocLib.c | 16 1 file changed, 16 insertions(+) diff --git

[edk2-devel] [PATCH V1 1/4] Platform/NXP: Add generic log in CM to print SoC version

2021-06-11 Thread Vikas Singh via groups.io
Summary - 1.Configuration Manager(CM) is a common implementation and should not evaluate the SoC version using macro's However CM must directly consume SoC ver string from platfrom who is extending CM services for ACPI table generation. 2.Platforms who extends CM services for themselves

[edk2-devel] [PATCH V1 0/4] Enable Dynamic ACPI for LS1046AFRWY

2021-06-11 Thread Vikas Singh via groups.io
This patch series basically aims to extend the Dynamic ACPI framework towards NXP's LS1046AFRWY platform. Refer- https://edk2.groups.io/g/devel/message/71709 The change set in the series is in below order - (1)Introducing a new platform specific macro "PLAT_SOC_NAME" This macro will be consumed

[edk2-devel] [PATCH V0 4/4] Platform/NXP/LS1046aFrwyPkg: Add OEM specific DSDT generator

2021-06-01 Thread Vikas Singh via groups.io
This patch adds platform specific DSDT generator and Clk dsdt properties for LS1046AFRWY platform. Signed-off-by: Vikas Singh --- .../AcpiTablesInclude/Dsdt/Clk.asl| 60 .../AcpiTablesInclude/Dsdt/Dsdt.asl | 15 ++ .../AcpiTablesInclude/PlatformAcpiDsdtLib.inf |

[edk2-devel] [PATCH V0 1/4] Platform/NXP: Add generic log in CM to print SoC version

2021-06-01 Thread Vikas Singh via groups.io
Summary - 1.Configuration Manager(CM) is a common implementation and should not evaluate the SoC version using macro's However CM must directly consume SoC ver string from platfrom who is extending CM services for ACPI table generation. 2.Platforms who extends CM services for themselves

[edk2-devel] [PATCH V0 3/4] Platform/NXP/LS1046aFrwyPkg: Extend Dynamic ACPI support

2021-06-01 Thread Vikas Singh via groups.io
This patch set extends Configuration Manager (CM) and its services to leverage the Dynamic ACPI support for NXP's LS1046aFrwy platform. Refer-https://edk2.groups.io/g/devel/message/71710 Signed-off-by: Vikas Singh --- .../NXP/LS1046aFrwyPkg/Include/Platform.h | 155 ++

[edk2-devel] [PATCH V0 2/4] Silicon/NXP: Add support of SVR handling for LS1046FRWY

2021-06-01 Thread Vikas Singh via groups.io
This change set intend to add a generic method to get access to SoC's Silicon Version Register (SVR) and its handling for LS1046aFrwy platform. Signed-off-by: Vikas Singh --- Silicon/NXP/LS1046A/Library/SocLib/SocLib.c | 16 1 file changed, 16 insertions(+) diff --git

[edk2-devel] [PATCH V0 0/4] Enable Dynamic ACPI for LS1046AFRWY

2021-06-01 Thread Vikas Singh via groups.io
This patch series basically aims to extend the Dynamic ACPI framework towards NXP's LS1046AFRWY platform. Refer- https://edk2.groups.io/g/devel/message/71709 The change set in the series is in below order - (1)Introducing a new platform specific macro "PLAT_SOC_NAME" This macro will be consumed

Re: [edk2-devel] [PATCH v2 0/2] Dynamic ACPI framework for fsl layerscape platforms

2021-02-19 Thread Vikas Singh via groups.io
On Tue, Feb 16, 2021 at 5:29 PM Vikas Singh wrote: > > On Mon, Feb 15, 2021 at 6:48 PM Leif Lindholm wrote: > > > > Hi Vikas, > > > > Apologies for very slow review. > > > > However, this set doesn't build for me. > > It fails with > > > > In file included from > >

[edk2-devel] [PATCH v3 2/2] Platform/NXP: Add OEM specific DSDT generator

2021-02-17 Thread Vikas Singh via groups.io
These changes add platform specific DSDT generator and Clk dsdt properties for LX2160ARDB. Signed-off-by: Vikas Singh --- Platform/NXP/ConfigurationManagerPkg/ConfigurationManagerDxe/ConfigurationManager.c | 9 ++

[edk2-devel] [PATCH v3 1/2] Platform/NXP: Add Dynamic Acpi for layerscape platforms

2021-02-17 Thread Vikas Singh via groups.io
These changes intend to add Common Configuration Manager (CM) for all fsl platforms and Platform headers consumed by CM for LX2160ARDB. Signed-off-by: Vikas Singh --- Platform/NXP/ConfigurationManagerPkg/ConfigurationManagerDxe/ConfigurationManager.c | 834

[edk2-devel] [PATCH v3 0/2] Dynamic ACPI framework for fsl layerscape platforms

2021-02-17 Thread Vikas Singh via groups.io
This patch series sets the foundation of Dynamic ACPI framework for all fsl layerscape platforms. In order to achieve: - Configurable firmware builds. - Unify firmware build for similar platforms. - Minimize/eliminate human induced errors. - Validate and generate firmware that complies

Re: [edk2-devel] [PATCH v0] Platform/NXP: Add Dynamic Acpi for layerscape platforms

2021-02-09 Thread Vikas Singh via groups.io
On Wed, Jan 27, 2021 at 12:21 PM Vikas Singh wrote: > > On Tue, Jan 26, 2021 at 4:49 PM Leif Lindholm wrote: > > > > Hi Vikas, > > > > On Tue, Jan 19, 2021 at 10:11:43 +0530, Vikas Singh wrote: > > > > > > > +/** A helper macro for returning configuration manager objects > > > > > > > +*/ > > >

Re: [edk2-devel] [PATCH v0] Platform/NXP: Add Dynamic Acpi for layerscape platforms

2021-01-26 Thread Vikas Singh via groups.io
On Tue, Jan 26, 2021 at 4:49 PM Leif Lindholm wrote: > > Hi Vikas, > > On Tue, Jan 19, 2021 at 10:11:43 +0530, Vikas Singh wrote: > > > > > > +/** A helper macro for returning configuration manager objects > > > > > > +*/ > > > > > > +#define HANDLE_CM_OBJECT(ObjId, CmObjectId, Object,

[edk2-devel] [PATCH v2 2/2] Platform/NXP: Add OEM specific DSDT generator

2021-01-26 Thread Vikas Singh via groups.io
These changes add platform specific DSDT generator and Clk dsdt properties for LX2160ARDB. Signed-off-by: Vikas Singh --- .../ConfigurationManagerDxe/ConfigurationManager.c | 9 ++ .../ConfigurationManagerDxe/ConfigurationManager.h | 4 +- .../ConfigurationManagerDxe.inf

[edk2-devel] [PATCH v2 1/2] Platform/NXP: Add Dynamic Acpi for layerscape platforms

2021-01-26 Thread Vikas Singh via groups.io
These changes intend to add Common Configuration Manager (CM) for all fsl platforms and Platform headers consumed by CM for LX2160ARDB. Signed-off-by: Vikas Singh --- .../ConfigurationManagerDxe/ConfigurationManager.c | 834 +

[edk2-devel] [PATCH v2 0/2] Dynamic ACPI framework for fsl layerscape platforms

2021-01-26 Thread Vikas Singh via groups.io
This patch series sets the foundation of Dynamic ACPI framework for all fsl layerscape platforms. In order to achieve: - Configurable firmware builds. - Unify firmware build for similar platforms. - Minimize/eliminate human induced errors. - Validate and generate firmware that complies

Re: [edk2-devel] [PATCH v1 2/2] Platform/NXP: Add OEM specific DSDT generator

2021-01-25 Thread Vikas Singh via groups.io
On Tue, Jan 26, 2021 at 3:11 AM Sami Mujawar wrote: > > Hi Vikas, > > On Mon, Jan 18, 2021 at 09:06 AM, Vikas Singh wrote: > > + // Add the dsdt aml code here, Currently NULL place holder. > + *Table = (EFI_ACPI_DESCRIPTION_HEADER *)_aml_code; > > Do you intend to process the DSDT data in this

Re: [edk2-devel] [PATCH v0] Platform/NXP: Add Dynamic Acpi for layerscape platforms

2021-01-18 Thread Vikas Singh via groups.io
On Mon, Jan 18, 2021 at 10:25 PM Leif Lindholm wrote: > > +Sami, > > On Sat, Jan 16, 2021 at 10:15:41 +0530, Vikas Singh wrote: > > On Sun, Jan 10, 2021 at 8:56 AM Leif Lindholm wrote: > > > > > > On Tue, Dec 29, 2020 at 12:55:58 +0530, Vikas Singh wrote: > > > > These changes intend to add > >