[PATCHv2 1/2] powerpc/pseries: group lmb operation and memblock's

2020-04-08 Thread Pingfan Liu
This patch prepares for the incoming patch which swaps the order of KOBJ_ uevent and dt's updating. It has no functional effect, just groups lmb operation and memblock's in order to insert dt updating operation easily, and makes it easier to review. Signed-off-by: Pingfan Liu Cc: Michael

[PATCHv2 2/2] powerpc/pseries: update device tree before ejecting hotplug uevents

2020-04-08 Thread Pingfan Liu
A bug is observed on pseries by taking the following steps on rhel: -1. drmgr -c mem -r -q 5 -2. echo c > /proc/sysrq-trigger And then, the failure looks like: kdump: saving to /sysroot//var/crash/127.0.0.1-2020-01-16-02:06:14/ kdump: saving vmcore-dmesg.txt kdump: saving vmcore-dmesg.txt

Re: [PATCH] KVM: VMX: fix crash cleanup when KVM wasn't used

2020-04-08 Thread Baoquan He
On 04/01/20 at 10:13am, Vitaly Kuznetsov wrote: > If KVM wasn't used at all before we crash the cleanup procedure fails with > BUG: unable to handle page fault for address: ffc8 > #PF: supervisor read access in kernel mode > #PF: error_code(0x) - not-present page > PGD 23215067

Re: [PATCH v2 0/3] KVM: VMX: Fix for kexec VMCLEAR and VMXON cleanup

2020-04-08 Thread Baoquan He
On 04/08/20 at 09:44pm, Vitaly Kuznetsov wrote: > Baoquan He writes: > > > On 04/07/20 at 02:04pm, Vitaly Kuznetsov wrote: > >> Baoquan He writes: > >> > >> > > >> > The trace is here. > >> > > >> > [ 132.480817] RIP: 0010:crash_vmclear_local_loaded_vmcss+0x57/0xd0 > >> > [kvm_intel] > >>

Re: [PATCH v2 0/3] KVM: VMX: Fix for kexec VMCLEAR and VMXON cleanup

2020-04-08 Thread Vitaly Kuznetsov
Baoquan He writes: > On 04/07/20 at 02:04pm, Vitaly Kuznetsov wrote: >> Baoquan He writes: >> >> > >> > The trace is here. >> > >> > [ 132.480817] RIP: 0010:crash_vmclear_local_loaded_vmcss+0x57/0xd0 >> > [kvm_intel] >> >> This is a known bug, >> >>

Re: Trying to kexec on Allwinner A80

2020-04-08 Thread Russell King - ARM Linux admin
On Wed, Apr 08, 2020 at 05:24:12PM +0200, Corentin Labbe wrote: > On Wed, Apr 08, 2020 at 10:33:20AM +0100, Russell King - ARM Linux admin > wrote: > > On Wed, Apr 08, 2020 at 10:40:29AM +0200, Corentin Labbe wrote: > > > This is the last boot: > > > ## Loading init Ramdisk from Legacy Image at

Re: Trying to kexec on Allwinner A80

2020-04-08 Thread Corentin Labbe
On Wed, Apr 08, 2020 at 10:33:20AM +0100, Russell King - ARM Linux admin wrote: > On Wed, Apr 08, 2020 at 10:40:29AM +0200, Corentin Labbe wrote: > > This is the last boot: > > ## Loading init Ramdisk from Legacy Image at 2a00 ... > >Image Name: > >Image Type: ARM Linux RAMDisk

Re: [PATCH v2 0/3] KVM: VMX: Fix for kexec VMCLEAR and VMXON cleanup

2020-04-08 Thread Baoquan He
On 04/07/20 at 02:04pm, Vitaly Kuznetsov wrote: > Baoquan He writes: > > > > > The trace is here. > > > > [ 132.480817] RIP: 0010:crash_vmclear_local_loaded_vmcss+0x57/0xd0 > > [kvm_intel] > > This is a known bug, > >

Re: [PATCH] arm64/defconfig: Enable CONFIG_KEXEC_FILE

2020-04-08 Thread Mark Rutland
On Tue, Apr 07, 2020 at 04:01:40AM +0530, Bhupesh Sharma wrote: > kexec_file_load() syscall interface is now supported for > arm64 architecture as well via commits: > 3751e728cef2 ("arm64: kexec_file: add crash dump support") and > 3ddd9992a590 ("arm64: enable KEXEC_FILE config")]. > > This patch

Re: Trying to kexec on Allwinner A80

2020-04-08 Thread Russell King - ARM Linux admin
On Wed, Apr 08, 2020 at 10:40:29AM +0200, Corentin Labbe wrote: > This is the last boot: > ## Loading init Ramdisk from Legacy Image at 2a00 ... >Image Name: >Image Type: ARM Linux RAMDisk Image (uncompressed) >Data Size:8031928 Bytes = 7.7 MiB >Load Address:

Re: Trying to kexec on Allwinner A80

2020-04-08 Thread Corentin Labbe
On Tue, Apr 07, 2020 at 07:17:40PM +0100, Russell King - ARM Linux admin wrote: > On Tue, Apr 07, 2020 at 03:48:49PM +0200, Corentin Labbe wrote: > > On Tue, Apr 07, 2020 at 02:26:02PM +0100, Russell King - ARM Linux admin > > wrote: > > > On Tue, Apr 07, 2020 at 03:05:59PM +0200, Corentin Labbe