From patchwork Mon Nov 18 20:34:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergiy Kibrik X-Patchwork-Id: 13879032 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 697F4D591B1 for ; Mon, 18 Nov 2024 20:35:00 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.839524.1255316 (Exim 4.92) (envelope-from ) id 1tD8SH-0003wL-CC; Mon, 18 Nov 2024 20:34:41 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 839524.1255316; Mon, 18 Nov 2024 20:34:41 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1tD8SH-0003wE-9i; Mon, 18 Nov 2024 20:34:41 +0000 Received: by outflank-mailman (input) for mailman id 839524; Mon, 18 Nov 2024 20:34:39 +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 1tD8SF-0003w6-R6 for xen-devel@lists.xenproject.org; Mon, 18 Nov 2024 20:34:39 +0000 Received: from fforwardh-b3-smtp.messagingengine.com (fforwardh-b3-smtp.messagingengine.com [202.12.124.198]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 8589f04b-a5ec-11ef-a0c9-8be0dac302b0; Mon, 18 Nov 2024 21:34:35 +0100 (CET) Received: from phl-compute-05.internal (phl-compute-05.phl.internal [10.202.2.45]) by mailfforwardh.stl.internal (Postfix) with ESMTP id 823CB17403CE; Mon, 18 Nov 2024 15:34:33 -0500 (EST) Received: from phl-frontend-02 ([10.202.2.161]) by phl-compute-05.internal (MEProxy); Mon, 18 Nov 2024 15:34:33 -0500 Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 18 Nov 2024 15:34:32 -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: 8589f04b-a5ec-11ef-a0c9-8be0dac302b0 X-Custom-Connection: eyJyZW1vdGVpcCI6IjIwMi4xMi4xMjQuMTk4IiwiaGVsbyI6ImZmb3J3YXJkaC1iMy1zbXRwLm1lc3NhZ2luZ2VuZ2luZS5jb20ifQ== X-Custom-Transaction: eyJpZCI6Ijg1ODlmMDRiLWE1ZWMtMTFlZi1hMGM5LThiZTBkYWMzMDJiMCIsInRzIjoxNzMxOTYyMDc1LjQxNDcxNSwic2VuZGVyIjoic2FraWJAZGFya3N0YXIuc2l0ZSIsInJlY2lwaWVudCI6Inhlbi1kZXZlbEBsaXN0cy54ZW5wcm9qZWN0Lm9yZyJ9 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=1731962073; x=1732048473; bh=JPxOc4/0PlCvpZ0ob2sJAfYSLeuH 6RBTXPYFrwsJfpM=; b=VbpsCEmdkJhbnYlTmj6Qr15VDqUPkIEIQSArqtePl5CL 4NqZwO+x8HbivBPepfmc3oXhAULqt815pwXBPGXupEpUY8rGLI5wsFJFUQ6mxAXs /NKqEhK+SPX2soF4jN1Kj8GMODQyZPklm680gf+MvOR2WV+nEb1JGGTVXZAQTLhb UpLjtvRH8cuRNY0GW4DAtSYAlPS4Q26KZu2AFp8Q7If19XoRDxpz88N59b8xp6k4 l4yVc2x/0e/7sYt6XaZWxhzmvK11pRWa39Vvz4Gfhu0VF1+zSMhoMVaG0/w5CXM3 nDLpuAGXe+W1DOMyz3yI+fbQINLaCuL87qv/+PDAGQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrfedtgddufeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhephffvvefufffkofggtgfgsehtkeertdertdejnecu hfhrohhmpefuvghrghhihicumfhisghrihhkuceoufgvrhhgihihpgfmihgsrhhikhesvg hprghmrdgtohhmqeenucggtffrrghtthgvrhhnpeffvdelvdevgfdvjeeuvddvveefvdeu geethfdtveeggeegleejveejteegveettdenucffohhmrghinhepkhgvrhhnvghlrdhorh hgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepshgr khhisgesuggrrhhkshhtrghrrdhsihhtvgdpnhgspghrtghpthhtohepiedpmhhouggvpe hsmhhtphhouhhtpdhrtghpthhtohepgigvnhdquggvvhgvlheslhhishhtshdrgigvnhhp rhhojhgvtghtrdhorhhgpdhrtghpthhtohepshgvrhhgihihpghkihgsrhhikhesvghprg hmrdgtohhmpdhrtghpthhtohepjhgsvghulhhitghhsehsuhhsvgdrtghomhdprhgtphht thhopegrnhgurhgvfidrtghoohhpvghrfeestghithhrihigrdgtohhmpdhrtghpthhtoh eprhhoghgvrhdrphgruhestghithhrihigrdgtohhmpdhrtghpthhtohepshhsthgrsggv lhhlihhniheskhgvrhhnvghlrdhorhhg X-ME-Proxy: Feedback-ID: ifd9ba90e: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 v3 0/2] configurable stdvga & pmtimer emulation Date: Mon, 18 Nov 2024 22:34:27 +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. Minor changes since previous series, details provided in per-patch changelogs. v2 series here: https://lore.kernel.org/xen-devel/cover.1730887415.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 | 13 ++++++++++++- 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, 70 insertions(+), 7 deletions(-)