powerpc/fadump: handle invalidation of crashdump and re-registraion
authorHari Bathini <hbathini@linux.ibm.com>
Wed, 11 Sep 2019 14:53:28 +0000 (20:23 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 13 Sep 2019 14:04:44 +0000 (00:04 +1000)
commita4e2e2ca2f7bddf6d5d788033cc56f40af6e9c5a
tree05a542bed26853c3f09f7be8d8c06aae10bed3a3
parent6071e8f9d5ac960f0d35495f070d4d0b7ae5fc76
powerpc/fadump: handle invalidation of crashdump and re-registraion

Make OPAL call to indicate that the dump is processed and the metadata
area in OPAL can be cleared/released. Also, setup/initialize FADump
for re-registration.

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