Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp1505443lqt; Sat, 8 Jun 2024 00:33:52 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW2vzqRjDQDKlJqYIE8kSO2s4JOs6pkImGE20rKZvgQ8oZsKxvRjtfh61JBSWYfFAUHr4yjX0d1xouMcadmrSuTvIByVwasmkfJ21gj4w== X-Google-Smtp-Source: AGHT+IH8iCY11yYyhDY7QweXVTnu1QnOp1fl4y+y3x2KGOib1JX21UVXHiNghqPz34Q4Ywh5c/m9 X-Received: by 2002:a50:ab59:0:b0:57c:5f77:1136 with SMTP id 4fb4d7f45d1cf-57c5f7711f5mr2574669a12.24.1717832032437; Sat, 08 Jun 2024 00:33:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717832032; cv=pass; d=google.com; s=arc-20160816; b=ByekDqazHimvKr2Z5v+q1byCl7macHsN3sQaRAmTDb/xyIvZ17A7n0rhzr8x5DSiOy QDe+kVhPA+pbu2LKvsYeRb7RphF+cmxf6+rlUyAxbvnzLygayjqqjJtUIqrLBAK5kUhi nIBkP08bKK2FY9wt7NP2pg6ErDwNdBwKuJ/TGcwPDnNQBluWZrAQVO30l+WHUjpaZxfr ulIJCWAQ70iI0nOkfq3I0Sx2EpBx9gZuzGMEGo/IQaEEV8yX6d/sJ7+v0rRYkJ0Rc62S u3oHZ9Yw4UFAv8LzSoqAtGVENb4DTiTgMHPK92CMKduV7OlF4E42FL+I9WgHu0nWmLmZ 3krw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:sender:dkim-signature; bh=Zf7ANtS8cwkA5oNK6XZKZnn2ERXCqFjIJiVktSlvH9Y=; fh=ZrHbDSiANSBCmvivbV48JgZ35KGtehFV6ZNj4vR8U9I=; b=UlW0d6ix2VVLrj9ULa9b5u/LK76g4UTkoPFvosW/QP0kAdrvZnuQmsJC1vZY/7ThqU OqWqbehuyTD55421uXujPboQ42r5M/0UH2S1KkuucodN+K5Y5DnQt/eMh1+O+1wDVv6w oPjg6ZA8Yv6pEIsFIxsO5CUzhGuWFP2mq7TMafG4P9lUjh+ANRm3GpMwDzMDGFF1Stne NsWy+QXhaY0lJCRKxPTHSrAQS1y2Wqcj4Qdwj3IYBsDbYGtlmoyWFyzTy+Szx98fXJV0 UTLis9h964I3YSxpgyKSBA1GcDPG6pRCO7KjUA0u65coA6iaPsRHP70Ykl/JNkqYA5j7 2XCg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=MXmgVPsD; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-206932-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-206932-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57aae1fbc33si2562951a12.330.2024.06.08.00.33.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 Jun 2024 00:33:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-206932-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=@gmail.com header.s=20230601 header.b=MXmgVPsD; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-206932-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-206932-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 2C3A41F22A36 for ; Sat, 8 Jun 2024 07:33:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 74D2D179965; Sat, 8 Jun 2024 07:32:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="MXmgVPsD" Received: from mail-ed1-f49.google.com (mail-ed1-f49.google.com [209.85.208.49]) (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 0E327178CCF for ; Sat, 8 Jun 2024 07:32:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717831948; cv=none; b=aIssiA/w+5Dh5nqAaKAMh0KhM8qC/iCtHQmZB9W3YcSIk7KGzm0FtBTnULudS61+Xy6eLiw70DsEiYeOyOhfrhcsA112iBPvEZdzUQootN5AdexyGALy4XToMzg7QjoPsDJydNfeSo3U/GKC+IjJ2i4si1LWbyk8qjyWzWCmRBg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717831948; c=relaxed/simple; bh=3jOy0+txvht60ez96hmeG/ql+B41viAQYPhyv6P80DI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=rtiw6cltQO3mtcrx/yqlP2GUzkpLKAU4uESpZzWcL+DakTtPExQKMjEziMY3V6DxYMEQTxL/mcHk1pA3eIj70dllDs9CkhxpmLF3WjMxZye7tG89aUniGgG7hs3GYJwGNEv2b6GzGmLlvP0evLkiI5y1Ct09nXjj57+vErk8s2o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=MXmgVPsD; arc=none smtp.client-ip=209.85.208.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ed1-f49.google.com with SMTP id 4fb4d7f45d1cf-57c6afa1839so216886a12.2 for ; Sat, 08 Jun 2024 00:32:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717831945; x=1718436745; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:from:to:cc:subject:date :message-id:reply-to; bh=Zf7ANtS8cwkA5oNK6XZKZnn2ERXCqFjIJiVktSlvH9Y=; b=MXmgVPsDDCzkpnhFSTVpx5VNcdzcC5ydJbfGnLMuMMNT206afb2czIiisqExqBX3Ac FL+F91+1offKheW48tlqa/C9CmcvVkLj/zrch83WpJFJ3APjSzKGOPssmc/ifavx6u63 Fe4gy7o7g+3dFvBJl/achxlOYumG4IjsHGlRdZoRPu58RgCPTudzUD1KJSCex+QI6iHE RtvJi+MNJzziLzr56GhAw9mnncKfWDu4n0P1yPt+PrMRPbJVSJmGDSXxZzA4HQvgahZg nll2OikdpITaXZ4ZzFXvyS10sYzDQsNxzSKSGrblt01imkjF71OsKGKFtbFkabFNvq48 J6DQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717831945; x=1718436745; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=Zf7ANtS8cwkA5oNK6XZKZnn2ERXCqFjIJiVktSlvH9Y=; b=BPKmSs9mUje/7lMr7vEYMldhdbIkQELQMHXVl/ieL0nQiEnoCd9IPaa66Sk4CC+lCj 6U4cb7sdGEz3sA7unmo6ubcbtIaVdZ6b+OBTfn5ES8w4YaoskwOnzM2CiOJxQerCxNSt sTnnxdi4/opGP06k5oW539rCArIzkHy9CiniqgWWU//RToOD1u1NrFlA5qpA9rWlrMUS q/NYmLxvBsGo1Y4szxHOzTfLxN/Ll7/rJbOZ7AhEHThr1PNFFJ7O1AymYsXO8x4Hspq/ 9MSkqpViyC3kxu6Fk+lZ8wG88Id3qRNpAxR7s9SnT+4u+QpwCrWzq7UYEj3pZfr5hMru VQKQ== X-Gm-Message-State: AOJu0YxW6v7Q/hb77cWgYtV8yNmQjtzKjA9N+wTcq2pVZZdwByoejdIy tFhOewNPQiyvNkT/m/ZIpB214Z02DsZuqT7UOS7U0ghTMP1X6Iq2s+mMwW+q X-Received: by 2002:a50:f695:0:b0:57c:71ca:f651 with SMTP id 4fb4d7f45d1cf-57c71caf6d2mr151179a12.20.1717831945138; Sat, 08 Jun 2024 00:32:25 -0700 (PDT) Received: from kepler.. (1F2EF20A.nat.pool.telekom.hu. [31.46.242.10]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6efe5262cdsm61350466b.117.2024.06.08.00.32.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 Jun 2024 00:32:24 -0700 (PDT) Sender: Ingo Molnar From: Ingo Molnar To: linux-kernel@vger.kernel.org Cc: Andy Lutomirski , Andrew Morton , Dave Hansen , Peter Zijlstra , Borislav Petkov , Brian Gerst , "H . Peter Anvin" , Linus Torvalds , Oleg Nesterov , Thomas Gleixner , Uros Bizjak Subject: [PATCH 9/9] x86/fpu: Fix stale comment in ex_handler_fprestore() Date: Sat, 8 Jun 2024 09:31:34 +0200 Message-ID: <20240608073134.264210-10-mingo@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240608073134.264210-1-mingo@kernel.org> References: <20240608073134.264210-1-mingo@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The state -> fpstate rename of the fpu::fpstate field didn't get propagated to the comment describing ex_handler_fprestore(), fix it. Reported-by: Chang S. Bae Reviewed-by Chang S. Bae Signed-off-by: Ingo Molnar --- arch/x86/mm/extable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/mm/extable.c b/arch/x86/mm/extable.c index 1359ad75da3a..bf8dab18be97 100644 --- a/arch/x86/mm/extable.c +++ b/arch/x86/mm/extable.c @@ -111,7 +111,7 @@ static bool ex_handler_sgx(const struct exception_table_entry *fixup, /* * Handler for when we fail to restore a task's FPU state. We should never get - * here because the FPU state of a task using the FPU (x86_task_fpu(task)->state) + * here because the FPU state of a task using the FPU (struct fpu::fpstate) * should always be valid. However, past bugs have allowed userspace to set * reserved bits in the XSAVE area using PTRACE_SETREGSET or sys_rt_sigreturn(). * These caused XRSTOR to fail when switching to the task, leaking the FPU -- 2.43.0