From mboxrd@z Thu Jan 1 00:00:00 1970 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AADC6C433EF for ; Tue, 16 Nov 2021 14:33:54 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 7686861A79 for ; Tue, 16 Nov 2021 14:33:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 7686861A79 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=suse.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.xenproject.org Received: from list by lists.xenproject.org with outflank-mailman.226315.391036 (Exim 4.92) (envelope-from ) id 1mmzWb-0001ld-CY; Tue, 16 Nov 2021 14:33:29 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 226315.391036; Tue, 16 Nov 2021 14:33:29 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1mmzWb-0001lW-9Z; Tue, 16 Nov 2021 14:33:29 +0000 Received: by outflank-mailman (input) for mailman id 226315; Tue, 16 Nov 2021 14:33:27 +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 1mmzWZ-0001lN-K5 for xen-devel@lists.xenproject.org; Tue, 16 Nov 2021 14:33:27 +0000 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 28086a12-46ea-11ec-a9d2-d9f7a1cc8784; Tue, 16 Nov 2021 15:33:25 +0100 (CET) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 3C61B2193C; Tue, 16 Nov 2021 14:33:25 +0000 (UTC) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 0EF2B13BAE; Tue, 16 Nov 2021 14:33:25 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 1sJ0AjXBk2EEGwAAMHmgww (envelope-from ); Tue, 16 Nov 2021 14:33:25 +0000 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: 28086a12-46ea-11ec-a9d2-d9f7a1cc8784 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1637073205; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=RN73WCaI8ljpUhVqo26XGliZVk9RTxTm02hvTAgXtAg=; b=Ix/M4CSo6AbjQJA+iGmiKSfudM/ceqO3tzFqj3tSGY7C84To/aSMZ2FE3CJ85liPpG1b9d B0hCRJnX+ZwBzfPtQHPYwSiY/fCInxhcmeF6PrkBjqq/Iz/UgExjVMGbBW1GRJgnpTnzse 91OKAXqBVyFgGVjSljDQ+aK/jWSlC88= From: Juergen Gross To: xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org Cc: linux@weissschuh.net, Juergen Gross , Boris Ostrovsky , Stefano Stabellini Subject: [PATCH] xen/privcmd: make option visible in Kconfig Date: Tue, 16 Nov 2021 15:33:23 +0100 Message-Id: <20211116143323.18866-1-jgross@suse.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This configuration option provides a misc device as an API to userspace. Make this API usable without having to select the module as a transitive dependency. This also fixes an issue where localyesconfig would select CONFIG_XEN_PRIVCMD=m because it was not visible and defaulted to building as module. Based-on-patch-by: Thomas Weißschuh Signed-off-by: Juergen Gross --- drivers/xen/Kconfig | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/xen/Kconfig b/drivers/xen/Kconfig index a1b11c62da9e..a2e91d3ca372 100644 --- a/drivers/xen/Kconfig +++ b/drivers/xen/Kconfig @@ -259,9 +259,14 @@ config XEN_SCSI_BACKEND if guests need generic access to SCSI devices. config XEN_PRIVCMD - tristate + tristate "Xen hypercall passthrough driver" depends on XEN default m + help + The hypercall passthrough driver allows user land programs to perform + Xen hypercalls. This driver is normally required for systems running + as Dom0 to perform privileged operations, but in some disaggregated + Xen setups this driver might be needed for other domains, too. config XEN_ACPI_PROCESSOR tristate "Xen ACPI processor" -- 2.26.2