# git rev-parse -q --verify 0570bc8b7c9b41deba6f61ac218922e7168ad648^{commit} 0570bc8b7c9b41deba6f61ac218922e7168ad648 already have revision, skipping fetch # git checkout -q -f -B kisskb 0570bc8b7c9b41deba6f61ac218922e7168ad648 # git clean -qxdf # < git log -1 # commit 0570bc8b7c9b41deba6f61ac218922e7168ad648 # Merge: 0e2a5b5bd9a6 2d69fbf3d01a # Author: Linus Torvalds # Date: Thu Jul 18 12:26:59 2019 -0700 # # Merge tag 'riscv/for-v5.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux # # Pull RISC-V updates from Paul Walmsley: # # - Hugepage support # # - "Image" header support for RISC-V kernel binaries, compatible with # the current ARM64 "Image" header # # - Initial page table setup now split into two stages # # - CONFIG_SOC support (starting with SiFive SoCs) # # - Avoid reserving memory between RAM start and the kernel in # setup_bootmem() # # - Enable high-res timers and dynamic tick in the RV64 defconfig # # - Remove long-deprecated gate area stubs # # - MAINTAINERS updates to switch to the newly-created shared RISC-V git # tree, and to fix a get_maintainers.pl issue for patches involving # SiFive E-mail addresses # # Also, one integration fix to resolve a build problem introduced during # in the v5.3-rc1 merge window: # # - Fix build break after macro-to-function conversion in # asm-generic/cacheflush.h # # * tag 'riscv/for-v5.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux: # riscv: fix build break after macro-to-function conversion in generic cacheflush.h # RISC-V: Add an Image header that boot loader can parse. # RISC-V: Setup initial page tables in two stages # riscv: remove free_initrd_mem # riscv: ccache: Remove unused variable # riscv: Introduce huge page support for 32/64bit kernel # x86, arm64: Move ARCH_WANT_HUGE_PMD_SHARE config in arch/Kconfig # RISC-V: Fix memory reservation in setup_bootmem() # riscv: defconfig: enable SOC_SIFIVE # riscv: select SiFive platform drivers with SOC_SIFIVE # arch: riscv: add config option for building SiFive's SoC resource # riscv: Remove gate area stubs # MAINTAINERS: change the arch/riscv git tree to the new shared tree # MAINTAINERS: don't automatically patches involving SiFive to the linux-riscv list # RISC-V: defconfig: Enable NO_HZ_IDLE and HIGH_RES_TIMERS # < /opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 0570bc8b7c9b41deba6f61ac218922e7168ad648 # < make -s -j 24 ARCH=um O=/kisskb/build/linus_um-allyesconfig_um-x86_64 CROSS_COMPILE=/opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux- SUBARCH=x86_64 allyesconfig WARNING: unmet direct dependencies detected for MTD_COMPLEX_MAPPINGS Depends on [n]: MTD [=y] && HAS_IOMEM [=n] Selected by [y]: - MTD_HYPERBUS [=y] && MTD [=y] WARNING: unmet direct dependencies detected for MTD_COMPLEX_MAPPINGS Depends on [n]: MTD [=y] && HAS_IOMEM [=n] Selected by [y]: - MTD_HYPERBUS [=y] && MTD [=y] # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_KCOV=n # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig CONFIG_GCC_PLUGIN_CYC_COMPLEXITY=n # Added to kconfig CONFIG_GCC_PLUGIN_SANCOV=n # Added to kconfig CONFIG_GCC_PLUGIN_LATENT_ENTROPY=n # Added to kconfig CONFIG_GCC_PLUGIN_STRUCTLEAK=n # Added to kconfig CONFIG_GCC_PLUGIN_RANDSTRUCT=n # Added to kconfig CONFIG_UML_NET=n # Added to kconfig CONFIG_UML_NET_ETHERTAP=n # Added to kconfig CONFIG_UML_NET_TUNTAP=n # Added to kconfig CONFIG_UML_NET_SLIP=n # Added to kconfig CONFIG_UML_NET_DAEMON=n # Added to kconfig CONFIG_UML_NET_VDE=n # Added to kconfig CONFIG_UML_NET_MCAST=n # Added to kconfig CONFIG_UML_NET_PCAP=n # Added to kconfig CONFIG_UML_NET_SLIRP=n # Added to kconfig CONFIG_GCOV_KERNEL=n # yes \n | make -s -j 24 ARCH=um O=/kisskb/build/linus_um-allyesconfig_um-x86_64 CROSS_COMPILE=/opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux- SUBARCH=x86_64 oldconfig yes: standard output: Broken pipe # make -s -j 24 ARCH=um O=/kisskb/build/linus_um-allyesconfig_um-x86_64 CROSS_COMPILE=/opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux- SUBARCH=x86_64 WARNING: unmet direct dependencies detected for MTD_COMPLEX_MAPPINGS Depends on [n]: MTD [=y] && HAS_IOMEM [=n] Selected by [y]: - MTD_HYPERBUS [=y] && MTD [=y] WARNING: unmet direct dependencies detected for MTD_COMPLEX_MAPPINGS Depends on [n]: MTD [=y] && HAS_IOMEM [=n] Selected by [y]: - MTD_HYPERBUS [=y] && MTD [=y] WARNING: unmet direct dependencies detected for MTD_COMPLEX_MAPPINGS Depends on [n]: MTD [=y] && HAS_IOMEM [=n] Selected by [y]: - MTD_HYPERBUS [=y] && MTD [=y] /kisskb/src/arch/um/os-Linux/signal.c: In function 'timer_real_alarm_handler': /kisskb/src/arch/um/os-Linux/signal.c:93:1: warning: the frame size of 2960 bytes is larger than 2048 bytes [-Wframe-larger-than=] } ^ /kisskb/src/arch/um/os-Linux/signal.c: In function 'sig_handler_common': /kisskb/src/arch/um/os-Linux/signal.c:51:1: warning: the frame size of 2976 bytes is larger than 2048 bytes [-Wframe-larger-than=] } ^ /kisskb/src/security/apparmor/policy_unpack.c: In function 'unpack_profile': /kisskb/src/security/apparmor/policy_unpack.c:523:9: warning: 'pos' may be used uninitialized in this function [-Wmaybe-uninitialized] str[pos] = ':'; ^ /kisskb/src/security/apparmor/policy_unpack.c:494:14: note: 'pos' was declared here int c, j, pos, size2 = unpack_strdup(e, &str, NULL); ^ /kisskb/src/lib/lz4/lz4hc_compress.c: In function 'LZ4HC_compress_generic': /kisskb/src/lib/lz4/lz4hc_compress.c:579:1: warning: the frame size of 2144 bytes is larger than 2048 bytes [-Wframe-larger-than=] } ^ /kisskb/src/mm/hmm.c: In function 'hmm_vma_walk_pud': /kisskb/src/mm/hmm.c:753:9: error: implicit declaration of function 'pud_pfn' [-Werror=implicit-function-declaration] pfn = pud_pfn(pud) + ((addr & ~PUD_MASK) >> PAGE_SHIFT); ^ cc1: some warnings being treated as errors make[2]: *** [/kisskb/src/scripts/Makefile.build:278: mm/hmm.o] Error 1 make[1]: *** [/kisskb/src/Makefile:1077: mm] Error 2 make[1]: *** Waiting for unfinished jobs.... /kisskb/src/drivers/misc/lkdtm/bugs.c: In function 'lkdtm_UNSET_SMEP': /kisskb/src/drivers/misc/lkdtm/bugs.c:279:8: error: implicit declaration of function 'native_read_cr4' [-Werror=implicit-function-declaration] cr4 = native_read_cr4(); ^ /kisskb/src/drivers/misc/lkdtm/bugs.c:281:13: error: 'X86_CR4_SMEP' undeclared (first use in this function) if ((cr4 & X86_CR4_SMEP) != X86_CR4_SMEP) { ^ /kisskb/src/drivers/misc/lkdtm/bugs.c:281:13: note: each undeclared identifier is reported only once for each function it appears in /kisskb/src/drivers/misc/lkdtm/bugs.c:288:2: error: implicit declaration of function 'native_write_cr4' [-Werror=implicit-function-declaration] native_write_cr4(cr4); ^ cc1: some warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:278: drivers/misc/lkdtm/bugs.o] Error 1 make[3]: *** [/kisskb/src/scripts/Makefile.build:498: drivers/misc/lkdtm] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:498: drivers/misc] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1077: drivers] Error 2 make: *** [Makefile:179: sub-make] Error 2 Command 'make -s -j 24 ARCH=um O=/kisskb/build/linus_um-allyesconfig_um-x86_64 CROSS_COMPILE=/opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux- SUBARCH=x86_64 ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus_um-allyesconfig_um-x86_64 # Build took: 0:06:03.157615