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 BBF44C433F5 for ; Fri, 1 Oct 2021 16:44:36 +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 880FF61283 for ; Fri, 1 Oct 2021 16:44:36 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 880FF61283 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=wiKcpu73elko1nE9UxwTtluDwuM32/3mtntZEyuZTLc=; b=JEMODwJOBd7ITc Enrl+22cHOoCtW+TmQAHkNRhfm7K2DoUHSY0eOL93Bx/DiOuw/Pm6WAjQPFiZaOUyVN6kZDnHdTPp bZch9GNoIYflN86sr/T17MLQR/AUHTvFM1VzSNDnnTB9dC5plj6K3jaH0a4THojFzTjzyOVk7EFx7 s64t8yS+D67mpPFv8Yfj+iPdqHiRdwXSwNVVKoMKQka+NnHZYgOnP+aVhbBZNQhqTjpTHofJUdXAE xTZPsS3X9eTAGDC2AtK/Az7iUxkNqrPD6AociPilsBVSd1ieIqnbtkfMTz4pS5l/eiuhGe65ypL1a Sl6MXwO5xNlHqKMCA+4A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mWLcM-000tmR-9B; Fri, 01 Oct 2021 16:42:38 +0000 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mWLcH-000tkh-TT for linux-arm-kernel@lists.infradead.org; Fri, 01 Oct 2021 16:42:35 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1633106552; 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=bKf6HNVdrrxE0cl0he0ADvO2+hNrL9mNvfSRy2hS5xg=; b=XNQcUOUQwkd9kYug96eWywL3cQbEcellH1Se9/jbSjcUKbQQ0O7jt954GKsPVhj5jQd2z/ dt8M+GmimphyXmuriYclUh4sL9sY3lmihDyUJEg9Lm+t5UMsGpRrpRtJ8IKTcKYilVR7a5 eAG/FoPc/OQ6QfgvzI63JgG9HkZ0wkM= 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-204-xfSoSQ-1McqHVQnTTZB-qw-1; Fri, 01 Oct 2021 12:42:29 -0400 X-MC-Unique: xfSoSQ-1McqHVQnTTZB-qw-1 Received: by mail-ed1-f72.google.com with SMTP id ec14-20020a0564020d4e00b003cf5630c190so11032678edb.3 for ; Fri, 01 Oct 2021 09:42:28 -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=bKf6HNVdrrxE0cl0he0ADvO2+hNrL9mNvfSRy2hS5xg=; b=Ete7CfjCf/rHnjAHs2YqzFiDRIPgcxLscMIxHO/YPEvuruwqQw2NErsMdq48Ll2k1E crwsLIvxkVVbqEM0xFij3otp69zY5AL0Vfan/1QexCv1E+oVAQs+w0eZcSwscLiREHG7 QYNKplU1yqyK4//zUG4djyMheO9XwUWIuax1qBE0a2iG7Ty3xMPMeXbwReoQFcaTch7t nzizAU/ayyEEK5QVGLqOPnAdtZF17+fqlXd3SNizFccar8vSruHbfDFwbWp6BQ47vnlx x4OQyXGxAqDPSL79awqxFkAnUBup6MLkoWEGJ7ptX1vl+QIVH8ySOO1teWmR2m5SJzqD SrOQ== X-Gm-Message-State: AOAM533CgW7VJEfCLx7aYvgId4/GiShzPffyyqY/MjX9WsT67VgE6a7o NcL+s2GSyqc2EUeqaOw5CikAfa8ps3Q1h0WCP7iehFNQgcfGQ3+eECEik8NyFjq3Z9dIqib2+9c zu1rP/iMeeXrh58pBwiQSa2XHB8h0SPL7EME= X-Received: by 2002:a17:906:369a:: with SMTP id a26mr7157425ejc.539.1633106547739; Fri, 01 Oct 2021 09:42:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxG7u5UEQd6wXYgj1iX7w961eI5iTHKv9Fm/E4iQVqpTwU2cNSgXa2csZS0bC0Jul9BytmVuQ== X-Received: by 2002:a17:906:369a:: with SMTP id a26mr7157408ejc.539.1633106547580; Fri, 01 Oct 2021 09:42:27 -0700 (PDT) Received: from ?IPV6:2001:b07:6468:f312:5e2c:eb9a:a8b6:fd3e? ([2001:b07:6468:f312:5e2c:eb9a:a8b6:fd3e]) by smtp.gmail.com with ESMTPSA id n22sm3171833eju.50.2021.10.01.09.42.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 01 Oct 2021 09:42:26 -0700 (PDT) Message-ID: Date: Fri, 1 Oct 2021 18:42:25 +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: 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> <746cfc82-ee7c-eba2-4443-7faf53baf083@redhat.com> From: Paolo Bonzini In-Reply-To: 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-20211001_094234_067372_FDBA6514 X-CRM114-Status: GOOD ( 10.14 ) 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 01/10/21 17:39, Oliver Upton wrote: >> Nevermind, KVM_SET_CLOCK is already rejecting KVM_CLOCK_TSC_STABLE so no >> need to do that! > > Yeah, I don't know the story on the interface but it is really odd > that userspace needs to blow away flags to successfully write the > clock structure. Yeah, let's fix it now and accept all three flags I would like that, even though it cannot be fixed in existing kernels. Paolo _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel