Received: by 2002:ab2:2441:0:b0:1f3:1f8c:d0c6 with SMTP id k1csp113519lqe; Thu, 4 Apr 2024 00:57:44 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWaW3+iLMIehIP1Qa5/lY0RAEfOiHf//reWH0gJkXH8Cw5PcRgWn/dnBDaEEMuO3foGbcZA2bni50YkwspCwCoFsLo8emw0CJHfxV3SGQ== X-Google-Smtp-Source: AGHT+IGpt9YE4I0ftfpKZrK7qPrcM38PiYWNeO3RI0oFFVuPHieJqpBO5S2zAG6WIXZGw/zyvT2T X-Received: by 2002:a17:906:b46:b0:a51:7d3e:d09f with SMTP id v6-20020a1709060b4600b00a517d3ed09fmr976677ejg.43.1712217463925; Thu, 04 Apr 2024 00:57:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712217463; cv=pass; d=google.com; s=arc-20160816; b=Ap1o0UDUiKKEudQYzJkdcnQds8+4aPQ0ZSw45aOuS4ERAoTszYO8V6bihQlhaWq14x sb0NzNP3k2gkmo/lGs7MZjfgutSWNJXsbZ1sSSQUxFSILIaliW48ipe0bRxZf7RuGIQG LqnCi8SV2DJvxAz9cpuLfbaUaLvrM1GJbn+Dd2vP79MuDzqX6S5gPrja81eY3oyN0dfR Vahm4AQxee03mgCjdV2k1MtDvRK4T0er8Y/GnhNFFHXsG23jmit66291v/KDzEH4usXg hYJrM4qhKLv/yOBn8mJF3Mb3aUvhbefWlFXCIcEvOI90iLVkzUXcEeAxA8johKnWdk1m E5DQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:precedence:robot-unsubscribe:robot-id :message-id:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:references:in-reply-to:cc:subject:to:reply-to:sender :from:dkim-signature:dkim-signature:date; bh=NNCCZOUGYI/dfTpeabf6PprqLVc9VgSgHRqsATYCMrc=; fh=N1IvJ7u+3QA3BolVM0vEzAmVDQbkx9kkqOAt5+YmIdg=; b=p02PnWe6hoIaO/qvBBk9mJ1kkIhyu7j0KaWGfh38krA4ECaLRvjefTXG0TWtFjx60e QZngINVPheANRtJum9Tk9kzgPOiidUvm0uYLpYNdp0UDpqRtIzMfcCd8JbDnSHDA+WfT Xd/5P5mLLI/HUcQcz9NIAYkq6yXYPJj6MsyaRpsFwFezb7qSX1DAhR3zmUgk6FfJOQT2 Un0rjQ9yU2qoGkihwLPG9Ber+5dVsCpLmVSYF/n7XFMnlYHBUFcUVCPJH9F0fnTYqkUl dMEJ99JlIzmz88IBqqF1i07LMae1t/00S6R4hmr79vzisYi9TdJq+zKh0MzkcsFMg60J 3wGA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=bhWzuSBS; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-131060-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-131060-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.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 qb36-20020a1709077ea400b00a4659bf5922si7323752ejc.208.2024.04.04.00.57.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Apr 2024 00:57:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-131060-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=@linutronix.de header.s=2020 header.b=bhWzuSBS; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-131060-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-131060-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.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 89AF01F21D8F for ; Thu, 4 Apr 2024 07:57:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BB9B15D726; Thu, 4 Apr 2024 07:57:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="bhWzuSBS"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="eCRL3ZaU" Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 8828545970; Thu, 4 Apr 2024 07:57:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712217456; cv=none; b=F888lGQnlv5aFkBNYLTKagRIb0rWvXg4S78eUeJnlPyhWM/ZGFt6QtgeJaodWN/gabPbhRAd1qvVQwxM6ggp6gfdo3OR4uoYJC0x+PiX4QQDQkqoC5yW84wWnHrsspl+lZa1j7QrSnwF8fjYpTtxO8mVk4P8Q1Km3Kse03uumwE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712217456; c=relaxed/simple; bh=q9aRhNcDzR7Xs1bDRW2HZNJRvDUfLmRMZ34+tSjSNOY=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=kiVc/dhJD328rRYrX4pa4PjgiCpPqPBeqG5IfjNgxT8fLv47ko4UbUdR+/8Bikg5yLciMwbM6RhO5bggtc+FGDVUdr8vqjq8RaT0DwOo7aUp0pJaA41fdeR2w6sZBD6IESOaLyM/pZBAG/qurxj32PEnuYO1Qc5Eds7lC3ZQU6w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=bhWzuSBS; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=eCRL3ZaU; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Date: Thu, 04 Apr 2024 07:57:31 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1712217452; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=NNCCZOUGYI/dfTpeabf6PprqLVc9VgSgHRqsATYCMrc=; b=bhWzuSBSqX9DIZkA90vmzto/WkuQlbK74ar9r7F57p20lOtDKtxW8B1FuwwBvXl98NW/kY 2ou/PPlo2StLiv/yTeG5wCRGLv0vsWJ+Lx8p+u2P+GBj7G5/KdPCz2UC+BtOMNXLce9DSI s8K5RJIp09tt4RQSV1XGGf1TrteNKwToQ5csyHZAPGaJrDcOL1xyhQsm8EBXCwQGCKH5Cx 9bRkbYW43q/ybA5NPXwQnHrYTqdzpMJ9n1ky8JLxk5suFPhsCkLvRLpdTTjLmf1fsajFud B76CFjDVlQo3obiDAAWxikYfdRl8PZtBgaG/37sZVMvV9+OAV10Cx4KMkTK9IQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1712217452; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=NNCCZOUGYI/dfTpeabf6PprqLVc9VgSgHRqsATYCMrc=; b=eCRL3ZaU+HlcHXXyJU/2yXqXfFQe/QSm64GWIQOaNpAhzS666UCQDKAMVgqcTSOHoKR9Nu hCOtf3HnrF6FNjAQ== From: "tip-bot2 for Li RongQing" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/fpu] x86/fpu: Update fpu_swap_kvm_fpu() uses in comments as well Cc: Li RongQing , Ingo Molnar , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20240403091803.818-1-lirongqing@baidu.com> References: <20240403091803.818-1-lirongqing@baidu.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <171221745138.10875.968824238407538547.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit The following commit has been merged into the x86/fpu branch of tip: Commit-ID: af813acf8c06db58c6e21d89d9e45e8cd1512965 Gitweb: https://git.kernel.org/tip/af813acf8c06db58c6e21d89d9e45e8cd1512965 Author: Li RongQing AuthorDate: Wed, 03 Apr 2024 17:18:03 +08:00 Committer: Ingo Molnar CommitterDate: Thu, 04 Apr 2024 09:49:42 +02:00 x86/fpu: Update fpu_swap_kvm_fpu() uses in comments as well The following commit: d69c1382e1b7 ("x86/kvm: Convert FPU handling to a single swap buffer") reworked KVM FPU handling, but forgot to update the comments in xstate_op_valid(): fpu_swap_kvm_fpu() doesn't exist anymore, fpu_swap_kvm_fpstate() is used instead. Update the comments accordingly. [ mingo: Improved the changelog. ] Signed-off-by: Li RongQing Signed-off-by: Ingo Molnar Link: https://lore.kernel.org/r/20240403091803.818-1-lirongqing@baidu.com --- arch/x86/kernel/fpu/xstate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/kernel/fpu/xstate.c b/arch/x86/kernel/fpu/xstate.c index 117e74c..d978251 100644 --- a/arch/x86/kernel/fpu/xstate.c +++ b/arch/x86/kernel/fpu/xstate.c @@ -1433,8 +1433,8 @@ static bool xstate_op_valid(struct fpstate *fpstate, u64 mask, bool rstor) return rstor; /* - * XSAVE(S): clone(), fpu_swap_kvm_fpu() - * XRSTORS(S): fpu_swap_kvm_fpu() + * XSAVE(S): clone(), fpu_swap_kvm_fpstate() + * XRSTORS(S): fpu_swap_kvm_fpstate() */ /*