[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <839b08dc-36ae-fb94-0c0a-00e6ee8a5790@arm.com>
Date: Fri, 26 Jul 2019 17:49:42 +0100
From: James Morse <james.morse@....com>
To: Bhupesh Sharma <bhsharma@...hat.com>
Cc: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
bhupesh.linux@...il.com, takahiro.akashi@...aro.org,
will.deacon@....com
Subject: Re: [PATCH] arm64/kexec: Use consistent convention of initializing
'kxec_buf.mem' with KEXEC_BUF_MEM_UNKNOWN
Hi Bhupesh,
On 11/07/2019 12:57, Bhupesh Sharma wrote:
> With commit b6664ba42f14 ("s390, kexec_file: drop arch_kexec_mem_walk()"),
> we introduced the KEXEC_BUF_MEM_UNKNOWN macro. If kexec_buf.mem is set
> to this value, kexec_locate_mem_hole() will try to allocate free memory.
>
> While other arch(s) like s390 and x86_64 already use this macro to
> initialize kexec_buf.mem with, arm64 uses an equivalent value of 0.
> Replace it with KEXEC_BUF_MEM_UNKNOWN, to keep the convention of
> initializing 'kxec_buf.mem' consistent across various archs.
Reviewed-by: James Morse <james.morse@....com>
Thanks,
James
Powered by blists - more mailing lists