linux_dsm_epyc7002/arch/powerpc
Naveen N. Rao 59fe7eaf35 powerpc64/module elfv1: Set opd addresses after module relocation
module_frob_arch_sections() is called before the module is moved to its
final location. The function descriptor section addresses we are setting
here are thus invalid. Fix this by processing opd section during
module_finalize()

Fixes: 5633e85b2c ("powerpc64: Add .opd based function descriptor dereference")
Cc: stable@vger.kernel.org # v4.16
Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2018-10-20 13:26:47 +11:00
..
boot powerpc/boot: Build boot wrapper with optimisations 2018-10-13 22:21:25 +11:00
configs powerpc/config: Enable CONFIG_PRINTK_TIME 2018-10-03 15:40:06 +10:00
crypto powerpc updates for 4.19 2018-08-17 11:32:50 -07:00
include powerpc: Add support for function error injection 2018-10-20 13:26:43 +11:00
kernel powerpc64/module elfv1: Set opd addresses after module relocation 2018-10-20 13:26:47 +11:00
kvm powerpc: Add -Werror at arch/powerpc level 2018-10-19 00:56:17 +11:00
lib powerpc: Add support for function error injection 2018-10-20 13:26:43 +11:00
math-emu License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mm powerpc: Add -Werror at arch/powerpc level 2018-10-19 00:56:17 +11:00
net powerpc updates for 4.19 2018-08-17 11:32:50 -07:00
oprofile powerpc: Add -Werror at arch/powerpc level 2018-10-19 00:56:17 +11:00
perf powerpc: Add -Werror at arch/powerpc level 2018-10-19 00:56:17 +11:00
platforms powerpc: Add -Werror at arch/powerpc level 2018-10-19 00:56:17 +11:00
purgatory powerpc updates for 4.19 2018-08-17 11:32:50 -07:00
sysdev powerpc: Add -Werror at arch/powerpc level 2018-10-19 00:56:17 +11:00
tools powerpc: Add a checkpatch wrapper with our preferred settings 2018-08-07 21:49:25 +10:00
xmon powerpc: Add -Werror at arch/powerpc level 2018-10-19 00:56:17 +11:00
Kbuild powerpc: Add -Werror at arch/powerpc level 2018-10-19 00:56:17 +11:00
Kconfig powerpc: Add support for function error injection 2018-10-20 13:26:43 +11:00
Kconfig.debug powerpc: remove redundant 'default n' from Kconfig-s 2018-10-13 22:21:25 +11:00
Makefile powerpc: Move core kernel logic into arch/powerpc/Kbuild 2018-10-19 00:56:17 +11:00
Makefile.postlink License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00