27.10.2015 Views

Advanced Configuration and Power Interface Specification

ACPI_6.0

ACPI_6.0

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Advanced</strong> <strong>Configuration</strong> <strong>and</strong> <strong>Power</strong> <strong>Interface</strong> <strong>Specification</strong><br />

Device (NVDR) // Root device<br />

{<br />

Name (_HID, “ACPI0012”)<br />

Method (_STA) {…}<br />

Method (_FIT) {…}<br />

Method (_DSM, …) {<br />

…<br />

}<br />

Device (NVD1) // NVDIMM1<br />

{<br />

Name(_ADR, h1) //where h1 is NFIT Device H<strong>and</strong>le for this NVDIMM1<br />

Method (_DSM, …) {<br />

…<br />

}<br />

}<br />

}<br />

Device (NVD2) // NVDIMM2<br />

{<br />

Name(_ADR, h2) //where h2 is NFIT Device H<strong>and</strong>le for this NVDIMM2<br />

Method (_DSM, …) {<br />

…<br />

}<br />

}<br />

Device (MEM0) // Memory module<br />

{<br />

Name (_HID, EISAID (“PNP0C80”))<br />

Method (_STA) {…}<br />

Method (_CRS) {…}<br />

}<br />

Scope (\_GPE)<br />

{<br />

Method (_L00) {<br />

Notify (\_SB.NVDR, 0x80) // Notify to NVDIMM root device<br />

Notify (\_SB.MEM0, 1) // Device Check to Memory Module<br />

}<br />

}<br />

Hot Plugged memory is indicated to OS using ACPI Name Space device with PNPID of PNP0C80.<br />

The NFIT entries created by the hot plug NVDIMM are communicated by the ACPI Name Space<br />

device with ACPI0012.<br />

NVDIMM hot add flow:<br />

1. Prior to hot add of the NVDIMM, the corresponding ACPI Name Space devices, NVD1, NVD2<br />

return an address from _ADR object (NFIT Device h<strong>and</strong>le) which does not match any entries<br />

present in NFIT (either the static or from _FIT) indicating that the corresponding NVDIMM is<br />

not present. Further ACPI Name Space Device MEM0 returns _STA status of 0 indicating that<br />

the devices are not present, not enabled <strong>and</strong> not functioning.<br />

2. On hot add<br />

a Send Notify 0x80 to NVDR to cause NVDIMM bus driver to enumerate all the devices<br />

under the root hierarchy<br />

558 April, 2015 Version 6.0

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!