From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 5D8FD13D600; Tue, 23 Jul 2024 18:32:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721759575; cv=none; b=C80M/JzLwSpC25Fu30pvubb8jXz6+PERLDNL4iTwhQawsWbRR/6sc6hm6n5Vi6xyb+uCpxnCUeZd+khfjW4BDXnnXI3r4C/BsToAatzMT6Mru9I94uyjkCKFbZlE+4LK8GJiWXwWMTciybVTEVcAfMCVE9Q8PFVUkbDBcsfknHc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721759575; c=relaxed/simple; bh=i7r3UQYoWrdI9kcI6Ep9W2puxwIKf+dwf8gMxM5V4ZU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=uvaroAb7g59aD35ozHsRme2ybh5auTLYMfDWBDqGn99cjup30rkGqs4+BsmX3yy06ZDARZuErcKwB7UXN/KhUjUFkCcSdIVi96W3JS+RmVTMshxbkhmGWMOPk0fb4BfjSs+TYWc0JYO93HamojmCSN4MdzfZgGHMKDwsF+YD2uk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=pXuGJ9S8; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="pXuGJ9S8" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D09A5C4AF0A; Tue, 23 Jul 2024 18:32:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1721759575; bh=i7r3UQYoWrdI9kcI6Ep9W2puxwIKf+dwf8gMxM5V4ZU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pXuGJ9S8FoOyTvMo+peTdj86BQFgNbYd/U2nVQOYG1GCzJ3KSyfZcIETaNun44md3 lccgkKNc0fCIcGBcQKdxbi3NJbApr+iEPXFb5aevdOl/lEDiaQ93+im2NEwT7WEMWW /4J74H8yoyskc2rezQI5H9aD5ZWqOEzmzfd/7gPQ= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, kernel test robot , Alexey Makhalov , "Borislav Petkov (AMD)" , Sasha Levin Subject: [PATCH 6.6 055/129] drm/vmwgfx: Fix missing HYPERVISOR_GUEST dependency Date: Tue, 23 Jul 2024 20:23:23 +0200 Message-ID: <20240723180406.914494152@linuxfoundation.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240723180404.759900207@linuxfoundation.org> References: <20240723180404.759900207@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.6-stable review patch. If anyone has any objections, please let me know. ------------------ From: Alexey Makhalov [ Upstream commit 8c4d6945fe5bd04ff847c3c788abd34ca354ecee ] VMWARE_HYPERCALL alternative will not work as intended without VMware guest code initialization. [ bp: note that this doesn't reproduce with newer gccs so it must be something gcc-9-specific. ] Closes: https://lore.kernel.org/oe-kbuild-all/202406152104.FxakP1MB-lkp@intel.com/ Reported-by: kernel test robot Signed-off-by: Alexey Makhalov Signed-off-by: Borislav Petkov (AMD) Link: https://lore.kernel.org/r/20240616012511.198243-1-alexey.makhalov@broadcom.com Signed-off-by: Sasha Levin --- drivers/gpu/drm/vmwgfx/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/vmwgfx/Kconfig b/drivers/gpu/drm/vmwgfx/Kconfig index faddae3d6ac2e..6f1ac940cbae7 100644 --- a/drivers/gpu/drm/vmwgfx/Kconfig +++ b/drivers/gpu/drm/vmwgfx/Kconfig @@ -2,7 +2,7 @@ config DRM_VMWGFX tristate "DRM driver for VMware Virtual GPU" depends on DRM && PCI && MMU - depends on X86 || ARM64 + depends on (X86 && HYPERVISOR_GUEST) || ARM64 select DRM_TTM select DRM_TTM_HELPER select MAPPING_DIRTY_HELPERS -- 2.43.0