From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from fout-a3-smtp.messagingengine.com (fout-a3-smtp.messagingengine.com [103.168.172.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6C9EF259C for ; Thu, 17 Oct 2024 05:11:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=103.168.172.146 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729141922; cv=none; b=LfFUAKk50+M213D/jvv7FjFqNd/ITfszJmZCpJftKZP/hFlDsIejW8AVRj61x87kARD7HGte2q06wt2ZMLFQW7PJTAZViZrugUbgll43jUSFo5U3nB2fgefFXyi2ODXe/ytXGudEBNE3LbbyH+8W2716z7RtxI9+ULf7zoEPel0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729141922; c=relaxed/simple; bh=fNK3lAqMCXrTaiXReODT7ZcIduhjuQ6hhGKHv0Yov6E=; h=MIME-Version:Date:From:To:Cc:Message-Id:In-Reply-To:References: Subject:Content-Type; b=AsQ2wn08dsj9BoZxqzYODTmdGClA3yRGS0aBaEM6ZQ4ZinX0iEhBA3+crWZevHQFNzlYZGwT+h2HljCtCqVP5ZlWs6V1mad2+UFTqnLd9565qXL7DaUUSlARXWoQhH+jiS7zRYNxxHdQZqTKSLFeEpsxjCHwr5LDZtA8WElczJo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arndb.de; spf=pass smtp.mailfrom=arndb.de; dkim=pass (2048-bit key) header.d=arndb.de header.i=@arndb.de header.b=Z1Yc1AQu; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=V2xKV5tV; arc=none smtp.client-ip=103.168.172.146 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arndb.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arndb.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=arndb.de header.i=@arndb.de header.b="Z1Yc1AQu"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="V2xKV5tV" Received: from phl-compute-10.internal (phl-compute-10.phl.internal [10.202.2.50]) by mailfout.phl.internal (Postfix) with ESMTP id 2C34513801D7; Thu, 17 Oct 2024 01:11:59 -0400 (EDT) Received: from phl-imap-11 ([10.202.2.101]) by phl-compute-10.internal (MEProxy); Thu, 17 Oct 2024 01:11:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1729141919; x=1729228319; bh=417rKyW++kXoBCxiKYzXCjfYZVIaLYr4ooQeqr23rRc=; b= Z1Yc1AQua7MgpuMzhaklr7wC4Pxan3UQW1N62m1pfo28GyyCD7M56ul4vIXfzyHY LQyjwlwrZQQJ3rvIa0pCU53Mk9oq6Ut1xTm2al5EP4iAn4qR2KvgXybuJ0nTU685 ot6RHtldW4mruKsfcSuk1xx5IQeexHePSZDwHOBNlwBziXE612p1wmURM8PniquC hKCKsNxA8FokKlkRlBXz0BwRZx91KeifubXlXHhaFkJ3B0tDE1/a1tsVoPiTZgFR kKg+H8R5Wh0OLTTuJ+3SDjEWWohPogP1mkl9kB24EkpOZpI+3yPmjmbLdZXRV7wF fo5KqOmPMzWGdzKj9jelJQ== 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:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1729141919; x= 1729228319; bh=417rKyW++kXoBCxiKYzXCjfYZVIaLYr4ooQeqr23rRc=; b=V 2xKV5tVlvGHUKy1/9w+FwaVDS63SvtUdOUxEQcXLcq8VaFKyoi4fcuNPFUpL/l4x uy/zOaNzF7+IAfRTg5WUxGRbuMTr+Gaad0SsoLJy9CHyBMiMlI/NOyFzCJ9fDlI9 L6T9Fp/GVpPZBcMXYpyHfSkGCJutZn58nYWaHu4yiKmsqqu3wkYmsYG8BhUKBQ5c uEY2/1AKhBYSp08dXBTPDARJfZdSnyQfi1d3e6YZOyUlh9YSoTV//q4SPY+ZQq7T /jAmn0ioq2gsZAcRzkH0UKDU7JmR1LjkOT5WWbQ9T3TRltLFgzww2mcqL3W540hX L2fQ6gMv+5Gq2MB3CCsCQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdehtddgledvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhepofggfffhvfevkfgjfhfutgfgsehtjeertdertddt necuhfhrohhmpedftehrnhguuceuvghrghhmrghnnhdfuceorghrnhgusegrrhhnuggsrd guvgeqnecuggftrfgrthhtvghrnhephfdthfdvtdefhedukeetgefggffhjeeggeetfefg gfevudegudevledvkefhvdeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpe hmrghilhhfrhhomheprghrnhgusegrrhhnuggsrdguvgdpnhgspghrtghpthhtohepudeh pdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehsihhmohhnrgesfhhffihllhdrtg hhpdhrtghpthhtohepghgvvghrthdorhgvnhgvshgrshesghhlihguvghrrdgsvgdprhgt phhtthhopegrihhrlhhivggusehgmhgrihhlrdgtohhmpdhrtghpthhtohepshgvrghnjh gtsehgohhoghhlvgdrtghomhdprhgtphhtthhopehimhhrvgdruggvrghksehinhhtvghl rdgtohhmpdhrtghpthhtoheprhhoughrihhgohdrvhhivhhisehinhhtvghlrdgtohhmpd hrtghpthhtoheprghrnhgusehkvghrnhgvlhdrohhrghdprhgtphhtthhopehmrhhiphgr rhgusehkvghrnhgvlhdrohhrghdprhgtphhtthhopehjrghnihdrnhhikhhulhgrsehlih hnuhigrdhinhhtvghlrdgtohhm X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id 3034E2220071; Thu, 17 Oct 2024 01:11:57 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Date: Thu, 17 Oct 2024 05:11:37 +0000 From: "Arnd Bergmann" To: "Sean Christopherson" , "Arnd Bergmann" Cc: "Jani Nikula" , "Joonas Lahtinen" , "Rodrigo Vivi" , "Tvrtko Ursulin" , "Dave Airlie" , "Simona Vetter" , "Paolo Bonzini" , "Maxime Ripard" , "Geert Uytterhoeven" , "Imre Deak" , intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Message-Id: <6201c467-e5f2-4aa1-967c-8d9116c5367a@app.fastmail.com> In-Reply-To: References: <20241015152157.2955229-1-arnd@kernel.org> Subject: Re: [PATCH] i915: fix DRM_I915_GVT_KVMGT dependencies Content-Type: text/plain Content-Transfer-Encoding: 7bit On Thu, Oct 17, 2024, at 00:26, Sean Christopherson wrote: > On Tue, Oct 15, 2024, Arnd Bergmann wrote: >> diff --git a/drivers/gpu/drm/i915/Kconfig b/drivers/gpu/drm/i915/Kconfig >> index 46301c06d18a..985cb78d8256 100644 >> --- a/drivers/gpu/drm/i915/Kconfig >> +++ b/drivers/gpu/drm/i915/Kconfig >> @@ -118,9 +118,8 @@ config DRM_I915_USERPTR >> config DRM_I915_GVT_KVMGT >> tristate "Enable KVM host support Intel GVT-g graphics virtualization" >> depends on DRM_I915 >> - depends on X86 >> + depends on KVM_X86 > > Can GVT-g even work on non-Intel CPUs? I.e. would it make sense to take a > dependency on KVM_INTEL? > Yes, I think that should work, but I'm not sure if it needs a dependency on both KVM_INTEL and KVM_X86 in that case, to handle the link-time dependency in all configurations. Arnd