From patchwork Thu Dec 19 11:13:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergiy Kibrik X-Patchwork-Id: 13914955 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 8B99CE7718A for ; Thu, 19 Dec 2024 11:13:51 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.861089.1273074 (Exim 4.92) (envelope-from ) id 1tOETJ-0005fD-6n; Thu, 19 Dec 2024 11:13:37 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 861089.1273074; Thu, 19 Dec 2024 11:13:37 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1tOETJ-0005f6-2U; Thu, 19 Dec 2024 11:13:37 +0000 Received: by outflank-mailman (input) for mailman id 861089; Thu, 19 Dec 2024 11:13:35 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1tOETH-0005f0-Nw for xen-devel@lists.xenproject.org; Thu, 19 Dec 2024 11:13:35 +0000 Received: from fforwardh-b1-smtp.messagingengine.com (fforwardh-b1-smtp.messagingengine.com [202.12.124.196]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 484d0bf8-bdfa-11ef-99a3-01e77a169b0f; Thu, 19 Dec 2024 12:13:33 +0100 (CET) Received: from phl-compute-04.internal (phl-compute-04.phl.internal [10.202.2.44]) by mailfforwardh.stl.internal (Postfix) with ESMTP id AD85F174015E; Thu, 19 Dec 2024 06:13:31 -0500 (EST) Received: from phl-frontend-02 ([10.202.2.161]) by phl-compute-04.internal (MEProxy); Thu, 19 Dec 2024 06:13:31 -0500 Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 19 Dec 2024 06:13:29 -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: 484d0bf8-bdfa-11ef-99a3-01e77a169b0f DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :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=fm1; t= 1734606811; x=1734693211; bh=EscSh3aArqHkcMCznEYltHV1sY9EFHqbKJX WGqeYTLE=; b=v8w0q5PBDhAbHZdIuL+KVlfajAoXlEqWmo/tOZsj1QSN/C0itCE 8ufdqFu3S5OTQJDrwFD7GGo2K5PHgRiXOZb0wMkL+6yVGWz313etEqwMr6im+Rcc F0S2dTVAlY/QxArSM0vkFmdxcTgroJJ2knbUYNB+MZ1+aLYlRFVA03zZN4YqRgbL 8WgLq+xMpC5wOCVojH5GFmtTzTEmky6WUOlDcuG2KODnrC8bI3HuI4kwCq3y2/q2 xLKnKE8ID9UEV24AblyxAYgAvClylBooThP+cTn1Z29h8lXdEwMsaR3yvbD5KU0j AQQ155iV/MRKi0jmYyYJYThIa+zz6iQv14A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddruddttddgvdegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhephffvvefufffkofgggfestdekredtredttdenucfh rhhomhepufgvrhhgihihucfmihgsrhhikhcuoefuvghrghhihigpmfhisghrihhksegvph grmhdrtghomheqnecuggftrfgrthhtvghrnhepffffvdeifeeijefhheefuedvvedtheff jeeiveehgfettedvgedujefgudejgedvnecuvehluhhsthgvrhfuihiivgeptdenucfrrg hrrghmpehmrghilhhfrhhomhepshgrkhhisgesuggrrhhkshhtrghrrdhsihhtvgdpnhgs pghrtghpthhtohepledpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepgigvnhdqug gvvhgvlheslhhishhtshdrgigvnhhprhhojhgvtghtrdhorhhgpdhrtghpthhtohepshgv rhhgihihpghkihgsrhhikhesvghprghmrdgtohhmpdhrtghpthhtohepjhgsvghulhhitg hhsehsuhhsvgdrtghomhdprhgtphhtthhopegrnhgurhgvfidrtghoohhpvghrfeestghi thhrihigrdgtohhmpdhrtghpthhtoheprhhoghgvrhdrphgruhestghithhrihigrdgtoh hmpdhrtghpthhtoheprghnthhhohhnhidrphgvrhgrrhgusehvrghtvghsrdhtvggthhdp rhgtphhtthhopehmihgthhgrlhdrohhriigvlhesrghmugdrtghomhdprhgtphhtthhope hjuhhlihgvnhesgigvnhdrohhrghdprhgtphhtthhopehsshhtrggsvghllhhinhhisehk vghrnhgvlhdrohhrgh X-ME-Proxy: Feedback-ID: i5d798b77: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?= , Anthony PERARD , Michal Orzel , Julien Grall , Stefano Stabellini Subject: [XEN PATCH] ioreq: fix check for CONFIG_ARCH_VCPU_IOREQ_COMPLETION Date: Thu, 19 Dec 2024 13:13:26 +0200 Message-Id: <20241219111326.3031000-1-Sergiy_Kibrik@epam.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 It should be CONFIG_ARCH_VCPU_IOREQ_COMPLETION (as in Kconfig) and not misspelled CONFIG_VCPU_ARCH_IOREQ_COMPLETION. Bug introduced by: 979cfdd3e5 ioreq: do not build arch_vcpu_ioreq_completion() for non-VMX configurations Signed-off-by: Sergiy Kibrik Acked-by: Andrew Cooper --- xen/arch/x86/hvm/ioreq.c | 2 +- xen/include/xen/ioreq.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/xen/arch/x86/hvm/ioreq.c b/xen/arch/x86/hvm/ioreq.c index 5c3d0c69aa..d6491df8e7 100644 --- a/xen/arch/x86/hvm/ioreq.c +++ b/xen/arch/x86/hvm/ioreq.c @@ -29,7 +29,7 @@ bool arch_ioreq_complete_mmio(void) return handle_mmio(); } -#ifdef CONFIG_VCPU_ARCH_IOREQ_COMPLETION +#ifdef CONFIG_ARCH_VCPU_IOREQ_COMPLETION bool arch_vcpu_ioreq_completion(enum vio_completion completion) { switch ( completion ) diff --git a/xen/include/xen/ioreq.h b/xen/include/xen/ioreq.h index 29a17e8ff5..4f3c6b598d 100644 --- a/xen/include/xen/ioreq.h +++ b/xen/include/xen/ioreq.h @@ -112,7 +112,7 @@ int ioreq_server_dm_op(struct xen_dm_op *op, struct domain *d, bool *const_op); bool arch_ioreq_complete_mmio(void); -#ifdef CONFIG_VCPU_ARCH_IOREQ_COMPLETION +#ifdef CONFIG_ARCH_VCPU_IOREQ_COMPLETION bool arch_vcpu_ioreq_completion(enum vio_completion completion); #else static inline bool arch_vcpu_ioreq_completion(enum vio_completion completion)