From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shanker Donthineni Subject: Re: [PATCH v6 02/10] clocksource: arm_arch_timer: Extend arch_timer_kvm_info to get the virtual IRQ Date: Sat, 23 Apr 2016 21:57:10 -0500 Message-ID: <571C3606.3030101@codeaurora.org> References: <1460388780-914-1-git-send-email-julien.grall@arm.com> <1460388780-914-3-git-send-email-julien.grall@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id A8D7C49B62 for ; Sat, 23 Apr 2016 22:55:05 -0400 (EDT) Received: from mm01.cs.columbia.edu ([127.0.0.1]) by localhost (mm01.cs.columbia.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oIKvN4bipv-m for ; Sat, 23 Apr 2016 22:55:05 -0400 (EDT) Received: from smtp.codeaurora.org (smtp.codeaurora.org [198.145.29.96]) by mm01.cs.columbia.edu (Postfix) with ESMTPS id EDD2F49B59 for ; Sat, 23 Apr 2016 22:55:04 -0400 (EDT) In-Reply-To: <1460388780-914-3-git-send-email-julien.grall@arm.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kvmarm-bounces@lists.cs.columbia.edu Sender: kvmarm-bounces@lists.cs.columbia.edu To: Julien Grall , kvmarm@lists.cs.columbia.edu Cc: kvm@vger.kernel.org, al.stone@linaro.org, marc.zyngier@arm.com, Daniel Lezcano , linux-kernel@vger.kernel.org, gg@slimlogic.co.uk, hanjun.guo@linaro.org, fu.wei@linaro.org, Thomas Gleixner , linux-arm-kernel@lists.infradead.org List-Id: kvmarm@lists.cs.columbia.edu On 04/11/2016 10:32 AM, Julien Grall wrote: > Currently, the firmware table is parsed by the virtual timer code in > order to retrieve the virtual timer interrupt. However, this is already > done by the arch timer driver. > > To avoid code duplication, extend arch_timer_kvm_info to get the virtual > IRQ. > > Note that the KVM code will be modified in a subsequent patch. > > Signed-off-by: Julien Grall > Acked-by: Christoffer Dall > Tested-by: Shanker Donthineni Using the Qualcomm Technologies QDF2XXX server platform. -- Shanker Donthineni Qualcomm Technologies, Inc. on behalf of Qualcomm Innovation Center, Inc. Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project From mboxrd@z Thu Jan 1 00:00:00 1970 From: shankerd@codeaurora.org (Shanker Donthineni) Date: Sat, 23 Apr 2016 21:57:10 -0500 Subject: [PATCH v6 02/10] clocksource: arm_arch_timer: Extend arch_timer_kvm_info to get the virtual IRQ In-Reply-To: <1460388780-914-3-git-send-email-julien.grall@arm.com> References: <1460388780-914-1-git-send-email-julien.grall@arm.com> <1460388780-914-3-git-send-email-julien.grall@arm.com> Message-ID: <571C3606.3030101@codeaurora.org> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 04/11/2016 10:32 AM, Julien Grall wrote: > Currently, the firmware table is parsed by the virtual timer code in > order to retrieve the virtual timer interrupt. However, this is already > done by the arch timer driver. > > To avoid code duplication, extend arch_timer_kvm_info to get the virtual > IRQ. > > Note that the KVM code will be modified in a subsequent patch. > > Signed-off-by: Julien Grall > Acked-by: Christoffer Dall > Tested-by: Shanker Donthineni Using the Qualcomm Technologies QDF2XXX server platform. -- Shanker Donthineni Qualcomm Technologies, Inc. on behalf of Qualcomm Innovation Center, Inc. Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752408AbcDXC5Q (ORCPT ); Sat, 23 Apr 2016 22:57:16 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:33898 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751949AbcDXC5O (ORCPT ); Sat, 23 Apr 2016 22:57:14 -0400 Subject: Re: [PATCH v6 02/10] clocksource: arm_arch_timer: Extend arch_timer_kvm_info to get the virtual IRQ To: Julien Grall , kvmarm@lists.cs.columbia.edu References: <1460388780-914-1-git-send-email-julien.grall@arm.com> <1460388780-914-3-git-send-email-julien.grall@arm.com> Cc: wei@redhat.com, christoffer.dall@linaro.org, al.stone@linaro.org, kvm@vger.kernel.org, hanjun.guo@linaro.org, marc.zyngier@arm.com, Daniel Lezcano , linux-kernel@vger.kernel.org, fu.wei@linaro.org, Thomas Gleixner , linux-arm-kernel@lists.infradead.org, gg@slimlogic.co.uk From: Shanker Donthineni Message-ID: <571C3606.3030101@codeaurora.org> Date: Sat, 23 Apr 2016 21:57:10 -0500 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: <1460388780-914-3-git-send-email-julien.grall@arm.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/11/2016 10:32 AM, Julien Grall wrote: > Currently, the firmware table is parsed by the virtual timer code in > order to retrieve the virtual timer interrupt. However, this is already > done by the arch timer driver. > > To avoid code duplication, extend arch_timer_kvm_info to get the virtual > IRQ. > > Note that the KVM code will be modified in a subsequent patch. > > Signed-off-by: Julien Grall > Acked-by: Christoffer Dall > Tested-by: Shanker Donthineni Using the Qualcomm Technologies QDF2XXX server platform. -- Shanker Donthineni Qualcomm Technologies, Inc. on behalf of Qualcomm Innovation Center, Inc. Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project