# 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/sh4-linux/bin/sh4-linux-gcc --version # < /opt/cross/kisskb/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux-ld --version # < git log --format=%s --max-count=1 ab851d49f6bfc781edd8bd44c72ec1e49211670b # < make -s -j 24 ARCH=sh O=/kisskb/build/linus_se7619_defconfig_sh4 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux- se7619_defconfig # make -s -j 24 ARCH=sh O=/kisskb/build/linus_se7619_defconfig_sh4 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux- Generating include/generated/machtypes.h :1511:2: warning: #warning syscall clone3 not implemented [-Wcpp] /kisskb/src/arch/sh/kernel/cpu/sh2/../../entry-common.S: Assembler messages: /kisskb/src/arch/sh/kernel/cpu/sh2/../../entry-common.S:385: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence /kisskb/src/arch/sh/kernel/cpu/sh2/../../entry-common.S:388: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence /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/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/drivers/sh/clk/cpg.c: In function 'r8': /kisskb/src/drivers/sh/clk/cpg.c:41:2: warning: passing argument 1 of 'ioread8' discards 'const' qualifier from pointer target type [enabled by default] /kisskb/src/include/asm-generic/iomap.h:29:21: note: expected 'void *' but argument is of type 'const void *' /kisskb/src/drivers/sh/clk/cpg.c: In function 'r16': /kisskb/src/drivers/sh/clk/cpg.c:46:2: warning: passing argument 1 of 'ioread16' discards 'const' qualifier from pointer target type [enabled by default] /kisskb/src/include/asm-generic/iomap.h:30:21: note: expected 'void *' but argument is of type 'const void *' /kisskb/src/drivers/sh/clk/cpg.c: In function 'r32': /kisskb/src/drivers/sh/clk/cpg.c:51:2: warning: passing argument 1 of 'ioread32' discards 'const' qualifier from pointer target type [enabled by default] /kisskb/src/include/asm-generic/iomap.h:32:21: note: expected 'void *' but argument is of type 'const void *' Completed OK # rm -rf /kisskb/build/linus_se7619_defconfig_sh4 # Build took: 0:00:23.430671