]> www.infradead.org Git - users/jedix/linux-maple.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 Duval <dan.duval@oracle.com>
Wed, 7 Dec 2016 17:25:21 +0000 (12:25 -0500)
commitc0d5a203ff6b7bf101765a452f71e4a4034d1134
tree35b7b352015c8e80c65e3884fc3a95f50e6e83b9
parentf9f37d6e37ff3e007425635c4baeacf05449048c
libnvdimm, e820: skip module loading when no type-12

Orabug: 22913653

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>
(cherry picked from commit bc0d0d093b379b0b379c429e3348498287c8a9ca)
Signed-off-by: Dan Duval <dan.duval@oracle.com>
arch/x86/kernel/pmem.c