Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752740AbcDRU3b (ORCPT ); Mon, 18 Apr 2016 16:29:31 -0400 Received: from mail-bn1on0069.outbound.protection.outlook.com ([157.56.110.69]:15392 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752416AbcDRU32 (ORCPT ); Mon, 18 Apr 2016 16:29:28 -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> <57153C18.6020104@amd.com> CC: , , , , , , , , From: Suravee Suthikulpanit Message-ID: <5715439C.9030307@amd.com> Date: Tue, 19 Apr 2016 03:29:16 +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: <57153C18.6020104@amd.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [165.204.53.123] X-ClientProxiedBy: CO2PR11CA0011.namprd11.prod.outlook.com (10.141.242.149) To CY1PR12MB0444.namprd12.prod.outlook.com (10.163.91.22) X-MS-Office365-Filtering-Correlation-Id: 3cdd34b3-ce93-4a3c-52b7-08d367c820dc X-Microsoft-Exchange-Diagnostics: 1;CY1PR12MB0444;2:GNxpfD5leWketEO1eOfEO6YfFL/iKr+9dD3MMTwO/yj+Lc/84d0aYkJXE9LfpW2J19Zlt7wxnWEfS68mzBl95YZ6QUHk/GqukLY0Fv6WmVclPZ43Tu3cqRd6vNlfBvOv+x1wF7fL8E9uAtYSNxkuCMsqqqL9QJd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kyr3B+enV1aOggW9xumpVsHpQ7k985RggI4c;4:+I+LIhFZAOjC39sH6S08qOYL23QU/jmJD8jjV1F47LtVINjQ2z1kbbxVwtsKqvjFihJYGV2S63oTLZo+mmwYves5slaSvCad3kPmCLcLKMctgxnyJwR+WHVOf3P7wVVjVnTPZHLa7tnNpWvddsBy6VYEKvxZWPSPTpMrlnll7dVIwr/ritVvrU8PleYl145M40CLC+xjAoTbI3YOmIBnP+/iabd9K993toZMDKXvY9GRd8hDJCf3GkX2Y9IUVrsuIdyzAdb+ABOEPShNqoXrldSsVwOPwKm4SLU9xVNQhESFFClrCr3sPPrGwX9KofplU9wmWOyQ+ltUzNMjPFl6fYoBi7x5YdLcy1mSNl9bC1Y6TkmlrlhX+fGet6KQ3KNwawJeMlpvlpTb8VMuZCI0CSLOecnipKfNMY5aFjG4eN0= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(9101521026)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6055026);SRVR:CY1PR12MB0444;BCL:0;PCL:0;RULEID:;SRVR:CY1PR12MB0444; X-Forefront-PRVS: 0916FC3A18 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(6049001)(6009001)(377424004)(24454002)(377454003)(19580405001)(19580395003)(3846002)(2950100001)(6116002)(586003)(23676002)(77096005)(81166005)(1096002)(4326007)(54356999)(80316001)(65816999)(33656002)(92566002)(93886004)(76176999)(59896002)(86362001)(87266999)(50986999)(4001350100001)(99136001)(47776003)(66066001)(65956001)(189998001)(5008740100001)(64126003)(36756003)(2870700001)(50466002)(65806001)(42186005)(2906002)(5004730100002)(110136002)(83506001);DIR:OUT;SFP:1101;SCL:1;SRVR:CY1PR12MB0444;H:[10.224.4.142];FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtDWTFQUjEyTUIwNDQ0OzIzOmVDeU9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5P9o7bJhbNDasy+5JuXiA=;7:td9RJyln4eiQp0om4+XmNHHxlCLPNExDGJDVXPcYeaK9hAcvK2c3U9oDnS06AgriZsLCt6wQnpriDWNrmQUDiPbaJrMxYIrX9agTYURnWte2fsmzxpy9mIWzoAAKgoW809aC01WveA+AFmFFj1NIivFDRI9sPDuSATD+6WElfY0mWewCBoinUM2sDc1mcss5SitFER2ynKuUzDF3Qj74rA==;20:34KBPgzW7fseLdBOOD53y8x0h9fMeB775+waeycAcEZ5PwTxvfrjH0VcqvywVgqMzvaNlq3DdzQBEIqyKZRK/x64zqmGwNSR9r46TeDZ9IE7GCFoIAQnt3ELFYQQCEPlEGsZH86Jew7xXE0DHN06NOg7Iz7GhivekH/VhVdsSUp06Uv9Xv0GULVB46oWzZiJAO/TWkLsbxF7ngVcHqsKc2ZjFqGAwPOw1w4ACj7a8LWFQJuqMLwuP9Dlen4XqLgi X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Apr 2016 20:29:22.2895 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR12MB0444 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 697 Lines: 25 On 04/19/2016 02:57 AM, Suravee Suthikulpanit wrote: > 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. > Think again, I'll do this on a separate patch. Suravee