From nobody Wed Sep 10 05:48:27 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org ARC-Seal: i=1; a=rsa-sha256; t=1757365956; cv=none; d=zohomail.com; s=zohoarc; b=duy7BsrNC8OIJWSzCgw8B3J8bc4W1UGjHNWuF3RTaIcdRJuJjtfhdNF6bvKTgGBgTnwJZItHfmU9nPTMMO8OZGrvoPtxPjSfVmM60wewOsSGjC6tE56ZThtFR18J+Qj2iiEirgaH4LpMhUQO1pH52SFfTplzjnLmUfkBzYzQQOo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1757365956; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=KkUN0OllhKW27ZmsCBHTtMD+F/9dKnn+1KTiUiwT17c=; b=GfHGYGwriKF9Tl7p0E1+vV9z6aTfBUIeglvTEgCmQa0MjA0BqQioRyTDj/8SobFsM2h6dnne1F754INN4xHf56YzT/1unHyAXqB0xTok8S+fI8lYr3meOLKL88krz+4nTg4xA4KL6FOnJskzJUr3u0DW3z2QFtHNauZN3FfIbwg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1757365956615844.1165601324109; Mon, 8 Sep 2025 14:12:36 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.1115549.1462196 (Exim 4.92) (envelope-from ) id 1uvj9k-0002Kn-Qs; Mon, 08 Sep 2025 21:12:08 +0000 Received: by outflank-mailman (output) from mailman id 1115549.1462196; Mon, 08 Sep 2025 21:12:08 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1uvj9k-0002Io-LB; Mon, 08 Sep 2025 21:12:08 +0000 Received: by outflank-mailman (input) for mailman id 1115549; Mon, 08 Sep 2025 21:12:06 +0000 Received: from mail.xenproject.org ([104.130.215.37]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1uvj9i-0001qT-Hl for xen-devel@lists.xenproject.org; Mon, 08 Sep 2025 21:12:06 +0000 Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.96) (envelope-from ) id 1uvj9i-000FUt-0w; Mon, 08 Sep 2025 21:12:06 +0000 Received: from [19.12.91.86] (helo=localhost) by xenbits.xenproject.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1uvj9i-000gNQ-1A; Mon, 08 Sep 2025 21:12:06 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xen.org; s=20200302mail; h=Content-Transfer-Encoding:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:Cc:To:From; bh=KkUN0OllhKW27ZmsCBHTtMD+F/9dKnn+1KTiUiwT17c=; b=GbGd+yPlZZoKbzzS07p93lgEKd /XZqka49ao5ewWmTypg9sYU4phrlCfNqN+m1E/I6ATWtAkUxLj73rA7X57HPCylyyr9Q9vb4PkpWo 2PbzxoE11vg7Quxvny1g5Fn3hvcYiiFttggU2fx6GUYMhvyFlbejQLc3Qz3JyREeIsV8=; From: dmukhin@xen.org To: xen-devel@lists.xenproject.org Cc: andrew.cooper3@citrix.com, anthony.perard@vates.tech, jbeulich@suse.com, julien@xen.org, michal.orzel@amd.com, roger.pau@citrix.com, sstabellini@kernel.org, dmukhin@ford.com Subject: [PATCH v7 13/16] emul/ns16x50: add Kconfig options Date: Mon, 8 Sep 2025 14:11:46 -0700 Message-ID: <20250908211149.279143-14-dmukhin@ford.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20250908211149.279143-1-dmukhin@ford.com> References: <20250908211149.279143-1-dmukhin@ford.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @xen.org) X-ZM-MESSAGEID: 1757365958237116600 Content-Type: text/plain; charset="utf-8" From: Denis Mukhin =20 Add initial Kconfig options configure NS16550-capable emulator. Signed-off-by: Denis Mukhin --- Changes since v6: - new patch --- xen/common/emul/vuart/Kconfig | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/xen/common/emul/vuart/Kconfig b/xen/common/emul/vuart/Kconfig index ce1b976b7da7..9a49a6528b5a 100644 --- a/xen/common/emul/vuart/Kconfig +++ b/xen/common/emul/vuart/Kconfig @@ -3,4 +3,23 @@ config VUART_FRAMEWORK =20 menu "UART Emulation" =20 +config VUART_NS16X50 + bool "NS16550-compatible UART Emulator" if EXPERT + depends on X86 && HVM + select VUART_FRAMEWORK + help + In-hypervisor NS16550-compatible UART emulation. + + Only one legacy PC COM port is emulated for domain with a certain ID + (set via 'vuart-domid=3D' command line setting). + + This is strictly for testing purposes (such as early HVM guest console), + and not appropriate for use in production. + +config VUART_NS16X50_DEBUG + bool "Development: NS16550-compatible UART Emulator Debugging" + depends on VUART_NS16X50 && DEBUG + help + Enable development debugging. + endmenu --=20 2.51.0