From nobody Thu Apr 2 23:54:46 2026 Received: from mail-ed1-f43.google.com (mail-ed1-f43.google.com [209.85.208.43]) (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 9BB1F35DA46 for ; Wed, 25 Mar 2026 17:48:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774460939; cv=none; b=QfktaDZDTTpGEm1DKa08EI7LJHoHXOxwjcYfmMWpBvEPWcqKP6srSVjqRNuT12wleGxK7AAjrAi7WCfAoRHXSOySvafRZ0X58AVSJQDqP5RArVW5/1NuTHyRNWcOIN41/bVPsDYjURBJf0oT72cYE3QTa+pYXrNLd+WyNL1XU2c= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774460939; c=relaxed/simple; bh=nrkCalfdGHOcLrOALQAvOv5+D+/PVVKzf/WiyIbslgI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=kMajF8Nyizs2Y7gNeBLk2wUiwqVSVrvsOXq6DdfkEO0/8Tm4g70XMZoXNDRAab4xbLOSgeVyJikBKIDicl62bzIfMZFlC6ZuLN1WjxcqWXftvfWfF3dEAodstyJ9j3ziWzyt9kTW6sMQCZvqiU5yW6ZONeD3UNuAEpavrTZuaG8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=h7ZpK180; arc=none smtp.client-ip=209.85.208.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="h7ZpK180" Received: by mail-ed1-f43.google.com with SMTP id 4fb4d7f45d1cf-66a9a2187a5so123115a12.0 for ; Wed, 25 Mar 2026 10:48:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1774460935; x=1775065735; darn=vger.kernel.org; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=Ylv0to8BRlV2YPGq/EbiSzrUiX2SgQJtZ8v/wXx1upE=; b=h7ZpK180/2bzPzoWb8JJ+psYYvDqg2oeiEm35tRqnaxBOcfjiBQWSMgnrBNvrlPSkS cVd7IjvOUEXC6N9UXC7nvlZ22+TIWl7Jn/xBYSufxa/ZN3++bsAhsS00osTh/7msSLF+ CJaTnXsDQ67Quwr9mxt8R9dk90DgK0DrjfO3DBeRRSzzmz3ZK7WoCtxW+KPyGl7MTbav 2hGwy3wlHkf/86g/cNOZBnfHuAQpv8fvMGyPW/Ur2yQHwBNgachOurK8SIKmiYyvWyJt yNAmOsV/824PX/bXtoJb344I5/sVAsnKcm5sRsZ9UMRdEFbhJaWzqo0Zj+NMFOhS2JdA ugqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774460935; x=1775065735; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Ylv0to8BRlV2YPGq/EbiSzrUiX2SgQJtZ8v/wXx1upE=; b=TGmmuYEh7OqLC81baYnE/UmzErbL2O+A8oKt1YkbWM5r8Jfd8c+1JvIJT/OL6WrNox v9xwtvjhkjOt/imIx/ZMTE+xVwkye7n4SOPYgIDvh4x1QGDU46LjjcvPWmYHs3oZfua6 FjVB07hCmNvlkAVzIZz22Bis1nTDNgaSebTvSuXd8AbkxV5XK6n4TfQkJno52KcWOElk G+zlMO/RVrx17OTRR4gk+zyM0Tm04yZHvqjLmlfCcXA+icWAdvJSO/CPinlZDeLqBwIX J1QfMAX4cMGrchgTgqySeiGlWe1kc4d+eHS2T+tFnk/UKM0tJrpUxsiiEpMx3mRcKBN9 nRpA== X-Gm-Message-State: AOJu0YwCrrq6GLz2iuldCDmF2cYnBunfHct8EL8pFtTY0XDl8aMWKF03 32KxgA+U7/esmImzVvxzTFkDHqAwM2gpSTHSM0Nj8ovjU4icd3c8Cfod X-Gm-Gg: ATEYQzw4RoiseBTYRJ6kV1jiA8600KBgIOl5iLPwyjLZysYu7bk1akqy+obBl5oIuKZ Y4K47whjY34qZPc8okSyQqkwNI04K4pD1auy6v1FHR+Unb7UsK1wg48WCRNgLJPqgSuBlcLuvNE 20G0kq6Rr+B5r89rMh8d8vK6QvRUh3bEe+V91NjAYDUSnUA+Lx3FdRUxzrwsjXGC1obKiqYTLiF WPQkJudWm8xZJNJW/exlgQTwTKRZ+lWomHLhQqqW3BSHdptNccEc6t1K7ohg3dCf02//bTuNKEN VMFgUfzyx67hkazTGblGbHIS1NbHrru9KS13+epYTNM6lYWM7BDfkNiY3I9X27Ga35fD6BixSCE ePNwddo4BIDJPUiZ2yXNuvwfTKqPtny+oTN+vj82Pw5QmFL+9Gv+6t3pqhwmVK0cyZD4hfzLC9Y BiPQvK+i3YVvDO8iQdi5dSoUQbkMrY80bOimtS4cPwueID2DxLa9igjdVA X-Received: by 2002:a17:907:e11c:b0:b98:56b0:dc96 with SMTP id a640c23a62f3a-b9a3f17f136mr233552566b.21.1774460934583; Wed, 25 Mar 2026 10:48:54 -0700 (PDT) Received: from [127.0.1.1] (89-65-152-218.dynamic.play.pl. [89.65.152.218]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b9b203c10eesm13560866b.30.2026.03.25.10.48.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Mar 2026 10:48:54 -0700 (PDT) From: Roman Storozhenko Date: Wed, 25 Mar 2026 18:48:52 +0100 Subject: [PATCH] x86/msr: Remove misleading "unrecognized" wording in write warning 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-Transfer-Encoding: quoted-printable Message-Id: <20260325-dev_roman_msr_msg-v1-1-cd51e2579018@gmail.com> X-B4-Tracking: v=1; b=H4sIAAMgxGkC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDIzMDYyNT3ZTUsvii/NzEvPjc4iIgTtdNS0yxtDAzMkhONjJSAuorKEpNy6w AmxkdC+EXlyZlpSaXgAxSqq0FAE4oiMV1AAAA To: "H. Peter Anvin" , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org Cc: linux-kernel@vger.kernel.org, Roman Storozhenko X-Mailer: b4 0.13.0 The term "unrecognized" in the warning message "Write to unrecognized MSR..." creates the impression that the MSR access is invalid or prohibited, which is not necessarily the case. Remove this wording to avoid misleading users about the nature of the access. Signed-off-by: Roman Storozhenko --- Additional context: A utility that uses direct MSR writes triggered this warning during post-silicon validation. The message was interpreted as evidence of incorrect or prohibited MSR access due to the use of the term "unrecognized". This led to confusion among validation teams, although the MSR accesses were intentional and valid. Clarify the message to avoid misleading users in similar scenarios. --- arch/x86/kernel/msr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/msr.c b/arch/x86/kernel/msr.c index 4469c784eaa0..16f6cde7d471 100644 --- a/arch/x86/kernel/msr.c +++ b/arch/x86/kernel/msr.c @@ -98,7 +98,7 @@ static int filter_write(u32 reg) if (!__ratelimit(&fw_rs)) return 0; =20 - pr_warn("Write to unrecognized MSR 0x%x by %s (pid: %d), tainting CPU_OUT= _OF_SPEC.\n", + pr_warn("Write to MSR 0x%x by %s (pid: %d), tainting CPU_OUT_OF_SPEC.\n", reg, current->comm, current->pid); pr_warn("See https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/= about for details.\n"); =20 --- base-commit: 85964cdcad0fac9a0eb7b87a0f9d88cc074b854c change-id: 20260325-dev_roman_msr_msg-fad98620cc22 Best regards, --=20 Roman Storozhenko