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

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


  • To: xen-devel@xxxxxxxxxxxxxxxxxxxx, 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: Tue, 2 Jun 2026 13:41:00 +0800
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none
  • 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=KjLjKd9zOgeX8FDRwnBV3VRSkrUNaligsldIFJb7QRM=; b=iQ2/7fJEkfEGYbJpc4vLfIX599g1JEq/9TPmb/X+WH7CJ4rjxl5QzqpnU6Oj5O1uCnOwdJ/RhQ2qwdmsGD+LUNHgYpUMxw3k0PFKBEmv+0xwuryuyJYO9DL9C4VnBpTOp4pVIpdugF8TsJWcq/2pvvSc9eIiherCr0wRnmxpCbnE/taSNPOzQClAhDC1d8ZL8MmKWJ/rL/A0bmT88XEfFWC6fRdry/lx5bMpLeIxkaPmWctiwwQy0C8w1F9JmxcBosvdvlVKg2K+FUCNIQBVIX4WSwdlW3TU6+P9K9OKdIF/2l+hIO5Xz2HyYkc6WC22MxpHQK2ZCXBU/VaPK7eXVQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=wMYTNcdODrpgPW8S+RTvYXEKZqxrJtHljPsOPFKfqsV4pDAMqj7r1JrCnK2jV53LBAr1cgcyelzHhOmW+GRpXFSIxqZAbw5zH1EipGXSEl592kBYctl0bmlb1qtN4oZaj1iJPo6acgpXY7Vuohr8tWV11Bg64WkjSj4KV9YPnfxRZq4mntKet/fmcvl+HKcG9x5p2yJYIOffaxN7Y+SI4bh5GyU1/pGzZ3gEzLUrNatlM8TbXOioJlasHh0fOpmHqyjRmklU8edXtqmM/giNLxH31m8AQrZnC2SDCCGY65vgPAP77kvOMjV1VIgA2Ic6YGR68/4J1aI/eXKyomn2pw==
  • 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"
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com;
  • Delivery-date: Tue, 02 Jun 2026 05:41:23 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Hi all,

Apologies for the noise. I forgot to remove the incorrect tocmd in git 
sendemail config and
accidentally included the maintainers in --to instead of --cc when sending this 
patchset.

Sorry for the unnecessary notification. I'll be more careful with my git 
send-email recipients
next time.

Thanks,
Jiaqing

On 2026-06-02 13:34, Jiaqing Zhao wrote:
> 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>
> Reviewed-by: Stefano Stabellini <sstabellini@xxxxxxxxxx>
> ---
>  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




 


Rackspace

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