From nobody Sat Feb 7 08:55:14 2026 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 C4FA781ACA; Tue, 30 Jul 2024 08:24:41 +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=1722327884; cv=none; b=Oncs+mb/FheeprAlJbeAjwMAUaf0i2VDYfI3sa/u+wzUhclWpf69OFKDs36zIO5UGH7qInI4cX0UxAJ5ThxL7mlgxyvqzQa5meSvqvROanHOSdaOVLvPc/7xJgDmJ9lMX2NoJ5PxtP94arcdVHIYChr8yTCb33Hhgn+Svs48ZBE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722327884; c=relaxed/simple; bh=vh73RcD0dsNWX94i6wyPtIRpKHmSi5iNja2wPXOs5KU=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=GGfCGsl3XXM34YtZKnfut2BdBnjHHCl9lXNDwzQN3ogp3I4aUTyqMMAbPqe+Nd5Gl43jB+jzY6M3sEZMlnaPg/jKqIawREPO8TBs2Eqdb84olowZ4eMYxrWCWkBrbM8ScfFzdmRB7QXO6CpHac4VZRWyy5oHCVmhH9dyolDUwQs= 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=ShivCfQm; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=ZQdrai36; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="ShivCfQm"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="ZQdrai36" Date: Tue, 30 Jul 2024 08:24:39 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1722327879; 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=26p0U864dvAEsXPQ0l7lbm6kMNWa/GxO5A5ANvx9yaU=; b=ShivCfQmqgBemucj2ONlrHTSLQKObBAV2k/KT1UXNcE0KBJepWtq+3v2XddUUFBb6lGtde zPYR4KoSODh2/9h+1maKZiFQHPn7MLthRGnYcx9MxiBbteXPHp71q4j2dYhymeDjNEAXqQ m+0s0UvfcRO6UrjDSX+DB5JIcSLlzFZTfMA6s3XXaFbG1PkBGy4W5CSS50wv0ANcafJd6O e2Cry6ePJhOdu/87DxeNKb3OGaRk4HCAEt1FYDz+zgFHZLiwiYqkWM+RBW+doPh/6DWFDX OMjZzYDaakm+7veiaxuTNGt/PzQy7xhqotXkjq9V9/DIzi6D+xnCdGmD5i/AOw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1722327879; 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=26p0U864dvAEsXPQ0l7lbm6kMNWa/GxO5A5ANvx9yaU=; b=ZQdrai36/QCqsGzKdITqGnht4wTIpBHtakvU128PYEtuHgNiBy2vak3wmW03/tNmliB2J3 POjPkqiD4+pGRAAQ== From: "tip-bot2 for Pavan Kumar Paluri" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/urgent] x86/sev: Fix __reserved field in sev_config Cc: Pavan Kumar Paluri , "Borislav Petkov (AMD)" , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20240729180808.366587-1-papaluri@amd.com> References: <20240729180808.366587-1-papaluri@amd.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <172232787903.2215.4743307326689102334.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: quoted-printable The following commit has been merged into the x86/urgent branch of tip: Commit-ID: c14e4114582c20276467226387d5bae7310a849e Gitweb: https://git.kernel.org/tip/c14e4114582c20276467226387d5bae73= 10a849e Author: Pavan Kumar Paluri AuthorDate: Mon, 29 Jul 2024 13:08:08 -05:00 Committer: Borislav Petkov (AMD) CommitterDate: Tue, 30 Jul 2024 10:07:26 +02:00 x86/sev: Fix __reserved field in sev_config sev_config currently has debug, ghcbs_initialized, and use_cas fields. However, __reserved count has not been updated. Fix this. Fixes: 34ff65901735 ("x86/sev: Use kernel provided SVSM Calling Areas") Signed-off-by: Pavan Kumar Paluri Signed-off-by: Borislav Petkov (AMD) Link: https://lore.kernel.org/r/20240729180808.366587-1-papaluri@amd.com --- arch/x86/coco/sev/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/coco/sev/core.c b/arch/x86/coco/sev/core.c index 082d61d..de1df0c 100644 --- a/arch/x86/coco/sev/core.c +++ b/arch/x86/coco/sev/core.c @@ -163,7 +163,7 @@ struct sev_config { */ use_cas : 1, =20 - __reserved : 62; + __reserved : 61; }; =20 static struct sev_config sev_cfg __read_mostly;