]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
powerpc/xive: simplify xive_spapr_debug_show()
authorYury Norov <ynorov@nvidia.com>
Tue, 3 Mar 2026 20:08:37 +0000 (15:08 -0500)
committerYury Norov <ynorov@nvidia.com>
Thu, 9 Apr 2026 17:28:05 +0000 (13:28 -0400)
commit4ff568ce3ca66573e8b97b0caaa12b971dd38ae3
treeb4ee25817bb9fb0e15f960f0d4b92f5a657c5978
parentf3d8bb94255117aa7b405c949277c874c1c496f0
powerpc/xive: simplify xive_spapr_debug_show()

The function creates temporary buffer to convert xibm->bitmap to a
human-readable list before passing it to seq_printf. Drop it and print
the list by seq_printf() directly with the "%*pbl" specifier.

Reviewed-by: Shrikanth Hegde <sshegde@linux.ibm.com>
Acked-by: Madhavan Srinivasan <maddy@linux.ibm.com> for powerpc patch
Signed-off-by: Yury Norov <ynorov@nvidia.com>
arch/powerpc/sysdev/xive/spapr.c