public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Vikas Singh" <vikas.singh@puresoftware.com>
To: Sami Mujawar <sami.mujawar@arm.com>
Cc: devel@edk2.groups.io
Subject: Re: [edk2-devel] [PATCH v1 2/2] Platform/NXP: Add OEM specific DSDT generator
Date: Tue, 26 Jan 2021 11:23:45 +0530	[thread overview]
Message-ID: <CADvVLtW+HVRbgGkyvvHT3rVwVc1HHy-VpXbCfzD9Ad-6V43u7g@mail.gmail.com> (raw)
In-Reply-To: <317.1611610873694713323@groups.io>

On Tue, Jan 26, 2021 at 3:11 AM Sami Mujawar <sami.mujawar@arm.com> 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 *)&dsdt_aml_code;
>
> Do you intend to process the DSDT data in this generator? If that is not the case, and you want to just collate the DSDT information, then an OEM specific RAW generator is not needed.
> You could try implementing a library that implements a function to return 'dsdt_aml_code'.  The Configuration Manager can then invoke this function from InitializePlatformRepository().
>

Sami, the idea here is to make Configuration Manager totally free from
any dependencies from any generator (standard or oem specific) because
this CM is generic and common for all FSL platforms. This kind of
framework is intentional to introduce OEM specific DSDT generators
keeping in mind that these generators can handle - DSDT fixups, ssdt
handling and any other modification which is platform specific in
nature.
I agree with your suggestion but more or less the current
implementation looks similar to your thought of "keeping an lib and CM
can get symbols using some function calls".
However our intention is to keep CM as an independent entity and
expect platforms to add/remove anything which is platforms. By doing
so every platform can have its own DSDT generator because DSDT
properties are very much private to a platform.

Let me know if you have any other improvement suggestions, and will be
happy to go along.

> Regards,
>
> Sami Mujawar

      reply	other threads:[~2021-01-26  5:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-18 11:27 [PATCH v1 0/2] Dynamic ACPI framework for fsl layerscape platforms vikas.singh
2021-01-18 11:27 ` [PATCH v1 1/2] Platform/NXP: Add Dynamic Acpi for " Vikas Singh
2021-01-18 11:27 ` [PATCH v1 2/2] Platform/NXP: Add OEM specific DSDT generator Vikas Singh
2021-01-25 21:41   ` [edk2-devel] " Sami Mujawar
2021-01-26  5:53     ` Vikas Singh [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CADvVLtW+HVRbgGkyvvHT3rVwVc1HHy-VpXbCfzD9Ad-6V43u7g@mail.gmail.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox