public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Chang, Abner" <abner.chang@amd.com>
To: Leif Lindholm <quic_llindhol@quicinc.com>,
	"devel@edk2.groups.io" <devel@edk2.groups.io>
Cc: Michael D Kinney <michael.d.kinney@intel.com>,
	"Attar, AbdulLateef (Abdul Lateef)" <AbdulLateef.Attar@amd.com>,
	"Xing, Eric" <Eric.Xing@amd.com>,
	"He, Jiangang" <Jiangang.He@amd.com>,
	Ard Biesheuvel <ardb+tianocore@kernel.org>
Subject: Re: [edk2-devel] [edk2-platforms][PATCH] edk2-platform: Add Readme under Platform\AMD
Date: Thu, 15 Jun 2023 15:25:11 +0000	[thread overview]
Message-ID: <MN2PR12MB39666B44233CBCD3B7E2FC13EA5BA@MN2PR12MB3966.namprd12.prod.outlook.com> (raw)
In-Reply-To: <cb956174-33f4-7222-0851-35d5ba44a69c@quicinc.com>

[AMD Official Use Only - General]

> -----Original Message-----
> From: Leif Lindholm <quic_llindhol@quicinc.com>
> Sent: Thursday, June 15, 2023 11:18 PM
> To: Chang, Abner <Abner.Chang@amd.com>; devel@edk2.groups.io
> Cc: Michael D Kinney <michael.d.kinney@intel.com>; Attar, AbdulLateef
> (Abdul Lateef) <AbdulLateef.Attar@amd.com>; Xing, Eric
> <Eric.Xing@amd.com>; He, Jiangang <Jiangang.He@amd.com>; Ard
> Biesheuvel <ardb+tianocore@kernel.org>
> Subject: Re: [edk2-devel] [edk2-platforms][PATCH] edk2-platform: Add
> Readme under Platform\AMD
>
> Caution: This message originated from an External Source. Use proper caution
> when opening attachments, clicking links, or responding.
>
>
> On 2023-06-14 18:57, Chang, Abner wrote:
> > [AMD Official Use Only - General]
> >
> >> -----Original Message-----
> >> From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Leif
> >> Lindholm via groups.io
> >> Sent: Thursday, June 15, 2023 12:13 AM
> >> To: devel@edk2.groups.io; Chang, Abner <Abner.Chang@amd.com>
> >> Cc: Michael D Kinney <michael.d.kinney@intel.com>; Attar, AbdulLateef
> >> (Abdul Lateef) <AbdulLateef.Attar@amd.com>; Xing, Eric
> >> <Eric.Xing@amd.com>; He, Jiangang <Jiangang.He@amd.com>
> >> Subject: Re: [edk2-devel] [edk2-platforms][PATCH] edk2-platform: Add
> >> Readme under Platform\AMD
> >>
> >> Caution: This message originated from an External Source. Use proper
> caution
> >> when opening attachments, clicking links, or responding.
> >>
> >>
> >> On 2023-06-14 05:22, Chang, Abner via groups.io wrote:
> >>> From: Abner Chang <abner.chang@amd.com>
> >>>
> >>> For AMD edk2 opensource project and the needs
> >>> of opensource AMD platform common modules those can
> >>> be leverage across AMD business units, AMD server,
> >>> client and S3 (silicon strategic solution) BUs
> >>> have the consensus to propose AMD as the maintainer
> >>> of Platform/AMD folder. The folder and edk2 package
> >>> structure under Platform/AMD is defined in the
> >>> Readme for the further upstream works.
> >>>
> >>> We still leave the existing maintainers for
> >>> AMD OverdriveBoard which is no conflicts with this
> >>> change.
> >>>
> >>> Signed-off-by: Abner Chang <abner.chang@amd.com>
> >>> Cc: Leif Lindholm <quic_llindhol@quicinc.com>
> >>> Cc: Michael D Kinney <michael.d.kinney@intel.com>
> >>> Cc: Abdul Lateef Attar <abdattar@amd.com>
> >>> Cc: Eric Xing <eric.xing@amd.com>
> >>> Cc: Jiangang He <jiangang.he@amd.com>
> >>> ---
> >>>    Platform/AMD/Readme.md | 85
> >> ++++++++++++++++++++++++++++++++++++++++++
> >>>    Maintainers.txt        | 10 ++---
> >>>    2 files changed, 90 insertions(+), 5 deletions(-)
> >>>    create mode 100644 Platform/AMD/Readme.md
> >>>
> >>> diff --git a/Platform/AMD/Readme.md b/Platform/AMD/Readme.md
> >>> new file mode 100644
> >>> index 0000000000..f39b8140f5
> >>> --- /dev/null
> >>> +++ b/Platform/AMD/Readme.md
> >>> @@ -0,0 +1,85 @@
> >>> +# AMD EDK2 Platform
> >>> +
> >>> +This is AMD folder that provides the edk2 modules to support AMD edk2
> >> firmware
> >>> +solution for the server, client (e.g., Notebook) and S3 (Strategic Silicon
> >> Solutions)
> >>> +platforms. The board packages under this folder are the firmware
> reference
> >> code for
> >>> +booting certain AMD platforms. The definition of sub-folders is described
> in
> >> below sections.
> >>> +
> >>> +## Term and Definitions
> >>> +
> >>> +* **AMD Platform** (platform in short)
> >>> +
> >>> +  AMD platform refers to a platform that supports the particular AMD SoC
> >> (processor), such as AMD EPYC Milan and Genoa processors.
> >>> +
> >>> +* **AMD Board** (board in short)
> >>> +
> >>> +  AMD board is a generic terminology refers to a board that is designed
> >> based on a
> >>> +  specific AMD SoC architecture (also referred as AMD platform). More
> than
> >> one boards
> >>> +  are possibly designed to support an AMD platform with different
> >> configuration, such as 1-processor socket or 2-processor sockets board.
> >>> +
> >>> +* **AMD edk2 Platform Package** (platform package in short)
> >>> +
> >>> +  The folder has the AMD edk2 platform common modules.
> >>> +
> >>> +* **AMD edk2 Board Package** (board package in short)
> >>> +
> >>> +  The folder has the edk2 meta files to build the necessary edk2 firmware
> >> modules
> >>> +  and generate the binary to run on a board.
> >>> +
> >>> +## Package Definition
> >>> +
> >>> +* **AmdPlatformPkg**
> >>> +
> >>> +  AMD platform edk2 package under this folder provides the common
> edk2
> >> modules those
> >>> +  are leverage by platforms. Usually those modules have no dependencies
> >> with
> >>> +  particular platforms. The module under this scope can provides a
> common
> >> implementation
> >>> +  for all platforms, or it may just provide a framework but the differences
> of
> >> implementation could be configured through the PCDs declared in
> >> AmdPlatformPkg.dec, or
> >>> +  the board level library provided in the \<Board name\>Pkg.
> >>> +
> >>> +* **AmdMinBoardPkg**
> >>> +
> >>> +  This package provides the common edk2 modules those can be leverage
> >> across AMD boards those use MinPlatformPkg framework.
> >>> +
> >>> +* **\<SoC name\>Board**
> >>> +
> >>> +  This is the folder named by SoC and accommodate one or multiple
> board
> >> packages those
> >>> +  are designed base on the same SoC platform. <SoC name>Board folder
> >> may contain edk2
> >>> +  package meta files directly or the sub-folders named by \<Board
> >> name\>Pkg for a
> >>> +  variety configurations of a platform.
> >>> +
> >>> +* **<Board name\>Pkg**
> >>> +
> >>> +  This is the folder that contains edk2 package meta files for a board which
> is
> >> designed base on a platform. Besides the edk2 meta files, <Board
> name\>Pkg
> >> may also provides
> >>> +  edk2 modules which are specifically to a board.
> >>> +
> >>> +  ```
> >>> +  e.g. OverdriveBoard
> >>> +  e.g. GenoaBoard
> >>> +           |------Board1Pkg
> >>> +           |------Board2Pkg
> >>> +  ```
> >>> +
> >>> +  Below is the outline of folder structure under Platform/AMD
> >>> +
> >>> +  ```
> >>> +  Platform/AMD
> >>> +            |----AmdPlatformPkg
> >>> +            |----AmdMinBoardPkg
> >>> +            |----OverdriveBoard
> >>> +            |----GenoaBoard
> >>> +            |         |------Common Modules for Genoa boards
> >>> +            |         |------Board1Pkg
> >>> +            |         |        |-------Board specific modules
> >>> +            |         |------Board2Pkg
> >>> +            |
> >>> +            |----NextGenBoard
> >>> +                      |------Common Modules for the next generation
> >>> +                             platform boards
> >>> +                      |------Board1Pkg
> >>> +                      |------Board2Pkg
> >>> +                               |-------Board specific modules
> >>> +  ```
> >>> +
> >>> +
> >>> +## Board Support
> >>> +Under progress
> >>> \ No newline at end of file
> >>
> >> *cough* ^
> > Lol, come on Leif, You always play fun on me 😊. Please give us some time to
> work on this.
> >
> >>
> >>> diff --git a/Maintainers.txt b/Maintainers.txt
> >>> index 020c72677a..d1d7613ef4 100644
> >>> --- a/Maintainers.txt
> >>> +++ b/Maintainers.txt
> >>> @@ -83,6 +83,11 @@ F: Platform/96Boards/
> >>>    M: Ard Biesheuvel <ardb+tianocore@kernel.org>
> >>>    M: Leif Lindholm <quic_llindhol@quicinc.com>
> >>>
> >>> +AMD
> >>> +F: Platform/AMD
> >>> +M: Abner Chang <abner.chang@amd.com>
> >>> +M: Abdul Lateef Attar <abdattar@amd.com>
> >>> +
> >>>    AMD Seattle
> >>>    F: Platform/AMD/OverdriveBoard/
> >>>    F: Platform/LeMaker/CelloBoard/
> >>> @@ -91,11 +96,6 @@ F: Silicon/AMD/Styx/
> >>>    M: Ard Biesheuvel <ardb+tianocore@kernel.org>
> >>>    M: Leif Lindholm <quic_llindhol@quicinc.com>
> >>>
> >>> -AMD MinBoard package for MinPlatformPkg
> >>> -F: Platform/AMD/AmdMinBoardPkg
> >>> -M: Abner Chang <abner.chang@amd.com>
> >>> -M: Abdul Lateef Attar <abdattar@amd.com>
> >>> -
> >>
> >> I think this change is ideal, but can I just confirm that it is your
> >> intention to take on overall maintainership of Platform/AMD while
> >> leaving myself and Ard as additional maintainers for the OverDriveBoard?
> >> (If not, you could add an X: tag. But I'd be happier if you didn't :)
> > Hmm..., actually this is the respect for you guys. But yes, my intention is
> AMD take over the maintainership over Platform\AMD, but still leave the
> maintainership to you and Ard for OverdirveBoard 😊. But we can help on it if
> you encounter some problems.
> > Or you would like AMD to take over everything? We are not familiar with
> OverdriveBaord though.
>
> I like the change as present in this patch.
> So if you add that missing newline at end of file:
Sure I will. Thanks you.

Abner
>
> Reviewed-by: Leif Lindholm <quic_llindhol@quicinc.com>
>
> /
>      Leif
>
> > Regards,
> > Abner
> >
> >>
> >> /
> >>       Leif
> >>
> >>>    Ampere Computing
> >>>    F: Platform/Ampere
> >>>    F: Silicon/Ampere
> >>
> >>
> >>
> >> 
> >>
> >


      reply	other threads:[~2023-06-15 15:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-14  4:22 [edk2-platforms][PATCH] edk2-platform: Add Readme under Platform\AMD Chang, Abner
2023-06-14 16:13 ` [edk2-devel] " Leif Lindholm
2023-06-14 17:57   ` Chang, Abner
2023-06-15 15:17     ` Leif Lindholm
2023-06-15 15:25       ` Chang, Abner [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=MN2PR12MB39666B44233CBCD3B7E2FC13EA5BA@MN2PR12MB3966.namprd12.prod.outlook.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