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

[PATCH v3 2/2] ns16550: add support for ASIX AX99100 PCIe Multi-I/O controller


  • To: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Julien Grall <julien@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, "Stefano Stabellini" <sstabellini@xxxxxxxxxx>
  • From: Jiaqing Zhao <Zhao.Jiaqing@xxxxxxx>
  • Date: Mon, 11 May 2026 15:54:15 +0800
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=citrix.com 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=09anfy61K4RuK/0oYkCwZ4jVFWhXDaLGNl0OpQxgJOU=; b=N4qM8qUPUnw45MGNcih5z1Y08eh78JwvD4hz6vlji10OwOJAFvwnjDv5+xbsSjFsQihZ6/mQNlGL1qIg4hn2L3PyybWbUApKWda4XSnXVmP22dau3+m3pPtGbj7LwaczfKasCNQGTanTB0JEwpNcxTWx/kx8P5tvz+beoAUixHAWpVZshFYcyHuiGUi14fFhVKRCcR9Xl5KMW8KPrzL707BDgV4nyOExzKUA0JqzQLHJu/b9dIkMSz3sz8pKmocHMQNAGO+F/xWdBeaFeOTKdhITWUCLIQz+c8xVqIOwz8qVs3xtzY2mRZGujC7DQZOlw5UF/iqIYhESVDxYab4p3A==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=IpfuizC03LO09Mynfgf709o8gwGPglI+Hpcsgifl91CrK5kNDGabRPQfiM2I4/3RT9JLFszbGjBuaSJ8iz6SICBUM6evdFFB7PScgF+rmwrOOrcparx+7sK8EPSnK2O9qwhcUwLx/3Q5UlnQOO3gcTFM6K/UTiTSE+Qzo7J6MPU8bhqAHanxNj1BQ1lyyaEeyXN4zHB6gWTez+NvbkoGSuJlEVM3UBsnjr29uxlHD01eM9zXQ6Pt53fjvHGOd4tKnjgg8LzI9BU+NRL6c4Lc+rfK8NimOm3b151qcTgoQM1C9RoXbWkPC/0e1Xubt0w1ln9IDKBxnyyQPNUpb3mLjA==
  • 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: <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Jiaqing Zhao <Zhao.Jiaqing@xxxxxxx>
  • Delivery-date: Mon, 11 May 2026 07:55:29 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Add a PCI device table entry and matching parameter for the ASIX
AX99100 PCIe to Multi-I/O controller [125b:9910]. Each port on the
chip is a standalone PCI function, with UART registers on its I/O
BAR0.

Signed-off-by: Jiaqing Zhao <Zhao.Jiaqing@xxxxxxx>
---
 xen/drivers/char/ns16550.c | 15 +++++++++++++++
 xen/include/xen/pci_ids.h  |  2 ++
 2 files changed, 17 insertions(+)

diff --git a/xen/drivers/char/ns16550.c b/xen/drivers/char/ns16550.c
index cf10a06a3d..26503070dc 100644
--- a/xen/drivers/char/ns16550.c
+++ b/xen/drivers/char/ns16550.c
@@ -96,6 +96,7 @@ struct ns16550_config {
         param_exar_xr17v358,
         param_intel_lpss,
         param_wch_ch382,
+        param_asix,
     } param;
 };
 
@@ -872,6 +873,14 @@ static const struct ns16550_config_param __initconst 
uart_param[] = {
         .bar0 = 1,
         .max_ports = 2,
     },
+    [param_asix] = {
+        .base_baud = 115200,
+        .reg_width = 1,
+        .fifo_size = 256,
+        .lsr_mask = UART_LSR_THRE,
+        .bar0 = 1,
+        .max_ports = 1,
+    },
 };
 
 static const struct ns16550_config __initconst uart_config[] =
@@ -1212,6 +1221,12 @@ static const struct ns16550_config __initconst 
uart_config[] =
         .dev_id = 0x3253,
         .param = param_wch_ch382
     },
+    /* ASIX AX99100 PCIe to Multi I/O Controller */
+    {
+        .vendor_id = PCI_VENDOR_ID_ASIX,
+        .dev_id = 0x9910,
+        .param = param_asix
+    },
 };
 
 static int __init
diff --git a/xen/include/xen/pci_ids.h b/xen/include/xen/pci_ids.h
index 15e938225c..fd424ef55d 100644
--- a/xen/include/xen/pci_ids.h
+++ b/xen/include/xen/pci_ids.h
@@ -5,6 +5,8 @@
 
 #define PCI_VENDOR_ID_NVIDIA             0x10de
 
+#define PCI_VENDOR_ID_ASIX               0x125b
+
 #define PCI_VENDOR_ID_PERICOM            0x12d8
 
 #define PCI_VENDOR_ID_EXAR               0x13a8
-- 
2.53.0




 


Rackspace

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