From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8B8A843E08F for ; Tue, 4 Aug 2026 08:58:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785833909; cv=none; b=IN5Dfuk3Wmf5LSExbGHyq7C4VHYmZ00G32f4LYsGkrjTUMSCcCyECiP5xjgGh3SVOF+xHeoauRtJO8ycSmCXxlpasN4krzhk0AYiM8QKFX2VGjg4OK3KsRsg9bXx/eOmXMzgqVWcCJMLNy5ul6bcmSc2tDVil4386CbHwRmcH2A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785833909; c=relaxed/simple; bh=9fkJUNnDEG5//voE8x3IYfoMkyUpqv8GjX+AcNvz/20=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=ZM7Maq6hSjC0gvMlnM9bFBs9mYVcpHOKnAs3tJXTgXfVZO+zBiADoZAunbMnBr6nDVVCUxKc6UdqZMYLdo4cBW6oaipJ3Q8dL7yRHA7dwD/d2E0UP2HBvA4IYdsYfAeg0a648yO68zsV1vX6nyQ7zkQ1GMmn1QOfJKvlqctGZ7E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre.com header.i=@baylibre.com header.b=m3GTSLAi; arc=none smtp.client-ip=209.85.128.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre.com header.i=@baylibre.com header.b="m3GTSLAi" Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-4957eefd361so21004265e9.1 for ; Tue, 04 Aug 2026 01:58:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1785833904; x=1786438704; darn=vger.kernel.org; h=content-transfer-encoding:content-type:mime-version:message-id:date :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to :content-type; bh=PcDTJW4kwiodQtam5lraHbRy7DjpIfJ7yuEDA9ny7sY=; b=m3GTSLAikBQyIzLnqFeLCNtKinHzIuEkLknskTPVWtlGk1e7u7dAuPhb/HMyd6Goty 7zIz1u9Vp5JMU48okkYKGjDOGVFEig45Geb7d2ldT5U174w/5VfZUrOoxiWaQJj06lfO CthWhj1Qmxb5SzOoXBWjmidIr7XWuDnPQM7Lx7aCKb24a5WZ+4woTAo6gdTWD5hIg6pY UMDcUDOtHldCUsl6eynIhRRxoWBBr4NPh0UpQCLL5Z3pyixPg1vT1htZr1x7EQ4nfvEN bpQJ18LbD5OIWX2U86t7IPngIZTnq/KKbY5+UPwm1Di3JqFeXUbPUp0e+qHc2pskaNL/ XHZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785833904; x=1786438704; h=content-transfer-encoding:content-type:mime-version:message-id:date :subject:cc:to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to:content-type; bh=PcDTJW4kwiodQtam5lraHbRy7DjpIfJ7yuEDA9ny7sY=; b=pG7mQ8MZu/M4EPYGO7hVxCdk3oyQjK+0Hi01JTjlWic40bHATD/Yt5rexYh0y4m4on R+2+jcONMRxZDKpZ+8wEdXJGfScbcXI0PE93XHr6vP+28GVIsVvheQ4Fc2fmRd6Ui93J T+5chdZBqtEl/jB6/EJplgl66eQE0+dXX3WqTyX/53I8tuiSY6Rq4RhtUGhwWnLfO3Cb L45idjaERL3MYjcvvoFnq87wEwbhpz7qyLzcirV78OGajpewrN1uVb0EBn2rxl9xgn5V TOoIRhha5PPKAOZkwR51oawKskTzfgtt4KrOl/ocSbiVxuiUEMkiv8E8DEHMGa8f8Qc3 gVEg== X-Forwarded-Encrypted: i=1; AHgh+RrDjjQEiEirad49h0vYDF6aI+B/y7OD85weBjL2Cr1UC0YrJXGXSMKMTOhFAHFmqbASeE6f73WIy5tDTCU=@vger.kernel.org X-Gm-Message-State: AOJu0Ywbw2d7kYJMPImqm7GpBkWwEHw0oekvTW+x7Wc5Ai6xPA1ZkH3m expHO64UH6cdnHVc692+Ynap/cBpdKu1DVnUPMoqIFQ2S0YWP4d1dJWnW50dOpOOouk= X-Gm-Gg: AR+sD10vOoc4Hn5yo3dNjN9cqdMpDuwBm8S8p7onYuA0MtJIoxcvEQKNYmn6ITTCDfS Erlw22fFKQOhgniwmqz5SUPls63tYtLcIkyC+kPPLTgnrZ6VvsKuZc/eKBrL+CFrvl3h2wR7kH2 GcLm6S3y4ef7IFwK3sni1lUQCwcDmd3E8FT2fw1uNgYwgge05cyLmZWWnby+gk/RkaMDyjq//GO g7nvDNdjxXUKvQKJvvXi5SIfFarlxSTEJuTpH5K4FPr9NCw90Ah+nFV8tFp8eVdPA4UzA69bbLn hc2bZScyoHzRuYj3jZXKchVlDqT1mAQbz7trutmtEUdQ96CIXnvtexdWEHY+K3e3v0YuZ9wGNsc 2dJWBVegZ2z3EoQ8Yyc6Y2kidMrblmckq8G/ldbSs0lGlwWhxdid8Oe0/10RLMCl957CoKCa/Ta drzSG5mAIJ4RR1eR3/KCjo+d0xY84f77grPTwanY9CnZOsHFm/mfglrM12RM4RJDLOljjukgXLx 3fi0TDDJjw8P9NgIXMcH/HE7GUNggskmb/Ue0y3jeK6X+cq6ePMtw== X-Received: by 2002:a05:600c:c8c:b0:493:f318:3bc6 with SMTP id 5b1f17b1804b1-4980c6564d5mr283848775e9.13.1785833904344; Tue, 04 Aug 2026 01:58:24 -0700 (PDT) Received: from localhost (p200300f65f01710496a76592f11363a3.dip0.t-ipconnect.de. [2003:f6:5f01:7104:96a7:6592:f113:63a3]) by smtp.gmail.com with UTF8SMTPSA id 5b1f17b1804b1-49807bb45ebsm225671135e9.4.2026.08.04.01.58.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Aug 2026 01:58:23 -0700 (PDT) From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig=20=28The=20Capable=20Hub=29?= To: Greg Kroah-Hartman , Jiri Slaby Cc: Hugo Villeneuve , John Ogness , Alan Cox , Atsushi Nemoto , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, Jonathan Corbet , Shuah Khan , Fushuai Wang , Kees Cook , linux-doc@vger.kernel.org, =?utf-8?q?Ilpo_J=C3=A4rvinen?= , Andy Shevchenko , Abinash Singh , Rahul Bukte , Randy Dunlap , Lukas Wunner , Huacai Chen , Haowei Zheng , Rong Zhang , Gerhard Engleder , Binbin Zhou , Russell King Subject: [PATCH v2 0/8] serial: Some yak shaving Date: Tue, 4 Aug 2026 10:57:52 +0200 Message-ID: X-Mailer: git-send-email 2.55.0.11.g153666a7d9bb Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Developer-Signature: v=1; a=openpgp-sha256; l=1787; i=u.kleine-koenig@baylibre.com; h=from:subject:message-id; bh=9fkJUNnDEG5//voE8x3IYfoMkyUpqv8GjX+AcNvz/20=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBqcamS60N34BMNL+Us9dHojEVxYalHWgzvIqIxO UxljGs6mX2JATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCanGpkgAKCRCPgPtYfRL+ Tv64B/wOBpzzIShaaUBxe2pXacSkgO2+egTOFux2agBuJbSkPcgFx9ypJJoXFU6gMPDDXTd3TR7 CCknuKUXAtEzGbOZHL6B8mg1LmxloVupqoIyoulFXO88++Orco74mDCJ/wo6I+LqT3L/m2KWboW fr8au+Fqf1UCf57yYF60BPLfPrYLKeBXCbEbvyoXX3gEUcHOdWmVDgmAt0NL/wg/8vbnsEMhnbr fmE//Y3KzLy700vH4LspmSf7nuy0lV8ug31+f9P8IvrMBXuN2ss0hoZwc7VPqRxEwNM8/NNulGF df3SgQ+E8/TI8/Rzh1Q/xsS3MWbsUyTlyreMne8ZQT1mnxer X-Developer-Key: i=u.kleine-koenig@baylibre.com; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 Content-Transfer-Encoding: 8bit Hello, changes since v1 (https://lore.kernel.org/linux-serial/cover.1785489518.git.ukleinek@kernel.org) - Fix author to be my Capable Hub identity for proper attribution - Rebase to more recent next - Actually build test (rant: For mips compile coverage of an allmodconfig build is rather bad) - Two compile fixes (I spare you and me the details) - patches #2 and #5 are new, originating from suggestions in v1 feedback - slight commit log improvements (Ilpo Järvinen) Uwe Kleine-König (The Capable Hub) (8): serial: txx9: Drop noop probe function and dangerous remove callback serial: txx9: Simplify knowing that .iotype is always UPIO_PORT serial: txx9: Drop usage of uart_match_port() serial: 8250: Make uart_match_port() a 8250 specific function serial: 8250: Simplify serial8250_match_port() serial: 8250: Fix corner case for port matching serial: 8250: hub6: Add cleanup code serial: 8250: pnp: Annotate init and exit functions for conditional discarding Documentation/driver-api/serial/driver.rst | 2 +- drivers/tty/serial/8250/8250.h | 10 +- drivers/tty/serial/8250/8250_core.c | 25 +++- drivers/tty/serial/8250/8250_hub6.c | 11 +- drivers/tty/serial/8250/8250_platform.c | 9 +- drivers/tty/serial/8250/8250_pnp.c | 4 +- drivers/tty/serial/8250/Kconfig | 4 +- drivers/tty/serial/8250/Makefile | 2 +- drivers/tty/serial/serial_core.c | 27 ----- drivers/tty/serial/serial_txx9.c | 126 ++------------------- include/linux/serial_core.h | 2 - 11 files changed, 63 insertions(+), 159 deletions(-) base-commit: 415606a7be939835db9b0d6b711887586646346d -- 2.55.0.11.g153666a7d9bb