From patchwork Wed Nov 6 10:12:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergiy Kibrik X-Patchwork-Id: 13864300 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 04105D44D42 for ; Wed, 6 Nov 2024 10:13:30 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.830662.1245723 (Exim 4.92) (envelope-from ) id 1t8d24-00062y-AM; Wed, 06 Nov 2024 10:13:00 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 830662.1245723; Wed, 06 Nov 2024 10:13:00 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1t8d24-00062r-7j; Wed, 06 Nov 2024 10:13:00 +0000 Received: by outflank-mailman (input) for mailman id 830662; Wed, 06 Nov 2024 10:12:58 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1t8d22-00062l-8z for xen-devel@lists.xenproject.org; Wed, 06 Nov 2024 10:12:58 +0000 Received: from fforwardh-a1-smtp.messagingengine.com (fforwardh-a1-smtp.messagingengine.com [103.168.172.196]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id ad6b39c3-9c27-11ef-a0c6-8be0dac302b0; Wed, 06 Nov 2024 11:12:51 +0100 (CET) Received: from phl-compute-12.internal (phl-compute-12.phl.internal [10.202.2.52]) by mailfforwardh.phl.internal (Postfix) with ESMTP id 5CAD52920393; Wed, 6 Nov 2024 05:12:49 -0500 (EST) Received: from phl-frontend-02 ([10.202.2.161]) by phl-compute-12.internal (MEProxy); Wed, 06 Nov 2024 05:12:49 -0500 Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 6 Nov 2024 05:12:48 -0500 (EST) 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" X-Inumbo-ID: ad6b39c3-9c27-11ef-a0c6-8be0dac302b0 X-Custom-Connection: eyJyZW1vdGVpcCI6IjEwMy4xNjguMTcyLjE5NiIsImhlbG8iOiJmZm9yd2FyZGgtYTEtc210cC5tZXNzYWdpbmdlbmdpbmUuY29tIn0= X-Custom-Transaction: eyJpZCI6ImFkNmIzOWMzLTljMjctMTFlZi1hMGM2LThiZTBkYWMzMDJiMCIsInRzIjoxNzMwODg3OTcxLjI0MjYxNSwic2VuZGVyIjoic2FraWJAZGFya3N0YXIuc2l0ZSIsInJlY2lwaWVudCI6Inhlbi1kZXZlbEBsaXN0cy54ZW5wcm9qZWN0Lm9yZyJ9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pobox.com; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:message-id:mime-version:reply-to :subject:subject:to:to; s=fm2; t=1730887969; x=1730974369; bh=m/ jG6tGsHQwK9nng1wt6YeGprrQD02NB9JV8gioyKA4=; b=Q5FEBSWWLEPEfkCcUI e7kZl2L97VrMZVlejIgLTo2G2l8WnhndN2btZitGwumctl9Z6JxdeajC9X7tx485 PmlwObfVB9y5eEPm2rvpnafcM6Ou5XpeZRupcsOfTEQnb0Xt48BzEDqehUK3HXEa VvOYR2QcwIcDBtta8o2fWdkrMPV1KDmbdjU5cMgkgayqNuNXozQCo8mUPcH+kfrg WMvKF0QjM6uaXepMNqMXb+ZsMJCvm4o+D4VWb92JQZ+ktemDRTbzLaotCgzTpILq Zd60N6B3P6RpqphQxJLhMAyqJ+XqrnU/lyaoHEuZxriT8+9++63W+WljpaiVwojG dvYg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:message-id:mime-version:reply-to:subject :subject:to:to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1730887969; x=1730974369; bh=m/jG6tGsHQwK9nng1wt6YeGprrQD 02NB9JV8gioyKA4=; b=l08bbImjmzsKhJeXkCRcu8PjzXl8worUqH4cGUDrlmh2 T3BXWpEFXT0OE5QYJjqHO6I3UiOJKn0yH4aQIXjCA8YMHSDs/v31ZoLGRbGWpr5u xqxrhUbtIGE4dFYE1cf4dva5rzi2NR4OmP80UA8ypmfrZRKXMqz05sUFFojml/SU 3h6eqN6bnffqbKdWQOYIFhqAnqIbhL8lW+fMSnwB3oS2oP7e6+6IW616aD0DDteT /R3L+vfdFiEQE40hin7QYfptIcuOMamsMJdW6QwJw/UhHRZJGe5gNrYsvc/auxFC gclIu6lD7XUKs+V2zcSQdkZ04NCeK3t2tac4cwLhaQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrtddvgdduudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnth hsucdlqddutddtmdenucfjughrpefhvfevufffkffogggtgfesthekredtredtjeenucfh rhhomhepufgvrhhgihihucfmihgsrhhikhcuoefuvghrghhihigpmfhisghrihhksegvph grmhdrtghomheqnecuggftrfgrthhtvghrnhepffdvledvvefgvdejuedvvdevfedvueeg tefhtdevgeeggeeljeevjeetgeevtedtnecuffhomhgrihhnpehkvghrnhgvlhdrohhrgh enucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehsrghk ihgssegurghrkhhsthgrrhdrshhithgvpdhnsggprhgtphhtthhopeeipdhmohguvgepsh hmthhpohhuthdprhgtphhtthhopeigvghnqdguvghvvghlsehlihhsthhsrdigvghnphhr ohhjvggtthdrohhrghdprhgtphhtthhopehsvghrghhihigpkhhisghrihhksegvphgrmh drtghomhdprhgtphhtthhopehjsggvuhhlihgthhesshhushgvrdgtohhmpdhrtghpthht oheprghnughrvgifrdgtohhophgvrhefsegtihhtrhhigidrtghomhdprhgtphhtthhope hrohhgvghrrdhprghusegtihhtrhhigidrtghomhdprhgtphhtthhopehsshhtrggsvghl lhhinhhisehkvghrnhgvlhdrohhrgh X-ME-Proxy: Feedback-ID: i7ff1f533:Fastmail From: Sergiy Kibrik To: xen-devel@lists.xenproject.org Cc: Sergiy Kibrik , Jan Beulich , Andrew Cooper , =?utf-8?q?Roger_Pau_Monn=C3=A9?= , Stefano Stabellini Subject: [XEN PATCH v2 0/2] configurable stdvga & pmtimer emulation Date: Wed, 6 Nov 2024 12:12:43 +0200 Message-Id: X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Introduce build options for stdvga and ACPI PM timer emulation drivers to make them configurable with possibility to be disabled for finer-tuned setups that don't need this code. New config options reside in separate sub-menu, checks of emulation flags are added so that domain can't be created if it requires devices that had been disabled. Since previous series one patch merged into 2 others and review comments have been addressed (details are in per-patch changelogs). v1 series here: https://lore.kernel.org/xen-devel/cover.1728032664.git.Sergiy_Kibrik@epam.com/ -Sergiy Sergiy Kibrik (2): x86/hvm: introduce config option for ACPI PM timer x86/hvm: introduce config option for stdvga emulation xen/arch/x86/Kconfig | 23 +++++++++++++++++++++++ xen/arch/x86/domain.c | 7 ++++++- xen/arch/x86/hvm/Makefile | 4 ++-- xen/arch/x86/include/asm/acpi.h | 5 +++++ xen/arch/x86/include/asm/domain.h | 16 ++++++++++++---- xen/arch/x86/include/asm/hvm/domain.h | 2 ++ xen/arch/x86/include/asm/hvm/io.h | 4 ++++ xen/arch/x86/include/asm/hvm/vpt.h | 10 ++++++++++ 8 files changed, 64 insertions(+), 7 deletions(-)