Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752661AbcCIFfg (ORCPT ); Wed, 9 Mar 2016 00:35:36 -0500 Received: from foss.arm.com ([217.140.101.70]:37374 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752268AbcCIFfc (ORCPT ); Wed, 9 Mar 2016 00:35:32 -0500 Subject: Re: [PATCH v3 1/9] clocksource: arm_arch_timer: Gather KVM specific information in a structure To: Christoffer Dall References: <1457436573-6180-1-git-send-email-julien.grall@arm.com> <1457436573-6180-2-git-send-email-julien.grall@arm.com> <20160309032343.GE26583@lvm> Cc: kvmarm@lists.cs.columbia.edu, marc.zyngier@arm.com, fu.wei@linaro.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, wei@redhat.com, al.stone@linaro.org, Daniel Lezcano , Thomas Gleixner From: Julien Grall Message-ID: <56DFB61B.4040707@arm.com> Date: Wed, 9 Mar 2016 12:35:23 +0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <20160309032343.GE26583@lvm> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 733 Lines: 23 Hi Christoffer, On 09/03/2016 10:23, Christoffer Dall wrote: > On Tue, Mar 08, 2016 at 11:29:25AM +0000, Julien Grall wrote: >> -static struct timecounter timecounter; >> +static struct arch_timer_kvm_info arch_timer_kvm_info; >> + >> +struct arch_timer_kvm_info *arch_timer_get_kvm_info(void) > > borderline bikeshedding question: > > does it make sense that the info the arch timer code exports is labeled > to be kvm-specific? In other words, could we imagine another subsystem > using this timer info some time and is there a more generic term that > would be more appropriate? I can't see any other usage. I would keep the function name KVM specific until someone really need similar information. Cheers, -- Julien Grall