On 10/10/2016 08:47 PM, Igor Mammedov wrote:
Based on ACPI Spec, the memory device (PNP0C80) and nvdimm device
is notified by the same interruption:
Scope (\_GPE)
{
Method (_L00) {
Notify (\_SB.NVDR, 0x80) // Notify to NVDIMM root device
Notify (\_SB.MEM0, 1) // Device Check to Memory Module
}
}
So, it is better to reuse _E03 and only notify NVDIMM device if the
hotplug event is triggered on a slot with nvdimm device attached?
It's only an example in spec but there isn't requirement to do it that way.
So I'd use a separate handler for now (we can always chain calls in future
is need arises or merge them together)
No objection. Will do it.
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html