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 > debug. But when doing so, the code did not consider the case of cpu-less > nodes. So when reading the _cmd_ or _mode_ file of a cpu-less node > will create this crash. > ... > > Fixes: 684d984038aa ('powerpc/powernv: Add debugfs interface for imc-mode and > imc') > Reported-by: Qian Cai <c...@lca.pw> > Suggested-by: Michael Ellerman <m...@ellerman.id.au> > Signed-off-by: Madhavan Srinivasan <ma...@linux.vnet.ibm.com>
Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/41ba17f20ea835c489e77bd54e2da73184e22060 cheers