Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3838147pxj; Tue, 11 May 2021 13:03:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwz8lyEXQAX0VVkZ8jsbj/P8lcKqscDuEWOU18y0SEsIDIs0Rv3382U4n4tvH/xjRakaQ7N X-Received: by 2002:a17:906:7f97:: with SMTP id f23mr34862635ejr.74.1620763399635; Tue, 11 May 2021 13:03:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620763399; cv=none; d=google.com; s=arc-20160816; b=T5usXdJRj5jBM+3JihnhRuyMzwF+98mZqIisSPx1eK0dFvH3Tq54cLl0d7JnIKyeXC dDFZa44znlXV8Ru7s3tq6OhX5hMFhgA2knTCYDO+kCOiiI62QUof4GN1sPQ2czQQrL7M YpgFHRLpnldZqmvHICPA0j+lrRN8QDMUe07nuKDzZmTOFyseNw4YqwNDP8Uc/YCkbOJx XQDl9hJ8Hals2lB+2aiL/bDLUIirHoqx9lbVlhRe0KcAPKOL69y8p02VamI/5uPdplPK gWIQdnXtH/+gi0b1HbPqQHt6fAjOtuxXED+bl19n1jQZGe8RBjOv9KFQaYcmOaynLDuA B7LA== 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; bh=tCAnKmXbjVfFemDXMFG3VRAzPQoqVYwxxbRNsfm3ekU=; b=E1i2L0X1LZCEKaDs/K1vVXVACX4p3EZz+3MD5+0bszCONsQv5DBJHM8xbPtZZ3l40r luIHhfmus89mp8c58HIfKShEjD/LjKCqfprqMf3QZLnOZGI5fwh9N64qJQzUkyh45Cqz u4P6wpJEuQY9X787PWb8sL2jIoXvrypiC8h00FsaqvRfxdULgTe3tGZqs+pFvhXJRyvV 8toe8PkC3ejQcz71V1PU2Nt5IlmVEUklS6EicYIqKXVvOVGwTq7WLTo3vWoIK4QNGMhL RJGlRPO3bHsT2t7Z2eZwQ0QkdwImF6nq9gMrchtC7Kw7oWgDIfIS0cEPR8/bc1m3Dyhn yR/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=WWdS7cRK; 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 h5si17275780edz.533.2021.05.11.13.02.55; Tue, 11 May 2021 13:03:19 -0700 (PDT) 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=@walle.cc header.s=mail2016061301 header.b=WWdS7cRK; 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 S229934AbhEKUDJ (ORCPT + 99 others); Tue, 11 May 2021 16:03:09 -0400 Received: from ssl.serverraum.org ([176.9.125.105]:59297 "EHLO ssl.serverraum.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229710AbhEKUDJ (ORCPT ); Tue, 11 May 2021 16:03:09 -0400 Received: from mwalle01.fritz.box (unknown [IPv6:2a02:810c:c200:2e91:fa59:71ff:fe9b:b851]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id 356D922259; Tue, 11 May 2021 22:02:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1620763320; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=tCAnKmXbjVfFemDXMFG3VRAzPQoqVYwxxbRNsfm3ekU=; b=WWdS7cRK0KiGewW1DQX7MnohDVGT+ts3N7p2a+A7+2kADACb567+PvnJYU3aNwDbp0egc/ PVN01QuMsrcmI/2YhG6nuEj9J9raUrfHbDXjOtirV0RQnol9rfWcQTPqLTa53F3xcVNuxx 7oZDTVzHrfaFlXXG0Tt4hwFWvlBcDnE= From: Michael Walle To: linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , Jiri Slaby , Angelo Dureghello , Fugang Duan , Philippe Schenker , Michael Walle Subject: [PATCH 0/8] serial: fsl_lpuart: sysrq, loopback support and fixes Date: Tue, 11 May 2021 22:01:40 +0200 Message-Id: <20210511200148.11934-1-michael@walle.cc> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Give fsl_lpuart some love and add break, loopback and sysrq support. While at it, some errors were noticed, which are also fixed in this series. The sysrq support was tested on both interrupt driven and DMA based transfers on the 32bit LPUART. Michael Walle (8): serial: fsl_lpuart: don't modify arbitrary data on lpuart32 serial: fsl_lpuart: use UARTDATA_MASK macro serial: fsl_lpuart: don't restore interrupt state in ISR serial: fsl_lpuart: handle break and make sysrq work serial: fsl_lpuart: remove RTSCTS handling from get_mctrl() serial: fsl_lpuart: remove manual RTSCTS control from 8-bit LPUART serial: fsl_lpuart: add loopback support serial: fsl_lpuart: disable DMA for console and fix sysrq drivers/tty/serial/fsl_lpuart.c | 126 +++++++++++++++++--------------- 1 file changed, 69 insertions(+), 57 deletions(-) -- 2.20.1