From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from muru.com (muru.com [72.249.23.125]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6183D101E1 for ; Wed, 6 Sep 2023 15:26:19 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 897528050; Wed, 6 Sep 2023 15:26:17 +0000 (UTC) Date: Wed, 6 Sep 2023 18:26:16 +0300 From: Tony Lindgren To: Marc Haber Cc: Sean Christopherson , Bagas Sanjaya , linux-kernel@vger.kernel.org, Linux Regressions , Linux KVM , Paolo Bonzini Subject: Re: Linux 6.5 speed regression, boot VERY slow with anything systemd related Message-ID: <20230906152616.GE11676@atomide.com> References: <20230901122431.GU11676@atomide.com> Precedence: bulk X-Mailing-List: regressions@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: * Marc Haber [230906 14:41]: > With my tools I have found out that it really seems to be related to the > CPU of the host. I have changed my VM definition to "copy host CPU > configuration to VM" in libvirt and have moved this very VM (image and > settings) to hosts with a "Ryzen 5 Pro 4650G" and to an "Intel Xeon > E3-1246" where they work flawlessly, while on both APUs I have available > ("AMD G-T40E" and "AMD GX-412TC SOC") the regression in 6.5 shows. And > if I boot other VMs on the APUs with 6.5 the issue comes up. It is a > clear regression since going back to 4.6's serial code solves the issue > on the APUs. Not sure why the CPU matters here.. One thing to check is if you have these in your .config: CONFIG_SERIAL_CORE=y CONFIG_SERIAL_CORE_CONSOLE=y Or do you maybe have CONFIG_SERIAL_CORE=m as loadable module? If you have CONFIG_SERIAL_CORE=m, maybe you need to modprobe serial_base if you have some minimal rootfs that does not automatically do it for you. Regards, Tony