From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.4 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E5FB4C47404 for ; Mon, 14 Oct 2019 06:58:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BB47120673 for ; Mon, 14 Oct 2019 06:58:58 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="GSzuaDH4" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730115AbfJNG65 (ORCPT ); Mon, 14 Oct 2019 02:58:57 -0400 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:39078 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726618AbfJNG65 (ORCPT ); Mon, 14 Oct 2019 02:58:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1571036335; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:openpgp:openpgp; bh=fTMccw4yJmRrZCZ9gNo4nMTzO7ADWuT1mX49M7Icnho=; b=GSzuaDH4hBbNRrMzEddHmRc8SWoPZu6y61Pe4Qa5+lbI5jHGkZfFVGJ9JDPqc3j0eJHhL8 D9SsC1MSbfYfXw7dY1o1oGMvxsWvbjpg1LsO1GVHf5gHroXkQp67qbjkSQ5a7MlXuIRlh4 dJmPbURqx1RqgR9nc8n9XeZ0GfwSOQY= Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-384-yd4KCcsvO3CHBrvODvz8Og-1; Mon, 14 Oct 2019 02:58:54 -0400 Received: by mail-wr1-f70.google.com with SMTP id k2so8086325wrn.7 for ; Sun, 13 Oct 2019 23:58:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:openpgp:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=qg9GPSpE2649WBDEVbobtu+jtSwl5swPTKuvxOPA1Ww=; b=B6v4Fl8s+ej3ICAW3a6x8aJ6irPCd3J7rzgrteA7OETGBlrbku+FFPfSCCskrGqsO7 BcZDOsqCY0mncOLXB0xKFzxSLdNSO/j3HjM3yC3sjP43yZmjmqIFZuDqcpHO/p5o9YpY eE5hDey9qXx9z9Zh+U9yHhn6GsXFADQuNC+U8MDfTlF7pKbZNiFa4NfJYScjZNMHKQ3n jz5q+kDMR0HcpaBP+vOa9KnTpP8sJntXpqtDGMC1EpcYWSz87rn56vn++8C8NyZCxiVO uNjYH4nRki3ynUQZxxZi6FsBxW/jUN/8LzWW6rsiM46STPwh4o6wB9WB9/zsdGBfjEG6 5MxA== X-Gm-Message-State: APjAAAUwQRkiLRBSIWCoD2finHjsexIPtIELfMEun6chsyE898PxTN5h o1qpyPKSMLwoDOBynQSIJD0E1gpQXivglQSXNOU37EWhSZMaUATlk+qt8LjYiEr0CP9gZdcBGlR ETrYkkfdQNUuG7pLYcyaREmMl X-Received: by 2002:a1c:106:: with SMTP id 6mr12661924wmb.134.1571036333211; Sun, 13 Oct 2019 23:58:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqx2OUyyPpyXE9W0ygYy2lBrXHn8KLvNfyvMNxm3vCpYPWzXJRiYFSSA6PpWL9tHhL0NCFDn6Q== X-Received: by 2002:a1c:106:: with SMTP id 6mr12661909wmb.134.1571036332956; Sun, 13 Oct 2019 23:58:52 -0700 (PDT) Received: from ?IPv6:2001:b07:6468:f312:ddc7:c53c:581a:7f3e? ([2001:b07:6468:f312:ddc7:c53c:581a:7f3e]) by smtp.gmail.com with ESMTPSA id q19sm35151293wra.89.2019.10.13.23.58.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 13 Oct 2019 23:58:52 -0700 (PDT) Subject: Re: [RFC PATCH v3 4/6] psci: Add hvc call service for ptp_kvm. To: "Jianyong Wu (Arm Technology China)" , Marc Zyngier , "netdev@vger.kernel.org" , "yangbo.lu@nxp.com" , "john.stultz@linaro.org" , "tglx@linutronix.de" , "sean.j.christopherson@intel.com" , "richardcochran@gmail.com" , Mark Rutland , Will Deacon , Suzuki Poulose Cc: "linux-kernel@vger.kernel.org" , "kvm@vger.kernel.org" , Steve Capper , "Kaly Xin (Arm Technology China)" , "Justin He (Arm Technology China)" , nd , "linux-arm-kernel@lists.infradead.org" References: <20190918080716.64242-1-jianyong.wu@arm.com> <20190918080716.64242-5-jianyong.wu@arm.com> <83ed7fac-277f-a31e-af37-8ec134f39d26@redhat.com> <629538ea-13fb-e666-8df6-8ad23f114755@redhat.com> <56a5b885-62c8-c4ef-e2f8-e945c0eb700e@redhat.com> <1cc145ca-1af2-d46f-d530-0ae434005f0b@redhat.com> <6b8b59b2-a07e-7e33-588c-1da7658e3f1e@redhat.com> From: Paolo Bonzini Openpgp: preference=signencrypt Message-ID: Date: Mon, 14 Oct 2019 08:58:54 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-MC-Unique: yd4KCcsvO3CHBrvODvz8Og-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 14/10/19 07:50, Jianyong Wu (Arm Technology China) wrote: >> >> John (Stultz), does that sound good to you? The context is that Jianyon= g >> would like to add a hypercall that returns a (cycles, >> nanoseconds) pair to the guest. On x86 we're relying on the vclock_mode >> field that is already there for the vDSO, but being able to just use >> ktime_get_snapshot would be much nicer. >> > Could I add struct clocksource to system_time_snapshot struct in next ver= sion of my patch set? Yes, I say go ahead. At least it will get closer to a final design. Paolo