powerpc/powernv: Rework exports to support subnodes
authorOliver O'Halloran <oohall@gmail.com>
Fri, 1 Nov 2019 06:26:10 +0000 (17:26 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 23 Jan 2020 10:31:20 +0000 (21:31 +1100)
commitdb93361260e2411f854514e8b54b6c31a5b2d5bd
tree40c8a0a7c538283a57dd6dba68e7fdf085dce7bd
parent4e0942c0302b5ad76b228b1a7b8c09f658a1d58a
powerpc/powernv: Rework exports to support subnodes

Originally we only had a handful of exported memory ranges, but we'd to
export the per-core trace buffers. This results in a lot of files in the
exports directory which is a but unfortunate. We can clean things up a bit
by turning subnodes into subdirectories of the exports directory.

Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20191101062611.32610-1-oohall@gmail.com
arch/powerpc/platforms/powernv/opal.c