Hi Lianbo, Thank you for the patch! Yet something to improve: [auto build test ERROR on sof-driver-fuweitax/master] [also build test ERROR on v4.19-rc5 next-20180928] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Lianbo-Jiang/Support-kdump-for-AMD-secure-memory-encryption-SME/20180930-112044 base: https://github.com/fuweitax/linux master config: x86_64-randconfig-x005-201839 (attached as .config) compiler: gcc-7 (Debian 7.3.0-1) 7.3.0 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones prefixed by >>): >> arch/x86//kernel/crash_dump_64.c:93:9: error: redefinition of 'copy_oldmem_page_encrypted' ssize_t copy_oldmem_page_encrypted(unsigned long pfn, char *buf, size_t csize, ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from arch/x86//kernel/crash_dump_64.c:10:0: include/linux/crash_dump.h:34:9: note: previous definition of 'copy_oldmem_page_encrypted' was here ssize_t copy_oldmem_page_encrypted(unsigned long pfn, char *buf, size_t csize, ^~~~~~~~~~~~~~~~~~~~~~~~~~ vim +/copy_oldmem_page_encrypted +93 arch/x86//kernel/crash_dump_64.c 78 79 /** 80 * copy_oldmem_page_encrypted - copy one page from "old memory encrypted" 81 * @pfn: page frame number to be copied 82 * @buf: target memory address for the copy; this can be in kernel address 83 * space or user address space (see @userbuf) 84 * @csize: number of bytes to copy 85 * @offset: offset in bytes into the page (based on pfn) to begin the copy 86 * @userbuf: if set, @buf is in user address space, use copy_to_user(), 87 * otherwise @buf is in kernel address space, use memcpy(). 88 * 89 * Copy a page from "old memory encrypted". For this page, there is no pte 90 * mapped in the current kernel. We stitch up a pte, similar to 91 * kmap_atomic. 92 */ > 93 ssize_t copy_oldmem_page_encrypted(unsigned long pfn, char *buf, size_t csize, --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip
_______________________________________________ kexec mailing list kexec@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/kexec