From patchwork Sat Feb 3 21:49:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 196376 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp92002dyb; Sat, 3 Feb 2024 13:49:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IFpCifJ9WJiOWLBL9/zBQskPIGzp7QRh9aRfhi9yn0AEQPyS8UdKj/0zOSNNKikmPIXKpcK X-Received: by 2002:a17:907:7701:b0:a37:3234:3e9f with SMTP id kw1-20020a170907770100b00a3732343e9fmr2247117ejc.39.1706996997406; Sat, 03 Feb 2024 13:49:57 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706996997; cv=pass; d=google.com; s=arc-20160816; b=sGuT/45DvVeuq9YEuIW/guJYMBUoTPkHaRBbZ1DcmK1RKzqIfzz/mdw1S3WVBXNRUt 1gKaTCMGk/wFgcBQ74whvZZFnP1zaNFXPT59fKVmuGyK/Up7kLVgizfbB64syKJ/kekf /UnuuPcTLOKSSEbI4UvaIb5roB845TN30YXmtkXYdX+ie75dazrIMryQXMHQluycLRxQ wQy3Hf3+ZJTN1bXx8HTgbSn2VW69bEBSU8tC7TIUkqu44+c6pk7Lm3FdaJvPv2pUK6+L LFtZwTeQh+sYlOpVEH9suTnump+wcit0dNkwb6B5loqVWre7JvN17lT25zuSl5zc6lpG 0B0A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-disposition:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:message-id:subject:cc:to:from:date :dkim-signature; bh=UWy9mrenl5vJIWVoFVZSFoCbMjss2VaiCxqOM7Vx2Ss=; fh=zqIWgYKERkcsY3veuw9Ryu6/Qccrz0954kszekGRSFc=; b=fAFDmz9SbJ6Ljz8vZ3Mx9KW2ta2+NXspGSfMFpmp6yat9hPkmvk5lSjDiCsD8sMnsA 4tc8VzdtUgv9ha2RMeF+uH49fqpNPFEDJYcGPK0KmCUMEql8/SGmAdv21K8wQIKELdIA k4VrAEe6FLTQWknZJ7uXvj59nYdQYwp8pHr39fOxjOWzyRUKnm3sRD5rXvcFfFxeWQm1 TlOGwQPdK24RRks6Hza4kfHNocyaNF2kYPT0xsUOPIJlsssV+HOAMC7nTZHSa9m0pfMy 17B09sw9/WOkOE1cXfz3m1TxN9umMjgGv23GN2O/nIqvlL/fSCrZ/HlaVZ9Ii9UGB7ko YpKA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=IvFBwbuN; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-51302-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51302-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org X-Forwarded-Encrypted: i=1; AJvYcCU0eFRDVXWmwvcXmNYySY0cdcks0prppsIPr00iqLsHR2WxjguFCM5Nj7uR1pf5AhTpWvGekGzXHocvMD/zvdoa6oEYaA== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id g18-20020a170906199200b00a310c589c92si2187709ejd.451.2024.02.03.13.49.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Feb 2024 13:49:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-51302-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=IvFBwbuN; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-51302-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51302-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 0989A1F232FE for ; Sat, 3 Feb 2024 21:49:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 98C09134C5; Sat, 3 Feb 2024 21:49:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="IvFBwbuN" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BA93D168C4; Sat, 3 Feb 2024 21:49:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706996982; cv=none; b=jNm9hTFi+uWbV66Ud6en59lOrCQ7BxCcuO9ej2tJCe2mV2bDp+yPLbA6OVeNnIswr2RihEX9XE+x/b9IClUJZQcgyPx93K8bXAdxYYKlgLhgm6xkHQYS1V2Lgih0YZDEU/vPSjgEAskSbdvR+uAADMhsdhZqEq5jSQXAJlf3YBo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706996982; c=relaxed/simple; bh=CWvjXeV56RYSKT++CeZK3nd8uP5aO9tEw9qI4EYECqw=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=da+4HX4UWmm1Uy/wgSh4amc5yJqm68rP7PEz8jAuPx/SL4BkG3cKckWvhCzuM9IuqbnTWQ35fxJTcH9rXA1gBcxu0drlB3rad1Ad+cbit4rFo3gBBN4Kmu7qHkeyrDOgi5Nc/BGdWHTQ6NuN61GZAwj54J20JxXuSSn8fpeEfnA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=IvFBwbuN; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 31077C433F1; Sat, 3 Feb 2024 21:49:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1706996982; bh=CWvjXeV56RYSKT++CeZK3nd8uP5aO9tEw9qI4EYECqw=; h=Date:From:To:Cc:Subject:From; b=IvFBwbuNwIp5d4zZsCkjva1NviktZAilU8hHma2/9ukkz+Sz/ujPi6Fwy3bsV3m5K qL26peO0k8UKQGnNH/RgqHSWN9tsuKVWaPWIst5bBW5ro3gQLu6T1/jagZYOOla1X0 YEYTtEcWlZmbK2aDX954vXaHAWkvjqaeJh8GibS8= Date: Sat, 3 Feb 2024 13:49:41 -0800 From: Greg KH To: Linus Torvalds Cc: Jiri Slaby , Stephen Rothwell , Andrew Morton , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org Subject: [GIT PULL] TTY/Serial driver fixes for 6.8-rc3 Message-ID: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Disposition: inline X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789916083749771288 X-GMAIL-MSGID: 1789916083749771288 The following changes since commit 6613476e225e090cc9aad49be7fa504e290dd33d: Linux 6.8-rc1 (2024-01-21 14:11:32 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tags/tty-6.8-rc3 for you to fetch changes up to b35f8dbbce818b02c730dc85133dc7754266e084: serial: max310x: prevent infinite while() loop in port startup (2024-01-27 19:09:10 -0800) ---------------------------------------------------------------- TTY/Serial driver fixes for 6.8-rc3 Here are some small tty and serial driver fixes for 6.8-rc3 that resolve a number of reported issues. Included in here are: - rs485 flag definition fix that affected the user/kernel abi in -rc1 - max310x driver fixes - 8250_pci1xxxx driver off-by-one fix - uart_tiocmget locking race fix All of these have been in linux-next for over a week with no reported issues. Signed-off-by: Greg Kroah-Hartman ---------------------------------------------------------------- Christoph Niedermaier (1): tty: serial: Fix bit order in RS485 flag definitions Dan Carpenter (1): serial: 8250_pci1xxxx: fix off by one in pci1xxxx_process_read_data() Gui-Dong Han (1): serial: core: Fix atomicity violation in uart_tiocmget Hugo Villeneuve (4): serial: max310x: set default value when reading clock ready bit serial: max310x: improve crystal stable clock detection serial: max310x: fail probe if clock crystal is unstable serial: max310x: prevent infinite while() loop in port startup drivers/tty/serial/8250/8250_pci1xxxx.c | 4 +-- drivers/tty/serial/max310x.c | 53 ++++++++++++++++++++++++++------- drivers/tty/serial/serial_core.c | 2 +- include/uapi/linux/serial.h | 13 ++++---- 4 files changed, 53 insertions(+), 19 deletions(-)