Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp3884411ima; Mon, 4 Feb 2019 06:49:20 -0800 (PST) X-Google-Smtp-Source: ALg8bN6ilGnE7Ycag4Is2AWEleah9xnt7aJFMO7UjGvadGCHlajs9dlGMyEaQE3CO8QHmVLLzr60 X-Received: by 2002:a17:902:f24:: with SMTP id 33mr52465601ply.65.1549291760428; Mon, 04 Feb 2019 06:49:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549291760; cv=none; d=google.com; s=arc-20160816; b=U5R1Fj1TCYF4BBLv4Nr5qxs4mYxN4zqSeMY7t47LuVFZqCkNXliDvvPfpMigXAtcPU Unetoki1w822PcTg14goR3orwYzxxqrJ+Cka3k5EY6HOtqcBQ/ThCB3B+vr58kXWuZU8 GptxTz17Tokoa0Qgx47fXGeH3cDHVeQHH4C4XhNurJT6JwmKJ/6nwAjSvHrGUcZ4U0Y/ jvD0YTnPkt8xcbbXvhkQqQkYiKAY3jppwFJNBLD8xES5nwB1TGV9vjlwfYNm2VSunaH1 R9XrxlyV08v1PzAX4QLFaq+XVB/R1lw6f6gU13ijH+k+DtSER9QIjT1b9lvv8mgmNUqv 59lw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=AwoRiThCF2Hw1jsq9VZe258OpqUDOkWr2WKJoKILsRs=; b=VHizuSWNd1fKwGYnwNHLuhkhjdy80YytBd8YVjCTGZ1FH/hwDi9WWsCe9df7/ddeZg rwu+oWJn5MmsxBzeo1/TCwjaTCAu1lvI1FDt9/W5BK9cYS/6hHrlE8aGt9H1+xtpvrqR dzV022RyakMfPiBBh6ItpIN6ETh8rv8jpSeFV12pJHzwH83ApbSTEwccNDAdCuJth4aR 911zqjNbEruhWkjgKwjWHbqf0tTpm6Kw+kGoRfRKh5ZMiJMwP8deM3jnsRvAi0KFhjom iRF3iUYqli/bk1trjDuqBi7MtaoRF83sPT4aVdcfCbj/HruvwdYZaybGBRQXXB++gI8j b/pA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=xr5GgK1c; 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 h62si194332pgc.227.2019.02.04.06.49.03; Mon, 04 Feb 2019 06:49:20 -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=selector1-amd-com header.b=xr5GgK1c; 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 S1730761AbfBDOmj (ORCPT + 99 others); Mon, 4 Feb 2019 09:42:39 -0500 Received: from mail-eopbgr740087.outbound.protection.outlook.com ([40.107.74.87]:7040 "EHLO NAM01-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730510AbfBDOmg (ORCPT ); Mon, 4 Feb 2019 09:42:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amd-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=AwoRiThCF2Hw1jsq9VZe258OpqUDOkWr2WKJoKILsRs=; b=xr5GgK1cVdkr2VeRszz3RH40kbkBwiRDj71LquguUud1x37yuayAOVIGR/WP/WU3B3Y9HZA/ONgnLPZvMiZt1bPR1wuNC6kbWh4/LS4SEBtLlsNCOSi09gMkCswRik4l92cd4XIBR0imzGW3pbFGhi2lbRtfSjgOXqw3wD+fg48= Received: from DM6PR12MB2844.namprd12.prod.outlook.com (20.176.117.96) by DM6PR12MB3082.namprd12.prod.outlook.com (20.178.30.204) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1580.17; Mon, 4 Feb 2019 14:42:32 +0000 Received: from DM6PR12MB2844.namprd12.prod.outlook.com ([fe80::c40:929a:abab:308d]) by DM6PR12MB2844.namprd12.prod.outlook.com ([fe80::c40:929a:abab:308d%3]) with mapi id 15.20.1558.026; Mon, 4 Feb 2019 14:42:32 +0000 From: "Suthikulpanit, Suravee" To: "linux-kernel@vger.kernel.org" , "kvm@vger.kernel.org" , "x86@kernel.org" CC: "joro@8bytes.org" , "rkrcmar@redhat.com" , "pbonzini@redhat.com" , "tglx@linutronix.de" , "mingo@redhat.com" , "bp@alien8.de" , "hpa@zytor.com" , "jsteckli@amazon.de" , "sironi@amazon.de" , "wawei@amazon.de" , "Suthikulpanit, Suravee" Subject: [RFC PATCH 8/8] svm: Allow AVIC with in-kernel irqchip mode Thread-Topic: [RFC PATCH 8/8] svm: Allow AVIC with in-kernel irqchip mode Thread-Index: AQHUvJfczoXgq9UCxES9CxFgBN3rJw== Date: Mon, 4 Feb 2019 14:42:32 +0000 Message-ID: <20190204144128.9489-9-suravee.suthikulpanit@amd.com> References: <20190204144128.9489-1-suravee.suthikulpanit@amd.com> In-Reply-To: <20190204144128.9489-1-suravee.suthikulpanit@amd.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [61.90.26.242] x-clientproxiedby: SG2PR04CA0190.apcprd04.prod.outlook.com (2603:1096:4:14::28) To DM6PR12MB2844.namprd12.prod.outlook.com (2603:10b6:5:45::32) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Suravee.Suthikulpanit@amd.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.17.1 x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DM6PR12MB3082;20:qS47NHx6dGqMeCi1xEVzjXQIE8J9+pVKB0+IP708uknFigMm8Gdt4QFOMEGnGABkFZIQy8UrWHBwsQUPFhsyU1WpoFCuI9n5XNsXH1KO3ZN3xbnkI+oBWSXbDQKGaEb0lsyYMkDOWzcBMZGSP7MFxQD/ZDybiuGfMP5Ia9NrQyMrFN2kNyoKNt2/OeaKe17vNuA42By9LOfG0r/HOs7417dyz2Xc5kw8R68VP500MSnEUzz5jrVP9IxKCBmcIxtY x-ms-office365-filtering-correlation-id: 0a26d67e-f0e4-4339-c104-08d68aaefeb0 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600110)(711020)(4605077)(4618075)(2017052603328)(7153060)(7193020);SRVR:DM6PR12MB3082; x-ms-traffictypediagnostic: DM6PR12MB3082: x-microsoft-antispam-prvs: x-forefront-prvs: 0938781D02 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(39860400002)(366004)(396003)(136003)(346002)(376002)(189003)(199004)(105586002)(186003)(6486002)(6512007)(110136005)(97736004)(54906003)(26005)(446003)(52116002)(11346002)(2906002)(4744005)(305945005)(76176011)(106356001)(316002)(36756003)(478600001)(72206003)(8936002)(25786009)(217873002)(66066001)(7416002)(99286004)(4326008)(8676002)(81166006)(3846002)(86362001)(386003)(14454004)(102836004)(6506007)(81156014)(6116002)(14444005)(2501003)(256004)(53936002)(1076003)(68736007)(7736002)(6436002)(2201001)(71190400001)(71200400001)(476003)(486006)(50226002)(66574012)(2616005);DIR:OUT;SFP:1101;SCL:1;SRVR:DM6PR12MB3082;H:DM6PR12MB2844.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-message-info: IVE4Gj8d6tXWvg4QKoDyV+qye5wZh/lkVNmERRK6GqGKKxEyiSvik5obmO55j1pjuq2w3Ya4EtU+aC1SPeIRu3ek3vUmyrHIYmBJe+MVXjo2zURFXTHEPPrwC8VzVKVcs3fTDXBbv7iCP9FCOvoroyLtfCwy3TLe4bt95v2fRFP3wXpkkxgVwBqJ9qUGj7w3jSbmSJcYat8JjIzCa5UfYwtoZEXg3bf9z9duxGUu4qSFugndPUH5Jp2NSzCYhgl+Hlsai3CGpFSc6w44oVxElKL3H7BETxnrIlb+bjPQu5fiY+QaeHElW/F5PGdLKTX7PRo3vOofow5mCsiu00qB0G1rJXeCp9aqY8LptJ11vj//3Cyxs6n9SM0oqgrzf7EcDYnXbG3nF+Q8sWV2Vb7W88k1QcEvK4I5jtG3jnRLoIg= Content-Type: text/plain; charset="utf-8" Content-ID: <5D5095B0C6F03142B6D5F12E22A36795@namprd12.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0a26d67e-f0e4-4339-c104-08d68aaefeb0 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Feb 2019 14:42:28.0313 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB3082 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T25jZSB0aGUgSVJRIGFjayBub3RpZmllciBmb3IgaW4ta2VybmVsIFBJVCBpcyBubyBsb25nZXIg cmVxdWlyZWQNCmFuZCBydW4tdGltZSBBVklDIGFjdGl2YXRlL2RlY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