# git rev-parse -q --verify ab851d49f6bfc781edd8bd44c72ec1e49211670b^{commit} ab851d49f6bfc781edd8bd44c72ec1e49211670b already have revision, skipping fetch # git checkout -q -f -B kisskb ab851d49f6bfc781edd8bd44c72ec1e49211670b # git clean -qxdf # < git log -1 # commit ab851d49f6bfc781edd8bd44c72ec1e49211670b # Merge: 1d87200446f1 e3cb0c7102f0 # Author: Linus Torvalds # Date: Tue Nov 26 11:12:02 2019 -0800 # # Merge branch 'x86-iopl-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip # # Pull x86 iopl updates from Ingo Molnar: # "This implements a nice simplification of the iopl and ioperm code that # Thomas Gleixner discovered: we can implement the IO privilege features # of the iopl system call by using the IO permission bitmap in # permissive mode, while trapping CLI/STI/POPF/PUSHF uses in user-space # if they change the interrupt flag. # # This implements that feature, with testing facilities and related # cleanups" # # [ "Simplification" may be an over-statement. The main goal is to avoid # the cli/sti of iopl by effectively implementing the IO port access # parts of iopl in terms of ioperm. # # This may end up not workign well in case people actually depend on # cli/sti being available, or if there are mixed uses of iopl and # ioperm. We will see.. - Linus ] # # * 'x86-iopl-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (22 commits) # x86/ioperm: Fix use of deprecated config option # x86/entry/32: Clarify register saving in __switch_to_asm() # selftests/x86/iopl: Extend test to cover IOPL emulation # x86/ioperm: Extend IOPL config to control ioperm() as well # x86/iopl: Remove legacy IOPL option # x86/iopl: Restrict iopl() permission scope # x86/iopl: Fixup misleading comment # selftests/x86/ioperm: Extend testing so the shared bitmap is exercised # x86/ioperm: Share I/O bitmap if identical # x86/ioperm: Remove bitmap if all permissions dropped # x86/ioperm: Move TSS bitmap update to exit to user work # x86/ioperm: Add bitmap sequence number # x86/ioperm: Move iobitmap data into a struct # x86/tss: Move I/O bitmap data into a seperate struct # x86/io: Speedup schedule out of I/O bitmap user # x86/ioperm: Avoid bitmap allocation if no permissions are set # x86/ioperm: Simplify first ioperm() invocation logic # x86/iopl: Cleanup include maze # x86/tss: Fix and move VMX BUILD_BUG_ON() # x86/cpu: Unify cpu_init() # ... # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-gcc --version # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-ld --version # < git log --format=%s --max-count=1 ab851d49f6bfc781edd8bd44c72ec1e49211670b # < make -s -j 48 ARCH=powerpc O=/kisskb/build/linus_ppc6xx_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- ppc6xx_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/linus_ppc6xx_defconfig_powerpc-gcc4.6 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:204:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/ppc/awacs.c: In function 'snd_pmac_awacs_init': /kisskb/src/include/sound/control.h:208:2: warning: 'speaker_vol' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/ppc/awacs.c:873:36: note: 'speaker_vol' was declared here /kisskb/src/drivers/base/regmap/regmap.c: In function 'regmap_raw_read': /kisskb/src/drivers/base/regmap/regmap.c:2591: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:1852:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/bridge/br_netlink.c: In function 'br_afspec.isra.30': /kisskb/src/net/bridge/br_netlink.c:648:7: warning: 'err' 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:338:21: note: 'pdeo' was declared here /kisskb/src/fs/nfsd/nfs4xdr.c: In function 'nfsd4_encode_components_esc': /kisskb/src/fs/nfsd/nfs4xdr.c:2076:9: warning: 'str' 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:248:18: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c:228:19: note: 'i' was declared here /kisskb/src/fs/udf/unicode.c: In function 'udf_name_conv_char': /kisskb/src/fs/udf/unicode.c:132:8: warning: 'c' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/mac80211/mlme.c: In function 'ieee80211_rx_mgmt_beacon': /kisskb/src/net/mac80211/mlme.c:1576:3: warning: 'pwr_level_cisco' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/mac80211/mlme.c:1533:6: note: 'pwr_level_cisco' was declared here /kisskb/src/drivers/usb/core/devio.c: In function 'async_completed': /kisskb/src/drivers/usb/core/devio.c:625:23: warning: 'errno' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/tun.c: In function 'tun_get_user': /kisskb/src/drivers/net/tun.c:1836:30: warning: 'copylen' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/tun.c:1749:46: warning: 'linear' may be used uninitialized in this function [-Wuninitialized] INFO: Uncompressed kernel (size 0xa69998) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa69998) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa69998) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa69998) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa69998) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa69998) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa69998) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa69998) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa592e4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa592e4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa69998) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) Image Name: Linux-5.4.0+ Created: Wed Nov 27 08:24:15 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4930079 Bytes = 4814.53 KiB = 4.70 MiB Load Address: 00000000 Entry Point: 00000000 INFO: Uncompressed kernel (size 0xa69998) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) Image Name: Linux-5.4.0+ Created: Wed Nov 27 08:24:16 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4963018 Bytes = 4846.70 KiB = 4.73 MiB Load Address: 00b00000 Entry Point: 00b00888 Image Name: Linux-5.4.0+ Created: Wed Nov 27 08:24:16 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4962826 Bytes = 4846.51 KiB = 4.73 MiB Load Address: 00b00000 Entry Point: 00b00888 Image Name: Linux-5.4.0+ Created: Wed Nov 27 08:24:16 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4962221 Bytes = 4845.92 KiB = 4.73 MiB Load Address: 00b00000 Entry Point: 00b00290 Image Name: Linux-5.4.0+ Created: Wed Nov 27 08:24:16 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4962687 Bytes = 4846.37 KiB = 4.73 MiB Load Address: 00b00000 Entry Point: 00b00290 Image Name: Linux-5.4.0+ Created: Wed Nov 27 08:24:17 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4961900 Bytes = 4845.61 KiB = 4.73 MiB Load Address: 00b00000 Entry Point: 00b00290 Image Name: Linux-5.4.0+ Created: Wed Nov 27 08:24:17 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4962036 Bytes = 4845.74 KiB = 4.73 MiB Load Address: 00b00000 Entry Point: 00b00290 Image Name: Linux-5.4.0+ Created: Wed Nov 27 08:24:17 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4962240 Bytes = 4845.94 KiB = 4.73 MiB Load Address: 00b00000 Entry Point: 00b00290 Image Name: Linux-5.4.0+ Created: Wed Nov 27 08:24:17 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4962036 Bytes = 4845.74 KiB = 4.73 MiB Load Address: 00b00000 Entry Point: 00b00290 Completed OK # rm -rf /kisskb/build/linus_ppc6xx_defconfig_powerpc-gcc4.6 # Build took: 0:02:54.849313