Received: by 2002:ab2:7988:0:b0:1f4:b336:87c4 with SMTP id g8csp84042lqj; Thu, 11 Apr 2024 10:25:19 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXKmXOBsuTy7+FuleLLrJNoA92r0IQZ7bS1r8rn4+1Nvp7lubuJOWssVZdMiG/FQ2Lsha09b4Znxx5IVPF4pbD2hge4H5UiELx9UK17SA== X-Google-Smtp-Source: AGHT+IFyV7DFRjpZ5/5GAl+/nTjvXG42PGxrdQfDLIorAGFDmPO+QUstWB02xQv/3BHsGStY+sl5 X-Received: by 2002:a17:906:4a11:b0:a4e:865f:a77b with SMTP id w17-20020a1709064a1100b00a4e865fa77bmr224432eju.49.1712856319764; Thu, 11 Apr 2024 10:25:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712856319; cv=pass; d=google.com; s=arc-20160816; b=oAL92yJBGVuVi5pjAmDBQqKE+WSQY07LhjI2PiA6EQ60Uy7bZUbKxB5xF7gMg6XQCV HSD4CCTIArxmD8XJ/YbzCR1V4dJci08onns2w0zb5sR6V/iWct2zI2MYmeO/Z1TEYkCv J6EApccKrABb61/fgjS1iiPABn7Qq2Q6CoprZ/lgyK1LckxqCOL1Cu1fPjldvgZLKydu 3iWbfuIaexOaWz+ZHtUqkr5NLLcEBXRgTy8+8DRY8sQjJK9ogX3EF1XXa3QJcwqDBz6+ XIgL/B45mtrxMKHg35bV0LSYw/BIC4drr+rwiG57+M+ug0U4qmInvm4iddG/FXjRDAD0 1cCw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Q/bxdzjahaR7VB9fHLG2NGOyTV8IODuNmPlG0Mb1HlU=; fh=dzhUEiw6PL1E+fOrBoMF/vL/S7r95N1afEOJ2yvrgbw=; b=Y3C6yxfqI8qyZAkYmh9jLk6PLo9zjIr0DDzM2dRNBBJCHM+dWlHZrtSjlrPyxgEZsM UJX+p+2Tgq70qBpmv6y5MGTm4RqCScG6CHOq3T6+QVvvfPKyJQpT2BZo+x+iXnmWJ3hW Ir6HD3C9mpfWHDjfkaw8apPtzliPh0Xe1AmSm8iycrxv/PzHCMSLxIKntP7thysG6eX0 suLYOJW8OqhB/LIorg6C+ZQbeIMKv3LefochWxfISVITLTTQtGweLrfsuMbNzmBtYiOf FVDYjgrHW82LZZz3caFGgaNVaKpIhMAc9gDsLcXE/gAcjaexWJgSOVUfSPMcoewvjgOV kvhA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=d0S1AwPY; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-141241-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-141241-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id d1-20020a170906c20100b00a4753aa8962si922195ejz.804.2024.04.11.10.25.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Apr 2024 10:25:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-141241-linux.lists.archive=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=d0S1AwPY; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-141241-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-141241-linux.lists.archive=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 7D2051F21286 for ; Thu, 11 Apr 2024 17:25:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4F26258ACD; Thu, 11 Apr 2024 15:55:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="d0S1AwPY" 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 65F2A58ABC; Thu, 11 Apr 2024 15:55:58 +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=1712850958; cv=none; b=JoGeMHzOjxToDTtBSSTVaZm933CnONQePBz/9qg08IhMBBOeqCiMqheQhA57EpiyU4L2olgRUuX4NMLSorjbxp9tVLVFOqhvn4bYf1Pys9mkHX89wEcrbdLcUb/EuT6te7ZrlJqKE62dFivyIaTxbGA7YD8G61EWYVIUH9JSMT4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712850958; c=relaxed/simple; bh=FNDypULQLOQIN5BAJ/sEuXNcYZHkgcTlSvwD6wDdReY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=WBT0j5UmjNx5o51siL2WozGh0jonj9CZFZa4O791/o5oiM+0oXZVmbn74J5lx/pXQgo3rPhvmVXzZ5Tnf4KOo65UuRm5mnmECSLd9EkRLhQ76+F5/V4UuXY5XmiHr0q92aZ6PVFKZY6j5BrEBlstJ0Lk2WUBUoC692XBM3dTT7Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=d0S1AwPY; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 60298C4AF55; Thu, 11 Apr 2024 15:55:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1712850957; bh=FNDypULQLOQIN5BAJ/sEuXNcYZHkgcTlSvwD6wDdReY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=d0S1AwPY31L5PxKgjLdIxxbZC2FLVSjKhAWRlQuLWbRt+X0P4B3oAvPhN78O3e+a+ S+92EBxRGXtxH+8DNRt3/Zeph6UxT2GM3LeB8MLiVVgKZkVQbIt+RprVM9h+8re9sf /q7z/CkT3Adq4sijpCX5UVJAAMV+HnRgqU/QbGZY= Date: Thu, 11 Apr 2024 17:55:54 +0200 From: Greg Kroah-Hartman To: parker@finest.io Cc: Jiri Slaby , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, Bjorn Helgaas , linux-pci@vger.kernel.org, Parker Newman Subject: Re: [PATCH 2/2] serial: exar: adding CTI PCI/PCIe serial port support to 8250_exar Message-ID: <2024041147-flogging-straining-910c@gregkh> References: <9ffdef053f455c87f705dff169346bc10d307787.1712846026.git.pnewman@connecttech.com> 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=us-ascii Content-Disposition: inline In-Reply-To: <9ffdef053f455c87f705dff169346bc10d307787.1712846026.git.pnewman@connecttech.com> On Thu, Apr 11, 2024 at 11:29:27AM -0400, parker@finest.io wrote: > From: Parker Newman > > This patch adds support for most of Connect Tech's (CTI) PCI/PCIe > serial cards to the 8250_exar driver. > > Major changes: > - Added (optional) board_setup function called once during probe > - Added exar_get_nr_ports function > - Removed old Connect Tech setup functions > - Added new UART family based CTI setup functions > - Added PCI IDs entries for Exar XR17V25x and CTI FPGA based cards > - Added MPIO functions for configuring/setting a single MPIO > - Added support for reading from the Exar EEPROM When you need to list the different things you did in a single patch, that's a huge hint it needs to be broken up into smaller, easier to review, pieces. > > Signed-off-by: Parker Newman > --- > drivers/tty/serial/8250/8250_exar.c | 1089 +++++++++++++++++++++++++-- > 1 file changed, 1019 insertions(+), 70 deletions(-) Reviewing 1000 lines of changes at once that does different things, isn't easy. Please break this up into smaller, one-logical-step-at-a-time patches. thanks, greg k-h