Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3462016pxb; Mon, 24 Jan 2022 10:03:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJz+WqeK4pwcHS+J3QG3h/OFZ/Q5DotCnJ/UE7pGcWbPsHlQSQoEz8P/0IaYG7oTCw+LL+xx X-Received: by 2002:a17:902:e0c2:b0:14a:e796:26c2 with SMTP id e2-20020a170902e0c200b0014ae79626c2mr15516517pla.118.1643047400060; Mon, 24 Jan 2022 10:03:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643047400; cv=none; d=google.com; s=arc-20160816; b=aIFOINPtTfZH1gZRP74iNpZ3SAHA9TaVDhr5QTYqis8YS7biPgTzne0kr8pAMIsXwh FBlxttjIbrLf7RVXkVw9byDO72O1PBRPWEXKUuU2RJ3IM/5pZd0HDKIrzWw+EzuWXqs6 w8O+lDOwkjcEFxJ9C1kh8JPHsSaRrrMrKy3jNz7HH9lxo7bBt4U3i6qpIsMWeY/PTDuo +Ron7ISUZLtQDwwEKBYYjM7TgrqcZYBEJlIgdfvau6MSVgOu29V+WUp6qbnc6BhJC7/z 21GHB6p7R2Lh1lY1B38ZmQL4M0gBuEkElTDFehg0SkbqtcsuGgM7G9ptKzUEc+enLEcF mGlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature:dkim-signature; bh=od/6bmpL5QY23AfGF50zkOPRQfxWP2Er4D6NaSlOBcA=; b=g0Ys+c0XbKgCZ9OV7MeZCaqKYZUfBkhvr34Oo7K/VpuuWhguVVfeF5cHeEyVtpXV+s ZbmMbibt3bIdI9gdIwmO9aUuZn0uRjHQmnEwTbD2aawysQJrXz2+043aJQapr998To8z 5R6imSUIu5gi6adtwwciJr1gITsICf64U8/sHKI7/+ZgTiynF60su62X7HMW3O22JBnu nJ2p6kqMHYGLJ41rf7p8mMKyA0oI3WM/7ITyealvTD9r91qEoTFmpZ450I+SoBDv7ttG sztEZo2BgNCVtb842gbpWtoCuL7UJIk9gz54cLf8NiZTSwha9VphTWdi8pd5eWlEsfrt d1YQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=k3bKU8fF; dkim=neutral (no key) header.i=@suse.cz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g5si3070705pfu.292.2022.01.24.10.03.07; Mon, 24 Jan 2022 10:03:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=k3bKU8fF; dkim=neutral (no key) header.i=@suse.cz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235979AbiAXHOd (ORCPT + 99 others); Mon, 24 Jan 2022 02:14:33 -0500 Received: from smtp-out2.suse.de ([195.135.220.29]:58026 "EHLO smtp-out2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233178AbiAXHOc (ORCPT ); Mon, 24 Jan 2022 02:14:32 -0500 Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id 93F411F38B; Mon, 24 Jan 2022 07:14:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1643008471; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=od/6bmpL5QY23AfGF50zkOPRQfxWP2Er4D6NaSlOBcA=; b=k3bKU8fFLZpLRPlvH8PgtY+6Pox0kfnD0hZOYr6XaOpX40VxwKZBn1DU7rLOsxldQANkkR OvbPnjz2aoi0WFckzk0HW253Rztk5aQjtpODKnwilbf4XDCEgFlThWUDcsYskL/ZAeNDd/ RH2BK2mOQ4i/+AmLjrpeawBD0pZDQeo= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1643008471; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=od/6bmpL5QY23AfGF50zkOPRQfxWP2Er4D6NaSlOBcA=; b=lp2uHRblzKQ43eGjrdKAW2y582dmcS1pGlmcxGB41+DFh+JC5gwhCFVbmN253q1xzKKnzV LkwH1cJumS7vUFDA== Received: from localhost.localdomain (unknown [10.100.208.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by relay2.suse.de (Postfix) with ESMTPS id 58329A3B84; Mon, 24 Jan 2022 07:14:31 +0000 (UTC) From: Jiri Slaby To: gregkh@linuxfoundation.org Cc: linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, johan@kernel.org, Jiri Slaby Subject: [PATCH 00/11] TTY patches for 5.18 Date: Mon, 24 Jan 2022 08:14:19 +0100 Message-Id: <20220124071430.14907-1-jslaby@suse.cz> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org These are small random cleanups and improvements I came across while doing larger cleanups which are not finished yet. So flushing only these from my queue at this very moment for 5.18. Jiri Slaby (11): serial: core: clean up EXPORT_SYMBOLs serial: atmel_serial: include circ_buf.h tty: add kfifo to tty_port tty: tty_port_open, document shutdown vs failed activate mxser: fix xmit_buf leak in activate when LSR == 0xff mxser: use tty_port xmit_buf helpers mxser: switch from xmit_buf to kfifo serial: fsl_linflexuart: deduplicate character sending serial: fsl_linflexuart: don't call uart_write_wakeup() twice serial: make uart_console_write->putchar()'s character a char serial: mcf: use helpers in mcf_tx_chars() drivers/tty/goldfish.c | 2 +- drivers/tty/hvc/hvc_dcc.c | 2 +- drivers/tty/mxser.c | 109 +++++++++------------ drivers/tty/serial/21285.c | 2 +- drivers/tty/serial/8250/8250_early.c | 2 +- drivers/tty/serial/8250/8250_ingenic.c | 2 +- drivers/tty/serial/8250/8250_port.c | 2 +- drivers/tty/serial/altera_jtaguart.c | 4 +- drivers/tty/serial/altera_uart.c | 2 +- drivers/tty/serial/amba-pl010.c | 2 +- drivers/tty/serial/amba-pl011.c | 6 +- drivers/tty/serial/apbuart.c | 2 +- drivers/tty/serial/ar933x_uart.c | 2 +- drivers/tty/serial/arc_uart.c | 2 +- drivers/tty/serial/atmel_serial.c | 3 +- drivers/tty/serial/bcm63xx_uart.c | 2 +- drivers/tty/serial/clps711x.c | 2 +- drivers/tty/serial/digicolor-usart.c | 2 +- drivers/tty/serial/dz.c | 2 +- drivers/tty/serial/earlycon-arm-semihost.c | 2 +- drivers/tty/serial/earlycon-riscv-sbi.c | 2 +- drivers/tty/serial/fsl_linflexuart.c | 50 ++++------ drivers/tty/serial/fsl_lpuart.c | 4 +- drivers/tty/serial/imx.c | 2 +- drivers/tty/serial/imx_earlycon.c | 2 +- drivers/tty/serial/ip22zilog.c | 2 +- drivers/tty/serial/lantiq.c | 2 +- drivers/tty/serial/liteuart.c | 2 +- drivers/tty/serial/lpc32xx_hs.c | 2 +- drivers/tty/serial/mcf.c | 7 +- drivers/tty/serial/meson_uart.c | 2 +- drivers/tty/serial/milbeaut_usio.c | 2 +- drivers/tty/serial/mps2-uart.c | 4 +- drivers/tty/serial/mvebu-uart.c | 4 +- drivers/tty/serial/mxs-auart.c | 2 +- drivers/tty/serial/omap-serial.c | 2 +- drivers/tty/serial/owl-uart.c | 2 +- drivers/tty/serial/pch_uart.c | 2 +- drivers/tty/serial/pic32_uart.c | 2 +- drivers/tty/serial/pmac_zilog.c | 2 +- drivers/tty/serial/pxa.c | 2 +- drivers/tty/serial/qcom_geni_serial.c | 2 +- drivers/tty/serial/rda-uart.c | 2 +- drivers/tty/serial/sa1100.c | 2 +- drivers/tty/serial/samsung_tty.c | 4 +- drivers/tty/serial/sb1250-duart.c | 2 +- drivers/tty/serial/sccnxp.c | 2 +- drivers/tty/serial/serial_core.c | 20 ++-- drivers/tty/serial/serial_txx9.c | 2 +- drivers/tty/serial/sh-sci.c | 2 +- drivers/tty/serial/sifive.c | 4 +- drivers/tty/serial/sprd_serial.c | 2 +- drivers/tty/serial/st-asc.c | 2 +- drivers/tty/serial/stm32-usart.c | 2 +- drivers/tty/serial/sunsu.c | 2 +- drivers/tty/serial/sunzilog.c | 4 +- drivers/tty/serial/uartlite.c | 4 +- drivers/tty/serial/vr41xx_siu.c | 2 +- drivers/tty/serial/vt8500_serial.c | 2 +- drivers/tty/serial/xilinx_uartps.c | 2 +- drivers/tty/serial/zs.c | 2 +- drivers/tty/tty_port.c | 9 +- include/linux/serial_core.h | 2 +- include/linux/tty_port.h | 3 + 64 files changed, 155 insertions(+), 180 deletions(-) -- 2.34.1