[PATCH 2/2 RESEND v8] x86/kdump: clean up all the code related to the backup region

2019-10-30 Thread Lianbo Jiang
When the crashkernel kernel command line option is specified, the low 1M memory will always be reserved, which makes that the memory allocated later won't fall into the low 1M area, thereby, it's not necessary to create a backup region and also no need to copy the first 640k content to a backup reg

[PATCH 1/2 RESEND v8] x86/kdump: always reserve the low 1M when the crashkernel option is specified

2019-10-30 Thread Lianbo Jiang
Kdump kernel will reuse the first 640k region because the real mode trampoline has to work in this area. When the vmcore is dumped, the old memory in this area may be accessed, therefore, kernel has to copy the contents of the first 640k area to a backup region so that kdump kernel can read the old

[PATCH 0/2 RESEND v8] x86/kdump: Fix 'kmem -s' reported an invalid freepointer when SME was active

2019-10-30 Thread Lianbo Jiang
In purgatory(), the main things are as below: [1] verify sha256 hashes for various segments. Lets keep these codes, and do not touch the logic. [2] copy the first 640k content to a backup region. Lets safely remove it and clean all code related to backup region. This patch series will re

Re: [PATCH 1/2 v7] x86/kdump: always reserve the low 1MiB when the crashkernel option is specified

2019-10-30 Thread lijiang
在 2019年10月31日 02:25, kbuild test robot 写道: > Hi Lianbo, > > Thank you for the patch! Perhaps something to improve: > > [auto build test WARNING on linus/master] > [also build test WARNING on v5.4-rc5 next-20191030] > [if your patch is applied to the wrong git tree, please d

Re: [PATCH 0/2 v8] x86/kdump: Fix 'kmem -s' reported an invalid freepointer when SME was active

2019-10-30 Thread lijiang
Hi, Please ignore this patch series because the compile warnings are reported by kduild. I will resend v8 later after the warnings are fixed. Sorry for this. Thanks. Lianbo 在 2019年10月30日 11:54, Lianbo Jiang 写道: > In purgatory(), the main things are as below: > > [1] verify sha256 hashes for

Re: [PATCH 1/2 v7] x86/kdump: always reserve the low 1MiB when the crashkernel option is specified

2019-10-30 Thread kbuild test robot
Hi Lianbo, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v5.4-rc5 next-20191030] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '-

RE: Makedumpfile help for 5.4.0.rc3 : Arm

2019-10-30 Thread Kazuhito Hagio
> -Original Message- > If there are corresponding kernel patches being considered to make > makedumpfile work on v8 and v8.x systems I would be interesting in > testing those also. > > > makedumpfile should be able to work with a variety of VAbits as 48, or > 52 settings. Yes, B

Re: Makedumpfile help for 5.4.0.rc3 : Arm

2019-10-30 Thread John Donnelly
On 10/30/19 10:08 AM, Kazuhito Hagio wrote: Hi Bhupesh, OK, thanks for letting me know that in your holidays. Have good ones. I just thought that it might be good to share our understanding before posting a kernel patch so that I can do something to support you if need be. Hi John, You see th

RE: Makedumpfile help for 5.4.0.rc3 : Arm

2019-10-30 Thread Kazuhito Hagio
Hi Bhupesh, OK, thanks for letting me know that in your holidays. Have good ones. I just thought that it might be good to share our understanding before posting a kernel patch so that I can do something to support you if need be. Hi John, You see that error with my test patch, which is only for

Re: [edk2-devel] How /sys/firmware/fdt getting created

2019-10-30 Thread Prabhakar Kushwaha
On Wed, Oct 30, 2019 at 1:14 PM Ard Biesheuvel wrote: > > On Wed, 30 Oct 2019 at 08:36, Prabhakar Kushwaha > wrote: > > > > On Wed, Oct 30, 2019 at 12:43 PM Ard Biesheuvel > > wrote: > > > > > > On Tue, 29 Oct 2019 at 18:17, Prabhakar Kushwaha > > > wrote: > > > > > > > > Hi All, > > > > > > >