tree: https://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git next head: 32904d922174e7ced3d7e68b496545c01c8f32bf commit: 32904d922174e7ced3d7e68b496545c01c8f32bf [7/7] efi: x86: convert x86 EFI earlyprintk into generic earlycon implementation config: i386-randconfig-x075-01290405 (attached as .config) compiler: gcc-8 (Debian 8.2.0-14) 8.2.0 reproduce: git checkout 32904d922174e7ced3d7e68b496545c01c8f32bf # save the attached .config to linux build tree make ARCH=i386
All warnings (new ones prefixed by >>):
In file included from arch/x86/include/asm/paravirt_types.h:45,
from arch/x86/include/asm/ptrace.h:94,
from arch/x86/include/asm/math_emu.h:5,
from arch/x86/include/asm/processor.h:12,
from arch/x86/include/asm/cpufeature.h:5,
from arch/x86/include/asm/thread_info.h:53,
from include/linux/thread_info.h:38,
from arch/x86/include/asm/preempt.h:7,
from include/linux/preempt.h:78,
from include/linux/spinlock.h:51,
from include/linux/mmzone.h:8,
from include/linux/gfp.h:6,
from include/linux/mm.h:10,
from include/linux/memblock.h:17,
from arch/x86//mm/ioremap.c:9:
arch/x86//mm/ioremap.c: In function 'early_memremap_encrypted':
>> arch/x86/include/asm/pgtable_types.h:193:27: warning: conversion from 'long
>> long unsigned int' to 'long unsigned int' changes value from
>> '9223372036854776163' to '355' [-Woverflow]
#define __PAGE_KERNEL_ENC (__PAGE_KERNEL | _PAGE_ENC)
^~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/x86//mm/ioremap.c:713:46: note: in expansion of macro
'__PAGE_KERNEL_ENC'
return early_memremap_prot(phys_addr, size, __PAGE_KERNEL_ENC);
^~~~~~~~~~~~~~~~~
arch/x86//mm/ioremap.c: In function 'early_memremap_decrypted':
arch/x86/include/asm/pgtable_types.h:196:29: warning: conversion from 'long
long unsigned int' to 'long unsigned int' changes value from
'9223372036854776163' to '355' [-Woverflow]
#define __PAGE_KERNEL_NOENC (__PAGE_KERNEL)
^~~~~~~~~~~~~~~
arch/x86//mm/ioremap.c:734:46: note: in expansion of macro
'__PAGE_KERNEL_NOENC'
return early_memremap_prot(phys_addr, size, __PAGE_KERNEL_NOENC);
^~~~~~~~~~~~~~~~~~~
--
In file included from arch/x86/include/asm/paravirt_types.h:45,
from arch/x86/include/asm/ptrace.h:94,
from arch/x86/include/asm/math_emu.h:5,
from arch/x86/include/asm/processor.h:12,
from arch/x86/include/asm/cpufeature.h:5,
from arch/x86/include/asm/thread_info.h:53,
from include/linux/thread_info.h:38,
from arch/x86/include/asm/preempt.h:7,
from include/linux/preempt.h:78,
from include/linux/spinlock.h:51,
from include/linux/mmzone.h:8,
from include/linux/gfp.h:6,
from include/linux/mm.h:10,
from include/linux/memblock.h:17,
from arch/x86/mm/ioremap.c:9:
arch/x86/mm/ioremap.c: In function 'early_memremap_encrypted':
>> arch/x86/include/asm/pgtable_types.h:193:27: warning: conversion from 'long
>> long unsigned int' to 'long unsigned int' changes value from
>> '9223372036854776163' to '355' [-Woverflow]
#define __PAGE_KERNEL_ENC (__PAGE_KERNEL | _PAGE_ENC)
^~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/x86/mm/ioremap.c:713:46: note: in expansion of macro '__PAGE_KERNEL_ENC'
return early_memremap_prot(phys_addr, size, __PAGE_KERNEL_ENC);
^~~~~~~~~~~~~~~~~
arch/x86/mm/ioremap.c: In function 'early_memremap_decrypted':
arch/x86/include/asm/pgtable_types.h:196:29: warning: conversion from 'long
long unsigned int' to 'long unsigned int' changes value from
'9223372036854776163' to '355' [-Woverflow]
#define __PAGE_KERNEL_NOENC (__PAGE_KERNEL)
^~~~~~~~~~~~~~~
arch/x86/mm/ioremap.c:734:46: note: in expansion of macro
'__PAGE_KERNEL_NOENC'
return early_memremap_prot(phys_addr, size, __PAGE_KERNEL_NOENC);
^~~~~~~~~~~~~~~~~~~
vim +193 arch/x86/include/asm/pgtable_types.h
21729f81 Tom Lendacky 2017-07-17 192
f88a68fa Tom Lendacky 2017-07-17 @193 #define __PAGE_KERNEL_ENC
(__PAGE_KERNEL | _PAGE_ENC)
f88a68fa Tom Lendacky 2017-07-17 194 #define __PAGE_KERNEL_ENC_WP
(__PAGE_KERNEL_WP | _PAGE_ENC)
f88a68fa Tom Lendacky 2017-07-17 195
:::::: The code at line 193 was first introduced by commit
:::::: f88a68facd9a15b94f8c195d9d2c0b30c76c595a x86/mm: Extend early_memremap()
support with additional attrs
:::::: TO: Tom Lendacky <[email protected]>
:::::: CC: Ingo Molnar <[email protected]>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
.config.gz
Description: application/gzip
