From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pg1-f199.google.com (mail-pg1-f199.google.com [209.85.215.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 85AC946AEFA for ; Wed, 29 Jul 2026 13:28:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.199 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785331713; cv=none; b=NZH3WkPE0WJ5vy71RjUhpyaDOwuzWwwyIeZT/AcWyvWA3I6DENaJOt8EX8bl5nJoBezQy/cSjbIWThzHZ9rSPOdKMyoUAaWaa0yAXjClKLr824EMjs3YhVlj9vCxdjOnoH2nebAZpUZtQs63B7uSB4Lyiqorvqt3egQ6Y6juICk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785331713; c=relaxed/simple; bh=uVa1dC7xe1aAeUnbgl4sqICBfeNILVt/mq2OEqNA2R0=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=MKKD44N3dyvNkOqCoZPNKUOoDdB26aWbu6WTMWsFqVDO++/yeKBaS9YZWNTGAt3nLF8oqqijl8M3vuvHWocE5z1Dsc035LMEKLCS1zdHmd6ayb2aQjaJJ8d/mg4GTPy2cNL1Hhsj072M/Xgur0SA8R/1VP5tY9JQH/tyyzu1SLE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--seanjc.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=ckAjqehW; arc=none smtp.client-ip=209.85.215.199 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--seanjc.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="ckAjqehW" Received: by mail-pg1-f199.google.com with SMTP id 41be03b00d2f7-cbbb9c9bfc3so580804a12.1 for ; Wed, 29 Jul 2026 06:28:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20251104; t=1785331711; x=1785936511; darn=vger.kernel.org; h=content-type:cc:to:from:subject:message-id:references:mime-version :in-reply-to:date:from:to:cc:subject:date:message-id:reply-to :content-type; bh=Z1Uw7Rea6IolmWTWAWQHNW+WUS1KBbg7Hs/3YV9RZGI=; b=ckAjqehWOD8MMdB+F2dd3eTtXw/eWtYm16W8bM/TGPvB4e4w1aD5gz14U114W6Mzyb njNpPIRdYeQ11bG4ms84qyiqQJlqIHTAGo71aOFXmhh3/jwmcfwhMtpzeR6Afd07j5BQ I2nNI1QKGjjbI03CkpGKri38Tso8TXLMMz1d2SoOelvxXQ5aK6Xc27Xpha8JqZkNFB1D 07hRGzP9RQkNU3a7XsAY8G2Z9duJKnLu53mLsGhSgm3Bih+k44KpsWRbILfOF95EXxO5 fJ8Dpm6S2/ArRervx08+F6nBbxYt6jcPX/Aujrtb2htw7uUS2ML41RfOo4cdOJzzrbwR idDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785331711; x=1785936511; h=content-type:cc:to:from:subject:message-id:references:mime-version :in-reply-to:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=Z1Uw7Rea6IolmWTWAWQHNW+WUS1KBbg7Hs/3YV9RZGI=; b=ZcEWvk6KDejiDgqJp3xV/S55mvCH7FbTi/vZrUxT/cg1OM7SNzRtKftzhO2dEM4vOO K5/c2bX8kss3jVE3nCvwHLHeA2r0azjZpeUdkuaNxNA6QhiAgM/uarfZHkFNuH9tAgwB w6lLbDVbudqcpszHsjL13yysjFhFWBVv4DBY+/i6Dmp6r+8gYICoyuatBGr0VO7hNJ9F aBgApfmTUH+TPAcAscqOgHO0qMq9M5IRl1IKzf2CYYc5LVm76kJ5JLyjombc1Lamw7Bx PlIMfN+SWuVloyV5OwFRIy4aR32uLi1im0J3Q1ChJXGP22OXjr19dflYFvDuKB1G6Zz5 GXFw== X-Gm-Message-State: AOJu0Ywln3eTtKo4EBIWkXk1T5shEGo/xKnLWNsPtlwuYZE91ONwmkSR jjKF2U4Axbv9UpKugZkugbX8kMDH4qX0NgJDgG3cLTpZSGYS4gGgumYhXQ74DonHp47ZhiBf/n0 gqjAPqg== X-Received: from pfcf6.prod.google.com ([2002:a05:6a00:2386:b0:847:8e58:df6f]) (user=seanjc job=prod-delivery.src-stubby-dispatcher) by 2002:a05:6a00:990:b0:848:2f74:d8d0 with SMTP id d2e1a72fcca58-84e934463aemr7142102b3a.65.1785331710486; Wed, 29 Jul 2026 06:28:30 -0700 (PDT) Date: Wed, 29 Jul 2026 06:28:29 -0700 In-Reply-To: <20260729085908.21368-1-jirislaby@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20260729085908.21368-1-jirislaby@kernel.org> Message-ID: Subject: Re: [PATCH v2] KVM: x86/tdx: Do not print error message on non-present feature From: Sean Christopherson To: "Jiri Slaby (SUSE)" Cc: linux-kernel@vger.kernel.org, "Kiryl Shutsemau (Meta)" , 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 Content-Type: text/plain; charset="us-ascii" For the scope: x86/virt/tdx because this is no longer in KVM's purview. On Wed, Jul 29, 2026, Jiri Slaby (SUSE) wrote: > Before commit 165e77353831 below, the kernel did not print anything > during boot if X86_FEATURE_TDX_HOST_PLATFORM was not present, unless TDX > enablement was explicitly requested via a module parameter. > > After the commit, when attempting to load TDX automatically, this is > emitted to the log: > virt/tdx: TDX not supported by the host platform > > It is emitted with the "error" level, hence it is disturbing. It is not > an error to run CPUs without the feature. > > Drop this silent-boot-breaking error message for the automatic > initialization path. > > Signed-off-by: Jiri Slaby (SUSE) > Fixes: 165e77353831 ("KVM: x86/tdx: Do VMXON and TDX-Module initialization during subsys init") > Reviewed-by: Kiryl Shutsemau (Meta) > Cc: Dan Williams > Cc: Chao Gao > Cc: Dave Hansen > Cc: Sean Christopherson Reviewed-by: Sean Christopherson