]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5f08cb713ea15dcdd9dcd5b9a7618c929c294b95
tree40c8a0a7c538283a57dd6dba68e7fdf085dce7bd
parent70f172eb4b2a660237679a846cac52c7f733c5d0
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