Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp2047227lqp; Tue, 16 Apr 2024 06:08:48 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVPJeZNb/UcVTYfcm6vI4WGw1Aeo86/pPqUro2lg6J07cxJuiSN1iPWdQNxj7KCdzc+e8PsnPDSmI+IDLkQJsAj5zLw+6hhmL5AA985ew== X-Google-Smtp-Source: AGHT+IHFqTR41tZhE8kVhA955QadAmLCijsard4N7ESx7ZjTgx5eV2QijpXfe96l1rI/xiMluCv9 X-Received: by 2002:a17:902:b184:b0:1dc:a605:5435 with SMTP id s4-20020a170902b18400b001dca6055435mr8794040plr.31.1713272928121; Tue, 16 Apr 2024 06:08:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713272928; cv=pass; d=google.com; s=arc-20160816; b=jtbaK2EzEjaq/daih4kSKGHSIySVoSQESY5FUNv7UpY9tGG9Vggl4Qu/k2ZvHg3NGI +wQDg21qtfBc6WCUU8043EjYEe3lBbDyZj2kiNbo2vdPLAZTGessZze2XHtL8rzm2hx5 BcZLjO16+NXPo1zkzHGuXJweICBr8C2dnVod92QNMW8xOTXQHCVMg6lUroiXNEecI1/T ujAFoLs8av9CuFTaHJRPDT6X36hlUdj4vS5Qrg+zCv40Dawe6bA7FAE9FvPat+a8cG+u 9+UyCyyR/2buERy+kmT+tSt29CuhEj/WX5Ns3SzfKUAPWM+lVLCWFAv4VkCt+9B/NapC 6Ang== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=ui-outboundreport:content-transfer-encoding:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:message-id:date :subject:cc:to:from:dkim-signature; bh=wL/KAbcH2tXEiPNBgmqFulNL95RAhinmWk+wtvoRBYc=; fh=UAlP0tWVS1VUiTuieYB0+FkAEm6iJ8ONagIjk60unwM=; b=Mi0FLPCOiEC0W3GqCCy5OwzEQQk9S37y4QZ/oAdLajoCtemag+RsS73lWyPHAKvMU0 8xW8PrHkXkJLoe4yuOsnYT7bhhWnGKf8XrVItqFKU+lay6YNiDd+m5SoTQ0dLSY36vJp +aEgKt8DQr9L5TPFzfpfX/ez/DnHhU8sgkkQKxD+z4YtAmuhQ3qUMR3WqUS+8vUd11az Dpuki26v3WkeKcmE5/tKs8ynJAEHkkLB7C5xyyjL5jJ8LJDSLVdyc9knFERw8vUhVU4R 0n01P52SSmzFh0Yogyo0SdYK2sI4z1b90hkcyRY5Fg2AKxaDo8qVovW6gknCuZO3O3/2 ItlA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@finest.io header.s=s1-ionos header.b=qzyu3HDw; arc=pass (i=1 spf=pass spfdomain=finest.io dkim=pass dkdomain=finest.io); spf=pass (google.com: domain of linux-kernel+bounces-146833-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-146833-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id q13-20020a170902f78d00b001e49cdc0631si10239855pln.259.2024.04.16.06.08.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Apr 2024 06:08:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-146833-linux.lists.archive=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=@finest.io header.s=s1-ionos header.b=qzyu3HDw; arc=pass (i=1 spf=pass spfdomain=finest.io dkim=pass dkdomain=finest.io); spf=pass (google.com: domain of linux-kernel+bounces-146833-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-146833-linux.lists.archive=gmail.com@vger.kernel.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 24A1C286137 for ; Tue, 16 Apr 2024 12:57:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0A8BC12C491; Tue, 16 Apr 2024 12:56:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=finest.io header.i=parker@finest.io header.b="qzyu3HDw" Received: from mout.perfora.net (mout.perfora.net [74.208.4.196]) (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 B613512BF17; Tue, 16 Apr 2024 12:56:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.208.4.196 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713272216; cv=none; b=WbAz8wMOjASHFIRjWR+5aYKstCRre24B5EfrhbNmHMFJD3/PjTdBAeNbBu6/xHfqn8CCvXWBa9aAmRJJdynJZnhaOveu0bh8EW+bQ5gvghj+hBPOt1cjRaweNDV8Yf3FmJhSQ+Jx739HtQBG3XYiI2hIM2/010y5li0l3IJr/2A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713272216; c=relaxed/simple; bh=MMQ3grICziFyYiJYeHdgPY+a770lc7HcR4L+n90Xu8Y=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=l9fRKSViV2O19EK+eHxSQfSeF/I4VzFvP/YJfqzJha0w1OiJSuQNGmpT8FvBsnR1xNH4HevPYIM0n2OcU6hCq2iw/lQ8AFVsIcf1Oh+RtxVkx4g67hhp9ifCziqqNUrSWnqvFJW2OTXkjpElvA/M5Ri8TyWPUGAHz0WAEVNNiNY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=finest.io; spf=pass smtp.mailfrom=finest.io; dkim=pass (2048-bit key) header.d=finest.io header.i=parker@finest.io header.b=qzyu3HDw; arc=none smtp.client-ip=74.208.4.196 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=finest.io Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=finest.io DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=finest.io; s=s1-ionos; t=1713272196; x=1713876996; i=parker@finest.io; bh=wL/KAbcH2tXEiPNBgmqFulNL95RAhinmWk+wtvoRBYc=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:Message-ID: MIME-Version:Content-Transfer-Encoding:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=qzyu3HDwk11sejv9EGlNAhtNrYsCXI0YD+LGDjygQGXJd9I3a792NvuTfWgqTaPS FvrOK/jFufSR2pF0CgEx+fuZV+zMnmts0cQ2c4R1XDtcHCjgLVQf3LcTg/n/NCv26 svSH//IdMVMZVHRx1I0qXRkyq9SDGDTMbWpbK10s/f9s8cx65q8XpJFop5JrC5E0f XVL0vYK2b4psEH0nwoMZszzLlbt0PPDCMiR+AostreDLJQEPkpxIanXQCIZ7HaTF4 hdvIPOaFiwKa5FtZTO1EudSfu5WbnxECLNjl+Ea4Ksjhc6Y2G1AwIWW87HcRW4yYa k36hjt/Ed71axIKckw== X-UI-Sender-Class: 55c96926-9e95-11ee-ae09-1f7a4046a0f6 Received: from finest.io ([98.159.241.229]) by mrelay.perfora.net (mreueus002 [74.208.5.2]) with ESMTPSA (Nemesis) id 0LsSYo-1su9aF3AFs-00udVd; Tue, 16 Apr 2024 14:56:35 +0200 From: Parker Newman To: Greg Kroah-Hartman , Jiri Slaby , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org Cc: Parker Newman Subject: [PATCH v3 0/8] serial: exar: add Connect Tech serial cards to Exar driver Date: Tue, 16 Apr 2024 08:55:27 -0400 Message-ID: X-Mailer: git-send-email 2.43.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:10U5Sb675CI7WDlz1l0p6GFG/u98AGH61P8kQoCcaEFMUXDTwdw /JNxfxDNGYjim5/F8Cz6yzstmR0rlIdO5JHBNVNn4cGg59oa3psi2lQXw7qgu2jfPeLNAV2 08J5IWGdg0ybsotCfYORDiXJPbtgP8rmP1NsRqjjzA6XlHKQoJ4HkpIs5pGsz/h/HfjAPzM Or78+RwwQWzXJZ7uWCdEA== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:ZVF0042suao=;qazLWPJ4GIcXFx+vT2hDiqx9AP/ PBtGww9i0xm0z3/KxVBz7SrlCkCWwXU+hAnI1iUUIf9O4V6YbBekMk6LWAUlvMNVMLoaxigvp sn/hiP26FwRGCjBKJhQKbARzINBaIo1X6vCSbUjQ/AaO0XF1mhFTVVqg1hX7cgvEt0k6XNOUb TfMN3V7QviOp2Ci9AxUkW/uxBWgbAl/koKWvt+uyvlkJAevBFlIjyld4eN5pGJuLmHmMpz9Co /Go8HxrKylqIvnTHPNQ6gCWBBOzDXjDxhfctxFZpuhQRcztPOG0WpcpsF9VMkEicYp1YqYE+i kZevMwtUqtU7b3qXoH2xbBkZL6jNJJYOrl6eYgH1zFGVL9V/rR1VlNPhAx8yzqLqIkEkcma7y Cq1nE0iEWnG0x31LhsLWV4ihgjP71BMU5ZxPPIz/E0MJEUCKv3USbPjU7kx/3nBo7YAUzwBl6 MfT8ktk/dfJ5uqAUSGH9JgzpTnTbzWQf/Xx5vfsJEaKm7H/+/Eb9kF9Imu35GStWNirn6aIEo BmBn8VWNjnBVaDkrcKfk/H7nc9r5v6i2eytrDxZHs80B7dw8PPLhmw17iKjZEr+FhQI6wmKrh TaZQLtpvhvQ5TKUM8UuVLTsnKltwgVIuZRTffU7DVTGXxPP/booS6sXdeBm2GCufcXg0fitUn LTvbqoBjNFpsKJ5mneaoIZEK+Dgk3LGWwdYpzXesgieO2CXo4rUP1+1q7ClOfx3lBE8YIxqAk 30vdRHCCoCdVIBTU1iV36EpTXs6R/rFVjQGUwOIlVviqIe/YSTie2g= From: Parker Newman Hello, These patches add proper support for most of Connect Tech's (CTI) Exar based serial cards. Previously, only a subset of CTI's cards would work with the Exar driver while the rest required the CTI out-of-tree driver. These patches are intended to phase out the out-of-tree driver. I am new to the mailing lists and contributing to the kernel so please let me know if I have made any mistakes or if you have any feedback. Changes in v2: - Put missing PCI IDs in 8250_exar.c instead of pci_ids.h - Split large patch into smaller ones Changes in v3: - Refactored patches to be easier to follow (based on feedback of v2) - Patch specific changes listed in corresponding patch Thank you, Parker Newman (8): serial: exar: adding missing CTI and Exar PCI ids serial: exar: remove old Connect Tech setup serial: exar: added a exar_get_nr_ports function serial: exar: add optional board_init function serial: exar: moved generic_rs485 further up in 8250_exar.c serial: exar: add CTI cards to exar_get_nr_ports serial: exar: add CTI specific setup code serial: exar: fix: fix crash during shutdown if setup fails drivers/tty/serial/8250/8250_exar.c | 1079 +++++++++++++++++++++++++-- 1 file changed, 1013 insertions(+), 66 deletions(-) base-commit: fec50db7033ea478773b159e0e2efb135270e3b7 =2D- 2.43.2