powerpc/opalcore: provide an option to invalidate /sys/firmware/opal/core file
authorHari Bathini <hbathini@linux.ibm.com>
Wed, 11 Sep 2019 14:56:45 +0000 (20:26 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 13 Sep 2019 14:04:45 +0000 (00:04 +1000)
commit845426f3f3443c3f60737751b7af0142e3020f08
treec448628f0759ff05f7091554b4f0a06107af7c87
parent6f713d18144ce86c9f01cdf64222d6339e26129e
powerpc/opalcore: provide an option to invalidate /sys/firmware/opal/core file

Writing '1' to /sys/kernel/fadump_release_opalcore would release the
memory held by kernel in exporting /sys/firmware/opal/core file.

Signed-off-by: Hari Bathini <hbathini@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/156821380161.5656.17827032108471421830.stgit@hbathini.in.ibm.com
arch/powerpc/platforms/powernv/opal-core.c