]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
libnvdimm, e820: skip module loading when no type-12
authorDan Williams <dan.j.williams@intel.com>
Mon, 30 Nov 2015 17:10:33 +0000 (09:10 -0800)
committerDan Williams <dan.j.williams@intel.com>
Mon, 30 Nov 2015 17:10:33 +0000 (09:10 -0800)
commitbc0d0d093b379b0b379c429e3348498287c8a9ca
tree0e20a4644c52a6ec25d8509af033f6155475eec9
parent31ade3b83e1821da5fbb2f11b5b3d4ab2ec39db8
libnvdimm, e820: skip module loading when no type-12

If there are no persistent memory ranges present then don't bother
creating the platform device.  Otherwise, it loads the full libnvdimm
sub-system only to discover no resources present.

Reported-by: Andy Lutomirski <luto@amacapital.net>
Acked-by: Andy Lutomirski <luto@amacapital.net>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
arch/x86/kernel/pmem.c