Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp419758rdb; Thu, 30 Nov 2023 08:07:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IGZVHBXTGK5c5grYblw21sNAiwQUqLm6CQV33CjMiahff5rqmDJssL6HOS+bsw/fhTeUSnQ X-Received: by 2002:a9d:4d8c:0:b0:6d8:298e:e54b with SMTP id u12-20020a9d4d8c000000b006d8298ee54bmr13202851otk.6.1701360470646; Thu, 30 Nov 2023 08:07:50 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1701360470; cv=pass; d=google.com; s=arc-20160816; b=FFOyKsXPvZFRYzNrtAfa6qzInzMhX86ALiF24RFMA9hOfTTCNy8Q/4N7+SDa855216 g+nqTcQvBTKqdegnYxz2Pw5fflHU6MXr14U9Xn4OT41eDHN6BfGEpMseUG8Te6nevtwJ 2iHzxdSQyPG4fZDG15AFq2SnDNN0lUre40mIzgddRHHo4zXocCidWyra7zxgHWiN/E2d BCnpbkWAqX8cOnc6iRiRtv+mS3zRPO/wplHDgscqqmIISpY967G1e/CrgK5wsOcNhQch eyCztS6T1Jqmf1F4HzGWsKXgsZtGw4lz/sGVrdxNdWpU54wq4hq/7XzvJH0dPoC1vBxw pFtA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:autocrypt:from:references:cc:to:content-language :subject:user-agent:date:message-id:dkim-signature; bh=E8wZl3OIJachGdJiD1jgnQNlTvGBKtldRHwQugqIQ2c=; fh=WBwB1sMWz1uD40+3O/AMnH6tcTMkY6UWGqur1wKf6Z4=; b=A4IXqmuYYkfzWHoP/vUq0DnUQYIgMM5wEABpufEUHyiwF+lKRleQXWT/SAPAukqQOw Nf02r53EUmQwYQqzQu76/zD1Pg6wN1OEgx9VkuKtONQrt79ql23H372gMQzWDPEE5pmD hlY5mqaj7CQ4xq+QI9+sd1ppl5aWc4HEuT6SYG/5VR8jwCR/Q/qk4W6zmPGDot799dZT /C6hN8bDEfrv5nt71jwG3u5xlRqh6O3Jd5GJQen02I4ekSjFcUTr3AuVF4An3DZyHtM1 ehAyrE1rXGs4MBk7OUOgUJLMcCom+Hsq55J4aqKDsKnVzUCA7yTgH5HZnMLIA4/BWAo9 gr9A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=rkCsH2Bt; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id j17-20020a056830015100b006d7e3b83347si523754otp.191.2023.11.30.08.07.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 08:07:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=rkCsH2Bt; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id D82238021396; Thu, 30 Nov 2023 08:07:43 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232029AbjK3QH0 (ORCPT + 99 others); Thu, 30 Nov 2023 11:07:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35652 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231934AbjK3QHZ (ORCPT ); Thu, 30 Nov 2023 11:07:25 -0500 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2041.outbound.protection.outlook.com [40.107.236.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8708C90; Thu, 30 Nov 2023 08:07:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TS83n0QjYfzgzMtf/PNFjPBLqnxwiLM1ISsJhhLynRopMg5FJ0C6T4cTgLlCUraR9yn1TMcM9H00etT0cr9QP1OJPXYtJTPrNr+bSPXU0XoZQLfm5aufzZKBNlFPo1BqZFxZf6hi7jgRZAXjz1BrUjimOZuKXEZJuC12JUFTPwZoU1ZLpCatjjnne3+Dx+E3QFEjxqtnGOPsqi0k7WmrCXDO2mMA4HOubmH+d7fNbDVCyZbiz+cUOeP44/FzRxoROEnPsoqADOnCwLMbjk/s/YRlNcUIIweS06B5ja9/Z89tEMKnU7OFbImWaEXYrNUx/QRbSvrULr/oLIsbkIcr2Q== 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=E8wZl3OIJachGdJiD1jgnQNlTvGBKtldRHwQugqIQ2c=; b=F697VWvYGE4k6QJ+2L+Q8rzjOtwISHsSi5Gp73zCefMhjghJK5EdFBk3PUGhsf1L1UY9LIdx8WU5mA6ryklZRTOx6k1H+XRRbKmwDbyCeaXqLwmlSzr01Rr+uLSHwBAu8i5cJba53EUhwGG/jw5OZ9ZafcL/JmvbCpw1CUiVNyjJSJjRUrvB+Zh2dK9RQizLSM/3zsm/KDo0e1e+vEM1jKqwAY2IhJHYY8sUb82IA9Z6WA9tuHlLYR73FfMtyx7AiK085K1FPR9o/aP79KLPopFZ4h4+WhKMtSF/5otMIiJzAPtR7Mj2E2LBLSY33E4ZyAOCWJ2XwoofBt+lN/12oA== 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=E8wZl3OIJachGdJiD1jgnQNlTvGBKtldRHwQugqIQ2c=; b=rkCsH2BtCa60+ikwNSurtAAFZs/p8Yleobhofj6nL3L+9rtrH2jamYKb5h9Lk22a62EBympnNU9yHwiutupTCqSGX9SNxnc0PXZH8qqUd7bXN5A3fbACvg7N2nE2vicPOSsjBm3boOQhtR6F1KczuzDLhgpQLlkW48EUpeUWQZI= 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 CH3PR12MB7572.namprd12.prod.outlook.com (2603:10b6:610:144::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7046.22; Thu, 30 Nov 2023 16:07:28 +0000 Received: from BL1PR12MB5732.namprd12.prod.outlook.com ([fe80::1d68:1eb8:d7dc:4b43]) by BL1PR12MB5732.namprd12.prod.outlook.com ([fe80::1d68:1eb8:d7dc:4b43%6]) with mapi id 15.20.7046.024; Thu, 30 Nov 2023 16:07:27 +0000 Message-ID: <44244ba4-9d18-4cbe-8592-a7a41e22d725@amd.com> Date: Thu, 30 Nov 2023 10:07:24 -0600 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] x86/sev: Fix kernel crash due to late update to read-only ghcb_version Content-Language: en-US To: Ingo Molnar , Ashwin Dayanand Kamat Cc: linux-kernel@vger.kernel.org, bp@alien8.de, brijesh.singh@amd.com, tglx@linutronix.de, mingo@redhat.com, dave.hansen@linux.intel.com, x86@kernel.org, hpa@zytor.com, jroedel@suse.de, stable@vger.kernel.org, ganb@vmware.com, tkundu@vmware.com, vsirnapalli@vmware.com, akaher@vmware.com, amakhalov@vmware.com, namit@vmware.com References: <1701254429-18250-1-git-send-email-kashwindayan@vmware.com> From: Tom Lendacky Autocrypt: addr=thomas.lendacky@amd.com; keydata= xsFNBFaNZYkBEADxg5OW/ajpUG7zgnUQPsMqWPjeAxtu4YH3lCUjWWcbUgc2qDGAijsLTFv1 kEbaJdblwYs28z3chM7QkfCGMSM29JWR1fSwPH18WyAA84YtxfPD8bfb1Exwo0CRw1RLRScn 6aJhsZJFLKyVeaPO1eequEsFQurRhLyAfgaH9iazmOVZZmxsGiNRJkQv4YnM2rZYi+4vWnxN 1ebHf4S1puN0xzQsULhG3rUyV2uIsqBFtlxZ8/r9MwOJ2mvyTXHzHdJBViOalZAUo7VFt3Fb aNkR5OR65eTL0ViQiRgFfPDBgkFCSlaxZvc7qSOcrhol160bK87qn0SbYLfplwiXZY/b/+ez 0zBtIt+uhZJ38HnOLWdda/8kuLX3qhGL5aNz1AeqcE5TW4D8v9ndYeAXFhQI7kbOhr0ruUpA udREH98EmVJsADuq0RBcIEkojnme4wVDoFt1EG93YOnqMuif76YGEl3iv9tYcESEeLNruDN6 LDbE8blkR3151tdg8IkgREJ+dK+q0p9UsGfdd+H7pni6Jjcxz8mjKCx6wAuzvArA0Ciq+Scg hfIgoiYQegZjh2vF2lCUzWWatXJoy7IzeAB5LDl/E9vz72cVD8CwQZoEx4PCsHslVpW6A/6U NRAz6ShU77jkoYoI4hoGC7qZcwy84mmJqRygFnb8dOjHI1KxqQARAQABzSZUb20gTGVuZGFj a3kgPHR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/+8g7BuGF+ 6irTe/qtb/1CMFFtcqDorjI3hkc10N0jzPOsjS8bhpwKeUwGsgvXWGEqwlEDs2rswfAU/tGZ 7L30CgQ9itbxnlaOz1LkKOTuuxx4A+MDMCHbUMAAP9Eoh/L1ZU0z71xDyJ53WPBd9Izfr9wJ 1NhFSLKvfA== In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: SN7PR04CA0156.namprd04.prod.outlook.com (2603:10b6:806:125::11) To BL1PR12MB5732.namprd12.prod.outlook.com (2603:10b6:208:387::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL1PR12MB5732:EE_|CH3PR12MB7572:EE_ X-MS-Office365-Filtering-Correlation-Id: 8faf7444-bdf1-4db3-a2b1-08dbf1be727a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: QVKUt2jeAK2z2PqqB6B448PztJVh6gqzB1jWjJ8wh6IiVx3DiW/EWnd9W6e0o6kZEGhqwEqLQE8hiAa3y+oLeIneMW/YCW2sAUE2v6nsEeT2FHSVdUWm6F905MRRMDhpL+LfeRmv9jOGfFqnfzSle9UoWZiWWKb/du7rzubOdhNiEcsIObktqY5yXmjJXH512I7kZX/qX1vGXWjWVbgDbN+CExEuPnUucqokX5kXqn2XMtMfYUGlS2I6l9twKyzm1pUpV+95WgxLEbxAEgKq0p1dXoRUuY6i4DJk24thKli9KjwzcZH24K2mkDx/52Jvl4oz9/RrymH8hU6yJQ500kANpLC3S6PggxXZtnUFXlr1NWY5TGY/BpcC8NMCbIXX6zjOlJkM1tGOhGx535/YnqSZvmeqoOLFGhn7gw3U2gFwzTL5KyUTtjFyH4KfqW+6okoXs3VhHqSQtASwkvw26RhNDZDOMbivnHsbYV/18cYLblSKUFpLNrbbRTpLWJgJNJQ5APa9vVgFf1cxheYhT2XWSlfKmYWlKcAJsz5Be5nFfs1vzoQ5FxFzUFN6kjEhwMjUWBt5NFcdHWz4JKr1eRLr7/AszDOF1LA80fuQusJyXFZT9Vhrc9WPO+F/5atLD7jZ5WR4+kubpsvE7WX8gQ== 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)(136003)(346002)(39860400002)(396003)(366004)(376002)(230922051799003)(64100799003)(186009)(1800799012)(451199024)(478600001)(6666004)(6512007)(2616005)(26005)(53546011)(2906002)(7416002)(83380400001)(15650500001)(66476007)(5660300002)(41300700001)(8676002)(110136005)(6486002)(66946007)(8936002)(6506007)(66556008)(4326008)(316002)(4744005)(36756003)(86362001)(38100700002)(31696002)(31686004)(66899024)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?S1VVTGpHemsrRUx3R2QxTmlWMzJQNFRoS1l5TFltUXhjU21WMkhpYUVCU3Z5?= =?utf-8?B?QkdleDdRZGw2dWtkclpaY083R1cxbHBnNkhzTEN6ejMvU0R4aU95SjNJTWgv?= =?utf-8?B?MkVXcnJiT0RsemJKK0M1QkpKeU9WQW9Ba1FLVjBaWlcyaGZGbFRUUEpVa0RN?= =?utf-8?B?U0JFa0lBNTJWWnVWc2NsTWxIOXdIQ1owUlNjbE00eVVmYi8xa1VZVTdJeEw3?= =?utf-8?B?aC9nSDhhNU9FOGg4VTBKeW5STTdqQk03RW5EZ0trcTdkT2VpT0x5Wkp1UjVV?= =?utf-8?B?RmdCZmVoakVvajV6U0ZwdzZta3k2UC9oZnFzTUIyWFIrOXpQUHdhY3JSdEdO?= =?utf-8?B?ZUNtenRVTkdGL1VCdi82SE40Nll6dHpja3BReXVVRzJaTGRRYnZlMkczNzBl?= =?utf-8?B?OXBFenEzK1dnY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rossTenant-AuthSource: BL1PR12MB5732.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Nov 2023 16:07:27.1472 (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: 9dpqY6+cwiQUfztnVkvON1stVk1rx+5JvU2MEao27c00yzMpRBdQN2PcJRUZ7h5LeO1ha8ktMvpWaiqNYkt84A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR12MB7572 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Thu, 30 Nov 2023 08:07:44 -0800 (PST) On 11/30/23 03:30, Ingo Molnar wrote: > > * Ashwin Dayanand Kamat wrote: > >> From: Ashwin Dayanand Kamat >> >> kernel crash was observed because of page fault, while running >> cpuhotplug ltp testcases on SEV-ES enabled systems. The crash was >> observed during hotplug after the CPU was offlined and the process >> was migrated to different cpu. setup_ghcb() is called again which >> tries to update ghcb_version in sev_es_negotiate_protocol(). Ideally this >> is a read_only variable which is initialised during booting. >> This results in pagefault. > > Applied to tip:x86/urgent, thanks. > > Tom: I've added your Suggested-by and Acked-by, which appeared to be the > case given the v1 discussion, let me know if that's not accurate. All good. Thanks, Tom > > I've also tidied up the changelog - final version attached below. > > Thanks, > > Ingo >