Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp350097lqo; Wed, 8 May 2024 01:25:04 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWmaSfDaXArL1biEpweeQZLDosfraBCwi87wLfhVwL37tMrY8uMtAVBhEtBhEy8gOgpritIFMzP3i38pxIWRiBuibZ/BJkYx4PE1tB3MA== X-Google-Smtp-Source: AGHT+IED0wbzHc3Bp1MAS/zLZO4Xd0Hl9n0Sn9IaKfCqG3QIeBzCw8Wsou+FBeEs9qPBv2NoD9Ou X-Received: by 2002:a17:906:3794:b0:a59:a2c0:3252 with SMTP id a640c23a62f3a-a59fb9d1f52mr121538366b.76.1715156704075; Wed, 08 May 2024 01:25:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715156704; cv=pass; d=google.com; s=arc-20160816; b=rRSxt190nvTpJCJDuz8J8hgxDmcFtQjsNjMko4JR526yz9oAGcbtsTuswVhmmR6NbG qgE4o3Tc7YwrAECu0PZcbWB+iYgq7ycBnV+Y5TiSzgj/hPX86onYn6uWoe0z7RZi4rZ7 OvuK13Kj9exWCYRkEy8WZ5OMOROc1wUXL+F2tZCtJYFkUn2P4MLLg6+p0mfjE6qiIo8Q ixdQb8GInVkzjxmPnrJtXl+k94+iiP9+IW0YnMmQdsgBuEbkqTS7xLpSRwxUpZMHTci2 rxM1BjXFu6lkiDzqqeTLfpx2WnmFjGGJ23cX+53WL0+Ty63lBNApOV6yeTllCOt4l6Bp 9Y6w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=4XAZ/wIYgWolSZJSRlwndi6e3nnKe+xC3HFhMSHclag=; fh=ZeMnK3tusbKJcQ9HftRht/hkLJ8V6r17wscVR8l87js=; b=UEehYUP7ncvZjZiRluh+bzb1PEcrGM2sSQ1EmA88CdfJzqvTzTYPhe5v9eDTi8aurx 46ClR84zzIiwUuelMqThnK4Lfc9Yt2dz+UBt6Vfho2HG5OmiCItiaQsBD+IPxImAqoA4 50wUgmo/2VuReN/ICbjA1lYYF5YHNhVYYjSgEK+5/ycC0i3DH50sTKFPPjlPcbCwcydy EfyypvKta/4V1tejUd8qii0dh9W+bQ9yFFIVas/HQ3yzx+N0M2xBniex9PiZJx8TQMXw 52wPsAAlhqTlwS7AUPe7RJxONphLPRvZdR1HlnpmJIHXJm7x0zLPuMXJ5tDyr95u1TdJ cb3A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b="Lx37t//3"; arc=pass (i=1 spf=pass spfdomain=alien8.de dkim=pass dkdomain=alien8.de dmarc=pass fromdomain=alien8.de); spf=pass (google.com: domain of linux-kernel+bounces-172907-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-172907-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id x10-20020a170906134a00b00a59a0052ce1si5259608ejb.706.2024.05.08.01.25.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 May 2024 01:25:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-172907-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b="Lx37t//3"; arc=pass (i=1 spf=pass spfdomain=alien8.de dkim=pass dkdomain=alien8.de dmarc=pass fromdomain=alien8.de); spf=pass (google.com: domain of linux-kernel+bounces-172907-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-172907-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 9DA211F26CCB for ; Wed, 8 May 2024 08:25:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7350146452; Wed, 8 May 2024 08:24:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (4096-bit key) header.d=alien8.de header.i=@alien8.de header.b="Lx37t//3" Received: from mail.alien8.de (mail.alien8.de [65.109.113.108]) (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 1CCE02BB11 for ; Wed, 8 May 2024 08:24:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=65.109.113.108 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715156695; cv=none; b=RgQk/iO3LB1WKk41ZALnBrKAYgoCSEVbhW8HaUNug6vWuLC8AwmDYr1nnXnvz+UsQAuD/iU3r/d+0C6Gr/FNrXw/Fc5B93MIbgik/QLtJXPn7jpnDwATsblwdvK4Couo9A7uzpQiju0UNSjLzb8tOo0GRd5JQk9xy2lJwI2/+jI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715156695; c=relaxed/simple; bh=4RnyJU4AtrXrc/uDoIgp3W1VJfd/uJ9jgFiWFzAshHU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=AGplqSmEBMlhcrbe1EMSDkZL9llZPOtM2z5/gf69ooXZDxlRZhvDDBs/Z+9LEE3oSBxOMOpzYKU5d97XrQUrF+LthZoJwjPoXja3Fa/oy6orfKz/sF4pnOwAp2IsD72UtxjmoY9j8hE0po5/luewNN6/YSURXQmRHAqGj7G/6+Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=alien8.de; spf=pass smtp.mailfrom=alien8.de; dkim=pass (4096-bit key) header.d=alien8.de header.i=@alien8.de header.b=Lx37t//3; arc=none smtp.client-ip=65.109.113.108 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=alien8.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=alien8.de Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTP id 260C440E024C; Wed, 8 May 2024 08:24:52 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at mail.alien8.de Authentication-Results: mail.alien8.de (amavisd-new); dkim=pass (4096-bit key) header.d=alien8.de Received: from mail.alien8.de ([127.0.0.1]) by localhost (mail.alien8.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 4eVKPAL546f7; Wed, 8 May 2024 08:24:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=alien8; t=1715156689; bh=4XAZ/wIYgWolSZJSRlwndi6e3nnKe+xC3HFhMSHclag=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Lx37t//3UMdyCh6XQbdnd5oRGOKpFljkUivPePVGVE5b5boN/rD/k3gjqkb2FXP0Q hi9iJkKai7QPF549Dab2ZGyqGTXcNfW4vM9OVu89b2yzN9zIW4o152FJdSJxkQEsHp oTYzobQv2zQ4y0M8rCNHlScHXiOiwgvnltn7hnpEDbHdoHN8Z/Py3t2Zh7V5w1IFk8 juHtNF0t+Ui2WX1InYvw/Kic/Ry4bKik+PKPOGNE4gRmu0yB2rkaI92k/czru6d6kN T1ObQCYDS2YFdlSlKkXLIpnfs5/4lH8aCgDcX+k4SMgDQcm0JTMxvjG0UofG5G9PQd SAW6c5/u3XX1ziIKsN4TFDE+Ewt4Xd6T2jqzio6Aiy5VX1vmfYgzsogePBG4fyHrpz 3T7iEmPikzXPIXEfC1+wk2wiDY22je4TlsCTDyV+DOK3GJ/W5yzSja8wzqECTcoBNk OcY52w3KLNWrr0WCA/m+qbomxaYg5QJroE4LrycWSDM1jt8EjUHgP9vgnQ/FcXVC2J y+6w8twLwU54w/Zy/XTbl7zQebWBjlVQhg3XSnPSEMSN+74nPZeu//38bdwzY6NSY3 V8F3sLv+tG5FxFk7PQWso76yVQPEL/CAwZ44Mun9Ai/7r8wWsSbMskGFdnrSrzCLrE 5v/EwvoDGF4c3aRtKgsHLBHA= Received: from zn.tnic (pd953020b.dip0.t-ipconnect.de [217.83.2.11]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id D7FEF40E0177; Wed, 8 May 2024 08:24:38 +0000 (UTC) Date: Wed, 8 May 2024 10:24:38 +0200 From: Borislav Petkov To: Oliver Sang , Sean Christopherson Cc: oe-lkp@lists.linux.dev, lkp@intel.com, linux-kernel@vger.kernel.org, x86@kernel.org, Ingo Molnar , Srikanth Aithal , fengwei.yin@intel.com, yujie.liu@intel.com Subject: Re: [tip:x86/alternatives] [x86/alternatives] ee8962082a: WARNING:at_arch/x86/kernel/cpu/cpuid-deps.c:#do_clear_cpu_cap Message-ID: <20240508082438.GBZjs2xsn4diYXU4ud@fat_crate.local> References: <20240430193211.GEZjFHO0ayDXtgvbE7@fat_crate.local> <20240430223305.GFZjFxoSha7S5BYbIu@fat_crate.local> <20240504124822.GAZjYulrGPPX_4w4zK@fat_crate.local> <20240506155759.GOZjj-B_Qrz4DCXwmb@fat_crate.local> <20240507114814.GBZjoU_u5kYBhLips3@fat_crate.local> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: On Wed, May 08, 2024 at 04:08:18PM +0800, Oliver Sang wrote: > we really don't do any manual change recently, however, per your reminding, > we rerun tests on both ee8962082a and its parent v6.9-rc3 again. > > while we made original report, we always saw below for both commits. > "x86/cpu: VMX (outside TXT) disabled by BIOS" > > by rerun today, we cannot see it again, on both commits. Yeah, from the last dump you shouldn't be seeing it. > then for ee8962082a, the reported > WARNING:at_arch/x86/kernel/cpu/cpuid-deps.c:#do_clear_cpu_cap > disappeared also while no "x86/cpu: VMX (outside TXT) disabled by BIOS" Yeah, it does feel like something underneath the OS has changed/is changing for this to happen. > we are using kexec to boot into kernel, and the kernel images keep same, > so we are sure this strage phenomenon is not caused by kernel build. Hmm, kexec won't go through BIOS so I can imagine if the kernel has left FEAT_CTL in some weird state... but then if it has been locked, nothing should change it anymore. > now we doubt it's really a bios issue, we found another similar machine, > which also show "x86/cpu: VMX (outside TXT) disabled by BIOS", but after > several rounds of cold reboot, the message disappeared, too. If you see that again, please run my branch with the debug patch - that should at least tell us what's weird in FEAT_CTL. > we will investigate this BIOS further and avoid this kind of misleading > report in the future. > > sorry again :( No worries, thanks for testing kernels and thanks Sean too. :-) -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette