Re: EFI stub kexec probelm

2017-02-16 Thread Dave Young
On 02/16/17 at 03:20pm, Dave Young wrote: > On 02/16/17 at 07:35pm, Eric W. Biederman wrote: > > Paweł Lenkow writes: > > > > > Hi! > > > > > > I am trying to run EFI stub kernel using kexec and unfortunately 2nd > > > kernel > > > crashes. > > > > Adding the

Re: [PATCH] x86/mce: Keep quiet in case of broadcasted mce after system panic

2017-02-16 Thread Xunlei Pang
On 02/16/2017 at 08:22 PM, Borislav Petkov wrote: > On Thu, Feb 16, 2017 at 07:52:09PM +0800, Xunlei Pang wrote: >> then mce will be broadcast to the other cpus which are still running >> in the first kernel(i.e. looping in crash_nmi_callback). > Simple: the crash code should really mark

Re: [PATCH] x86/mce: Keep quiet in case of broadcasted mce after system panic

2017-02-16 Thread Xunlei Pang
On 02/16/2017 at 06:18 PM, Borislav Petkov wrote: > On Thu, Feb 16, 2017 at 01:36:37PM +0800, Xunlei Pang wrote: >> I tried to use qemu to inject SRAO("mce -b 0 0 0xb100 0x5 0x0 >> 0x0"), >> it works well in 1st kernel, but it doesn't work for 1st kernel after kdump >> boots(seems >>

Re: [PATCH] x86/mce: Keep quiet in case of broadcasted mce after system panic

2017-02-16 Thread Borislav Petkov
On Thu, Feb 16, 2017 at 01:36:37PM +0800, Xunlei Pang wrote: > I tried to use qemu to inject SRAO("mce -b 0 0 0xb100 0x5 0x0 > 0x0"), > it works well in 1st kernel, but it doesn't work for 1st kernel after kdump > boots(seems > the cpus remain in 1st kernel don't respond to the

Re: [PATCH] x86/mce: Keep quiet in case of broadcasted mce after system panic

2017-02-16 Thread Borislav Petkov
On Thu, Feb 16, 2017 at 07:52:09PM +0800, Xunlei Pang wrote: > then mce will be broadcast to the other cpus which are still running > in the first kernel(i.e. looping in crash_nmi_callback). Simple: the crash code should really mark CPUs as not being online: void do_machine_check(struct

Re: [PATCH v32 07/13] arm64: hibernate: preserve kdump image around hibernation

2017-02-16 Thread AKASHI Takahiro
On Wed, Feb 15, 2017 at 12:12:35PM +, James Morse wrote: > Hi Akashi, > > On 07/02/17 08:08, AKASHI Takahiro wrote: > > Since arch_kexec_protect_crashkres() removes a mapping for crash dump > > kernel memory, the loaded contents won't be preserved around hibernation. > > > > In this patch,