# git rev-parse -q --verify abfecb39092029c42c79bacac3d1c96a133ff231^{commit} abfecb39092029c42c79bacac3d1c96a133ff231 already have revision, skipping fetch # git checkout -q -f -B kisskb abfecb39092029c42c79bacac3d1c96a133ff231 # git clean -qxdf # < git log -1 # commit abfecb39092029c42c79bacac3d1c96a133ff231 # Merge: 95faf6ba654d cc8d7b4aea79 # Author: Linus Torvalds # Date: Thu Nov 4 09:09:37 2021 -0700 # # Merge tag 'tty-5.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty # # Pull tty / serial driver updates from Greg KH: # "Here is the big set of tty and serial driver updates for 5.16-rc1. # # Nothing major in here at all, just lots of tiny serial and tty driver # updates for various reported things, and some good cleanups. These # include: # # - more good tty api cleanups from Jiri # # - stm32 serial driver updates # # - softlockup fix for non-preempt systems under high serial load # # - rpmsg serial driver update # # - 8250 drivers updates and fixes # # - n_gsm line discipline fixes and updates as people are finally # starting to use it. # # All of these have been in linux-next for a while now with no reported # issues" # # * tag 'tty-5.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty: (86 commits) # tty: Fix extra "not" in TTY_DRIVER_REAL_RAW description # serial: cpm_uart: Protect udbg definitions by CONFIG_SERIAL_CPM_CONSOLE # tty: rpmsg: Define tty name via constant string literal # tty: rpmsg: Add pr_fmt() to prefix messages # tty: rpmsg: Use dev_err_probe() in ->probe() # tty: rpmsg: Unify variable used to keep an error code # tty: rpmsg: Assign returned id to a local variable # serial: stm32: push DMA RX data before suspending # serial: stm32: terminate / restart DMA transfer at suspend / resume # serial: stm32: rework RX dma initialization and release # serial: 8250_pci: Remove empty stub pci_quatech_exit() # serial: 8250_pci: Replace custom pci_match_id() implementation # serial: xilinx_uartps: Fix race condition causing stuck TX # serial: sunzilog: Mark sunzilog_putchar() __maybe_unused # Revert "tty: hvc: pass DMA capable memory to put_chars()" # Revert "virtio-console: remove unnecessary kmemdup()" # serial: 8250_pci: Replace dev_*() by pci_*() macros # serial: 8250_pci: Get rid of redundant 'else' keyword # serial: 8250_pci: Refactor the loop in pci_ite887x_init() # tty: add rpmsg driver # ... # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/hppa64-linux/bin/hppa64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/hppa64-linux/bin/hppa64-linux-ld --version # < git log --format=%s --max-count=1 abfecb39092029c42c79bacac3d1c96a133ff231 # < make -s -j 32 ARCH=parisc O=/kisskb/build/linus_generic-64bit_defconfig_parisc64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/hppa64-linux/bin/hppa64-linux- generic-64bit_defconfig # < make -s -j 32 ARCH=parisc O=/kisskb/build/linus_generic-64bit_defconfig_parisc64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/hppa64-linux/bin/hppa64-linux- help # make -s -j 32 ARCH=parisc O=/kisskb/build/linus_generic-64bit_defconfig_parisc64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/hppa64-linux/bin/hppa64-linux- olddefconfig # make -s -j 32 ARCH=parisc O=/kisskb/build/linus_generic-64bit_defconfig_parisc64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/hppa64-linux/bin/hppa64-linux- In file included from : /kisskb/src/include/linux/sched.h: In function 'task_cpu': /kisskb/src/include/linux/sched.h:2130:38: error: 'const struct thread_info' has no member named 'cpu' return READ_ONCE(task_thread_info(p)->cpu); ^~ /kisskb/src/include/linux/compiler_types.h:297:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^~~~~~~~~ /kisskb/src/include/linux/compiler_types.h:317:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/asm-generic/rwonce.h:36:2: note: in expansion of macro 'compiletime_assert' compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \ ^~~~~~~~~~~~~~~~~~ /kisskb/src/include/asm-generic/rwonce.h:36:21: note: in expansion of macro '__native_word' compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \ ^~~~~~~~~~~~~ /kisskb/src/include/asm-generic/rwonce.h:49:2: note: in expansion of macro 'compiletime_assert_rwonce_type' compiletime_assert_rwonce_type(x); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/sched.h:2130:9: note: in expansion of macro 'READ_ONCE' return READ_ONCE(task_thread_info(p)->cpu); ^~~~~~~~~ /kisskb/src/include/linux/sched.h:2130:38: error: 'const struct thread_info' has no member named 'cpu' return READ_ONCE(task_thread_info(p)->cpu); ^~ /kisskb/src/include/linux/compiler_types.h:297:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^~~~~~~~~ /kisskb/src/include/linux/compiler_types.h:317:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/asm-generic/rwonce.h:36:2: note: in expansion of macro 'compiletime_assert' compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \ ^~~~~~~~~~~~~~~~~~ /kisskb/src/include/asm-generic/rwonce.h:36:21: note: in expansion of macro '__native_word' compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \ ^~~~~~~~~~~~~ /kisskb/src/include/asm-generic/rwonce.h:49:2: note: in expansion of macro 'compiletime_assert_rwonce_type' compiletime_assert_rwonce_type(x); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/sched.h:2130:9: note: in expansion of macro 'READ_ONCE' return READ_ONCE(task_thread_info(p)->cpu); ^~~~~~~~~ /kisskb/src/include/linux/sched.h:2130:38: error: 'const struct thread_info' has no member named 'cpu' return READ_ONCE(task_thread_info(p)->cpu); ^~ /kisskb/src/include/linux/compiler_types.h:297:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^~~~~~~~~ /kisskb/src/include/linux/compiler_types.h:317:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/asm-generic/rwonce.h:36:2: note: in expansion of macro 'compiletime_assert' compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \ ^~~~~~~~~~~~~~~~~~ /kisskb/src/include/asm-generic/rwonce.h:36:21: note: in expansion of macro '__native_word' compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \ ^~~~~~~~~~~~~ /kisskb/src/include/asm-generic/rwonce.h:49:2: note: in expansion of macro 'compiletime_assert_rwonce_type' compiletime_assert_rwonce_type(x); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/sched.h:2130:9: note: in expansion of macro 'READ_ONCE' return READ_ONCE(task_thread_info(p)->cpu); ^~~~~~~~~ /kisskb/src/include/linux/sched.h:2130:38: error: 'const struct thread_info' has no member named 'cpu' return READ_ONCE(task_thread_info(p)->cpu); ^~ /kisskb/src/include/linux/compiler_types.h:297:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^~~~~~~~~ /kisskb/src/include/linux/compiler_types.h:317:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/asm-generic/rwonce.h:36:2: note: in expansion of macro 'compiletime_assert' compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \ ^~~~~~~~~~~~~~~~~~ /kisskb/src/include/asm-generic/rwonce.h:36:21: note: in expansion of macro '__native_word' compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \ ^~~~~~~~~~~~~ /kisskb/src/include/asm-generic/rwonce.h:49:2: note: in expansion of macro 'compiletime_assert_rwonce_type' compiletime_assert_rwonce_type(x); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/sched.h:2130:9: note: in expansion of macro 'READ_ONCE' return READ_ONCE(task_thread_info(p)->cpu); ^~~~~~~~~ /kisskb/src/include/linux/sched.h:2130:38: error: 'const struct thread_info' has no member named 'cpu' return READ_ONCE(task_thread_info(p)->cpu); ^~ /kisskb/src/include/linux/compiler_types.h:297:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^~~~~~~~~ /kisskb/src/include/linux/compiler_types.h:317:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/asm-generic/rwonce.h:36:2: note: in expansion of macro 'compiletime_assert' compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \ ^~~~~~~~~~~~~~~~~~ /kisskb/src/include/asm-generic/rwonce.h:49:2: note: in expansion of macro 'compiletime_assert_rwonce_type' compiletime_assert_rwonce_type(x); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/sched.h:2130:9: note: in expansion of macro 'READ_ONCE' return READ_ONCE(task_thread_info(p)->cpu); ^~~~~~~~~ /kisskb/src/include/linux/sched.h:2130:38: error: 'const struct thread_info' has no member named 'cpu' return READ_ONCE(task_thread_info(p)->cpu); ^~ /kisskb/src/include/linux/compiler_types.h:279:13: note: in definition of macro '__unqual_scalar_typeof' _Generic((x), \ ^ /kisskb/src/include/asm-generic/rwonce.h:50:2: note: in expansion of macro '__READ_ONCE' __READ_ONCE(x); \ ^~~~~~~~~~~ /kisskb/src/include/linux/sched.h:2130:9: note: in expansion of macro 'READ_ONCE' return READ_ONCE(task_thread_info(p)->cpu); ^~~~~~~~~ In file included from ./arch/parisc/include/generated/asm/rwonce.h:1, from /kisskb/src/include/linux/compiler.h:266, from /kisskb/src/include/linux/kernel.h:11, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/rculist.h:10, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/arch/parisc/kernel/asm-offsets.c:20: /kisskb/src/include/linux/sched.h:2130:38: error: 'const struct thread_info' has no member named 'cpu' return READ_ONCE(task_thread_info(p)->cpu); ^~ /kisskb/src/include/asm-generic/rwonce.h:44:72: note: in definition of macro '__READ_ONCE' #define __READ_ONCE(x) (*(const volatile __unqual_scalar_typeof(x) *)&(x)) ^ /kisskb/src/include/linux/sched.h:2130:9: note: in expansion of macro 'READ_ONCE' return READ_ONCE(task_thread_info(p)->cpu); ^~~~~~~~~ In file included from /kisskb/src/arch/parisc/kernel/asm-offsets.c:24: /kisskb/src/arch/parisc/kernel/asm-offsets.c: In function 'main': /kisskb/src/include/linux/compiler_types.h:140:35: error: 'struct task_struct' has no member named 'cpu' #define __compiler_offsetof(a, b) __builtin_offsetof(a, b) ^~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/kbuild.h:6:62: note: in definition of macro 'DEFINE' asm volatile("\n.ascii \"->" #sym " %0 " #val "\"" : : "i" (val)) ^~~ /kisskb/src/include/linux/stddef.h:17:32: note: in expansion of macro '__compiler_offsetof' #define offsetof(TYPE, MEMBER) __compiler_offsetof(TYPE, MEMBER) ^~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/parisc/kernel/asm-offsets.c:43:19: note: in expansion of macro 'offsetof' DEFINE(TASK_CPU, offsetof(struct task_struct, cpu)); ^~~~~~~~ make[2]: *** [/kisskb/src/scripts/Makefile.build:121: arch/parisc/kernel/asm-offsets.s] Error 1 make[1]: *** [/kisskb/src/Makefile:1223: prepare0] Error 2 make: *** [Makefile:219: __sub-make] Error 2 Command 'make -s -j 32 ARCH=parisc O=/kisskb/build/linus_generic-64bit_defconfig_parisc64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/hppa64-linux/bin/hppa64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus_generic-64bit_defconfig_parisc64-gcc8 # Build took: 0:00:07.599144