On 11/19/2015 2:07 PM, Verma, Vishal L wrote:
On Thu, 2015-11-19 at 11:25 -0500, Linda Knippers wrote:
<>
Yes, I will do that. I've only tested the boot path of the patch though.
Is there an easy way for me to trigger the notification so I can test the
other code path?
Hm, I don't believe there is an easy way yet. I believe KVM enabling for
NVDIMMS using the NFIT is under way, and once they are ready we might have a
way to test that path, but for now I just tested acpi_nfit_init onward using
the test framework in tools/testing/nvdimm.
After looking around for some generic way to get an ACPI device
notify function called and failing miserably, I ended up just hacking the
nfit.c revision_show() function to call the notify function any time I look
at the /sys/.../nfit/revision file.
It's complaining that the new nfit deletes entries so I'm looking into that.
-- ljk
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html