]> git.ipfire.org Git - thirdparty/qemu.git/commit
spapr: nvdimm: Fix the persistent-memory root node name in device tree
authorShivaprasad G Bhat <sbhat@linux.ibm.com>
Wed, 26 May 2021 15:27:15 +0000 (11:27 -0400)
committerDavid Gibson <david@gibson.dropbear.id.au>
Thu, 3 Jun 2021 03:22:06 +0000 (13:22 +1000)
commit9f9f82dacebbb816c62d730658f14a615c3ea003
tree98f4fe34f6b936863e4526b900ec6472c0659986
parentf93c8f148c0f6c2e20c29c54276862ee79a53d02
spapr: nvdimm: Fix the persistent-memory root node name in device tree

The FDT code is adding the pmem root node by name "persistent-memory"
which should have been "ibm,persistent-memory".

The linux fetches the device tree nodes by type and it has been working
correctly as the type is correct. If someone searches by its intended
name it would fail, so fix that.

Reported-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Signed-off-by: Shivaprasad G Bhat <sbhat@linux.ibm.com>
Message-Id: <162204278956.219.9061511386011411578.stgit@cc493db1e665>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/spapr_nvdimm.c