Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id F1BF7C6FD1F for ; Tue, 14 Mar 2023 00:44:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229854AbjCNAoB (ORCPT ); Mon, 13 Mar 2023 20:44:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39672 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229519AbjCNAnl (ORCPT ); Mon, 13 Mar 2023 20:43:41 -0400 Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E6A1911F3; Mon, 13 Mar 2023 17:43:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1678754589; x=1710290589; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=d9uXMBBNiTeyRpsPOWMtC0oEoT5zw1xht8uc58DFrXk=; b=lDsyeu0sRTq6idAmiOzWm3s9De1n1Uv6NVNNjETfyAZtbSoGRzsWxOAs ydR41i6N8I91/8LhqzZcfTSEAtwNlb0m6qvJ0aB/OENkH75trdfsh3jmk lrJvXdj5YqGSKf1lZlKV20OMsBxmf+lvzL5yK4DBv3hAbsEy8Y9BRJxIe d74bMYX5h7juUCfisuOKUya7rKJQ94VHbri/FOE70EiSvQxlv3Wwe2jqL Cuk4M0N7MMpjM74jiKlwcmjv1LIxHErp1n9kQZssWBBfZxsWbhdGNPZyQ 15HLEmmFRFujmNXsRLF+ynSa3LHM2rB98vrxtH9bkv/mbyle6T78fkMUL w==; X-IronPort-AV: E=McAfee;i="6500,9779,10648"; a="399885720" X-IronPort-AV: E=Sophos;i="5.98,258,1673942400"; d="scan'208";a="399885720" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Mar 2023 17:42:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10648"; a="802651277" X-IronPort-AV: E=Sophos;i="5.98,258,1673942400"; d="scan'208";a="802651277" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orsmga004.jf.intel.com with ESMTP; 13 Mar 2023 17:42:43 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Mon, 13 Mar 2023 17:42:42 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Mon, 13 Mar 2023 17:42:42 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21 via Frontend Transport; Mon, 13 Mar 2023 17:42:42 -0700 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.100) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.21; Mon, 13 Mar 2023 17:42:42 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oWLwb/Ag2SZ49gEjIbVTBxVVHcz/FvFTbKczqm1+yHBzy8KZ7fqFs+b6taxdgZ2y17ihO9blaewlGazhx1B6M9q8uGRngEgVUrKfZAU5Q+l1Yxmu7Da4EqBFUHQ439OVXAHU/8GNZsbwezA0YLPZgvNwXTAFv7FJsoptcGJshI7kj3O1uclaPAgkJIp2pesgyoIcT9c0LrJu/umhZX6aHisw+jVLWpw/ZUk/maEYqf7KvsQsOB29/4GBy4OQR2yj/i3tnfN8LyCYMtgEDiHgySDkEJvKB3gC5F/499UWHWWP0+oxtJgTfFjmShDHdLrApC285XrrK0djp3Uq1vpxRw== 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=d9uXMBBNiTeyRpsPOWMtC0oEoT5zw1xht8uc58DFrXk=; b=USELBoXTSaNzZ45e2ETtFOW4bjjjo7dvfezPm60KZ92JqCevM5Qvl6KtqZGLmE+TULkuW6QJq3tq8kUeRmO5RYyJb48FN7GwutlJgYCMBFIr+ugZFOAZddAITPiOxnajEbsameTooeXVNiZo2QmICo/MZ66mS99e0DgdI0BH/9cdJP2MbjZG4JVrNtAykuuGbL5uv6/kQcVCS1vFQ9w29BLNCjVhI6EyfZMdMjZh4IAeByRngGY5JMlbWSOy4XEoXzMzPqKvTbBw/dp0k4lc3SeHuM1w7TSwqwozEvEjwJ/UFYfpSsmWfTeCeRMQyhOpS93YwPD7GubhWLbQOiehXg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from BL1PR11MB5978.namprd11.prod.outlook.com (2603:10b6:208:385::18) by CH3PR11MB7915.namprd11.prod.outlook.com (2603:10b6:610:12f::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.24; Tue, 14 Mar 2023 00:42:39 +0000 Received: from BL1PR11MB5978.namprd11.prod.outlook.com ([fe80::f403:a0a2:e468:c1e9]) by BL1PR11MB5978.namprd11.prod.outlook.com ([fe80::f403:a0a2:e468:c1e9%5]) with mapi id 15.20.6178.024; Tue, 14 Mar 2023 00:42:39 +0000 From: "Huang, Kai" To: "Christopherson,, Sean" CC: "Gao, Chao" , "dave.hansen@linux.intel.com" , "bp@alien8.de" , "x86@kernel.org" , "mingo@redhat.com" , "tglx@linutronix.de" , "andrew.cooper3@citrix.com" , "pbonzini@redhat.com" , "kvm@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v2 05/18] x86/reboot: KVM: Disable SVM during reboot via virt/KVM reboot callback Thread-Topic: [PATCH v2 05/18] x86/reboot: KVM: Disable SVM during reboot via virt/KVM reboot callback Thread-Index: AQHZU5lNLkv1cCahbEC0lBpbSQHWdK735QYAgAETiACAAHv9AA== Date: Tue, 14 Mar 2023 00:42:39 +0000 Message-ID: <9f8c89bf44a8eb68407369d26956c24082562cd2.camel@intel.com> References: <20230310214232.806108-1-seanjc@google.com> <20230310214232.806108-6-seanjc@google.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Evolution 3.46.4 (3.46.4-1.fc37) authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: BL1PR11MB5978:EE_|CH3PR11MB7915:EE_ x-ms-office365-filtering-correlation-id: 3237e75b-0609-4aa3-4ac3-08db24250361 x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: NhN98wSHCPU1ID9am7oeVRhBOkqo2vKeid+W/dkYlDedhTEne7d0RW9TC0G9uEesKi/f4AEc68PHbuIHc/uAM/lR1Dkl3a1lSwxoxH0RWkp33ZV6s7L15OmO1u1vv9lYKZw24UdhZ7tXsPCJBxirXPAX4DG6skB2+kbLYfJxLKjFeHQtNA5W6z2Ip7GkZOq2GNr3Oqamy0tcNFinHbQEKMtyg44w3szCJ0dqZapTOYwlqGhVhfXbYvzUZQR+qmW2TA12RJw5p8A3/AtrUz7l0ZZg3+Nb8MlLX5asLqVTwO1pQc2d0NTd1H2I/0XdGmiRx/JQPdbSfZvgQNl+FgxLB+UJjPQqFm7ggST8fhVGU7xvFboPPrwducSldMfAIMAPQMhuuUltl7yk9rLWF1rOyfkHlAslfpLIH9QKO6qIotvAsoRUm6Fp3FCESz1JavHn/1Xvcf+xiKVDfROfg73TikyYcfDj+Y9s79xMzYBYcrrYl4icE4jdsL91nHx53O3yNmXAlIy0bFy/unjzWFu2KKJZkl13hMV6G8D5sTvpFI6IKd2TjmlAraFUH0G//+d5PwkIa2gVFgV6C+xDHBbPR5CVcnmGFvxiH3ZRUfUrqI3NhzmtS1pNn4lG2sTn2X1NpV/YnZqlHxiKTh2WWCVQAXDi95LwuhhAeR0k871OkFrDyV19Kw3NLS5jpxcihEkQwtwNT/+oenGbwOIOXI/Fgw== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BL1PR11MB5978.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(136003)(346002)(376002)(39860400002)(366004)(396003)(451199018)(6916009)(7416002)(4326008)(5660300002)(8936002)(2616005)(41300700001)(26005)(6512007)(186003)(6506007)(36756003)(86362001)(2906002)(83380400001)(76116006)(66556008)(66476007)(64756008)(66446008)(91956017)(8676002)(6486002)(54906003)(71200400001)(316002)(478600001)(66946007)(38070700005)(38100700002)(122000001)(82960400001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?WGlZR3EyRnFQc0kvYWFPbDFoVjJmZ2ZEUTRKTmVuR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EluWFRtTU41clhMSUZCVXlod0RUR2F6VTF6YlRQN1pkdzgyaDY1?= =?utf-8?B?UzA4MzRTRWRMcHJDUm1IbEY1U0hzTWZRWFZTVFNHaEQzTVl6OE9BRjU0MTlC?= =?utf-8?B?SUYySHRNdTVxa01OQ09Cc001OUdxK0VGZGNaam5tMHpiU3V1ZXJadlVoMTN6?= =?utf-8?B?ZExIQjNrZE5qaWpQZnNtVTAxYjFGMEJyZnRDcDRZS05ta3d0TVNTbmdTQnJP?= =?utf-8?B?MDJnOEVWeWtPZlRJV2RFamRrbmNFcGQ3cnhyeWFTVTc0YWZJVWw1RHF4by8w?= =?utf-8?B?bytFNTYrYTRhZzBueW5kd094Mm9iVnA0dmQrV3FZMTFqTC9idEo0UEpDZWs0?= =?utf-8?B?Znc9PQ==?= Content-Type: text/plain; charset="utf-8" Content-ID: <47260E9AD3627D4B93F7AB0CFB08B5A9@namprd11.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BL1PR11MB5978.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3237e75b-0609-4aa3-4ac3-08db24250361 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Mar 2023 00:42:39.1529 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 6KVO9orJrvAP8JnvxISHbn8TZJ22pFZfq+zCS6Pe3pW9nsV5uk3NZq96uA3Kf60rUZS/Z43TE3Vr00NRDyZIFw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR11MB7915 X-OriginatorOrg: intel.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gTW9uLCAyMDIzLTAzLTEzIGF0IDEwOjE4IC0w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