Buildresult: linus/mpc83xx_defconfig/powerpc-gcc4.6 built on Aug 2 2018, 08:12
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
OK
Date/Time:
Aug 2 2018, 08:12
Duration:
0:00:52.532002
Builder:
ka4
Revision:
mm: do not initialize TLB stack vma's with vma_init() (
8b11ec1b5ffb54f71cb5a5e5c8c4d36e5d113085)
Target:
linus/mpc83xx_defconfig/powerpc-gcc4.6
Branch:
linus
Compiler:
powerpc-gcc4.6
(powerpc-linux-gcc (GCC) 4.6.3)
Config:
mpc83xx_defconfig
(
download
)
Log:
Download original
Possible warnings (7)
kernel/printk/printk.c:183:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] drivers/base/regmap/regmap.c:2497:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] drivers/base/regmap/regmap.c:1819:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] include/linux/list.h:65:12: warning: 'pdeo' may be used uninitialized in this function [-Wuninitialized] drivers/tty/serial/8250/8250_core.c:251:18: warning: 'i' may be used uninitialized in this function [-Wuninitialized] arch/powerpc/boot/mpc832x_rdb.dtb: Warning (interrupts_property): /qe@e0100000/mdio@3120/ethernet-phy@0:#interrupt-cells: size is (4), expected multiple of 8 arch/powerpc/boot/mpc832x_rdb.dtb: Warning (interrupts_property): /qe@e0100000/mdio@3120/ethernet-phy@4:#interrupt-cells: size is (4), expected multiple of 8
Full Log
# git rev-parse -q --verify 8b11ec1b5ffb54f71cb5a5e5c8c4d36e5d113085^{commit} 8b11ec1b5ffb54f71cb5a5e5c8c4d36e5d113085 already have revision, skipping fetch # git checkout -q -f -B kisskb 8b11ec1b5ffb54f71cb5a5e5c8c4d36e5d113085 # git clean -qxdf # < git log -1 # commit 8b11ec1b5ffb54f71cb5a5e5c8c4d36e5d113085 # Author: Linus Torvalds <torvalds@linux-foundation.org> # Date: Wed Aug 1 13:43:38 2018 -0700 # # mm: do not initialize TLB stack vma's with vma_init() # # Commit 2c4541e24c55 ("mm: use vma_init() to initialize VMAs on stack and # data segments") tried to initialize various left-over ad-hoc vma's # "properly", but actually made things worse for the temporary vma's used # for TLB flushing. # # vma_init() doesn't actually initialize all of the vma, just a few # fields, so doing something like # # - struct vm_area_struct vma = { .vm_mm = tlb->mm, }; # + struct vm_area_struct vma; # + # + vma_init(&vma, tlb->mm); # # was actually very bad: instead of having a nicely initialized vma with # every field but "vm_mm" zeroed, you'd have an entirely uninitialized vma # with only a couple of fields initialized. And they weren't even fields # that the code in question mostly cared about. # # The flush_tlb_range() function takes a "struct vma" rather than a # "struct mm_struct", because a few architectures actually care about what # kind of range it is - being able to only do an ITLB flush if it's a # range that doesn't have data accesses enabled, for example. And all the # normal users already have the vma for doing the range invalidation. # # But a few people want to call flush_tlb_range() with a range they just # made up, so they also end up using a made-up vma. x86 just has a # special "flush_tlb_mm_range()" function for this, but other # architectures (arm and ia64) do the "use fake vma" thing instead, and # thus got caught up in the vma_init() changes. # # At the same time, the TLB flushing code really doesn't care about most # other fields in the vma, so vma_init() is just unnecessary and # pointless. # # This fixes things by having an explicit "this is just an initializer for # the TLB flush" initializer macro, which is used by the arm/arm64/ia64 # people who mis-use this interface with just a dummy vma. # # Fixes: 2c4541e24c55 ("mm: use vma_init() to initialize VMAs on stack and data segments") # Cc: Dmitry Vyukov <dvyukov@google.com> # Cc: Oleg Nesterov <oleg@redhat.com> # Cc: Andrea Arcangeli <aarcange@redhat.com> # Cc: Kirill Shutemov <kirill.shutemov@linux.intel.com> # Cc: Andrew Morton <akpm@linux-foundation.org> # Cc: John Stultz <john.stultz@linaro.org> # Cc: Hugh Dickins <hughd@google.com> # Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-gcc --version # < git log --format=%s --max-count=1 8b11ec1b5ffb54f71cb5a5e5c8c4d36e5d113085 # < make -s -j 10 ARCH=powerpc O=/kisskb/build/linus_mpc83xx_defconfig_powerpc CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- mpc83xx_defconfig # make -s -j 10 ARCH=powerpc O=/kisskb/build/linus_mpc83xx_defconfig_powerpc CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:183:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/base/regmap/regmap.c: In function 'regmap_raw_read': /kisskb/src/drivers/base/regmap/regmap.c:2497:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/base/regmap/regmap.c: In function '_regmap_raw_write': /kisskb/src/drivers/base/regmap/regmap.c:1819:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c: In function 'proc_reg_open': /kisskb/src/include/linux/list.h:65:12: warning: 'pdeo' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c:339:21: note: 'pdeo' was declared here /kisskb/src/drivers/tty/serial/8250/8250_core.c: In function 'univ8250_release_irq': /kisskb/src/drivers/tty/serial/8250/8250_core.c:251:18: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c:231:19: note: 'i' was declared here arch/powerpc/boot/mpc832x_rdb.dtb: Warning (interrupts_property): /qe@e0100000/mdio@3120/ethernet-phy@0:#interrupt-cells: size is (4), expected multiple of 8 arch/powerpc/boot/mpc832x_rdb.dtb: Warning (interrupts_property): /qe@e0100000/mdio@3120/ethernet-phy@4:#interrupt-cells: size is (4), expected multiple of 8 INFO: Uncompressed kernel (size 0x607590) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x607590) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x607590) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x607590) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x607590) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x607590) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x5f6ee4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x607590) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) Image Name: Linux-4.18.0-rc7-g8b11ec1 Created: Thu Aug 2 08:13:01 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3015515 Bytes = 2944.84 kB = 2.88 MB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-4.18.0-rc7-g8b11ec1 Created: Thu Aug 2 08:13:01 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3040692 Bytes = 2969.43 kB = 2.90 MB Load Address: 00700000 Entry Point: 00700230 Image Name: Linux-4.18.0-rc7-g8b11ec1 Created: Thu Aug 2 08:13:01 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3039344 Bytes = 2968.11 kB = 2.90 MB Load Address: 00700000 Entry Point: 00700230 Image Name: Linux-4.18.0-rc7-g8b11ec1 Created: Thu Aug 2 08:13:01 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3039072 Bytes = 2967.84 kB = 2.90 MB Load Address: 00700000 Entry Point: 00700230 Image Name: Linux-4.18.0-rc7-g8b11ec1 Created: Thu Aug 2 08:13:01 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3039471 Bytes = 2968.23 kB = 2.90 MB Load Address: 00700000 Entry Point: 00700230 Image Name: Linux-4.18.0-rc7-g8b11ec1 Created: Thu Aug 2 08:13:01 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3039486 Bytes = 2968.25 kB = 2.90 MB Load Address: 00700000 Entry Point: 00700230 Image Name: Linux-4.18.0-rc7-g8b11ec1 Created: Thu Aug 2 08:13:01 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3038930 Bytes = 2967.71 kB = 2.90 MB Load Address: 00700000 Entry Point: 00700230 Completed OK # rm -rf /kisskb/build/linus_mpc83xx_defconfig_powerpc # Build took: 0:00:52.532002
© Michael Ellerman 2006-2018.