# git rev-parse -q --verify 0b2c8f8b6b0c7530e2866c95862546d0da2057b0^{commit} 0b2c8f8b6b0c7530e2866c95862546d0da2057b0 already have revision, skipping fetch # git checkout -q -f -B kisskb 0b2c8f8b6b0c7530e2866c95862546d0da2057b0 # git clean -qxdf # < git log -1 # commit 0b2c8f8b6b0c7530e2866c95862546d0da2057b0 # Author: Linus Torvalds # Date: Fri Jan 4 10:23:10 2019 -0800 # # i915: fix missing user_access_end() in page fault exception case # # When commit fddcd00a49e9 ("drm/i915: Force the slow path after a # user-write error") unified the error handling for various user access # problems, it didn't do the user_access_end() that is needed for the # unsafe_put_user() case. # # It's not a huge deal: a missed user_access_end() will only mean that # SMAP protection isn't active afterwards, and for the error case we'll be # returning to user mode soon enough anyway. But it's wrong, and adding # the proper user_access_end() is trivial enough (and doing it for the # other error cases where it isn't needed doesn't hurt). # # I noticed it while doing the same prep-work for changing # user_access_begin() that precipitated the access_ok() changes in commit # 96d4f267e40f ("Remove 'type' argument from access_ok() function"). # # Fixes: fddcd00a49e9 ("drm/i915: Force the slow path after a user-write error") # Cc: Chris Wilson # Cc: Joonas Lahtinen # Cc: stable@kernel.org # v4.20 # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/mips-linux/bin/mips-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/mips-linux/bin/mips-linux-ld --version # < git log --format=%s --max-count=1 0b2c8f8b6b0c7530e2866c95862546d0da2057b0 # < make -s -j 80 ARCH=mips O=/kisskb/build/linus_mips-defconfig_mips-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/mips-linux/bin/mips-linux- defconfig # make -s -j 80 ARCH=mips O=/kisskb/build/linus_mips-defconfig_mips-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/mips-linux/bin/mips-linux- /kisskb/src/arch/mips/boot/dts/xilfpga/nexys4ddr.dts:109.16-112.8: Warning (i2c_bus_reg): /i2c@10A00000/ad7420@4B: I2C bus unit address format error, expected "4b" FIT description: Linux 4.20.0-g0b2c8f8b6b0c Created: Sat Jan 5 09:11:15 2019 Image 0 (kernel@0) Description: Linux 4.20.0-g0b2c8f8b6b0c Created: Sat Jan 5 09:11:15 2019 Type: Kernel Image Compression: gzip compressed Data Size: 4483809 Bytes = 4378.72 KiB = 4.28 MiB Architecture: MIPS OS: Linux Load Address: 0x80100000 Entry Point: 0x80853a90 Hash algo: sha1 Hash value: 732c9c41faf17a6243f61bb64e6008df59036205 Image 1 (fdt@boston) Description: img,boston Device Tree Created: Sat Jan 5 09:11:15 2019 Type: Flat Device Tree Compression: uncompressed Data Size: 3793 Bytes = 3.70 KiB = 0.00 MiB Architecture: MIPS Hash algo: sha1 Hash value: 4799f50d688573234da6e9d7701234d394759ef4 Image 2 (fdt@ni169445) Description: NI 169445 device tree Created: Sat Jan 5 09:11:15 2019 Type: Flat Device Tree Compression: uncompressed Data Size: 1871 Bytes = 1.83 KiB = 0.00 MiB Architecture: MIPS Hash algo: sha1 Hash value: 51b89b31605ee62038c8468c429af091dfc75ec7 Image 3 (fdt@xilfpga) Description: MIPSfpga (xilfpga) Device Tree Created: Sat Jan 5 09:11:15 2019 Type: Flat Device Tree Compression: uncompressed Data Size: 2708 Bytes = 2.64 KiB = 0.00 MiB Architecture: MIPS Hash algo: sha1 Hash value: 509ce58e44c561d54539e64e9d4b47054e696fc6 Default Configuration: 'conf@default' Configuration 0 (conf@default) Description: Generic Linux kernel Kernel: kernel@0 Configuration 1 (conf@boston) Description: Boston Linux kernel Kernel: kernel@0 FDT: fdt@boston Configuration 2 (conf@ni169445) Description: NI 169445 Linux Kernel Kernel: kernel@0 FDT: fdt@ni169445 Configuration 3 (conf@xilfpga) Description: MIPSfpga Linux kernel Kernel: kernel@0 FDT: fdt@xilfpga Completed OK # rm -rf /kisskb/build/linus_mips-defconfig_mips-gcc8 # Build took: 0:01:55.966270