Re: [PATCH v3] powerpc/imc: Dont create debugfs files for cpu-less nodes

2019-09-19 Thread Michael Ellerman
On Tue, 2019-08-27 at 10:16:35 UTC, Madhavan Srinivasan wrote: > Commit <684d984038aa> ('powerpc/powernv: Add debugfs interface for imc-mode > and imc') added debugfs interface for the nest imc pmu devices to support > changing of different ucode modes. Primarily adding this capability for >

[PATCH v3] powerpc/imc: Dont create debugfs files for cpu-less nodes

2019-08-27 Thread Madhavan Srinivasan
Commit <684d984038aa> ('powerpc/powernv: Add debugfs interface for imc-mode and imc') added debugfs interface for the nest imc pmu devices to support changing of different ucode modes. Primarily adding this capability for debug. But when doing so, the code did not consider the case of cpu-less