powerpc/fadump: Don't update the user-specified memory limit
authorAneesh Kumar K.V (IBM) <aneesh.kumar@kernel.org>
Wed, 3 Apr 2024 08:36:10 +0000 (14:06 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 19 Apr 2024 06:09:14 +0000 (16:09 +1000)
commitf94f5ac07983cb53de0c964f5428366c19e81993
tree3be6e88641699f3758ef3c9be49fe4ddc511cd53
parent5ca096161cdccfa328acf6704a4615528471d309
powerpc/fadump: Don't update the user-specified memory limit

If the user specifies the memory limit, the kernel should honor it such
that all allocation and reservations are made within the memory limit
specified. fadump was breaking that rule. Remove the code which updates
the memory limit such that fadump reservations are done within the
limit specified.

Signed-off-by: Aneesh Kumar K.V (IBM) <aneesh.kumar@kernel.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20240403083611.172833-2-aneesh.kumar@kernel.org
arch/powerpc/kernel/fadump.c