Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp4176861ybp; Mon, 14 Oct 2019 00:01:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqxdP2akClqg7KlIltEjtCGNGn99hIYnf0rv9c/DKABatT9A0arHKaXtq0kGEa6NorpGhE4Z X-Received: by 2002:a17:906:16d2:: with SMTP id t18mr26522420ejd.28.1571036506173; Mon, 14 Oct 2019 00:01:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571036506; cv=none; d=google.com; s=arc-20160816; b=btNlXG9/7lTPB8X941wZ+p0wog3cVk+kVduQHJzxvHlt5KN8fk/9znRm7qDwZ654v4 x+xcEHd2IBbs2kma4sjpjg5M5wC3C+DipPxvO8eTx5WW3zA631wucZSnW1VAJ0c9GtMY fhgXGuieuTBJmGy/QLNCOPIyOTDoV5BWcphXI77FgwAwltzWcn4FVWmvBhrFvXJcvzrr +JucxsWZpPJMFWHLU4K0R4WwSP+12wHRxm29elQ8XH7RKqoiyJAL6p2YPT9qti9Tetfc B19NbssTcJTvGAmzYAbzwio4gkWRvXODS+n5BK794QKc9y2wFN4TsfJLRwqWVB436Lan lyuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:openpgp:from:references:cc:to:subject:dkim-signature; bh=fTMccw4yJmRrZCZ9gNo4nMTzO7ADWuT1mX49M7Icnho=; b=Agv3i+siHxS5GrvnmZYf5LTrSRTGrG9PGGMrfSg28oQUu7V2MNVG/7dWB5SvmghPID ppznBawFBp0X14cRcBV1PbAJo0rw1KNyDPfcJ9ECfabcTYLlU1yTPqag28dFdAGCCnAm KH/p7faGpYKFuywvbBaCTigRV6QKBLCybW7b0ICaviwTvEKjxhOnwXaoZgRWbaO8qkie Y6n27WXbGrDhYqnkKY3/0VyJGtiwFdbd9fhjYX38PDW0oIg05fYA9TsNWeiX7gnrLWjg veKHf4xCcWISNb7Kve1CpB8iLXJNGsia8m/zlkzVgweueeqXh3VIemBC8JHO40fNe4tq QmDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=GSzuaDH4; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r2si10087869ejj.90.2019.10.14.00.01.22; Mon, 14 Oct 2019 00:01:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=GSzuaDH4; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730080AbfJNG65 (ORCPT + 99 others); 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-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