aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorOliver O'Halloran <[email protected]>2018-12-06 15:17:09 +0000
committerMichael Ellerman <[email protected]>2018-12-07 12:32:02 +0000
commit59613526117b0595cb7b04835390ecd5175f9cd4 (patch)
treed121db75520ea00d9377453819c6846f3bc16760 /arch/powerpc/lib/code-patching.c
parentpowerpc/papr_scm: Use depend instead of select (diff)
downloadkernel-59613526117b0595cb7b04835390ecd5175f9cd4.tar.gz
kernel-59613526117b0595cb7b04835390ecd5175f9cd4.zip
powerpc/papr_scm: Fix resource end address
Fix an off-by-one error in the memory resource range. This resource is used to determine the address range of the memory to be hot-plugged as ZONE_DEVICE memory. The current end address results in the kernel attempting to map an additional memblock and the hypervisor may reject the mapping resulting in the entire hot-plug failing. Fixes: b5beae5e224f ("powerpc/pseries: Add driver for PAPR SCM regions") Signed-off-by: Oliver O'Halloran <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions