Newer
Older
AMI-Aptio-BIOS-Reversed / CrystalRidgeSMM / README.md
@Ajax Dong Ajax Dong 2 days ago 1 KB Init

CrystalRidgeSMM, 0175, 721 KB, SMM

SMM driver for the Intel Crystal Ridge NVDIMM controller. Manages NVDIMM DIMM database discovery and enumeration across 4 sockets x 6 channels x 2 DIMMs, hardware mailbox command interface for short/long operations, address translation between system addresses and DIMM offsets via SAD/interleave tables, NFIT table construction for ACPI platform attributes, and near-memory cache flush initialization. Supports ARS (Address Range Scrub) and SMI notification registration.

Key Functions: CrystalRidgeSmmDriverInit (SMM/DXE path detection, protocol locates, config variable read), CrystalRidgeInitDimmDb (DIMM topology enumeration across socket/channel/DIMM), CrystalRidgeConfigureSmi (NVDIMM command type 32 + ARS type 4 SMI setup), CrystalRidgeMailboxCommand (short/long mailbox ops with busy retry), CrystalRidgeTranslateAddress (physical to DIMM offset via HOB or direct), CrystalRidgeNfitBuild (NFIT entry construction), CrystalRidgeFlushNearMemoryInit (EADR mode flush + reset notification).

Protocols/Dependencies: CR Info Protocol, CR Shared Data Protocol, NVDIMM mailbox ACPI/DSM interface, NFIT ACPI table, DxePcdLib, SMM Communication/Notification protocol.

Platform: Intel Purley (Skylake-SP) / HR650X server, PurleySktPkg/Dxe/CrystalRidge