[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v6 0/3] ns16550: add support for WCH CH382 and ASIX AX99100


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Jiaqing Zhao <Zhao.Jiaqing@xxxxxxx>
  • Date: Wed, 10 Jun 2026 13:40:27 +0800
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0)
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=hYcRjw/JSrIgQEQ9O31SGZIlBoyb4G7AtR8nso0H1kc=; b=s1ndPnLYMIgRfjeX19tW4uIumM7oGbGcTo6wn+1NBrvoW9A4qAP+xB35n8WIG8JyBsqsmmbsc9pfGRMS0xbeVQufmZSDisBhMqWgN0WDocK+ULp3F1NGE/pl+8Kliz6Ef5Scb3OvQO3Mis/iZu8iK6XYT27Ym5H/63Ul2pPu4TRYGKbBHUC9/Nyijcb+aXAjaBCezuFqKMJQXxJnF+7oG1yMNzCUSfAAwyYpzxBfXqIHTuYB68CS+/Q2W9MToEWCtSZewd08GFSOeTNTbLukJoFfAGfudLiwNIgqTQD4dAuev+/u6Dpyt34DaUFLzdNf83QkAUPyucz4/2Ek57C1Hw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=lo9qQRAO24jVVbcDtmCcWccivd1sjDc+5I4DsehBQeVFfPCPbjg9bLWq0TFYMpjnbkfDCfHf+vBMPlf8HJZOwRakj0TgAiovSORHUT+AV8MngkjL+caOsp5aIvXmlwm1iGoi7LagHnBkI/0TQZO2j9k/YUwWd10OyVMe8dglzZmEKdWv9zrPS8fa888diFGMCLZYZfYDlm2KG33PD7+D+AOt+juGgKUqjgtbXjkJ9fPWFhRr2tqkhbWWed5JqnQVC5czHAgZ6Xc+qwh2VVDjIJkW4xG0JSLWBbsHvvfm15kTMJX0mkTldOvqlktienRq4cnGW+rtYystfJzKdZcDGw==
  • Authentication-results: eu.smtp.expurgate.cloud; dkim=pass header.s=selector1 header.d=amd.com header.i="@amd.com" header.h="From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck"
  • Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Julien Grall <julien@xxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, "Stefano Stabellini" <sstabellini@xxxxxxxxxx>, Jiaqing Zhao <Zhao.Jiaqing@xxxxxxx>
  • Delivery-date: Wed, 10 Jun 2026 05:41:08 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

This series adds ns16550 support for two PCIe serial adapters found on
market:

 - WCH (Nanjing Qinheng Microelectronics) CH382, available as
   CH382 2S [1c00:3253] and CH382 2S1P [1c00:3250].
 - ASIX AX99100 PCIe to Multi-I/O Controller [125b:9910].

Both chips expose 16550-compatible UARTs through PCI I/O BAR0 and
work with the existing ns16550 driver once a matching device table
entry and parameter set are added.

v6:
 - Add Reviewed-by from Denis and Acked-by from Jan.

v5:
 - Add Acked-by from Roger.
 - New patch 1/3: Initialize booleans in uart_param[] with "true"
   instead of 1, as suggested by Roger.

v4:
 - Add Reviewed-by from Stefano.

v3:
 - New patch 2/2: add support for ASIX AX99100.
 - Add forgotten Reviewed-by from Denis in patch 1/2 (WCH CH382).

v2:
 - Reorder entries in ns16550_config to keep them sorted by device ID.
 - Rename PCI_VENDOR_ID_WCH to PCI_VENDOR_ID_WCHIC as WCH has multiple
   vendor IDs.

Jiaqing Zhao (3):
  ns16550: properly initialize booleans in uart_param[]
  ns16550: add support for WCH CH382 serial adapters
  ns16550: add support for ASIX AX99100 PCIe Multi-I/O controller

 xen/drivers/char/ns16550.c | 68 +++++++++++++++++++++++++++++---------
 xen/include/xen/pci_ids.h  |  4 +++
 2 files changed, 57 insertions(+), 15 deletions(-)

-- 
2.53.0




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.