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

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


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Jiaqing Zhao <Zhao.Jiaqing@xxxxxxx>
  • Date: Wed, 3 Jun 2026 00:13:19 +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=0SpoZNic4rcaI0BhSOmmTd8TpYSwesSiNFJ/rgC7NH4=; b=fHnciJ4YCb/ua34dNw47VEeq2AuHxDx6+sTS6TLIGB19k2w7OEywPqSHywGyhdnrw+i/1j8mYXYTZcEkjjBhkxvmFrkZh1Pdf2GPBSKyOuVpMWh0NsM187uZMhFynTI/vvQX3uhx5MZJXCz+Ygt+DOqBOLZ5H5Q4MKNxn1PNKXMwGOks48TAXUEEvurT1srEDEk846JoGDPGV4ikpLefpgTbY3iW5H2+VoTsAgJrLU0W4W8kUzZ/ZhKPGIf1LN2mOe8rOJn7a+HVdgft03vwHQHDIohhaYVDmpoA/euh1iPmYgnX7Qa8pcKG9OKW5sZsKLqgro9iYbGNKMCNOBnPZQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=hGrtAlJb2tmcJQEL3I0MK8WxzjSyNJ6P6VsU2tEJVceucZxwQ50l3whRGuO6bzs96o3OTrJOEivm89gQUUwcffA7GQKXfFZ1GixWZah7yG8pM5BroWWpyZnHNGjxwhLf3ALpnVsRMJFkSe7B9hUGp6cVpfbz+aq3tAbgqkTMgdrlq79lk22o6t9I9EP/c9NZr6A4El5hKUEp5pcJMxdjX/0vCtFWxrI1s3AlmFl7eOg68voKv16CUZXD5yY18j3dlzbGSf3435CMY8eMjc8uXJcmL4UVLj5G/+iexBVYNXHkJFFXG1HNtaKg+mq1JD9oHqApvSsqyiDVwABl4MRY9w==
  • 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: Tue, 02 Jun 2026 16:14:15 +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.

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

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®.