Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752680AbcDRT50 (ORCPT ); Mon, 18 Apr 2016 15:57:26 -0400 Received: from mail-by2on0062.outbound.protection.outlook.com ([207.46.100.62]:58784 "EHLO na01-by2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752113AbcDRT5X (ORCPT ); Mon, 18 Apr 2016 15:57:23 -0400 Authentication-Results: amd.com; dkim=none (message not signed) header.d=none;amd.com; dmarc=none action=none header.from=amd.com; Subject: Re: [PART1 RFC v4 01/11] KVM: x86: Misc LAPIC changes to expose helper functions To: =?UTF-8?B?UmFkaW0gS3LEjW3DocWZ?= References: <1460017232-17429-1-git-send-email-Suravee.Suthikulpanit@amd.com> <1460017232-17429-2-git-send-email-Suravee.Suthikulpanit@amd.com> <20160411203449.GA32480@potion.brq.redhat.com> CC: , , , , , , , , From: Suravee Suthikulpanit Message-ID: <57153C18.6020104@amd.com> Date: Tue, 19 Apr 2016 02:57:12 +0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <20160411203449.GA32480@potion.brq.redhat.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [165.204.53.123] X-ClientProxiedBy: BY1PR17CA0017.namprd17.prod.outlook.com (10.162.18.155) To BLUPR12MB0435.namprd12.prod.outlook.com (10.162.92.140) X-MS-Office365-Filtering-Correlation-Id: 51c74002-e890-4af7-1480-08d367c3a5f5 X-Microsoft-Exchange-Diagnostics: 1;BLUPR12MB0435;2:v/xa5QS3AaX3qEJUmdWhd0RJrRtrX+JjWQfG8omcdkcd86OzcQz+p/5tdz+ggTEHewCJr1mO6F/QWMa3iL/eRimfB5FOD5bvbiMmQUBalr/iRbWTgEkldtxrDD4tHIZQPuc3w4z+9uLzZhGg83mZKjUEK+xMn8ujIGUIv3wAdzHeVv3Q++IlMPQedbjtfgOL;3:LL3ZSndsN0eN88Ul3oL2+go+URbByhzPlHlufx9/+gkoGg2WMPt8bRrXi7J/BHFocOEN2nFzyYcqdgqWd3i5nlV+Rrrti/SEr45BT71StYSLxNrBxnbHPOhE4nEdsJG3 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR12MB0435; X-Microsoft-Exchange-Diagnostics: 1;BLUPR12MB0435;25:w96nIOiFj+MtPF/ph8zKekh5Q/srJGLWng9MDIBnIkOtCJZsZrOPt31vJIhKCjA5RUIdMNqFtSIp6AOj/cZvsR1VdXTiHOM+EdoXERzTJdhvScPla89U+fNgVQesLXyazWW8EJPvThn8AP86/pX+tRrjQYk0cm136PYluxKXBj4VTOhxZdKJ/Jega7CUHMhpG294vU1MrggFWvbNbUucFzYeE0nBBpv2/fWsCnvgpE5mxX8j2GWEwsy7ulJ+CL+XuNSMRtES3mklEgKNRy8DUZvLlJYuhmNktjZW5RJytAkhlwyIIbrBMFcOB5UJmPsispCr8DPW6hFSVhK6Atsyu1ogKjKAur88xii5BiT3t0KvRb+A/5GtpWie4GNQ43hiEUym5+tp+UyLD5ets6iWji0GRzcxRIQwhMEwcTKkDSvbSmfbh0iTXuk5pv5pZ0waV7pSrtbu85jjVYdnDtkyCbGnA8tjKw4Hq5xNpDA7ARHS8qiHGNy4RuTfyzHy1P83uqF7/18ENjSd80trAuWolAOaGW51NwEIl7eldYanj8ls25L+XtJ1x/S681C724To5FN1RzwfwsacUtQIX3mj5A7GK2jdxw7yLFZpH3nAJXNSI1mm/M8sN86vnC0SfUkZu/idyPKV+1mjWJ7ZzA29bQ== X-Microsoft-Exchange-Diagnostics: 1;BLUPR12MB0435;20:BkSjA7wExbxbdNT6N8uVMnbrtx9EX6NlnCBRFoPRVxmRDe7Ir5gJAFkpbq/6lPykQdrlNSghN2PHE6w+cM7E5BlcaGYOdZTaYjlpLszALzzw13DguAgMb7ZnAHvIqq5RtwpxPttEuSnAySXBlHVYaP62PcfepU2qy+KH0xxzCLtSMSs+faPSbCPDnIjjF/3Zoc/w2TiFiP+O2rYZkWn0ttk7YMIjJxs+Tre4bBJPNz/8xvEJnWwOprFwhkOh1DO65Tts1TCNNwCRuBGoMm3rIB+p0McydBailDx1XJDL38f4xqOAfQmi6BsdgrXfR8AnIegp7K+A0pyra6DRqpgwrWWFg3wOQEVyq0YBvJxGAFdk5hbqHpq24nGR6v/w4oIkJaF3/MZvj5Yw74z/BFg1G5CjsnRdZVfXrnYlESPscCEIaiR+hRhmIVC1T1IcdWVHJOxe5O8oWjxD0KfFY7O7Nk1WMgaK+ysRqPgrpsf01xt9/XchI9lkRzUdXAGUoCE5;4:RZlm5CAtQPsxGEDLplv3d1wRVFCRZU9UbPK8P1wzOfCM3K+6mrXESPRveERysgB8VBxJKig6YJMQ1mP1qhj9K77ZRLt9Wio7kM+4HpsGrXN92lByFw0cRac4D59Zc0A18drOA/3cR/P4WdfYPSla8ttJMOtpOMae2ULa+/vWAhnbEzDJcUjxUmmg5crGT1PVLinvgvW8xyj23bnDoFWW5XO1cNFWhwynmrYrt2bKp4G7WzT8pxvs1EAkBXWp/+lP5nQ7yA39dq2G8yrVuDuPBf0xuCf+Ab06AGOGfHA2aPux9fHapXJsdbujHd8bRF7IVfN/FTY8mH0FNeot0K9EGlZ9Gi58utUXz/ECr5luf5FPovMkCpqpD1scwNk/JM94l4gSgsED4usrjmhzlHyYNCt3P2dN5r4D0NW1NOpl1Gg= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(9101521026)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(6055026);SRVR:BLUPR12MB0435;BCL:0;PCL:0;RULEID:;SRVR:BLUPR12MB0435; X-Forefront-PRVS: 0916FC3A18 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(6049001)(6009001)(377454003)(377424004)(24454002)(77096005)(47776003)(92566002)(86362001)(5008740100001)(65806001)(3846002)(6116002)(2950100001)(65956001)(586003)(66066001)(4001350100001)(23676002)(110136002)(59896002)(189998001)(36756003)(42186005)(33656002)(87266999)(65816999)(54356999)(99136001)(50986999)(76176999)(1096002)(64126003)(50466002)(2870700001)(5004730100002)(81166005)(4326007)(2906002)(83506001)(19580395003)(19580405001)(80316001);DIR:OUT;SFP:1101;SCL:1;SRVR:BLUPR12MB0435;H:[10.224.4.142];FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtCTFVQUjEyTUIwNDM1OzIzOldYNXNHSlhTWTBKQkxmbm9RRHR0bTM4Mno4?= =?utf-8?B?RUNIcG9nbm9zUlNFMEpmYWl0MGliOTk2RUtiSUVveEZMeC8zbGwzYi9SdkxW?= =?utf-8?B?eTdMQ3ZLM1dSa1FSbGdGcVRYUHhmRU9Wc2NDK3BzSkhhUXc5VXFlSGRCT0pV?= =?utf-8?B?L1RSNXkvZEJzYTdZZDJzMHlxZzl2THNPa0JncllSNTFtaHg4NWM1cWNCSlI0?= =?utf-8?B?K0dhZVpnblZiYzU4eU5yR2lmbjhDNk9zTmk3eEljR003R2JDNnh3ei9oQlVh?= =?utf-8?B?UFpXVHlIa2xoTExuVEFNbjQ3VlVFWGJDYWVOOUNDbkduc2x3TjBsWDJaME9C?= =?utf-8?B?MXZQWVJxUlRxRnRPSDlHZzZHc0FkZzdrR3BiMUdOdlpWRlNkRUVqNzdqdzBk?= =?utf-8?B?RHpJemIyUUlMWjdPK211VUUraEhiQzJzOTFydzVqTlpIMnhUdFArRitqYk9L?= =?utf-8?B?clFNR28rUlJiOS9UcFo1Q3pUQUJ0bXdhZ1hqcG1qVmZqRkhQTm9TdHgvdXZP?= =?utf-8?B?dm9MUkltRHIvcUFSWmhQbVhhRW5rZEtBY01CRjNPeGtsWDA4UmZ3QUY2RmlF?= =?utf-8?B?RVRCYm9reU1xVFJHTWZyUThhWDlNemZDczNoQ2dmdWNrNVR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X-Microsoft-Exchange-Diagnostics: 1;BLUPR12MB0435;5:q89rFVGQMW+daeWa4qlbgEvs1WJJnqriJtLPzx8nP+PNaN02n1ystC0JK+SBxpFe5vKBtav6547PbL2aUln23SJu6wQZGmkGvqwaEoTtScjVkl/HDdqrwd7iHob/X6/zJ6B+0tbj3lnb87mEyrW2TfKWZ136jN8Cl4tKNssdTnAgosY+gvcbuhJbjSwqK+DT;24:oEk8asrQZD7mU3whx7NT/tgFdZZSZH/UjNmw5VpRu8ixydkCqQylywd7fascsLbvLYu7LiFOIqRD8YfW82hodUVTXxLBPwaOTU1rx/ntjm4=;7:vwR4PKB52OXkPS25XAHMBKna7Tcftp9nn/2+4nlKiShl98t7zUvA44XC9UY6Uo2Bg+LuH1tnesNCGZ7mmYsR7E+vEKXqIBFmqdbKldovj2nsgqS7ocolkiPfB8EliQRyHnjIcM0c2nbySD0fC8fLSJuug3Raa/8/DUp/xtUuVvwCIEbZhuddrjhfhGelV4MqvzCe2tJBi5xo/PqH9lcJ7w==;20:c8sUlnl7cbCuI1bK+DUnZ7ccqgRg49Yqju4FCAdWmzLYcwDpaaBjARoSaJ9F04YfWKngy4Uh70ADjmasBv965uwPDhmvHlhi4bOCd12weauOOCv73+LIgkbmKIoLMryEOOS0wE5Yn8P+p51QiUHIEtFPGKS3j3VEj2z3LtISTyJ1STQbFYB/5bog4jEm5enc3OVsnyaD/WL/t5D9xyMqBLYsvbmTjucnWaR9NZC681xyje4Tim/9sj12ST7ayJeT X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Apr 2016 19:57:17.7613 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR12MB0435 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 580 Lines: 20 Radim, On 04/12/2016 03:34 AM, Radim Krčmář wrote: > 2016-04-07 03:20-0500, Suravee Suthikulpanit: >> Exporting LAPIC utility functions and macros for re-use in SVM code. >> >> Signed-off-by: Suravee Suthikulpanit >> --- > > Adding kvm_lapic_set_reg looks weird when KVM has kvm_apic_get_reg, but > the structure they accept is called kvm_lapic, so I vote to rename get, > > Reviewed-by: Radim Krčmář > Sure. Within the same patch, I can rename kvm_apic_get_reg to kvm_lapic_get_reg to be consistent. Thanks, Suravee