The patch titled Subject: page-flags-prioritize-kasan-bits-over-last-cpuid-fix has been added to the -mm tree. Its filename is page-flags-prioritize-kasan-bits-over-last-cpuid-fix.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/page-flags-prioritize-kasan-bits-over-last-cpuid-fix.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/page-flags-prioritize-kasan-bits-over-last-cpuid-fix.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Arnd Bergmann <arnd@xxxxxxxx> Subject: page-flags-prioritize-kasan-bits-over-last-cpuid-fix > config: mips-fuloong2e_defconfig (attached as .config) > compiler: mips64el-linux-gcc (GCC) 7.4.0 > reproduce: > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > git checkout b7ee4976128763d63714958ad3cb32a6e85554a1 > # save the attached .config to linux build tree > GCC_VERSION=7.4.0 make.cross ARCH=mips > > If you fix the issue, kindly add following tag > Reported-by: kbuild test robot <lkp@xxxxxxxxx> > > All errors (new ones prefixed by >>): > > In file included from include/linux/mm_types.h:15:0, > from arch/mips/include/asm/vdso.h:10, > from arch/mips/vdso/vdso.h:23, > from arch/mips/vdso/gettimeofday.c:7: > >> include/linux/page-flags-layout.h:95:2: error: #error "Not enough bits in page flags" > #error "Not enough bits in page flags" > ^~~~~ > > vim +95 include/linux/page-flags-layout.h I have reproduced the problem and found a solution, adding this in fixes the build again. Link: http://lkml.kernel.org/r/CAK8P3a3Mno1SWTcuAOT0Wa9VS15pdU6EfnkxLbDpyS55yO04+g@xxxxxxxxxxxxxx Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx> Reported-by: kbuild test robot <lkp@xxxxxxxxx> Cc: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- arch/mips/vdso/vdso.h | 1 + 1 file changed, 1 insertion(+) --- a/arch/mips/vdso/vdso.h~page-flags-prioritize-kasan-bits-over-last-cpuid-fix +++ a/arch/mips/vdso/vdso.h @@ -9,6 +9,7 @@ #if _MIPS_SIM != _MIPS_SIM_ABI64 && defined(CONFIG_64BIT) /* Building 32-bit VDSO for the 64-bit kernel. Fake a 32-bit Kconfig. */ +#define BUILD_VDSO32_64 #undef CONFIG_64BIT #define CONFIG_32BIT 1 #ifndef __ASSEMBLY__ _ Patches currently in -mm which might be from arnd@xxxxxxxx are kasan-remove-clang-version-check-for-kasan_stack.patch ubsan-build-ubsanc-more-conservatively.patch page-flags-prioritize-kasan-bits-over-last-cpuid.patch page-flags-prioritize-kasan-bits-over-last-cpuid-fix.patch mm-sparse-fix-memory-leak-of-sparsemap_buf-in-aliged-memory-fix.patch