From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756920AbcASBTH (ORCPT ); Mon, 18 Jan 2016 20:19:07 -0500 Received: from mail-pf0-f177.google.com ([209.85.192.177]:35092 "EHLO mail-pf0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756772AbcASBTE (ORCPT ); Mon, 18 Jan 2016 20:19:04 -0500 Date: Tue, 19 Jan 2016 09:18:08 +0800 From: Peng Fan To: George Dunlap Cc: Linux Kernel Mailing List , xen-devel , Ian Campbell , Michael Turquette , Stefano Stabellini , Stephen Boyd , Julien Grall , David Vrabel , Boris Ostrovsky , linux-clk@vger.kernel.org Subject: Re: [Xen-devel] [RFC/WIP] xen: clk: introudce pvclk for device passthrough Message-ID: <20160119011806.GA12932@linux-7smt.suse> References: <1452921760-21294-1-git-send-email-van.freenix@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello George, On Mon, Jan 18, 2016 at 11:22:44AM +0000, George Dunlap wrote: >On Sat, Jan 16, 2016 at 5:22 AM, Peng Fan wrote: >> This patch was just a initial patch, not sure whether this way >> is ok from you side for handlding clk when doing platform device >> passhthrough. Any comments are appreciated, and your comments may >> give me a better direction. > >Hey Peng, > >Just speaking from the perspective of a Xen dev who's not an ARM dev: >a few more words on the relationship between pvclk and >device-passthrough would be helpful to set the context. It sounds >like: > >* On ARM, passing through a device requires a clocksource (at least >for many devices) > >* dom0 has the hardware clocksource, but at the moment domUs don't >have a suitable clocksource > >* This patch implements pvclk front/backend suitable for such devices > >Is that right? In which case something like the following would be helpful: Yeah. right. You have a better explaination than me :) > >"This patch introduces pvclk, a paravirtualized clock source suitable >for devices to use when passing through to domUs on ARM systems." > >(Obviously change it as necessary to make it accurate.) I'll add your words into the commit log. Thanks, Peng. > >Thanks, > -George