From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.222.47 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796121560; b=f1SXRd8QQH9d+qDMeV3HF6kLfD/F5xLwBxnXNtnOOx/EzVVuRN3s3l2xXJoorSRFydGd NtmJgX33KiB9R34uXIxDr+VAV4qd9qEL8CxrUYf58rVCEv7Z9ILcrebm8fXj1NHXhgQ9a JH4fpHjoFlo7WufaQDPzpo9d1OzDpT4s9zWT+ahAoAgDcGTjFO2hkFfIzBIiBXjDW38Rq m6C14NjIfd6bnA92A72JJQIObGlEJrRw6Sy3mogNe7KJAN5iOtcx5d9BVJos+COSw5fYJ M08+BNH7Kyg19XMfPDn4L8YVCeoYg3u+X/OVZlcezCnSRUI5vntbHH3dt4HV8G0nabQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796121560; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: From:To:Cc:Subject:Date:Message-ID:X-Mailer:In-Reply-To:References: MIME-Version:Content-Transfer-Encoding; bh=+fRLOtQ3wLXM1V7tk87ukC3IT60C7xfeRSOGJSivk7E=; b=Igy4MbmFUuWmCjYMxV2/XvOQygtRNw1Z22wP2lm7Zx27GWj8MCKRZpyZOv2YaDwkKQIm x7NSxxgQAdZ85aQWypdNs7+QrSIoso1Omys+cKScReXMHyWz/qUecmlYXHzNjURaERmv5 eokjRxEr46BUQ2TABWQlE6C/HwgOP9RRqO43o/NjPcU0uPXrxb4ySM8Y/7JbNMzS5T1HD OgdgYhCuGJ4yVhcMBjOj/HiT1E/CSZTT71n6HLE6RGzT6J4FaPObgM23xH13Eoq6Q2Ab2 bBaJrlgCpSkYk486Ti1obczuvqwcevdv84bBgCv35ULtoD9mDaQQKj23RwRUsf3O6ow== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b="JrWVuY/i"; arc=none smtp.remote-ip=209.85.222.47 Received: from mail-ua1-f47.google.com (mail-ua1-f47.google.com [209.85.222.47]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 53563606A327 for ; Tue, 1 Dec 2026 10:39:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 53563606A327 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=JrWVuY/i Received: by mail-ua1-f47.google.com with SMTP id a1e0cc1a2514c-98301b325c4so3394193241.1 for ; Tue, 01 Dec 2026 02:39:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796121559; x=1796726359; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=+fRLOtQ3wLXM1V7tk87ukC3IT60C7xfeRSOGJSivk7E=; b=JrWVuY/ilXFFC8lwKOtRp4zaK0DGolQITclPUrGUiXU760QW/oObhPYuNuJhW+rMYI vA/mrQ27zHamL/ysM8IQwqShV9xiQ2MIZbdJ9wY+RJMSlj394+Ec5g/0gO982J6sYL9P G0I4yUU+gtorP/a9dghokRhp303BaPfEe+OwhnzI3TrAN8q24Yctm5ck/L6AkaIKOsoF JRpE3pVncVLYhgvYp2SEmahd0/r+tyZ57kQ5ByzgAUnwYDAuhmykMZg2dPRQbY1fI+0M A2eOVO7uz7Mr3Z1YKkZFAs1RcexF+mMoKUFv1SBAloVi9M4dUz1zcKx9CTcXXQQNCJQZ Q+Yw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796121559; x=1796726359; h=content-transfer-encoding:mime-version:references:in-reply-to :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=+fRLOtQ3wLXM1V7tk87ukC3IT60C7xfeRSOGJSivk7E=; b=wog/voez/mTIHjX38aDpfhcaLZopuJKJ1yXcVDdLF3BvgFXvdOXhhKiud4Mhsh5AXk xot+J6K2KvroFRCFbfn6WmWECv8cRblEYVxKDUj+8uHD4U8Jazjbaal1NTNbi+otovHN 7/20Q6Bn/6Ey/uXxfS/moHGM5iJEg2/CKR44vM92ihJ9GHP31iUupwMDtzJUvoVwI1v6 vNHgG4hRJ10E6AOXr+Ns/dhGr9aP7QKwRrV1HzmV+W8UTdm/ZDZh0FbZOCTUgQGt33AP tvlLhGfSCxXqFmYM0QksPAPAQVVpPxa7TusgeURAP05X19UIWkX+H3aatrk4Ub0tTArZ yWXg== X-Forwarded-Encrypted: i=1; AL+hErH9J6nW+02rdD2v6a05OMvngZGg26eT4aXcT7UTdJCbTc9uGEYJA2Fxiw9jfXYERwHUbgY7Fg34SiPNfcE=@vger.kernel.org X-Gm-Message-State: APuU4Z9glYQsofkEFK2IyOrkfr97EqrnSZEtEavxtWECskgfiQJ3fltZ VeixMDpuY3p3OL9Q/AX9yA4nUmG629Ln26mZUbAbEG6lOUxLhkf2eeD9 X-Gm-Gg: AZFdTZdST5pUu/5l7908nTay4aU/qv4p5wjBrVqzFik9DPCD68tcZC0n7Di3M7LT1hp GEvevD/hLXIvCK6RBCBstniBKoKQGxlFAleRwHavQwh0r4TRxMkIB6FZOJ26WNZFD/316gVTMUX xOtDRbrGcyGQsy8pb9CxRN0Mj0HFkF9TdtlLD4Luyd92LCyqUgLJl0q+15d0uXogCjpdQ9Sh/rY GnkGnRATE8Akg1Ic4yU1aTSoPDsgihz1zQPwu3msKJYS6Yna2m1ziJTvqnoDbWn8ckRAr0f29wH zHmoy5ZXsE98JHMv/AziNqlN1wl8H9q6IUlOKJ9q5xO0D6RV+cpXwIdlVS1gviyzv62h1RyXT3v itdhBsnZ4iif8k8x6d0dN97j9LasgECp/AY+z4NwD0N/nKJkeAqeR4T1+mkJ7BfWLYmziuCEnhZ 9RZEpFkT/6nQ3SVdALyDJjH0dbXDwHX4JDZqAF474ER++zq7JzvHJmDzgH18mWyh8kfydVD/fVf P3JBOkjx2Xsi56ftKK3L3BunnlA5agn1fauOwsnwjdmr67xzvCjjOGk6IyIX3nZQGFE+FuLAq84 Yut0jottd/nFElcXbH3zwvbyjXbkIjayZeJhV+sUlnbbQ/tZLQoAGiRVjYWpwlRN/qOW+r+okFt s1Zoic99HsvZTjZ6Vw8cyuG9HLRluvIoAYOuBNFBpPnO7gMW8sN2Dn12wIUzR5CBi5TOlLg== X-Received: by 2002:a05:6102:3f13:b0:7c8:18a2:f769 with SMTP id ada2fe7eead31-7d71e3723aamr22652171137.0.1796121559152; Tue, 01 Dec 2026 02:39:19 -0800 (PST) Received: from localhost.localdomain ([2804:1b2:aa42:d9ac:e1d2:86ee:e41b:f19e]) by smtp.gmail.com with ESMTPSA id a1e0cc1a2514c-99e6df8a28dsm37815863241.4.2026.12.01.02.39.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Dec 2026 02:39:18 -0800 (PST) From: Vinicius Pedrosa To: Andre Przywara Cc: linux-serial@vger.kernel.org, gregkh@linuxfoundation.org, jirislaby@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@lists.linux.dev, Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Conor Dooley , Andy Shevchenko , ilpo.jarvinen@linux.intel.com, Enzo Adriano Subject: Re: [PATCH v2 3/4] dt-bindings: serial: snps-dw-apb-uart: Add Allwinner A733 Date: Tue, 1 Dec 2026 07:38:54 -0300 Message-ID: <20261201103854.14229-1-vinicius.eduardo.pedrosa@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: <09f3a181436e6f19317224e583c2fdaa787797d7.1792439398.git.vinicius.eduardo.pedrosa@gmail.com> <414bbb7a-1018-41ac-a580-cd41708c6a78@arm.com> <20261021175822.318717-1-vinicius.eduardo.pedrosa@gmail.com> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Hi Andre, On Mon, 30 Nov 2026, Andre Przywara wrote: > Thanks for that, looks simple enough. Now I'd just be interested what's > your use case here? Are you driving something through the serial port > that needs some runtime adjustment? Because normally I'd expect the > serial setup to be done first, while no transfers occur, and then never > change later again? My use case is the serial login console on the Cubie A7Z during mainline bring-up. I wasn't trying to support an application that keeps changing the serial settings. I found the problem on a normal boot. The console stopped handling interrupts after the first userspace termios change, before I got a login prompt. That was the false DLF detection: 0xc0 is UART_485_CTL on the A733 and its readback was taken as a DLF. It replaced the BUSY-safe divisor hook, and the IER restore ended up writing DLH. The clock gating is a separate issue. The A733 DT provides only the UART bus clock, and set_termios gates it around clk_set_rate, which can cut a character if TX is still active. With the CLOCAL test, five runs were corrupted without SKIP_SET_RATE and five were clean with it. The test forces termios changes during TX on purpose, and I haven't measured the corruption on a normal boot. > Just want to assess the urgency of those fixes. Only the stall hit me in normal use, and it broke the login console. The corruption I only have under stress. I agree the A733 binding shouldn't wait for the driver fixes. I'll retest the remaining patches on the current tty-next, with James's divisor fix applied, before posting the next revision. Thanks for reviewing the binding. Vinicius