tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tty-next head: 065ea0a7afd64d6cf3464bdd1d8cd227527e2045 commit: c7ac15ce89242e3c25fcc49fa4d00028285fab05 [34/39] serial: core: move UPF_NO_TXEN_TEST to quirks and rename config: cris-allyesconfig (attached as .config) compiler: cris-linux-gcc (GCC) 6.2.0 reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout c7ac15ce89242e3c25fcc49fa4d00028285fab05 # save the attached .config to linux build tree make.cross ARCH=cris All errors (new ones prefixed by >>): drivers/tty/serial/8250/8250_core.c: In function 'univ8250_release_irq': drivers/tty/serial/8250/8250_core.c:235:19: warning: 'i' may be used uninitialized in this function [-Wmaybe-uninitialized] struct irq_info *i; ^ drivers/tty/serial/8250/8250_core.c: In function 'serial8250_unregister_port': >> drivers/tty/serial/8250/8250_core.c:1094:1: error: unrecognizable insn: } ^ (insn 121 120 92 5 (set (reg:QI 9 r9 [95]) (ior:QI (mem:QI (reg/f:SI 10 r10 [87]) [0 MEM[(struct uart_8250_port *)&serial8250_ports][line_3(D)].port.quirks+0 S1 A8]) (reg:QI 9 r9 [89]))) drivers/tty/serial/8250/8250_core.c:502 -1 (nil)) >> drivers/tty/serial/8250/8250_core.c:1094:1: internal compiler error: in extract_insn, at recog.c:2287 0x8f1563 _fatal_insn(char const*, rtx_def const*, char const*, int, char const*) /c/gcc/gcc/rtl-error.c:108 0x8f1599 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*) /c/gcc/gcc/rtl-error.c:116 0x8bfdf1 extract_insn(rtx_insn*) /c/gcc/gcc/recog.c:2287 0x8bfe61 extract_insn_cached(rtx_insn*) /c/gcc/gcc/recog.c:2178 0x6f7917 cleanup_subreg_operands(rtx_insn*) /c/gcc/gcc/final.c:3104 0x8be4bc split_insn /c/gcc/gcc/recog.c:2901 0x8c2087 split_all_insns() /c/gcc/gcc/recog.c:2955 0x8c20e2 rest_of_handle_split_after_reload /c/gcc/gcc/recog.c:3891 0x8c20e2 execute /c/gcc/gcc/recog.c:3920 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <http://gcc.gnu.org/bugs.html> for instructions. vim +1094 drivers/tty/serial/8250/8250_core.c f73fa05b9 drivers/tty/serial/8250/8250.c Magnus Damm 2012-05-02 1060 f73fa05b9 drivers/tty/serial/8250/8250.c Magnus Damm 2012-05-02 1061 /** ^1da177e4 drivers/serial/8250.c Linus Torvalds 2005-04-16 1062 * serial8250_unregister_port - remove a 16x50 serial port at runtime ^1da177e4 drivers/serial/8250.c Linus Torvalds 2005-04-16 1063 * @line: serial line number ^1da177e4 drivers/serial/8250.c Linus Torvalds 2005-04-16 1064 * ^1da177e4 drivers/serial/8250.c Linus Torvalds 2005-04-16 1065 * Remove one serial port. This may not be called from interrupt ^1da177e4 drivers/serial/8250.c Linus Torvalds 2005-04-16 1066 * context. We hand the port back to the our control. ^1da177e4 drivers/serial/8250.c Linus Torvalds 2005-04-16 1067 */ ^1da177e4 drivers/serial/8250.c Linus Torvalds 2005-04-16 1068 void serial8250_unregister_port(int line) ^1da177e4 drivers/serial/8250.c Linus Torvalds 2005-04-16 1069 { ^1da177e4 drivers/serial/8250.c Linus Torvalds 2005-04-16 1070 struct uart_8250_port *uart = &serial8250_ports[line]; ^1da177e4 drivers/serial/8250.c Linus Torvalds 2005-04-16 1071 f392ecfa1 drivers/serial/8250.c Arjan van de Ven 2006-01-12 1072 mutex_lock(&serial_mutex); bf2a0be45 drivers/tty/serial/8250/8250_core.c Matwey V. Kornilov 2016-02-15 1073 bf2a0be45 drivers/tty/serial/8250/8250_core.c Matwey V. Kornilov 2016-02-15 1074 if (uart->em485) { bf2a0be45 drivers/tty/serial/8250/8250_core.c Matwey V. Kornilov 2016-02-15 1075 unsigned long flags; bf2a0be45 drivers/tty/serial/8250/8250_core.c Matwey V. Kornilov 2016-02-15 1076 bf2a0be45 drivers/tty/serial/8250/8250_core.c Matwey V. Kornilov 2016-02-15 1077 spin_lock_irqsave(&uart->port.lock, flags); bf2a0be45 drivers/tty/serial/8250/8250_core.c Matwey V. Kornilov 2016-02-15 1078 serial8250_em485_destroy(uart); bf2a0be45 drivers/tty/serial/8250/8250_core.c Matwey V. Kornilov 2016-02-15 1079 spin_unlock_irqrestore(&uart->port.lock, flags); bf2a0be45 drivers/tty/serial/8250/8250_core.c Matwey V. Kornilov 2016-02-15 1080 } bf2a0be45 drivers/tty/serial/8250/8250_core.c Matwey V. Kornilov 2016-02-15 1081 ^1da177e4 drivers/serial/8250.c Linus Torvalds 2005-04-16 1082 uart_remove_one_port(&serial8250_reg, &uart->port); ^1da177e4 drivers/serial/8250.c Linus Torvalds 2005-04-16 1083 if (serial8250_isa_devs) { ^1da177e4 drivers/serial/8250.c Linus Torvalds 2005-04-16 1084 uart->port.flags &= ~UPF_BOOT_AUTOCONF; ^1da177e4 drivers/serial/8250.c Linus Torvalds 2005-04-16 1085 uart->port.type = PORT_UNKNOWN; ^1da177e4 drivers/serial/8250.c Linus Torvalds 2005-04-16 1086 uart->port.dev = &serial8250_isa_devs->dev; 5db496b9c drivers/tty/serial/8250/8250_core.c Peter Hurley 2015-02-24 1087 uart->capabilities = 0; c7ac15ce8 drivers/tty/serial/8250/8250_core.c Andy Shevchenko 2017-07-25 1088 serial8250_apply_quirks(uart); ^1da177e4 drivers/serial/8250.c Linus Torvalds 2005-04-16 1089 uart_add_one_port(&serial8250_reg, &uart->port); ^1da177e4 drivers/serial/8250.c Linus Torvalds 2005-04-16 1090 } else { ^1da177e4 drivers/serial/8250.c Linus Torvalds 2005-04-16 1091 uart->port.dev = NULL; ^1da177e4 drivers/serial/8250.c Linus Torvalds 2005-04-16 1092 } f392ecfa1 drivers/serial/8250.c Arjan van de Ven 2006-01-12 1093 mutex_unlock(&serial_mutex); ^1da177e4 drivers/serial/8250.c Linus Torvalds 2005-04-16 @1094 } ^1da177e4 drivers/serial/8250.c Linus Torvalds 2005-04-16 1095 EXPORT_SYMBOL(serial8250_unregister_port); ^1da177e4 drivers/serial/8250.c Linus Torvalds 2005-04-16 1096 :::::: The code at line 1094 was first introduced by commit :::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2 :::::: TO: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx> :::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip