Re: [PATCH v3] platforms/powernv: Avoid re-registration of imc debugfs directory

2019-12-08 Thread Michael Ellerman
On Wed, 2019-11-27 at 07:20:35 UTC, Anju T Sudhakar wrote: > export_imc_mode_and_cmd() function which creates the debugfs interface for > imc-mode and imc-command, is invoked when each nest pmu units is > registered. > When the first nest pmu unit is registered, export_imc_mode_and_cmd() > creates

Re: [PATCH v3] platforms/powernv: Avoid re-registration of imc debugfs directory

2019-11-28 Thread Nageswara R Sastry
"Anju T Sudhakar" wrote on 27/11/2019 12:50:35 PM: > From: "Anju T Sudhakar" > To: m...@ellerman.id.au > Cc: linuxppc-dev@lists.ozlabs.org, a...@linux.vnet.ibm.com, > Nageswara R Sastry/India/IBM@IBMIN > Date: 27/11/2019 12:50 PM > Subject: [PATCH v3] platf

[PATCH v3] platforms/powernv: Avoid re-registration of imc debugfs directory

2019-11-26 Thread Anju T Sudhakar
export_imc_mode_and_cmd() function which creates the debugfs interface for imc-mode and imc-command, is invoked when each nest pmu units is registered. When the first nest pmu unit is registered, export_imc_mode_and_cmd() creates 'imc' directory under `/debug/powerpc/`. In the subsequent invocation