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 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 17C99C433F5 for ; Wed, 29 Sep 2021 11:20:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 005EE613D0 for ; Wed, 29 Sep 2021 11:20:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230339AbhI2LWZ (ORCPT ); Wed, 29 Sep 2021 07:22:25 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:25125 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245694AbhI2LWR (ORCPT ); Wed, 29 Sep 2021 07:22:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1632914436; 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; bh=QT1rFRDBhzmSS+/lGbt19+2aAndXLLtwvTkh1G4vaX8=; b=Cswm0QeTk1WyNE2MH8WI8CGhXf65dnA/VfUHKIf2ze+V5LPhmLiXdgR2ruGoAq5US1Kddo qJPXiNc9wzcWTXGBrkl9wce/0sk4BPwxN10ZqX+5sGEUqc39tJ49lULzqjRKqot4v3ilTP OOI+GYCqUQKmmVUsJ8hfRC19DKBvUGI= Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-226-z05M6g0aP_6zw1T8pqkdZA-1; Wed, 29 Sep 2021 07:20:34 -0400 X-MC-Unique: z05M6g0aP_6zw1T8pqkdZA-1 Received: by mail-ed1-f70.google.com with SMTP id e21-20020a50a695000000b003daa0f84db2so1986452edc.23 for ; Wed, 29 Sep 2021 04:20:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=QT1rFRDBhzmSS+/lGbt19+2aAndXLLtwvTkh1G4vaX8=; b=KgbaBbriInmIGqfc0tCF5diKk2Tyye74jHXuhUV+Ffy3L/dKb4b/8NUwiV9W4iFTHS YL7qpilk93Po5PUUnhykZLZX7PgS7g9aJHl4HsIZkaRLN4CnPygXSneQpsyeRNbvhxQf 2Tt/hBSlFn/OBZ0eG47Xejy6WROfPkzAO7pWXMA603V/YEskk2bl524gDI9lCOBJHxtS /nWgbWVlkUxvzh4RHaoC37YciMtffEnAcM/7UwIa9xPfsyozc3SK923nqnO130WoxiIG Oe5qnD3L3LYyna52+sPH6cuVgMOeBYCxTXWHo+bp/Ufu3OFBEln4lkl+vGP2peg4qyZE Vp6A== X-Gm-Message-State: AOAM531QBMDxytysR7sDVv5lvsEcInjcPGmWTL/Zxyx5ICeBhEwCmMsY ThmreOZdc8xjWKe/qi1Q4pKXY6Vq3ACDJgIj5YT+hlgAO+PiGaTWiYpimnNiYxUAnJ1Hmw6Ntor cp2c/vpU34F+7 X-Received: by 2002:a50:d9cc:: with SMTP id x12mr14222004edj.44.1632914433624; Wed, 29 Sep 2021 04:20:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyGsZ/Prx5O98qPZ8PyofLqYoLSSiZlZikvftKjUT4ZzCknxR+J5Y+KhHMLF54Y/OqTNkUIVA== X-Received: by 2002:a50:d9cc:: with SMTP id x12mr14221990edj.44.1632914433453; Wed, 29 Sep 2021 04:20:33 -0700 (PDT) Received: from ?IPV6:2001:b07:6468:f312:c8dd:75d4:99ab:290a? ([2001:b07:6468:f312:c8dd:75d4:99ab:290a]) by smtp.gmail.com with ESMTPSA id l16sm1352795eds.46.2021.09.29.04.20.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 29 Sep 2021 04:20:32 -0700 (PDT) Message-ID: Date: Wed, 29 Sep 2021 13:20:31 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.1.0 Subject: Re: [PATCH v8 4/7] KVM: x86: Report host tsc and realtime values in KVM_GET_CLOCK Content-Language: en-US To: Marcelo Tosatti , Oliver Upton Cc: kvm@vger.kernel.org, kvmarm@lists.cs.columbia.edu, Sean Christopherson , Marc Zyngier , Peter Shier , Jim Mattson , David Matlack , Ricardo Koller , Jing Zhang , Raghavendra Rao Anata , James Morse , Alexandru Elisei , Suzuki K Poulose , linux-arm-kernel@lists.infradead.org, Andrew Jones , Will Deacon , Catalin Marinas References: <20210916181538.968978-1-oupton@google.com> <20210916181538.968978-5-oupton@google.com> <20210928185343.GA97247@fuller.cnet> From: Paolo Bonzini In-Reply-To: <20210928185343.GA97247@fuller.cnet> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org On 28/09/21 20:53, Marcelo Tosatti wrote: >> +KVM_CLOCK_HOST_TSC. If set, the `host_tsc` field in the kvm_clock_data >> +structure is populated with the value of the host's timestamp counter (TSC) >> +at the instant when KVM_GET_CLOCK was called. If clear, the `host_tsc` field >> +does not contain a value. > If the host TSCs are not stable, then KVM_CLOCK_HOST_TSC bit (and > host_tsc field) are ambiguous. Shouldnt exposing them be conditional on > stable TSC for the host ? > Yes, good point. Paolo 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 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8E02BC433EF for ; Wed, 29 Sep 2021 11:20:40 +0000 (UTC) Received: from mm01.cs.columbia.edu (mm01.cs.columbia.edu [128.59.11.253]) by mail.kernel.org (Postfix) with ESMTP id 11A886140A for ; Wed, 29 Sep 2021 11:20:39 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 11A886140A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.cs.columbia.edu Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 8445E4B11C; Wed, 29 Sep 2021 07:20:39 -0400 (EDT) X-Virus-Scanned: at lists.cs.columbia.edu Authentication-Results: mm01.cs.columbia.edu (amavisd-new); dkim=softfail (fail, message has been altered) header.i=@redhat.com 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 e+slR5b5A9d8; Wed, 29 Sep 2021 07:20:38 -0400 (EDT) Received: from mm01.cs.columbia.edu (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 75F564B116; Wed, 29 Sep 2021 07:20:38 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 83F7B4B10C for ; Wed, 29 Sep 2021 07:20:37 -0400 (EDT) X-Virus-Scanned: at lists.cs.columbia.edu 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 5OxP6-sht7e8 for ; Wed, 29 Sep 2021 07:20:36 -0400 (EDT) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 779524B10B for ; Wed, 29 Sep 2021 07:20:36 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1632914436; 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; bh=QT1rFRDBhzmSS+/lGbt19+2aAndXLLtwvTkh1G4vaX8=; b=Cswm0QeTk1WyNE2MH8WI8CGhXf65dnA/VfUHKIf2ze+V5LPhmLiXdgR2ruGoAq5US1Kddo qJPXiNc9wzcWTXGBrkl9wce/0sk4BPwxN10ZqX+5sGEUqc39tJ49lULzqjRKqot4v3ilTP OOI+GYCqUQKmmVUsJ8hfRC19DKBvUGI= Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-51-TeWkpCvxOAGM0zJkKSc71A-1; Wed, 29 Sep 2021 07:20:34 -0400 X-MC-Unique: TeWkpCvxOAGM0zJkKSc71A-1 Received: by mail-ed1-f72.google.com with SMTP id j26-20020a508a9a000000b003da84aaa5c5so2036036edj.11 for ; Wed, 29 Sep 2021 04:20:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=QT1rFRDBhzmSS+/lGbt19+2aAndXLLtwvTkh1G4vaX8=; b=HGNnoH3qvwTdxPd/pTY0nVpNhn93nj8f6Nr9hoIw+MnlnVfnbRiKey2TMy9VOkGq5O 277YOFw/DAkxbhcNRjz14DIT71ACKZWkEmhvOnNjGQClSfsBeYFWn2Trf528hYVDNtZr mR487rRq814rohPZPg+99vJ+aVWKG15QXMd7oStoqGpuo5P0Vl48l0K3eBDmCpnnNvuV BvFxxQPkuRFJBAQDh1j6+6GDtra+sRy+vpTWTbPgU5enJst6UegNnjJ6fIn4yCtyagMf +SctdXP/Z1O73iRcWv4IcwGjcy9pwXi2d/sG1pK4SCbjsk5R5rL/98okzbeIBBLNoref WO0w== X-Gm-Message-State: AOAM530ZNXwolkxZxRVo7vYKcvqk81jYlPonQsXf18/+PhwrUhh4huec ZGU3mCRn1FxjUmnZ7gFnzWmCiU3isNaDPwAhx6UbQvMJJ1TZhvjix/nBgfwlp+Ye/foEx3+F4Ge u6bEv/B+X+CCQRMbI29mHNROU X-Received: by 2002:a50:d9cc:: with SMTP id x12mr14222027edj.44.1632914433670; Wed, 29 Sep 2021 04:20:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyGsZ/Prx5O98qPZ8PyofLqYoLSSiZlZikvftKjUT4ZzCknxR+J5Y+KhHMLF54Y/OqTNkUIVA== X-Received: by 2002:a50:d9cc:: with SMTP id x12mr14221990edj.44.1632914433453; Wed, 29 Sep 2021 04:20:33 -0700 (PDT) Received: from ?IPV6:2001:b07:6468:f312:c8dd:75d4:99ab:290a? ([2001:b07:6468:f312:c8dd:75d4:99ab:290a]) by smtp.gmail.com with ESMTPSA id l16sm1352795eds.46.2021.09.29.04.20.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 29 Sep 2021 04:20:32 -0700 (PDT) Message-ID: Date: Wed, 29 Sep 2021 13:20:31 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.1.0 Subject: Re: [PATCH v8 4/7] KVM: x86: Report host tsc and realtime values in KVM_GET_CLOCK To: Marcelo Tosatti , Oliver Upton References: <20210916181538.968978-1-oupton@google.com> <20210916181538.968978-5-oupton@google.com> <20210928185343.GA97247@fuller.cnet> From: Paolo Bonzini In-Reply-To: <20210928185343.GA97247@fuller.cnet> Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=pbonzini@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Cc: Catalin Marinas , kvm@vger.kernel.org, Will Deacon , Peter Shier , Marc Zyngier , David Matlack , kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org, Jim Mattson X-BeenThere: kvmarm@lists.cs.columbia.edu X-Mailman-Version: 2.1.14 Precedence: list List-Id: Where KVM/ARM decisions are made List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: kvmarm-bounces@lists.cs.columbia.edu Sender: kvmarm-bounces@lists.cs.columbia.edu On 28/09/21 20:53, Marcelo Tosatti wrote: >> +KVM_CLOCK_HOST_TSC. If set, the `host_tsc` field in the kvm_clock_data >> +structure is populated with the value of the host's timestamp counter (TSC) >> +at the instant when KVM_GET_CLOCK was called. If clear, the `host_tsc` field >> +does not contain a value. > If the host TSCs are not stable, then KVM_CLOCK_HOST_TSC bit (and > host_tsc field) are ambiguous. Shouldnt exposing them be conditional on > stable TSC for the host ? > Yes, good point. Paolo _______________________________________________ kvmarm mailing list kvmarm@lists.cs.columbia.edu https://lists.cs.columbia.edu/mailman/listinfo/kvmarm 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 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 84D01C433F5 for ; Wed, 29 Sep 2021 11:21:56 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 47C1661390 for ; Wed, 29 Sep 2021 11:21:56 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 47C1661390 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=75QrNG3aPjmJ/COvB5WfiDuwwN4wBr3QX3qs3hE5fUg=; b=lbTuVsYscsDawB RxCLc599G3X6VgdsIZqNqIL8Wo8c2xIy+5JJ60SkM2pSiiu2SN4HGojU3QZTOq57GysggbrU95gPI A+SJJCFb9rMGUmBZxikE9c69HVJgrSNYV7Nk7LB5xpivyp7b2n1icecEOkh2eUrhhDWGrD8jmWoxE QqDlX55M6yOICEXIZSbAcZgMDe4G9bdy4djB/4SZMnfJoIVSEEcJuuawWGZu4BOPziPD+CDk2MnnR aJv7FSEfKT3jq5JP6C+WOidjY88M3q8Nw2P91+oOcSI91ckIYH5TCfe5BiaFEq08CHjx+t2kVZwB9 KSt8QrIHJgSJpGY8bdPQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mVXdg-00AqL7-IP; Wed, 29 Sep 2021 11:20:40 +0000 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mVXdd-00AqK6-H5 for linux-arm-kernel@lists.infradead.org; Wed, 29 Sep 2021 11:20:38 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1632914435; 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; bh=QT1rFRDBhzmSS+/lGbt19+2aAndXLLtwvTkh1G4vaX8=; b=OShzbgBwnVj5jyrMo1DpGxlZk6tD7sFqBMAdB9+V8gGtjZuAU8bZZpGgQE6pwd8f1souUB 18rlCni+sXV2On6i1qVbLJu+yKGQ786x8h+ldpQnGZEuysMNGdtw5+2bM50MAqLZtnWTSE zJt1/5otDuJnm9KfcRyAr/yTFZu5T6c= Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-125-EJ8tVkc9OHOQNTrelIXK7g-1; Wed, 29 Sep 2021 07:20:34 -0400 X-MC-Unique: EJ8tVkc9OHOQNTrelIXK7g-1 Received: by mail-ed1-f71.google.com with SMTP id r11-20020aa7cfcb000000b003d4fbd652b9so2028291edy.14 for ; Wed, 29 Sep 2021 04:20:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=QT1rFRDBhzmSS+/lGbt19+2aAndXLLtwvTkh1G4vaX8=; b=lKKb8UfrViLbo8lrriQcw5wM5tF+ORnLi22QD8r4mXcSj1B0koJVCz8ACeBcxgrB5p b80MUTjslobXnzZI4oTwiP/Vn8CyJagrmF6XRFIL6A9+UHFPvuHrqM0u59uOaq2BZuj9 SxnhpGUiiNan4ZBrqcNmtFmFmlg5/2GiPlsv6oNN+oYjQGW1egntPt+Kvm0bl8f+O0tb wzWNiJbOn7HFz1zelpcvychtANnFOKOSeh+QCs1E+eTMlEx6h7hMkjqSH9YZaCMvbq7Z R/CtdXc5I/k/fZaMuaSD6d1oUwh4DTMnlm9oze8Rg6tGRQrCojnOJ/pizBlT8OoghJZq yRdg== X-Gm-Message-State: AOAM532kohSMMvdgxqrJ1unofedPmTmWtsvb2b5Pv2gPG8IH0yiU9gC9 443IuIR5KogHuAAAa+AgEgwN3iY+mofBzynPvcizptPegs2gUp01bKT5iYQub5Cc0r9zQE5cBqx 01dAIsu3+0DklliGwVieZBW250NaXnV97dY4= X-Received: by 2002:a50:d9cc:: with SMTP id x12mr14222002edj.44.1632914433623; Wed, 29 Sep 2021 04:20:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyGsZ/Prx5O98qPZ8PyofLqYoLSSiZlZikvftKjUT4ZzCknxR+J5Y+KhHMLF54Y/OqTNkUIVA== X-Received: by 2002:a50:d9cc:: with SMTP id x12mr14221990edj.44.1632914433453; Wed, 29 Sep 2021 04:20:33 -0700 (PDT) Received: from ?IPV6:2001:b07:6468:f312:c8dd:75d4:99ab:290a? ([2001:b07:6468:f312:c8dd:75d4:99ab:290a]) by smtp.gmail.com with ESMTPSA id l16sm1352795eds.46.2021.09.29.04.20.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 29 Sep 2021 04:20:32 -0700 (PDT) Message-ID: Date: Wed, 29 Sep 2021 13:20:31 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.1.0 Subject: Re: [PATCH v8 4/7] KVM: x86: Report host tsc and realtime values in KVM_GET_CLOCK To: Marcelo Tosatti , Oliver Upton Cc: kvm@vger.kernel.org, kvmarm@lists.cs.columbia.edu, Sean Christopherson , Marc Zyngier , Peter Shier , Jim Mattson , David Matlack , Ricardo Koller , Jing Zhang , Raghavendra Rao Anata , James Morse , Alexandru Elisei , Suzuki K Poulose , linux-arm-kernel@lists.infradead.org, Andrew Jones , Will Deacon , Catalin Marinas References: <20210916181538.968978-1-oupton@google.com> <20210916181538.968978-5-oupton@google.com> <20210928185343.GA97247@fuller.cnet> From: Paolo Bonzini In-Reply-To: <20210928185343.GA97247@fuller.cnet> Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=pbonzini@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210929_042037_669385_8E58DA26 X-CRM114-Status: UNSURE ( 9.90 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 28/09/21 20:53, Marcelo Tosatti wrote: >> +KVM_CLOCK_HOST_TSC. If set, the `host_tsc` field in the kvm_clock_data >> +structure is populated with the value of the host's timestamp counter (TSC) >> +at the instant when KVM_GET_CLOCK was called. If clear, the `host_tsc` field >> +does not contain a value. > If the host TSCs are not stable, then KVM_CLOCK_HOST_TSC bit (and > host_tsc field) are ambiguous. Shouldnt exposing them be conditional on > stable TSC for the host ? > Yes, good point. Paolo _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel