]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
powerpc/xmon: fix dump_segments()
authorChristophe Leroy <christophe.leroy@c-s.fr>
Fri, 16 Nov 2018 17:31:08 +0000 (17:31 +0000)
committerMarcelo Henrique Cerri <marcelo.cerri@canonical.com>
Fri, 17 Jan 2020 17:21:32 +0000 (14:21 -0300)
commite1dae86114f47219fc8c3ec602905fa4d0ec8101
tree45e5f3c23f8f48cd5b06cc14120fb174ece63477
parenta0653818f0313d5e2c9857822333dfc0a8d92db3
powerpc/xmon: fix dump_segments()

BugLink: https://bugs.launchpad.net/bugs/1855787
[ Upstream commit 32c8c4c621897199e690760c2d57054f8b84b6e6 ]

mfsrin() takes segment num from bits 31-28 (IBM bits 0-3).

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
[mpe: Clarify bit numbering]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
arch/powerpc/xmon/xmon.c