From patchwork Fri Dec 15 15:11:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rengarajan S X-Patchwork-Id: 18138 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:3b04:b0:fb:cd0c:d3e with SMTP id c4csp9351529dys; Fri, 15 Dec 2023 07:18:44 -0800 (PST) X-Google-Smtp-Source: AGHT+IHnoVfp+lxvuRFf3de1dXDn2sgeairIkuRqIPw6SjkDK7JG3/rYTtZ4fx/uN00SgCWXS4qR X-Received: by 2002:a17:902:d4cf:b0:1d0:8092:685 with SMTP id o15-20020a170902d4cf00b001d080920685mr13780609plg.100.1702653524684; Fri, 15 Dec 2023 07:18:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702653524; cv=none; d=google.com; s=arc-20160816; b=oLofnR3Ih1Xz+LvdBdsQJg1tjsoRh399KLb3IqtQpf3cP/J2R645smP9kl6/Ooei7F +KCP7OSASiLfQRdT4dJ4/ms61X8UEnFKVyraz7O0rkoLgCpG61mqZ4zGw+zQwaHytgJe YNWfmKjN6PHfVpCQUN+7VXdXcl63MJQAEw9qivvOaMo9YjQQKsCtYl+Ux24OKvxWREIE t3CVFjSaw0CNuquE7i3nyqLblW6vussRqar7aPq8MKZx3doXR8rXEjmLStNk7L0HnjYh hUtgZJbS81pkAjsENUKibN+PC1vtXJumsZQKh6vOAtFBqgbpNtZnzv0bp1vmDKj7DAsk 9+1w== ARC-Message-Signature: i=1; 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:message-id:date:subject:cc:to :from:dkim-signature; bh=LPWxTgkFYfJfhYOwOJf4tY56Xg0iiBYYx670PhLe+FM=; fh=IYeTocFpPRPtiRicbGlz46SNgMNUIDo9jwWJjG4iJ0Y=; b=VqXx6njRQyC6klkBSjSBAtwHuijENleXP6pc4qUji9+LNHr7uLtF80YtGRnVubAAnT fymti7ZKwJpDnB9nd2WzEDbPw/sOtbVbkX74Nf7MTGnQlXrlKzIE1K76oH2FFqv5E3hl hUrghFJ3+NuBKLxIUQnIoTt9u5daWmpJUQtus82OkkjwcUhz2Vg6s1F55948AnBXhvlZ x15r960QQZYXPpM2Pg47ZFZr5jL9aNsqIfmH5EtU7r2OOltbmTjRuLBqyuECY1j81yMX At/RBFEtAFl+r8GiLQkbfhRqWOc6Zbs44k3yzdZ0SI5WDfjO4CZgjsDMTM0BaJH9I5xY KogQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=p7olcrbW; spf=pass (google.com: domain of linux-kernel+bounces-1190-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1190-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id s22-20020a170902989600b001d07c2a582dsi13026172plp.507.2023.12.15.07.18.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 07:18:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-1190-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=p7olcrbW; spf=pass (google.com: domain of linux-kernel+bounces-1190-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1190-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 61AB628795B for ; Fri, 15 Dec 2023 15:16:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A538B3FB21; Fri, 15 Dec 2023 15:13:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="p7olcrbW" X-Original-To: linux-kernel@vger.kernel.org Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) (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 06AB83C6A3; Fri, 15 Dec 2023 15:13:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1702653210; x=1734189210; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=ybPCAvLgR8sMS4w/W/i9x0ElPfV/wtar3ypvuVot4nU=; b=p7olcrbWmAfiBHRdt0+dn1nEllp2wdqxhxxeEeycsvTnTJZmD2L3sked y96zHgRlGOp8321g7LKGLGLAqRjBoB5rwze5Qa0zk+e2p7li1h7zANWkF zixNrLesZ2GyEyAcjVZDIfM8SzGjdJUPdvjjdRCUzGVXmr/IO9LfVbJJf gJpQr8gF69ZwDrYuvScY5r90wBSc5mEam2FU8cvGcQ8Tzh2dAg2NB5VZQ RxtnoTOkZKCG/NvGMxgJaR6l7fsAIJdjHyZzO2EbkuDcUB4NEdfzcaAHw oxYz+5LvfNmeOPhrBu3k3FRcyYnP8hAICJDi5EA1H8lwF87RSC5t6kAgb g==; X-CSE-ConnectionGUID: ZSd0znorTjqGetiYJCobuQ== X-CSE-MsgGUID: JZz+o+VzS/2pohpxO5iIMQ== X-ThreatScanner-Verdict: Negative X-IronPort-AV: E=Sophos;i="6.04,279,1695711600"; d="scan'208";a="180577318" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa6.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 15 Dec 2023 08:13:20 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Fri, 15 Dec 2023 08:13:09 -0700 Received: from che-dk-ungapp03lx.microchip.com (10.10.85.11) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Fri, 15 Dec 2023 08:13:06 -0700 From: Rengarajan S To: , , , , , , , , CC: Subject: [PATCH v1 tty-next 0/4] 8250: microchip: Burst Mode Support for PCI1XXXX Date: Fri, 15 Dec 2023 20:41:19 +0530 Message-ID: <20231215151123.41812-1-rengarajan.s@microchip.com> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785361622488467668 X-GMAIL-MSGID: 1785361622488467668 This patch series improves the UART performance in PCI1XXXX from C0 rev using burst mode operation. Each transaction processes DWORDs at a time and the remaining bytes are handled byte-by-byte. With burst mode access the baud rate support is extended from 1.5 Mbps to 3.9 Mbps. v1 Initial Submission for review Rengarajan S (4): 8250: microchip: pci1xxxx: Rearranging the structure declarations 8250: microchip: pci1xxxx: Add Syslock support for reading UART system registers 8250: microchip: pci1xxxx: Add Burst mode reception support in uart driver for writing into FIFO 8250: microchip: pci1xxxx: Add Burst mode transmission support in uart driver for reading from FIFO drivers/tty/serial/8250/8250_pci1xxxx.c | 313 ++++++++++++++++++++++-- 1 file changed, 299 insertions(+), 14 deletions(-)