Re: [tip:x86/mm] kdump, proc/vmcore: Enable kdumping encrypted memory with SME enabled
From: lijiang
Date: Mon Oct 08 2018 - 03:12:09 EST
å 2018å10æ08æ 13:37, Borislav Petkov åé:
> On Mon, Oct 08, 2018 at 11:30:56AM +0800, lijiang wrote:
>> Yes. As previously mentioned, the correct patch is this one:
>
> No, that chunk is not needed and I removed it. But I'd leave it as
> an exercise to you to figure out why... or to prove me wrong with a
> .config.
>
> :-)
>
I used this ".config" to compile kernel in the attachment, and got a compile error.
Would you like to have a try?
[root@hp-dl385g10-03 linux]# make ARCH=i386 -j32
......
LD vmlinux.o
MODPOST vmlinux.o
fs/proc/vmcore.oïIn function âread_from_oldmemâï
/home/linux/fs/proc/vmcore.c:127ïundefined reference to âcopy_oldmem_page_encryptedâ
make: *** [vmlinux] error 1
Regards,
Lianbo
Attachment:
i386_config.gz
Description: application/gzip