# git rev-parse -q --verify 99192daf72164738707cce5137b8648c098e2a64^{commit} 99192daf72164738707cce5137b8648c098e2a64 already have revision, skipping fetch # git checkout -q -f -B kisskb 99192daf72164738707cce5137b8648c098e2a64 # git clean -qxdf # git log -1 commit 99192daf72164738707cce5137b8648c098e2a64 Author: Anshuman Khandual Date: Fri Apr 7 09:25:39 2017 +0530 powerpc/hugetlb: Add ABI defines for supported HugeTLB page sizes Add user space exported API definitions for 512KB, 1MB, 2MB, 8MB, 16MB, 1GB, 16GB non default huge page sizes to be used with mmap() system call. Signed-off-by: Anshuman Khandual [mpe: Reword the comment to emphasise that these are only needed to use the non-default huge page size, and updated the change log.] Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/gcc-5.2.0-nolibc/powerpc64le-linux/bin/powerpc64le-linux-gcc --version # < git log --format=%s --max-count=1 99192daf72164738707cce5137b8648c098e2a64 # < make -j 10 ARCH=powerpc O=/home/kisskb/slave/build/powerpc-next_pseries_le_defconfig_ppc64le CROSS_COMPILE=/opt/cross/kisskb/gcc-5.2.0-nolibc/powerpc64le-linux/bin/powerpc64le-linux- pseries_le_defconfig # make -j 10 ARCH=powerpc O=/home/kisskb/slave/build/powerpc-next_pseries_le_defconfig_ppc64le CROSS_COMPILE=/opt/cross/kisskb/gcc-5.2.0-nolibc/powerpc64le-linux/bin/powerpc64le-linux- make[1]: Entering directory '/home/kisskb/slave/build/powerpc-next_pseries_le_defconfig_ppc64le' GEN ./Makefile scripts/kconfig/conf --silentoldconfig Kconfig CHK include/config/kernel.release GEN ./Makefile WRAP arch/powerpc/include/generated/asm/clkdev.h WRAP arch/powerpc/include/generated/asm/div64.h WRAP arch/powerpc/include/generated/asm/export.h WRAP arch/powerpc/include/generated/asm/irq_regs.h WRAP arch/powerpc/include/generated/asm/irq_work.h WRAP arch/powerpc/include/generated/asm/local64.h WRAP arch/powerpc/include/generated/asm/mcs_spinlock.h WRAP arch/powerpc/include/generated/asm/preempt.h WRAP arch/powerpc/include/generated/asm/rwsem.h WRAP arch/powerpc/include/generated/asm/vtime.h CHK include/generated/uapi/linux/version.h UPD include/generated/uapi/linux/version.h HOSTCC scripts/basic/bin2c UPD include/config/kernel.release Using /home/kisskb/slave/src as source for kernel CHK include/generated/utsrelease.h UPD include/generated/utsrelease.h HOSTCC scripts/dtc/dtc.o HOSTCC scripts/genksyms/genksyms.o CC scripts/mod/empty.o HOSTCC scripts/mod/mk_elfconfig HOSTCC scripts/dtc/flattree.o CC scripts/mod/devicetable-offsets.s HOSTCC scripts/dtc/fstree.o GEN scripts/mod/devicetable-offsets.h MKELF scripts/mod/elfconfig.h HOSTCC scripts/mod/modpost.o HOSTCC scripts/dtc/data.o HOSTCC scripts/dtc/livetree.o HOSTCC scripts/dtc/treesource.o HOSTCC scripts/mod/file2alias.o HOSTCC scripts/dtc/srcpos.o HOSTCC scripts/mod/sumversion.o HOSTCC scripts/dtc/checks.o HOSTCC scripts/kallsyms HOSTCC scripts/pnmtologo SHIPPED scripts/genksyms/parse.tab.c SHIPPED scripts/genksyms/lex.lex.c SHIPPED scripts/genksyms/keywords.hash.c SHIPPED scripts/genksyms/parse.tab.h HOSTCC scripts/genksyms/parse.tab.o HOSTCC scripts/dtc/util.o HOSTCC scripts/conmakehash HOSTCC scripts/sortextable SHIPPED scripts/dtc/dtc-lexer.lex.c HOSTCC scripts/genksyms/lex.lex.o SHIPPED scripts/dtc/dtc-parser.tab.h SHIPPED scripts/dtc/dtc-parser.tab.c HOSTCC scripts/dtc/dtc-lexer.lex.o HOSTCC scripts/dtc/dtc-parser.tab.o CHK include/generated/timeconst.h CC kernel/bounds.s UPD include/generated/timeconst.h CHK include/generated/bounds.h UPD include/generated/bounds.h CC arch/powerpc/kernel/asm-offsets.s HOSTLD scripts/mod/modpost HOSTLD scripts/dtc/dtc HOSTLD scripts/genksyms/genksyms CHK include/generated/asm-offsets.h UPD include/generated/asm-offsets.h CALL /home/kisskb/slave/src/scripts/checksyscalls.sh HOSTCC usr/gen_init_cpio CC init/main.o CHK include/generated/compile.h CC init/do_mounts.o CC init/do_mounts_rd.o CC init/do_mounts_initrd.o CC init/do_mounts_md.o CC init/initramfs.o UPD include/generated/compile.h CC arch/powerpc/mm/fault.o AS arch/powerpc/lib/string.o CC arch/powerpc/kernel/cputable.o CC arch/powerpc/lib/alloc.o GEN usr/initramfs_data.cpio.gz AS usr/initramfs_data.o LD usr/built-in.o AS arch/powerpc/lib/crtsavres.o CC init/init_task.o CC arch/powerpc/sysdev/mpic.o CC arch/powerpc/lib/code-patching.o CC arch/powerpc/kernel/ptrace.o CC arch/powerpc/mm/mem.o CC arch/powerpc/mm/pgtable.o CC arch/powerpc/mm/mmap.o CC arch/powerpc/mm/init_64.o CC arch/powerpc/mm/pgtable_64.o CC arch/powerpc/lib/feature-fixups.o AS arch/powerpc/lib/checksum_64.o CC arch/powerpc/lib/checksum_wrappers.o CC arch/powerpc/platforms/powernv/setup.o AS arch/powerpc/platforms/powernv/opal-wrappers.o CC arch/powerpc/kernel/syscalls.o CC arch/powerpc/platforms/pseries/lpar.o CC arch/powerpc/lib/sstep.o CC init/version.o LD init/mounts.o CC arch/powerpc/platforms/powernv/opal.o CC arch/powerpc/platforms/powernv/opal-async.o CC arch/powerpc/sysdev/mpic_msi.o LD init/built-in.o CC arch/powerpc/kernel/irq.o LD arch/powerpc/math-emu/built-in.o CC arch/powerpc/kernel/align.o CC arch/powerpc/mm/init-common.o CC arch/powerpc/mm/pgtable-hash64.o CC arch/powerpc/mm/hash_utils_64.o CC arch/powerpc/sysdev/mpic_u3msi.o LD arch/powerpc/crypto/built-in.o AS [M] arch/powerpc/crypto/md5-asm.o CC [M] arch/powerpc/crypto/md5-glue.o CC arch/powerpc/platforms/powernv/idle.o CC arch/powerpc/platforms/powernv/opal-rtc.o CC arch/powerpc/sysdev/msi_bitmap.o AS arch/powerpc/platforms/pseries/hvCall.o CC arch/powerpc/platforms/pseries/nvram.o CC arch/powerpc/platforms/powernv/opal-nvram.o AS [M] arch/powerpc/crypto/sha1-powerpc-asm.o CC [M] arch/powerpc/crypto/sha1.o AS arch/powerpc/lib/ldstfp.o AS arch/powerpc/lib/feature-fixups-test.o AS arch/powerpc/mm/slb_low.o CC arch/powerpc/mm/slb.o AS [M] arch/powerpc/crypto/crc32c-vpmsum_asm.o CC arch/powerpc/lib/xor_vmx.o AS arch/powerpc/lib/copypage_64.o CC arch/powerpc/sysdev/i8259.o CC arch/powerpc/mm/hash_native_64.o CC arch/powerpc/kernel/signal_32.o CC arch/powerpc/platforms/pseries/reconfig.o CC arch/powerpc/platforms/powernv/opal-lpc.o AS arch/powerpc/net/bpf_jit_asm64.o CC arch/powerpc/net/bpf_jit_comp64.o CC [M] arch/powerpc/crypto/crc32c-vpmsum_glue.o AS arch/powerpc/lib/copyuser_64.o CC arch/powerpc/mm/mmu_context_book3s64.o CC arch/powerpc/mm/pgtable-book3s64.o CC arch/powerpc/lib/usercopy_64.o CC arch/powerpc/sysdev/scom.o CC arch/powerpc/platforms/powernv/opal-flash.o CC arch/powerpc/platforms/pseries/of_helpers.o LD [M] arch/powerpc/crypto/md5-ppc.o LD [M] arch/powerpc/crypto/sha1-powerpc.o LD [M] arch/powerpc/crypto/crc32c-vpmsum.o CC arch/powerpc/platforms/powernv/rng.o CC arch/powerpc/mm/pgtable-radix.o AS arch/powerpc/lib/mem_64.o AS arch/powerpc/lib/hweight_64.o CC arch/powerpc/platforms/pseries/setup.o CC arch/powerpc/mm/tlb-radix.o CC arch/powerpc/kernel/pmc.o CC arch/powerpc/sysdev/xics/xics-common.o CC arch/powerpc/xmon/xmon.o AS arch/powerpc/lib/copyuser_power7.o AS arch/powerpc/lib/string_64.o CC arch/powerpc/xmon/nonstdio.o CC arch/powerpc/kernel/vdso.o CC arch/powerpc/platforms/powernv/opal-elog.o CC arch/powerpc/platforms/pseries/iommu.o AS arch/powerpc/lib/copypage_power7.o AS arch/powerpc/lib/memcpy_power7.o AS arch/powerpc/lib/memcpy_64.o /home/kisskb/slave/src/arch/powerpc/xmon/xmon.c: In function 'setup_xmon_dbgfs': /home/kisskb/slave/src/arch/powerpc/xmon/xmon.c:3343:36: error: 'powerpc_debugfs_root' undeclared (first use in this function) debugfs_create_file("xmon", 0600, powerpc_debugfs_root, NULL, ^ /home/kisskb/slave/src/arch/powerpc/xmon/xmon.c:3343:36: note: each undeclared identifier is reported only once for each function it appears in /home/kisskb/slave/src/scripts/Makefile.build:294: recipe for target 'arch/powerpc/xmon/xmon.o' failed make[2]: *** [arch/powerpc/xmon/xmon.o] Error 1 /home/kisskb/slave/src/Makefile:1002: recipe for target 'arch/powerpc/xmon' failed make[1]: *** [arch/powerpc/xmon] Error 2 make[1]: *** Waiting for unfinished jobs.... AS arch/powerpc/lib/memcmp_64.o CC arch/powerpc/sysdev/xics/icp-native.o CC arch/powerpc/platforms/powernv/opal-dump.o CC arch/powerpc/platforms/powernv/opal-sysparam.o CC arch/powerpc/lib/locks.o CC arch/powerpc/mm/tlb_hash64.o CC arch/powerpc/kernel/process.o CPP arch/powerpc/kernel/systbl_chk.i CC arch/powerpc/kernel/idle.o CC arch/powerpc/lib/vmx-helper.o LD arch/powerpc/net/built-in.o CC arch/powerpc/kernel/signal.o CC arch/powerpc/kernel/sysfs.o CC arch/powerpc/sysdev/xics/icp-hv.o CC arch/powerpc/platforms/powernv/opal-sensor.o LD arch/powerpc/lib/built-in.o CC arch/powerpc/platforms/pseries/event_sources.o CC arch/powerpc/mm/hash64_64k.o CC arch/powerpc/sysdev/xics/ics-rtas.o CC arch/powerpc/platforms/pseries/ras.o CC arch/powerpc/platforms/pseries/firmware.o CC arch/powerpc/platforms/pseries/power.o CC arch/powerpc/platforms/pseries/dlpar.o CC arch/powerpc/sysdev/xics/ics-opal.o CC arch/powerpc/mm/numa.o CC arch/powerpc/platforms/powernv/opal-msglog.o CC arch/powerpc/kernel/cacheinfo.o CC arch/powerpc/kernel/time.o CC arch/powerpc/kernel/prom.o CC arch/powerpc/sysdev/xics/icp-opal.o CC arch/powerpc/platforms/powernv/opal-hmi.o CC arch/powerpc/platforms/pseries/mobility.o CC arch/powerpc/kernel/traps.o CC arch/powerpc/platforms/pseries/rng.o CC arch/powerpc/platforms/pseries/pci.o CC arch/powerpc/kernel/setup-common.o LD arch/powerpc/sysdev/xics/built-in.o LD arch/powerpc/sysdev/built-in.o CC arch/powerpc/mm/vphn.o CC arch/powerpc/platforms/pseries/pci_dlpar.o CC arch/powerpc/platforms/powernv/opal-power.o CC arch/powerpc/platforms/pseries/eeh_pseries.o CC arch/powerpc/platforms/powernv/opal-irqchip.o CC arch/powerpc/kernel/udbg.o CC arch/powerpc/mm/slice.o CC arch/powerpc/platforms/pseries/msi.o CC arch/powerpc/platforms/pseries/smp.o CC arch/powerpc/platforms/pseries/kexec.o CC arch/powerpc/platforms/pseries/pseries_energy.o AS arch/powerpc/kernel/misc.o CC arch/powerpc/platforms/powernv/opal-kmsg.o CC arch/powerpc/platforms/powernv/smp.o CC arch/powerpc/kernel/io.o CC arch/powerpc/platforms/pseries/hotplug-cpu.o CC arch/powerpc/platforms/pseries/hotplug-memory.o CC arch/powerpc/platforms/pseries/hvconsole.o CC arch/powerpc/mm/hugetlbpage.o CC arch/powerpc/mm/hugetlbpage-hash64.o CC arch/powerpc/platforms/powernv/subcore.o AS arch/powerpc/platforms/powernv/subcore-asm.o CC arch/powerpc/kernel/dma.o AS arch/powerpc/kernel/misc_64.o CC arch/powerpc/kernel/of_platform.o CC arch/powerpc/kernel/prom_parse.o CC arch/powerpc/kernel/setup_64.o CC arch/powerpc/kernel/sys_ppc32.o CC arch/powerpc/mm/hugetlbpage-radix.o CC arch/powerpc/platforms/powernv/pci.o CC arch/powerpc/mm/hugepage-hash64.o CC arch/powerpc/mm/subpage-prot.o CC arch/powerpc/mm/copro_fault.o CC arch/powerpc/platforms/pseries/cmm.o CC arch/powerpc/platforms/powernv/pci-ioda.o CC arch/powerpc/platforms/powernv/npu-dma.o CC arch/powerpc/platforms/powernv/pci-cxl.o CC arch/powerpc/platforms/powernv/eeh-powernv.o CC arch/powerpc/platforms/powernv/opal-xscom.o CC arch/powerpc/platforms/powernv/opal-tracepoints.o CC arch/powerpc/kernel/signal_64.o CC arch/powerpc/platforms/pseries/dtl.o CC arch/powerpc/platforms/pseries/io_event_irq.o LD arch/powerpc/mm/built-in.o CC arch/powerpc/kernel/ptrace32.o CC arch/powerpc/kernel/paca.o CC arch/powerpc/kernel/nvram_64.o CC arch/powerpc/kernel/firmware.o CC arch/powerpc/kernel/hw_breakpoint.o CC arch/powerpc/platforms/pseries/lparcfg.o AS arch/powerpc/kernel/cpu_setup_ppc970.o CC arch/powerpc/platforms/pseries/vio.o AS arch/powerpc/kernel/cpu_setup_pa6t.o CC arch/powerpc/platforms/pseries/suspend.o AS arch/powerpc/kernel/cpu_setup_power.o CC [M] arch/powerpc/platforms/pseries/scanlog.o CC arch/powerpc/kernel/mce.o CC [M] arch/powerpc/platforms/pseries/hvcserver.o CC arch/powerpc/kernel/mce_power.o LDS arch/powerpc/kernel/vdso64/vdso64.lds AS arch/powerpc/kernel/vdso64/sigtramp.o AS arch/powerpc/kernel/vdso64/gettimeofday.o AS arch/powerpc/kernel/vdso64/datapage.o AS arch/powerpc/kernel/vdso64/cacheflush.o CC arch/powerpc/kernel/vecemu.o AS arch/powerpc/kernel/vdso64/note.o AS arch/powerpc/kernel/vdso64/getcpu.o AS arch/powerpc/kernel/idle_book3s.o VDSO64L arch/powerpc/kernel/vdso64/vdso64.so.dbg CC arch/powerpc/kernel/proc_powerpc.o OBJCOPY arch/powerpc/kernel/vdso64/vdso64.so AS arch/powerpc/kernel/vdso64/vdso64_wrapper.o CC arch/powerpc/kernel/rtas.o LD arch/powerpc/kernel/vdso64/built-in.o CC arch/powerpc/kernel/rtas-rtc.o CC arch/powerpc/kernel/rtas_pci.o CC arch/powerpc/kernel/rtasd.o CC arch/powerpc/kernel/rtas-proc.o CC arch/powerpc/kernel/eeh.o CC arch/powerpc/kernel/eeh_pe.o LD arch/powerpc/platforms/powernv/built-in.o CC arch/powerpc/kernel/eeh_dev.o CC arch/powerpc/kernel/eeh_cache.o CC arch/powerpc/kernel/eeh_driver.o CC arch/powerpc/kernel/eeh_event.o LD arch/powerpc/platforms/pseries/built-in.o LD arch/powerpc/platforms/built-in.o CC arch/powerpc/kernel/eeh_sysfs.o CC arch/powerpc/kernel/module.o CC arch/powerpc/kernel/module_64.o CC arch/powerpc/kernel/dbell.o CC arch/powerpc/kernel/jump_label.o CC arch/powerpc/kernel/dma-iommu.o CC arch/powerpc/kernel/iommu.o CC arch/powerpc/kernel/smp.o CC arch/powerpc/kernel/kprobes.o CC arch/powerpc/kernel/optprobes.o AS arch/powerpc/kernel/optprobes_head.o CC arch/powerpc/kernel/legacy_serial.o CC arch/powerpc/kernel/udbg_16550.o CC arch/powerpc/kernel/stacktrace.o CC arch/powerpc/kernel/pci_64.o CC arch/powerpc/kernel/pci_dn.o CC arch/powerpc/kernel/pci-hotplug.o CC arch/powerpc/kernel/isa-bridge.o CC arch/powerpc/kernel/pci-common.o CC arch/powerpc/kernel/pci_of_scan.o CC arch/powerpc/kernel/msi.o CC arch/powerpc/kernel/machine_kexec.o CC arch/powerpc/kernel/crash.o CC arch/powerpc/kernel/machine_kexec_64.o CC arch/powerpc/kernel/machine_kexec_file_64.o CC arch/powerpc/kernel/kexec_elf_64.o CC arch/powerpc/kernel/audit.o CC arch/powerpc/kernel/trace_clock.o CC arch/powerpc/kernel/compat_audit.o AS arch/powerpc/kernel/tm.o AS arch/powerpc/kernel/ppc_save_regs.o CC arch/powerpc/kernel/prom_init.o AS arch/powerpc/kernel/head_64.o LDS arch/powerpc/kernel/vmlinux.lds AS arch/powerpc/kernel/fpu.o AS arch/powerpc/kernel/vector.o AS arch/powerpc/kernel/entry_64.o CC [M] arch/powerpc/kernel/rtas_flash.o CALL /home/kisskb/slave/src/arch/powerpc/kernel/systbl_chk.sh AS arch/powerpc/kernel/systbl.o CALL /home/kisskb/slave/src/arch/powerpc/kernel/prom_init_check.sh LD arch/powerpc/kernel/built-in.o make[1]: Leaving directory '/home/kisskb/slave/build/powerpc-next_pseries_le_defconfig_ppc64le' Makefile:152: recipe for target 'sub-make' failed make: *** [sub-make] Error 2 Command 'make -j 10 ARCH=powerpc O=/home/kisskb/slave/build/powerpc-next_pseries_le_defconfig_ppc64le CROSS_COMPILE=/opt/cross/kisskb/gcc-5.2.0-nolibc/powerpc64le-linux/bin/powerpc64le-linux- ' returned non-zero exit status 2 # rm -rf /home/kisskb/slave/build/powerpc-next_pseries_le_defconfig_ppc64le # Build took: 0:00:23.028593