# git rev-parse -q --verify 0823c68b054bca9dc321adea829af5cf36afb30b^{commit} 0823c68b054bca9dc321adea829af5cf36afb30b already have revision, skipping fetch # git checkout -q -f -B kisskb 0823c68b054bca9dc321adea829af5cf36afb30b # git clean -qxdf # < git log -1 # commit 0823c68b054bca9dc321adea829af5cf36afb30b # Author: Hari Bathini # Date: Fri Sep 14 19:36:02 2018 +0530 # # powerpc/fadump: re-register firmware-assisted dump if already registered # # Firmware-Assisted Dump (FADump) needs to be registered again after any # memory hot add/remove operation to update the crash memory ranges. But # currently, the kernel returns '-EEXIST' if we try to register without # uregistering it first. This could expose the system to racing issues # while unregistering and registering FADump from userspace during udev # events. Spare the userspace of this and let it be taken care of in the # kernel space for a simpler interface. # # Since this change, running 'echo 1 > /sys/kernel/fadump_registered' # would result in re-regisering (unregistering and registering) FADump, # if it was already registered. # # Signed-off-by: Hari Bathini # Acked-by: Mahesh Salgaonkar # Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-gcc --version # < git log --format=%s --max-count=1 0823c68b054bca9dc321adea829af5cf36afb30b # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc40x_defconfig_powerpc CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- ppc40x_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc40x_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:185:16: warning: 'old' 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:341:21: note: 'pdeo' was declared here /kisskb/src/drivers/i2c/i2c-core-base.c: In function 'i2c_generic_scl_recovery': /kisskb/src/drivers/i2c/i2c-core-base.c:235:5: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /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 INFO: Uncompressed kernel (size 0x5318c4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5318c4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x521250) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5318c4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5318c4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-4.19.0-rc3-g0823c68b054b Created: Thu Sep 20 02:01:16 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2593664 Bytes = 2532.88 KiB = 2.47 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-4.19.0-rc3-g0823c68b054b Created: Thu Sep 20 02:01:16 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2622600 Bytes = 2561.13 KiB = 2.50 MiB Load Address: 00600000 Entry Point: 00601350 Image Name: Linux-4.19.0-rc3-g0823c68b054b Created: Thu Sep 20 02:01:16 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2620962 Bytes = 2559.53 KiB = 2.50 MiB Load Address: 00600000 Entry Point: 00601534 Completed OK # rm -rf /kisskb/build/powerpc-next_ppc40x_defconfig_powerpc # Build took: 0:00:36.450868