powerpc/powernv: Move core and fadump_release_opalcore under new kobject
authorSourabh Jain <sourabhjain@linux.ibm.com>
Wed, 11 Dec 2019 16:09:08 +0000 (21:39 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 19 Feb 2020 10:07:10 +0000 (21:07 +1100)
commit8852c07a881b0acfd3d75cf3927adaab815c4ee5
treec734590f47ec59d8109ed40c484dd5ef34e75d42
parentd418b19f34ed0c751a69810080596f7e749595aa
powerpc/powernv: Move core and fadump_release_opalcore under new kobject

The /sys/firmware/opal/core and /sys/kernel/fadump_release_opalcore
sysfs files are used to export and release the OPAL memory on PowerNV
platform. let's organize them into a new kobject under
/sys/firmware/opal/mpipl/ directory.

A symlink is added to maintain the backward compatibility for
/sys/firmware/opal/core sysfs file.

Signed-off-by: Sourabh Jain <sourabhjain@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20191211160910.21656-5-sourabhjain@linux.ibm.com
Documentation/ABI/removed/sysfs-kernel-fadump_release_opalcore [moved from Documentation/ABI/testing/sysfs-kernel-fadump_release_opalcore with 82% similarity]
Documentation/powerpc/firmware-assisted-dump.rst
arch/powerpc/platforms/powernv/opal-core.c