public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2-platforms: PATCH 0/5] Add SetCacheLib library class.
@ 2019-10-30 12:29 Chiu, Chasel
  2019-10-30 12:29 ` [edk2-platforms: PATCH 1/5] MinPlatformPkg: " Chiu, Chasel
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Chiu, Chasel @ 2019-10-30 12:29 UTC (permalink / raw)
  To: devel
  Cc: Michael Kubacki, Nate DeSimone, Liming Gao, Jeremy Soller,
	Shifei A Lu, Xiaohu Zhou, Isaac W Oram, Wei David Y,
	Agyeman Prince

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2314

The MTRRs may be redundantly or incorrectly configured.
It is recommended to move this functionality to a library
class that with a NULL library by default. The board
package may provide its own library implementation.
MinPlatformPkg should contain the library class header (API)
and the NULL library class instance.

Cc: Michael Kubacki <michael.a.kubacki@intel.com>
Cc: Nate DeSimone <nathaniel.l.desimone@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Jeremy Soller <jeremy@system76.com>
Cc: Shifei A Lu <shifei.a.lu@intel.com>
Cc: Xiaohu Zhou <bowen.zhou@intel.com>
Cc: Isaac W Oram <isaac.w.oram@intel.com>
Cc: Wei David Y <david.y.wei@intel.com>
Cc: Agyeman Prince <prince.agyeman@intel.com>
Signed-off-by: Chasel Chiu <chasel.chiu@intel.com>

Chasel Chiu (5):
  MinPlatformPkg: Add SetCacheLib library class.
  KabylakeOpenBoardPkg: Add SetCacheLib library class.
  WhiskeylakeOpenBoardPkg: Add SetCacheLib library class.
  PurleyOpenBoardPkg/BoardMtOlympus: Add SetCacheLib library class.
  SimicsOpenBoardPkg/BoardX58Ich10: Add SetCacheLib library class.

 Platform/Intel/KabylakeOpenBoardPkg/GalagoPro3/Override/Platform/Intel/MinPlatformPkg/PlatformInit/PlatformInitPei/PlatformInitPreMem.c   | 640 ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 Platform/Intel/MinPlatformPkg/Library/SetCacheLib/SetCacheLib.c                                                                           | 325 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 Platform/Intel/MinPlatformPkg/Library/SetCacheLib/SetCacheLibNull.c                                                                       |  37 +++++++++++++++++++++++++++++++++++++
 Platform/Intel/MinPlatformPkg/PlatformInit/PlatformInitPei/PlatformInitPostMem.c                                                          | 149 +----------------------------------------------------------------------------------------------------------------------------------------------------
 Platform/Intel/MinPlatformPkg/PlatformInit/PlatformInitPei/PlatformInitPreMem.c                                                           | 164 ++------------------------------------------------------------------------------------------------------------------------------------------------------------------
 Platform/Intel/KabylakeOpenBoardPkg/GalagoPro3/OpenBoardPkg.dsc                                                                           |   3 ++-
 Platform/Intel/KabylakeOpenBoardPkg/GalagoPro3/OpenBoardPkg.fdf                                                                           |   2 +-
 Platform/Intel/KabylakeOpenBoardPkg/GalagoPro3/Override/Platform/Intel/MinPlatformPkg/PlatformInit/PlatformInitPei/PlatformInitPreMem.inf |  67 -------------------------------------------------------------------
 Platform/Intel/KabylakeOpenBoardPkg/KabylakeRvp3/OpenBoardPkg.dsc                                                                         |   1 +
 Platform/Intel/MinPlatformPkg/Include/Library/SetCacheLib.h                                                                               |  34 ++++++++++++++++++++++++++++++++++
 Platform/Intel/MinPlatformPkg/Library/SetCacheLib/SetCacheLib.inf                                                                         |  44 ++++++++++++++++++++++++++++++++++++++++++++
 Platform/Intel/MinPlatformPkg/Library/SetCacheLib/SetCacheLibNull.inf                                                                     |  30 ++++++++++++++++++++++++++++++
 Platform/Intel/MinPlatformPkg/PlatformInit/PlatformInitPei/PlatformInitPostMem.inf                                                        |  11 +----------
 Platform/Intel/MinPlatformPkg/PlatformInit/PlatformInitPei/PlatformInitPreMem.inf                                                         |   7 ++-----
 Platform/Intel/PurleyOpenBoardPkg/BoardMtOlympus/PlatformPkg.dsc                                                                          |   3 ++-
 Platform/Intel/SimicsOpenBoardPkg/BoardX58Ich10/OpenBoardPkg.dsc                                                                          |   1 +
 Platform/Intel/WhiskeylakeOpenBoardPkg/WhiskeylakeURvp/OpenBoardPkg.dsc                                                                   |   1 +
 17 files changed, 484 insertions(+), 1035 deletions(-)
 delete mode 100644 Platform/Intel/KabylakeOpenBoardPkg/GalagoPro3/Override/Platform/Intel/MinPlatformPkg/PlatformInit/PlatformInitPei/PlatformInitPreMem.c
 create mode 100644 Platform/Intel/MinPlatformPkg/Library/SetCacheLib/SetCacheLib.c
 create mode 100644 Platform/Intel/MinPlatformPkg/Library/SetCacheLib/SetCacheLibNull.c
 delete mode 100644 Platform/Intel/KabylakeOpenBoardPkg/GalagoPro3/Override/Platform/Intel/MinPlatformPkg/PlatformInit/PlatformInitPei/PlatformInitPreMem.inf
 create mode 100644 Platform/Intel/MinPlatformPkg/Include/Library/SetCacheLib.h
 create mode 100644 Platform/Intel/MinPlatformPkg/Library/SetCacheLib/SetCacheLib.inf
 create mode 100644 Platform/Intel/MinPlatformPkg/Library/SetCacheLib/SetCacheLibNull.inf

-- 
2.13.3.windows.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-10-30 12:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-30 12:29 [edk2-platforms: PATCH 0/5] Add SetCacheLib library class Chiu, Chasel
2019-10-30 12:29 ` [edk2-platforms: PATCH 1/5] MinPlatformPkg: " Chiu, Chasel
2019-10-30 12:29 ` [edk2-platforms: PATCH 2/5] KabylakeOpenBoardPkg: " Chiu, Chasel
2019-10-30 12:29 ` [edk2-platforms: PATCH 3/5] WhiskeylakeOpenBoardPkg: " Chiu, Chasel
2019-10-30 12:29 ` [edk2-platforms: PATCH 4/5] PurleyOpenBoardPkg/BoardMtOlympus: " Chiu, Chasel
2019-10-30 12:29 ` [edk2-platforms: PATCH 5/5] SimicsOpenBoardPkg/BoardX58Ich10: " Chiu, Chasel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox