Received: by 2002:ab2:6d45:0:b0:1fb:d597:ff75 with SMTP id d5csp565823lqr; Wed, 5 Jun 2024 14:17:34 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXpcw3wzDRzzI0NiYenxNoZrE46ZCXqzd4SKyVc/kp1pOvOfaiCeOGwpBKnjK/FT19flVqHSSgld+I0N2hP/ir/QVPmp4TOVIrS/k/e7Q== X-Google-Smtp-Source: AGHT+IHxC3Ar/1cverNzYm9LW/trJCgBDAdEKOhj0D0NP6wybBnwLJToJNcg7un/JtC6KssqWrYv X-Received: by 2002:a25:870d:0:b0:df4:d875:a7e2 with SMTP id 3f1490d57ef6-dfacad044c3mr3828749276.44.1717622253818; Wed, 05 Jun 2024 14:17:33 -0700 (PDT) Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 6a1803df08f44-6ae4b401ac1si61987256d6.264.2024.06.05.14.17.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 14:17:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-203242-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=2fpTzhc1; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-203242-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203242-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 7B1191C25560 for ; Wed, 5 Jun 2024 21:17:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1515E15F31F; Wed, 5 Jun 2024 21:17:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amd.com header.i=@amd.com header.b="2fpTzhc1" Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2082.outbound.protection.outlook.com [40.107.243.82]) (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 1D37A27701 for ; Wed, 5 Jun 2024 21:17:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.243.82 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717622237; cv=fail; b=qr25RoD3bQriD4BfifzjLxNUyytWFUNbWiU1vqFR23FDyYooSyxHkIyBrgUfOgKYj1CdT72mQgQQCGNqWGs27Fg9mQ3/ZLYR2c9lCqaL7A3dm5yrThubn1FqGNSRtNiIR3RU+LrJ9pvyHC1aX/dk2p/2PHB4s3FkZvmT7hJGdmI= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717622237; c=relaxed/simple; bh=Uf1xCwrS5gkhva3iI4wiP9QCm+zJBRtRfO/v8g8NFKY=; h=Message-ID:Date:Subject:To:Cc:References:From:In-Reply-To: Content-Type:MIME-Version; b=I7Ua69E4oLlcj6E19L1ZduJafG6QQju+nV/ZknOEG6W52biwrWg7MwGMxondjOEDoJJ13v6tFZrxrdhWzoTHzVKVXAPqUYJGbVQ5AlT6S7JwPEAK6Z2L1EtkhDoYTRAV8UYGegk+Gs+hae11nxhfW1r/bT4mtTpXUUQAZUiLI1A= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amd.com; spf=fail smtp.mailfrom=amd.com; dkim=pass (1024-bit key) header.d=amd.com header.i=@amd.com header.b=2fpTzhc1; arc=fail smtp.client-ip=40.107.243.82 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amd.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=amd.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DH/W4VrAZlpKv+AbEziiBaLEqhDMDjX4mfX63jIGsuAjuCzt3KhVmo1kOx0ggWUt18WP4ushEtgF0epuz4GVYsym1YlQWPEW7R1iZzoNCHrB/AqG5orbe4mMTXJJO+3n3dBVxZHqsBAOBABIQyj3TfUAmsSrQHAKG8dYib536iDkd7kQYuf0HgjeZ1AJjMhenoqRiYrfxvH9AbAYft0HerIKYtpAgeuTLz5b/BobESGRhbTGWWFTbFsmNagrRxFDcYwq1JRJRO0pFMN5MOjajcUKnPmTO6s97LcfaeRIP/O3m30spbByBKhYxQYqBVMGCrWMmjRgPuIcmH1ej3jNAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=L6VNi9Ko125ovRm4ejx2yjyy4wOt9h4J9H1yBqmxlU8=; b=KnJTki4coF7CmDZ6JFTWjjx+0lBALslilg8/vmNfZpwbYBloPP/qCLHvRHhIlTuuJ7CMCU+LATVoJchZpvGxYw7yyAnDLETjFcP63kW8egjNUGRIKAaOWciRG6RcC8gI0yeXn98nyqnx2/fE/PAKwVDK+whGq+x+T4MvMgaU3lfLzyEDoLAe7WILmT1MtFocaDky5mUQFyG2xMb3wwxa1d8YSrgcDMFkhE7b+edvshCkOhfgY8gYLkbfA31fgr4gmi2QZmPsFJo2NhVurhnoMNZMb1lb014ghioh4L8FLfhIGk1L36sG/OtZqVwoMLUiUtIwAlIe1HWYqbDvxL7mYA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=L6VNi9Ko125ovRm4ejx2yjyy4wOt9h4J9H1yBqmxlU8=; b=2fpTzhc1oPooe9e2sl7xksQnlJ/AobZm8jWlxcbYBkYxc4buyCHt/pCj4Xpi6ctmwwt0jJHbihkzTbpJd/ajUTdUJGCOxiN+QVtWJTTTg77fPZ5dZp3Hhyf9me13KwF/yRc+VpWNnRAnNdNXYzs0ksiw9lp0Q0XwHu/3yyls5C4= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from BL1PR12MB5732.namprd12.prod.outlook.com (2603:10b6:208:387::17) by SA1PR12MB7221.namprd12.prod.outlook.com (2603:10b6:806:2bd::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.24; Wed, 5 Jun 2024 21:17:09 +0000 Received: from BL1PR12MB5732.namprd12.prod.outlook.com ([fe80::bf0:d462:345b:dc52]) by BL1PR12MB5732.namprd12.prod.outlook.com ([fe80::bf0:d462:345b:dc52%7]) with mapi id 15.20.7633.021; Wed, 5 Jun 2024 21:17:09 +0000 Message-ID: <952085da-d209-5144-19ef-26c5e7b03cfb@amd.com> Date: Wed, 5 Jun 2024 16:17:07 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [PATCH v5 02/13] x86/sev: Check for the presence of an SVSM in the SNP Secrets page Content-Language: en-US To: Borislav Petkov Cc: linux-kernel@vger.kernel.org, x86@kernel.org, linux-coco@lists.linux.dev, svsm-devel@coconut-svsm.dev, Thomas Gleixner , Ingo Molnar , Dave Hansen , "H. Peter Anvin" , Andy Lutomirski , Peter Zijlstra , Dan Williams , Michael Roth , Ashish Kalra References: <9d3fe161be93d4ea60f43c2a3f2c311fe708b63b.1717600736.git.thomas.lendacky@amd.com> <20240605193831.GYZmC-twcfjlArW3Hq@fat_crate.local> From: Tom Lendacky In-Reply-To: <20240605193831.GYZmC-twcfjlArW3Hq@fat_crate.local> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: SN7P220CA0022.NAMP220.PROD.OUTLOOK.COM (2603:10b6:806:123::27) To BL1PR12MB5732.namprd12.prod.outlook.com (2603:10b6:208:387::17) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL1PR12MB5732:EE_|SA1PR12MB7221:EE_ X-MS-Office365-Filtering-Correlation-Id: f9e83b63-c617-49c9-148b-08dc85a4dc30 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|1800799015|366007|376005|7416005; X-Microsoft-Antispam-Message-Info: =?utf-8?B?cnVLQmF4cno5aXRYUStsbTIyaE5QdzJtWnhsbTV0R2crdk44RmJYdmtKQ3Ju?= =?utf-8?B?SWpRQnloMnNLSis3YVdRaExmQlVrdllLdTNjMUJ6aUZ0WnhaNlRRZkhBRUJM?= =?utf-8?B?SlNOVGExb0dKbHgraE5BSDVDV3NFR2xmQWp5Rm5tRWx3R2tZN2VGKzJpUU5T?= =?utf-8?B?SndyZ0gvMDBJeFoxWVBuMkN5QlZWVGZXMU1pTTROeHlYU0NCMUdGNEdlSDhB?= =?utf-8?B?T3I5YTFGSGtGa1MvcThZaWtFL3BEejJZRzFqcUliRGVJbkx3QWMv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8xV09JV2I4ZWJqaXEz?= =?utf-8?B?bkFvMjhHKzRjaTVVR1ExeENhZTRsK3hka0tuRE91ZnFQZFFBeUVhUkpHMmJS?= =?utf-8?B?ZGg0UmlXZDVBT1EyMldlYmxPcHhaOW9QL3F3MkszWFJlcG8rT01vM1ljZmhX?= =?utf-8?B?VmFmeG1ia0NUOE02SW9ZVnJsZ21venRwSzc3UDRxbHdyT3g2TVBCek1JQW13?= =?utf-8?B?U1lJYUhON3RyQ2kwNXVyVUk4R3ZnUzRWZU44amhxbVQyZ0FTQlQxRVpJVVN3?= =?utf-8?B?TVlwVThhbzJxTDNCenNuWjdKL1d4bmMxZ3N6V2V0SVcvUzBuTWlYVFo1OXE3?= =?utf-8?B?WWE1MWFKMndiYXV2WVdZQVFRb1hBektRWll2K1hVL2d1eWQrTmkzYUttK1NW?= =?utf-8?B?Ym9BK2hYOWZJNk1IWDNNYU1XOXRrZWNQaFgzWVJnVWpNYkRoOWhldGJsODF1?= =?utf-8?B?UndWOWQ0cFZFUmZkNURTNmZ3ZmxkcXdsY3ZNOGhINFBOaGhuYUdpVUlQK3RY?= =?utf-8?B?ODAvdVhDUU1yOUdHeEFReVZ0Lyt2UmpNdjh6K1NzWFpXbVdlOEtWbXZRPT0=?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BL1PR12MB5732.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(1800799015)(366007)(376005)(7416005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?Y2R6NlhFSWw1Smp5M2Q3cURPajdpcTlJNWxhcEdjeGJKVDQ2RnhaZlVjaW1w?= =?utf-8?B?V2hYWjR3Y0YwNXE4dm5aRWppRmhSalMyb2JTLzVRa3owS1dISWl6ZDcyRUJP?= =?utf-8?B?cjIwY2JNNnlDMTBKS0xvb1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zNKaWI0d3k2Q1NR?= =?utf-8?B?cTRrZUx1MFYyb3RQZUFXQjJGdGo3SnZ3ZzRrNHFPL3lBdVdWdjIxc3BqY3hq?= =?utf-8?B?V1RqOUlSc0pubWNDUGJZUExJUFIxallVZWtRYmY1c0taQXNaZ0NBeFZaQ3pN?= =?utf-8?B?TzhRQ2NnQ3QrS3plMk1FM0tCeUhGaVlROHZxTmJGd1gvR2tyanZHbk1oR08w?= =?utf-8?Q?cR/2c7NOPtReh/BmPDBf7qAMC?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: f9e83b63-c617-49c9-148b-08dc85a4dc30 X-MS-Exchange-CrossTenant-AuthSource: BL1PR12MB5732.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jun 2024 21:17:09.6632 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: ngXR0EKkne2uH6ySwokxD/59aM54j3UWyV6TY68gYrlQve6h7PZEL6XZ44ZvYig/MZG0Nqn0nkm60G0mOtzIzA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR12MB7221 On 6/5/24 14:38, Borislav Petkov wrote: > On Wed, Jun 05, 2024 at 10:18:45AM -0500, Tom Lendacky wrote: >> During early boot phases, check for the presence of an SVSM when running >> as an SEV-SNP guest. >> >> An SVSM is present if not running at VMPL0 and the 64-bit value at offset >> 0x148 into the secrets page is non-zero. If an SVSM is present, save the >> SVSM Calling Area address (CAA), located at offset 0x150 into the secrets >> page, and set the VMPL level of the guest, which should be non-zero, to >> indicate the presence of an SVSM. >> >> Signed-off-by: Tom Lendacky >> --- >> .../arch/x86/amd-memory-encryption.rst | 23 ++++++ >> arch/x86/boot/compressed/sev.c | 21 +++--- >> arch/x86/include/asm/sev-common.h | 4 ++ >> arch/x86/include/asm/sev.h | 34 ++++++++- >> arch/x86/kernel/sev-shared.c | 71 +++++++++++++++++++ >> arch/x86/kernel/sev.c | 7 ++ >> 6 files changed, 151 insertions(+), 9 deletions(-) > > I did some touch-ups ontop: Works for me, thanks! Tom >