From nobody Fri Oct 10 09:19:29 2025 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 B4EC31DB546; Sat, 14 Jun 2025 18:50:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749927030; cv=none; b=bKzBAGpa6vMpgt5A+CwfKE1HmPtb8Y3epqW8/1GqcQF8HqgtlxhCY+jMfnU1D5943tRWXbUq5uZJgpFoaIILeVaoJ8mDm/OYs6b0ReC2wwAfp8MwXRA4qRjZ7LRePp2rDPHrxtJgHIwnZVSCMSGxYsrqoFBAJ6gcrM/kckqs4Zg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749927030; c=relaxed/simple; bh=11C2g5Brv0G8B5ZN6rVwoIkS/7FiIUxmhoLEJtBaxQM=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=BUkDzytdNgdxYXG2oDMqKPxl66r+qZbN9guLc0kCd05UhOvc3wEqoEpkJ32Zk3FIeQpG2heyaGYRFmJ+FKuP8Lc9TkGvzLs84GqcNyNojMX/zDqQvLv1mej+94bEdLjxaCiL+jcu2WYqnPxyWALinTJLOXIv+NwAq5qxYaIaMLs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=XO8sssex; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=uy5zKkVZ; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="XO8sssex"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="uy5zKkVZ" Date: Sat, 14 Jun 2025 07:41:08 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1749927027; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=gku2n3QfKUDzM7OB0nQnIdNsk2wqBgBrcPjFrXQmGco=; b=XO8sssexWkUKsfzSm20K/3vGKvWmH/W62ndvOIytDqZxILG1SDN2XBWSEqwb5kFGVxT4yO UMgXNR9hDndg2NmZ9KcG7a1TwTmhqmupQbYGDL1foVbXGgc/mzZn6W7yxMGIFSWjuN/MI/ /KgFcmtJdkptZHIdNQkJ5NKDavg17N/j+a2wh81gjaRzV32weRZP/ZKZUwEeiRpcLzrmYm 5CD/tupBiR6/AAiZWcf8LMHKD+u+NyeBJ644URKCt3xSDKE40HEtZlIsKpuoqSVDa4kpFu +85te9A4rD6GARkWoYwVG8beoQjyAo+NiFrU7HxBAEjaYwZ61sKTTeHL+6D3rQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1749927027; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=gku2n3QfKUDzM7OB0nQnIdNsk2wqBgBrcPjFrXQmGco=; b=uy5zKkVZwtSs/4qxgKRZuM7ez5PDmXX7GSiU4KNt4vgReoJjoEfzSuk5Q0x5sYmfDX3knt bycxx6ngYfPwtdBw== From: "tip-bot2 for Ingo Molnar" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/kconfig] x86/kconfig/defconfig: Enable CONFIG_DRM_FBDEV_EMULATION=y Cc: Michael Kelley , Ingo Molnar , Vitaly Kuznetsov , Peter Zijlstra , Ard Biesheuvel , Arnd Bergmann , David Woodhouse , "H. Peter Anvin" , jgross@suse.com, Linus Torvalds , Masahiro Yamada , Michal Marek , linux-kernel@vger.kernel.org, x86@kernel.org In-Reply-To: =?utf-8?q?=3CSN6PR02MB4157B1676A6284ECD21E494FD490A=40SN6PR02MB?= =?utf-8?q?4157=2Enamprd02=2Eprod=2Eoutlook=2Ecom?= # Discussion> References: =?utf-8?q?=3CSN6PR02MB4157B1676A6284ECD21E494FD490A=40SN6PR02M?= =?utf-8?q?B4157=2Enamprd02=2Eprod=2Eoutlook=2Ecom?= # Discussion> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <174988686864.406.18261837065176549919.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable The following commit has been merged into the x86/kconfig branch of tip: Commit-ID: 7ce421edd9fc5a762aeb625cc682cb793ec859d7 Gitweb: https://git.kernel.org/tip/7ce421edd9fc5a762aeb625cc682cb793= ec859d7 Author: Ingo Molnar AuthorDate: Sat, 14 Jun 2025 09:10:55 +02:00 Committer: Ingo Molnar CommitterDate: Sat, 14 Jun 2025 09:30:35 +02:00 x86/kconfig/defconfig: Enable CONFIG_DRM_FBDEV_EMULATION=3Dy Michael Kelley reported that the x86 defconfig *almost* works well on Hyper-V guests out of box, with the exception of console support: > I built and tested a Hyper-V guest with defconfig. The Hyper-V storage > and keyboard drivers are pulled in automatically. [...] > > But the Linux console for each Hyper-V guest is a synthetic graphics > console, and that didn't work with the DRM_HYPERV driver. Missing > the console pretty much kills any usefulness. DRM doesn't have > Linux console support, so it needs CONFIG_DRM_FBDEV_EMULATION > to be set, and defconfig doesn't have it. So enable CONFIG_DRM_FBDEV_EMULATION. Also enable the dependent CONFIG_FRAMEBUFFER_CONSOLE_ROTATION option (disabled by default), as all major Linux distros have it enabled, probably as a sysadmin quality-of-life option: .config.distro.debian.x86_32: CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=3Dy .config.distro.fedora.generic: CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=3Dy .config.distro.opensuse.default: CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=3Dy .config.distro.rhel.generic: CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=3Dy .config.distro.ubuntu: CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=3Dy There's no measurable build time impact within ~1% stddev: $ perf stat --null --repeat 3 --sync --pre=3D'make clean >/dev/null' make= -j128 bzImage >/dev/null Performance counter stats for 'make -j128 bzImage' (3 runs): # before: 33.759 +- 0.286 seconds time elapsed ( +- 0.85% ) # after: 33.593 +- 0.314 seconds time elapsed ( +- 0.94% ) Suggested-by: Michael Kelley Signed-off-by: Ingo Molnar Acked-by: Vitaly Kuznetsov Cc: Peter Zijlstra Cc: Ard Biesheuvel Cc: Arnd Bergmann Cc: David Woodhouse Cc: H. Peter Anvin Cc: J=C3=BCrgen Gro=C3=9F Cc: Linus Torvalds Cc: Masahiro Yamada Cc: Michal Marek Cc: linux-kernel@vger.kernel.org Link: https://lore.kernel.org/r/SN6PR02MB4157B1676A6284ECD21E494FD490A@SN6P= R02MB4157.namprd02.prod.outlook.com # Discussion --- arch/x86/configs/i386_defconfig | 2 ++ arch/x86/configs/x86_64_defconfig | 3 +++ 2 files changed, 5 insertions(+) diff --git a/arch/x86/configs/i386_defconfig b/arch/x86/configs/i386_defcon= fig index aeba958..39a660d 100644 --- a/arch/x86/configs/i386_defconfig +++ b/arch/x86/configs/i386_defconfig @@ -239,8 +239,10 @@ CONFIG_AGP=3Dy CONFIG_AGP_AMD64=3Dy CONFIG_AGP_INTEL=3Dy CONFIG_DRM=3Dy +CONFIG_DRM_FBDEV_EMULATION=3Dy CONFIG_DRM_VIRTIO_GPU=3Dy CONFIG_DRM_HYPERV=3Dy +CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=3Dy CONFIG_SOUND=3Dy CONFIG_SND=3Dy CONFIG_SND_HRTIMER=3Dy diff --git a/arch/x86/configs/x86_64_defconfig b/arch/x86/configs/x86_64_de= fconfig index c20100d..b5dc26f 100644 --- a/arch/x86/configs/x86_64_defconfig +++ b/arch/x86/configs/x86_64_defconfig @@ -116,6 +116,7 @@ CONFIG_ANON_VMA_NAME=3Dy CONFIG_USERFAULTFD=3Dy CONFIG_LRU_GEN=3Dy CONFIG_LRU_GEN_ENABLED=3Dy +# CONFIG_DAMON is not set CONFIG_NET=3Dy CONFIG_PACKET=3Dy CONFIG_XFRM_USER=3Dy @@ -248,8 +249,10 @@ CONFIG_AGP=3Dy CONFIG_AGP_AMD64=3Dy CONFIG_AGP_INTEL=3Dy CONFIG_DRM=3Dy +CONFIG_DRM_FBDEV_EMULATION=3Dy CONFIG_DRM_VIRTIO_GPU=3Dy CONFIG_DRM_HYPERV=3Dy +CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=3Dy CONFIG_SOUND=3Dy CONFIG_SND=3Dy CONFIG_SND_HRTIMER=3Dy