From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 4BA4E4ADD9D; Thu, 2 Jul 2026 14:07:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783001242; cv=none; b=dVzD1S1Ntqc8S0IPWYGO9jCyd2S16libQIMjBbxyut2PhUtLGX44SVm8LaSgbn91UOYNzdI7uBvFEDftvHoT8f0n5GH0G4XadEoT0Ysx/svWCktsV1nIpxuAKTcYY8t3z1+5toUoOu5fG9m0eeEyrVCJm7TDdb7tSgJZlz0UhLE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783001242; c=relaxed/simple; bh=Mcy2l8Ak5QnfHc6U+494XBnpd6E/K9FucMu2tYmWpfw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=R+tkxJOY2DVKKqtPCW6y4LNOJcH/oQmpwt8t63gYalcX9RZzgVcmq1GoyW0apDxg3VLgp82fzcpt20yqnwaSQree7UQnaHLGjc2EuOKTnzHEfI/0gFZBC7Z0gQPQ0xIbNF75J1Qe3b7txXg4F+7p/iMOLrIsY91Ri37HNfHHJhs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=PSSXjRy8; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="PSSXjRy8" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8209C1F00A3A; Thu, 2 Jul 2026 14:07:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1783001241; bh=J4TDctaT9B+X+zPqki1x9fmk8MLNfGToi4HsS7g0NBU=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=PSSXjRy8wM5BCUB6QUnHL0gGBAsAFbYa4uhrhW6hQo/3aVF1NsaClsPuO/KgLf+n6 XjGzN/ODONQWuOIHI0XrbjZFXuYv/rilrd0LJYWSVVy7fU/RIN6gXcX2OH8i5ockYb PXnp//bzLzHvHgjlINfGtkd1p1LbUpjEQQv6ECqP+lnvndJsOwLbxE067VfCbmy0FO B3P3wgG9ogk6QcdwDPhP5v6truCiqjtv4/BJi8LXk1lSDtrTOvZ3HWPCm4RuFVpo+n 06FY3S0C/32fJ1G6SJqnMupRim2pKrnyYx4ilbxX6FZXNn3pm/6QhtDxFs6JbPtCte zDmNT6db5NyQQ== Received: from phl-compute-11.internal (phl-compute-11.internal [10.202.2.51]) by mailfauth.phl.internal (Postfix) with ESMTP id 98BC3F40073; Thu, 2 Jul 2026 10:07:19 -0400 (EDT) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-11.internal (MEProxy); Thu, 02 Jul 2026 10:07:19 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: dmFkZTFUM6GxX1Kgnzd8GV9GokXanMJuwqfF95TXt1vel74GIqYnWXFVd3EMFZzaIif8uk dNQtx264nUI5xZufMVbneeLsugpVtMYDGSnAYAELWyRr7iw5/nTcdQKg+HBdW4zN04PVlM Gf3BjHaEl/XbSY2VNc7yrNih+eQ3mfhMl3DCeHDleYks6SsmZ3aw5o3ax3OSzSj7zshtfs XD6QvagOSUKlM6ijjNjXdlA2I9Kyp8/20SSqgTchbmexu5a1d/BpLCj5zUgtVEfRlvw+TJ rPwuhdxfo+Nt3T7ctVXkXu9AoiV331aCMrb3AoW6PCx6oSnC+DTKvw8eem2dh7HTKGKAj3 lEu57zCoDf/obB/ZQTotfyvUctelXPHnCV8mbC5xhUSaR4m09uJ3ryw8NTb5A1S7ZlIyAf zwwbeyICzCgMuGtGR6L9cQsebUGGM1ArV53xusl48+T7C1Nbt9RLxQT0Al3J7dRf6iiyqL /G72XgQj3+/f1aV65O7hDqNT9eXZbRZxqTelNtZPL9sXgThww/84HebwqswkwgBTi8VHL0 v0MI8TrtpinGCr7jdNlcn6f4uoff0n7uBD+xpqJMAIsylj7oZeWhQEKC4ll7vsKwhXsO+u 2G1+qWsR66CYLxFg3m7qEJRB6LNI1TBMJymrzw0q93vy7MmZk4ZLewEArd9A X-ME-Proxy: Feedback-ID: i10464835:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 2 Jul 2026 10:07:18 -0400 (EDT) Date: Thu, 2 Jul 2026 15:07:17 +0100 From: Kiryl Shutsemau To: "Jiri Slaby (SUSE)" Cc: seanjc@google.com, linux-kernel@vger.kernel.org, Dan Williams , Chao Gao , Dave Hansen , Thomas Gleixner , Ingo Molnar , Borislav Petkov , x86@kernel.org, "H. Peter Anvin" , Rick Edgecombe , linux-coco@lists.linux.dev, kvm@vger.kernel.org Subject: Re: [PATCH] KVM: x86/tdx: Do not print error message on non-present feature Message-ID: References: <20260702043204.81741-1-jirislaby@kernel.org> Precedence: bulk X-Mailing-List: linux-coco@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: <20260702043204.81741-1-jirislaby@kernel.org> On Thu, Jul 02, 2026 at 06:32:04AM +0200, Jiri Slaby (SUSE) wrote: > Before commit 165e77353831 below, the kernel did not print anything when > X86_FEATURE_TDX_HOST_PLATFORM was not present in a cpu. > > After the commit, this is emitted to the log, with the error level: > virt/tdx: TDX not supported by the host platform > > This is disturbing as it is not an error running CPUs without the > feature. > > Drop the error message completely to revert to the state before > 165e77353831. > > Signed-off-by: Jiri Slaby (SUSE) > Fixes: 165e77353831 ("KVM: x86/tdx: Do VMXON and TDX-Module initialization during subsys init") > Cc: Dan Williams > Cc: Chao Gao > Cc: Dave Hansen > Cc: Sean Christopherson Reviewed-by: Kiryl Shutsemau (Meta) -- Kiryl Shutsemau / Kirill A. Shutemov