From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Message-ID: <57710843.40806@arm.com> Date: Mon, 27 Jun 2016 12:04:35 +0100 From: James Morse MIME-Version: 1.0 Subject: Re: [PATCH v20 01/14] arm64: hibernate: Don't hibernate on systems with stuck CPUs References: <97dcd35763eddf1b4c50a26d16389f313269f0c8.1466702804.git.geoff@infradead.org> In-Reply-To: <97dcd35763eddf1b4c50a26d16389f313269f0c8.1466702804.git.geoff@infradead.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "kexec" Errors-To: kexec-bounces+dwmw2=infradead.org@lists.infradead.org To: Geoff Levand Cc: Mark Rutland , marc.zyngier@arm.com, Catalin Marinas , Will Deacon , AKASHI Takahiro , kexec@lists.infradead.org, linux-arm-kernel@lists.infradead.org Hi On 23/06/16 18:54, Geoff Levand wrote: > From: James Morse > > Hibernate relies on cpu hotplug to prevent secondary cores executing > the kernel text while it is being restored. > > Add a call to cpus_are_stuck_in_kernel() to determine if there are > CPUs not counted by 'num_online_cpus()', and prevent hibernate in this > case. > > Fixes: 82869ac57b5 ("arm64: kernel: Add support for hibernate/suspend-to-disk") > Signed-off-by: James Morse > --- > arch/arm64/kernel/hibernate.c | 6 ++++++ > 1 file changed, 6 insertions(+) ... this patch isn't necessary for kexec, it wired up the helper function you have in patch 2 for hibernate. Please drop this in any future posting! Thanks, James _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec