On 6/8/2017 12:53 AM, kbuild test robot wrote:
Hi Tom,
[auto build test ERROR on linus/master]
[also build test ERROR on v4.12-rc4 next-20170607]
[cannot apply to tip/x86/core]
[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/Tom-Lendacky/x86-Secure-Memory-Encryption-AMD/20170608-104147
config: sparc-defconfig (attached as .config)
compiler: sparc-linux-gcc (GCC) 6.2.0
reproduce:
wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=sparc
All errors (new ones prefixed by >>):
In file included from include/linux/dma-mapping.h:13:0,
from include/linux/skbuff.h:34,
from include/linux/filter.h:12,
from kernel//bpf/core.c:24:
include/linux/mem_encrypt.h:16:29: fatal error: asm/mem_encrypt.h: No such file or directory
#include <asm/mem_encrypt.h>
^
compilation terminated.
Okay, I had the wrong understanding of the asm-generic directory. The
next series will fix this so it is not an issue for other arches.
Thanks,
Tom
vim +16 include/linux/mem_encrypt.h
2d7c2ec4 Tom Lendacky 2017-06-07 10 * published by the Free Software Foundation.
2d7c2ec4 Tom Lendacky 2017-06-07 11 */
2d7c2ec4 Tom Lendacky 2017-06-07 12
2d7c2ec4 Tom Lendacky 2017-06-07 13 #ifndef __MEM_ENCRYPT_H__
2d7c2ec4 Tom Lendacky 2017-06-07 14 #define __MEM_ENCRYPT_H__
2d7c2ec4 Tom Lendacky 2017-06-07 15
2d7c2ec4 Tom Lendacky 2017-06-07 @16 #include <asm/mem_encrypt.h>
2d7c2ec4 Tom Lendacky 2017-06-07 17
2d7c2ec4 Tom Lendacky 2017-06-07 18 #endif /* __MEM_ENCRYPT_H__ */
:::::: The code at line 16 was first introduced by commit
:::::: 2d7c2ec4c60e83432b27bfb32042706f404d4158 x86/mm: Add Secure Memory Encryption (SME) support
:::::: TO: Tom Lendacky <thomas.lendacky@xxxxxxx>
:::::: CC: 0day robot <fengguang.wu@xxxxxxxxx>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html