Received: by 2002:a05:7412:9c07:b0:fa:6e18:a558 with SMTP id lr7csp446426rdb; Sat, 27 Jan 2024 13:35:40 -0800 (PST) X-Google-Smtp-Source: AGHT+IEtS6IR5c3OOy9qlnC89Q64ey5jwv0rsKLgB4JRYadFcpr1oEG0RFv9cHhGwh1Xsdr2L6Cm X-Received: by 2002:a17:906:d8d4:b0:a2c:babf:8c4 with SMTP id re20-20020a170906d8d400b00a2cbabf08c4mr1598674ejb.6.1706391340687; Sat, 27 Jan 2024 13:35:40 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706391340; cv=pass; d=google.com; s=arc-20160816; b=c1w0psQdUUgiZ9r6XiVjAgLKUt6O71pBXf8TV/CLwcHbSS2Jc+JPhO/uCZ4Fs7S1KG 8LF9hET7qgo9tbDTPpxBVImhEMuf+Waf0SGqXiO90dXtR5VKMJPtQj64JfRTVmbK2lWe FX6QlZK/d8eZ8OaxlHF1OyWiYSX1kWTsLggMP9jFdcMVB8mP87rCo6ctCyEoCE1sGpgD cyQqmuJT9/kHHsytgLgK3nsCX3Z1z81G0qtU9/qN/ovE/MGu9jHQU2BKi6i7/Gn5ObKw 0OqC/bkWbHYI9/SPfMcJTZXRiwoALtzcy7SxIkyVLn2stac8hlOBDpHVuqVWYVsPAUIm SEVw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:feedback-id:message-id:subject:cc :from:to:date:dkim-signature; bh=XjB14sOEcNCjSPSGzjsVDfkM3EVNBsHsxxs1Zo++7WQ=; fh=w0oum+UW+upILq0Gt21otWDTfw/cuuf+HdypqdbO38o=; b=UkSl83239VsklOXvCwHRbdjgyOYI3vZisNJ2MzDFdPJbjN8cD3et47dl21rIg0Hppt qSEtDFTNUOT/0UYkvYINv1ayEXhfHkVIcX4PVgEnilkR/2s9WWxLBx1eMPPesfy0/von YYuSrwAt9YRhc3Z7pbdpIg63M43marcakgQVwRUTVjJV+j0gmxn2KABhsjTOTCyZOTVb ij4Ptj34FPXeW9iBdm2k3MT5vEZMQN0AIB11sWN1Z5JA6ieIPGlo/cYOJqKeDpEzcN2t 0iriaWws0LT8fGVnDqyk3N3A890InUO5EF4fbvmkS+kG5WTXLAjmYFUCXrz+SDWkC2d4 bTYA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=Pm1Cz2uc; arc=pass (i=1 spf=pass spfdomain=protonmail.com dkim=pass dkdomain=protonmail.com dmarc=pass fromdomain=protonmail.com); spf=pass (google.com: domain of linux-kernel+bounces-41404-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-41404-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id l22-20020a1709067d5600b00a3178e6cfb4si1834955ejp.749.2024.01.27.13.35.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Jan 2024 13:35:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-41404-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=Pm1Cz2uc; arc=pass (i=1 spf=pass spfdomain=protonmail.com dkim=pass dkdomain=protonmail.com dmarc=pass fromdomain=protonmail.com); spf=pass (google.com: domain of linux-kernel+bounces-41404-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-41404-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com 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 631A11F22D01 for ; Sat, 27 Jan 2024 21:35:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7EAE31B295; Sat, 27 Jan 2024 21:35:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=protonmail.com header.i=@protonmail.com header.b="Pm1Cz2uc" Received: from mail-40134.protonmail.ch (mail-40134.protonmail.ch [185.70.40.134]) (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 E07E21AAA5 for ; Sat, 27 Jan 2024 21:35:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.70.40.134 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706391333; cv=none; b=o1j44PM64OduP7fqmWDRjzB6Gt/jqg9fNO+jpHuDQajiJlGzCnyXy/0G/FgWQDOLYYRF92V+8cep8S9t0UyvRuHaAMiastCe292pXaRwohKcCAXlawrEugmqAJac8b33doV5f2CAjsBkeYIBTLp7q7PY3ePXeMbaaaLy3f3zDaI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706391333; c=relaxed/simple; bh=XjB14sOEcNCjSPSGzjsVDfkM3EVNBsHsxxs1Zo++7WQ=; h=Date:To:From:Cc:Subject:Message-ID:MIME-Version:Content-Type; b=mHCnjCZIWayoMzBiBPqdZf0aL6Upvh8RcvLS5J/Ql39gk2Io1ipnXhMQ3pfYZpBiE5Jh0cqM/iLkBsNsIuqOTZ+w06IIRt4thg3a4PHPmPH7vVpAJGvar8JCbSn8cr2TYnr4NaxpdPo5GRZpXdEKoVFI9MHnN8IY2AmF/qotFaE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=protonmail.com; spf=pass smtp.mailfrom=protonmail.com; dkim=pass (2048-bit key) header.d=protonmail.com header.i=@protonmail.com header.b=Pm1Cz2uc; arc=none smtp.client-ip=185.70.40.134 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=protonmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=protonmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1706391328; x=1706650528; bh=XjB14sOEcNCjSPSGzjsVDfkM3EVNBsHsxxs1Zo++7WQ=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=Pm1Cz2uc1Irqqa4Cker3zmeykpfVQuifl8xy4t6U7zGR2y0xekfG+hoH88A6YFGp1 c2um+AowgVouh3DM5EsszQ3krku+Uv/2iwNfGK5kO6piUUHHAv2WUVDIfW00R3a/G7 QRWVjUO1ZCK2GvMo043xwp2oYnA09r70boCOOdrAXwOW+k0Trk2R1vG+c8CwxUNqny 9VFrgXLpJSDZ6BQ2+BiUAxyRS4xf3aM8y/2Id33Zs2lZJb51T+sPyNYBWIUn4FiLz3 xwiN8lOS5TCJc+4Tj+qVnpry5Q3N+o//wdp+F65tkaaaJ76mqrkpz5gp04G0OJxQmh aJ0UiQMTwTvTA== Date: Sat, 27 Jan 2024 21:35:15 +0000 To: linux-serial@vger.kernel.org, jirislaby@kernel.org From: Emil Kronborg Cc: linux-kernel@vger.kernel.org Subject: mxs-auart broken in v6.2 and onwards Message-ID: Feedback-ID: 20949900:user:proton 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 Content-Transfer-Encoding: quoted-printable Hi, After updating Linux on an i.MX28 board, serial communication over AUART broke. When I TX from the board and measure on the TX pin, it seems like the HW fifo is not emptied before the transmission is stopped. I bisected the bad commit to be 2d141e683e9a ("tty: serial: use uart_port_tx() helper"). Since it concerns multiple drivers, simply reverting it is not feasible. One solution would be to effectively revert the commit for just mxs-auart.c, but maybe you have a better idea? Any pointers is appreciated. Regards, Emil