Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp4294427ybx; Mon, 4 Nov 2019 10:58:04 -0800 (PST) X-Google-Smtp-Source: APXvYqwIRSciVwaeqLDigJcG/idoTT3+tqsPU1ezFoyXNo6ShK46PhsEUcta34JVUDffdXYieJI/ X-Received: by 2002:aa7:d40b:: with SMTP id z11mr3143747edq.142.1572893884361; Mon, 04 Nov 2019 10:58:04 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1572893884; cv=pass; d=google.com; s=arc-20160816; b=UZy2YdH20TcWUEWlRjQi2ipUhrqn5qrCxSzUHq+GMoSpyB09eyYx0NnxXQ3v+e6sHT 8RY/XFz05BuldO3Aa8MqdjIyT6EziLtQ2hbSQjjnWPqYNRdIKUwTwY80JfIq0aGpCW7S OQqpZa0OFi0R6U+pMpMap7TY5p5Z63YsXrFyliGUGS1AcfJynpgWUVeV3cp7wKYNuQOR swC/ir4TfpgRQWAnyVZ+O1ncIwlYAhwqpxrY77nb0NPXnF5mhRZcnQAqpwQvPVaSLGzR sy7AOBCn3K8aZs2LOJWA9Qy3BxCtu/AaGrGsMNDJPqNb5GenjEMZmT1iJvauGVZmvZ4b lVQw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:user-agent:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:dkim-signature; bh=DkCrKEFENQ5NkLIhAmkV5Rrdz/wQ2JVQsCmVuU40x1Y=; b=h6BNgdsg+vEWweHpFBKEH+ps0pDPKxCjFXGyRk0A0d79Rgymg+fBlQkUtk4MqSYE8u aH4POdHTjj733QVU0oU2hxRnqR1X9lvSWsDdKlOOkUhdO6o3wnlodNNGcjCAoQT+qqka AHYCDe6hCAZfgCHxbx8tcfVZNR7iDcv4DnRXbjIn/vYlkZWAJjJonelCQ6cKdu/0CzS+ tiLQ0/SNxNk+xJOMZ7f3cz7fi+6jmnl/e5t9vrH+Q3qQAhME/c63fiFec3Dq3+fxPnJm Xfp1i5OYcFTeTdouw0hyvuFkfre1qZnsCHXveOIi4+UAwMXaPVMxjl6dnRNjfYGaI3QV iQAw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector2-amdcloud-onmicrosoft-com header.b=NflsDGMn; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e32si8264200eda.267.2019.11.04.10.57.40; Mon, 04 Nov 2019 10:58:04 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector2-amdcloud-onmicrosoft-com header.b=NflsDGMn; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729378AbfKDSzk (ORCPT + 99 others); Mon, 4 Nov 2019 13:55:40 -0500 Received: from mail-eopbgr720062.outbound.protection.outlook.com ([40.107.72.62]:4141 "EHLO NAM05-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728268AbfKDSzk (ORCPT ); Mon, 4 Nov 2019 13:55:40 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cf4aze0GAJ3lRQm+QUV98wt5NKbO5elslYSsnUsMOmvx+rJkpWE0WbInbhCh5DMU/aTMSq1H6eHywswmqUAKQ/1E+IrYQojw/1JGckqAk+2GMptgv/lpbfZmvCbATW/3XzF/w/TMklP/VWxOYFfbH6YUMvYfYnCT/xIa4uPpP+t1eXAVt8s3GY/SV8buenIZ8nZXp7T5/c8dM6ard0++QB0kAdhF8818rdWA+VX8U+FehhfrXNVTLyv1/2+7kUa1WraIZOEYJQznm+vv85wKz/KVwt+SOlUbLaAvxg9Rxq2DujAnZalylzO7VZ5CJUAjoXU7d4FvWEr9i1oDaidTMw== 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-SenderADCheck; bh=DkCrKEFENQ5NkLIhAmkV5Rrdz/wQ2JVQsCmVuU40x1Y=; b=FhfB+pwUA4tT59VX4QShuA2IIQTNDfc5mUkLDPPdDov6jiak2zD/nGyz8jIkDmjTQ9MjN2Coe3gmkpjqcT5PEBc+qCbs4AF/euKS0UhIwcVkBYlPFcZJBtYIizUVkxEanEdNMKNe62DZkrNdGnF0imGCHlzj24X7yeSKL7L+/AzmQxLDabMPSmVqU0Z3JaeSCV29yBk18CuNmw5lwa1e86Ds8fCHuip5KnNFqrU24CQ0TDzifCsBd0iiDDMyEvDcUH++8Zq/3ksoGstwyXuwx26hABVyhpb03AZoVpFj43549eHVGXyARqcCdHa5JgJr2f8gZxSHQ4+QW/ftq5cr0A== 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=amdcloud.onmicrosoft.com; s=selector2-amdcloud-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=DkCrKEFENQ5NkLIhAmkV5Rrdz/wQ2JVQsCmVuU40x1Y=; b=NflsDGMn48S9zhToNDlMWBce2djn6UGiqbdrJ/UxbhX70AsvJWWssQTJVIuRfa1dy7QMi8X7m0MyhuQlAYJlLrB7o5BgNjQ8rAv4lTeyMDW5GkPp1w823B3YxzaZCdpFDuFI8rD/nGhtwJdTENuVLajtLLUERvd5CqOWYHJvmgw= Received: from DM6PR12MB3865.namprd12.prod.outlook.com (10.255.173.210) by DM6PR12MB3916.namprd12.prod.outlook.com (10.255.174.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2408.24; Mon, 4 Nov 2019 18:54:58 +0000 Received: from DM6PR12MB3865.namprd12.prod.outlook.com ([fe80::4898:93e0:3c0c:d862]) by DM6PR12MB3865.namprd12.prod.outlook.com ([fe80::4898:93e0:3c0c:d862%6]) with mapi id 15.20.2408.024; Mon, 4 Nov 2019 18:54:57 +0000 From: "Suthikulpanit, Suravee" To: Paolo Bonzini , "linux-kernel@vger.kernel.org" , "kvm@vger.kernel.org" CC: "rkrcmar@redhat.com" , "joro@8bytes.org" , "vkuznets@redhat.com" , "rkagan@virtuozzo.com" , "graf@amazon.com" , "jschoenh@amazon.de" , "karahmed@amazon.de" , "rimasluk@amazon.com" , "Grimm, Jon" Subject: Re: [PATCH v4 13/17] kvm: i8254: Deactivate APICv when using in-kernel PIT re-injection mode. Thread-Topic: [PATCH v4 13/17] kvm: i8254: Deactivate APICv when using in-kernel PIT re-injection mode. Thread-Index: AQHVkQWFwL1+c1CZPkWuTq14KdLXDad3peqAgAO6uQA= Date: Mon, 4 Nov 2019 18:54:57 +0000 Message-ID: References: <1572648072-84536-1-git-send-email-suravee.suthikulpanit@amd.com> <1572648072-84536-14-git-send-email-suravee.suthikulpanit@amd.com> <70fb2b49-2198-bde4-a38b-f37bc8bc9847@redhat.com> In-Reply-To: <70fb2b49-2198-bde4-a38b-f37bc8bc9847@redhat.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.2.0 x-originating-ip: [165.204.25.250] x-clientproxiedby: BN6PR12CA0042.namprd12.prod.outlook.com (2603:10b6:405:70::28) To DM6PR12MB3865.namprd12.prod.outlook.com (2603:10b6:5:1c8::18) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Suravee.Suthikulpanit@amd.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 6988c91a-be43-47e0-8d21-08d761587cc3 x-ms-traffictypediagnostic: DM6PR12MB3916: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-forefront-prvs: 0211965D06 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(396003)(366004)(346002)(136003)(376002)(39860400002)(189003)(199004)(2201001)(99286004)(25786009)(71200400001)(65806001)(229853002)(66066001)(14444005)(256004)(31686004)(81166006)(2906002)(8936002)(8676002)(71190400001)(81156014)(6512007)(6436002)(305945005)(478600001)(7736002)(486006)(476003)(4326008)(6486002)(66446008)(2616005)(14454004)(6246003)(65956001)(5660300002)(11346002)(446003)(64756008)(36756003)(386003)(6506007)(53546011)(2501003)(3846002)(102836004)(52116002)(76176011)(6116002)(26005)(54906003)(186003)(7416002)(86362001)(31696002)(316002)(110136005)(58126008)(66946007)(66476007)(66556008);DIR:OUT;SFP:1101;SCL:1;SRVR:DM6PR12MB3916;H:DM6PR12MB3865.namprd12.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: amd.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: jixSI+jtlyLvpNb5yIECnOi4yU5LzRseEWYBsoPBIC/LzN7KCf0MWwsjeJpNHNtDOk7a44c+79DojVvV3fd/dSuAZOhIGvszA7T3TAryhFpZ+Xzpr7Lhvdge5nzOFeRcqd4WfXaLIHQEaMIpWrzE5PbYSSgEp6MIRkXTS8wFkUJJfnAxiRM44wqj3hDJfxKWclZcAcJv840IHGeh0GcCtJSFxScsGXcumW4foSpNMI47g6xcIOX0lRJLUzZYhL0nLR3YwlJ5jaeDehDjlo0+VzrjPGAbRC4Lrq5owsZuVetIqHV0clY3TFvWL57EjJn1fEhda27oo38qgcu2o8B37bT0ee34uuTZUAVJYLoXjBh9YPwK1kponK+D1ZxyrVi0W1+Zqxl5n7GLzP4U5vTMwWdV5B+nxGExQ7U+levP6tteII9IJ9ADeq2SxL+TdM7E Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6988c91a-be43-47e0-8d21-08d761587cc3 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Nov 2019 18:54:57.6290 (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: 4YBmfc1gPGP1DmBotnbgdYhlApHmhOY27x2cu9xJ/0WaACOlhqOyOa1tX5TAg56QyJgd9WbL8VyFz37boORMWw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB3916 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org UGFvbG8sDQoNClRoYW5rcyBmb3IgcXVpY2sgcmVzcG9uc2UuDQoNCk9uIDExLzIvMTkgNDo1NyBB TSwgUGFvbG8gQm9uemluaSB3cm90ZToNCj4gT24gMDEvMTEvMTkgMjM6NDEsIFN1dGhpa3VscGFu aXQsIFN1cmF2ZWUgd3JvdGU6D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