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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 629D4C3DA49 for ; Fri, 26 Jul 2024 06:07:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type:In-Reply-To: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=SsMd5ReUoNivIVt7CipMVyDPULIY2oYNW6l4qiM7rgQ=; b=GNeib3jvgYP+N+LQ3ZgSo7a/8T qCyFx4UV0jIi/cpuVu8IKxQA1KK+3SmXm61pg0S2xFcqaLslhgvH3L1LV/InzinaoyvkB/vx3H93g vDrpzhJlntaWT50mRjP9+dob18+IH+muPs0UxCC0xyUKYHvZGQ4wB01nr4A8SOLzw11W8MbEf2OAw 81qiCXhDOx/rAOh7D1EXslTdasfPa2mZ0yJLu3dzloIhKLOi+Uw/gKcUKGJanKDN1JAtSJeN7ZjvQ mNR63SM10lESOBjaVz78IwFrjf+fD59+rB3DrY/TsceEhiAdRBmM2r0FNQXqP5StJracZLlgd64U6 2PTl4atA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sXE6L-000000030oC-26Xp; Fri, 26 Jul 2024 06:06:49 +0000 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sXE5w-000000030gr-0xFR for linux-arm-kernel@lists.infradead.org; Fri, 26 Jul 2024 06:06:25 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1721973983; 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: in-reply-to:in-reply-to:references:references; bh=SsMd5ReUoNivIVt7CipMVyDPULIY2oYNW6l4qiM7rgQ=; b=dBRdlWxi6JJk9/cdviUy17MtkGMw4Zs38LbH4p2A7OZqiQsGBmStjAKPQcSVQyAaKcCoxh 2Tzf0ss7Z7Xrw1pGEVJirW7xVnc2ljgRFNm5HRMVJru4HkdRRRyBaJVujxvytXImRCWhtW zSYLZHsjIiW0OHFwXBWM5iSFJz0K9HY= Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-553-VRt9-kllMZOq1Qz7LWchYA-1; Fri, 26 Jul 2024 02:06:21 -0400 X-MC-Unique: VRt9-kllMZOq1Qz7LWchYA-1 Received: by mail-wr1-f69.google.com with SMTP id ffacd0b85a97d-3683f34d8d9so951228f8f.3 for ; Thu, 25 Jul 2024 23:06:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721973980; x=1722578780; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=SsMd5ReUoNivIVt7CipMVyDPULIY2oYNW6l4qiM7rgQ=; b=ase/VEvbmXR3VrX9Op22jb1Mo2+o2imLSt7o4UXMyJ0f23EYPEa/BtrDoN9Z8d1xwf xrmj+R0nHY1oDcgx/LQVi/vCGz0AAbROdWJHoP6K2EszD8XjeTPFVa11IhGlknbe0U4i aslhG7kheAq4Dw+Ki8xF3RcZrXyEWJF5qnwE3y9fugCsmL2tr4tOn7KJXHiH/+lIgpfe gIu5g0OSMYlvMfuUBJZdK+lyNNFOyf95q8h4eMx3y4PS79zVssMBBASIYq5xlvr69HmP cuw6QOzwpki/5dZ1Lq8e3c1CSFWxjhCQXuPETRwnBxqnZf5XxkDCmwHLtSGB5nCINCwx CYrA== X-Forwarded-Encrypted: i=1; AJvYcCXP+59AdBGLhN72R+N7w/fKzTad9S9TBGkoh1zesCWP8InM1eQhfwyWz9U9spHiiqpuVaB+pXMLrAEmZ5M8N28Zr/lZDhN7dlkjUxARzHXZKsit0z4= X-Gm-Message-State: AOJu0YwfSy/VnYetGVzwUWxndpQIaNU5DewjEFdsb3FpHvh7oz3rEgqj A7u5BFjJhAsl+6pdcJNtqtIJQoT836NgMMnT6Il3kIjC2BV3Nz2vmLGzK6v77yQX2umK6foryPX byZMD/mGBbIRi3zl7AHVInUd6hmb4EB3QQT+ZLf6J3S10C3X4YGEYVI3kSJ8nIqyO3GqROsjW X-Received: by 2002:adf:e3d0:0:b0:368:3731:1614 with SMTP id ffacd0b85a97d-36b3639c90cmr2555958f8f.32.1721973980464; Thu, 25 Jul 2024 23:06:20 -0700 (PDT) X-Google-Smtp-Source: AGHT+IECcqinn2RbOzn7J7peOWcha9uEPwJVbe5Fk8jNLudEw/NhTNHYXX4sldsTgb73GWvF/16VyA== X-Received: by 2002:adf:e3d0:0:b0:368:3731:1614 with SMTP id ffacd0b85a97d-36b3639c90cmr2555913f8f.32.1721973979719; Thu, 25 Jul 2024 23:06:19 -0700 (PDT) Received: from redhat.com ([2a02:14f:1f7:28ce:f21a:7e1e:6a9:f708]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-36b36863aa7sm4031338f8f.109.2024.07.25.23.06.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jul 2024 23:06:19 -0700 (PDT) Date: Fri, 26 Jul 2024 02:06:10 -0400 From: "Michael S. Tsirkin" To: David Woodhouse Cc: Richard Cochran , Peter Hilber , linux-kernel@vger.kernel.org, virtualization@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-rtc@vger.kernel.org, "Ridoux, Julien" , virtio-dev@lists.linux.dev, "Luu, Ryan" , "Chashper, David" , "Mohamed Abuelfotoh, Hazem" , "Christopher S . Hall" , Jason Wang , John Stultz , netdev@vger.kernel.org, Stephen Boyd , Thomas Gleixner , Xuan Zhuo , Marc Zyngier , Mark Rutland , Daniel Lezcano , Alessandro Zummo , Alexandre Belloni , qemu-devel , Simon Horman Subject: Re: [PATCH] ptp: Add vDSO-style vmclock support Message-ID: <20240726015613-mutt-send-email-mst@kernel.org> References: <20240725100351-mutt-send-email-mst@kernel.org> <2a27205bfc61e19355d360f428a98e2338ff68c3.camel@infradead.org> <20240725122603-mutt-send-email-mst@kernel.org> <0959390cad71b451dc19e5f9396d3f4fdb8fd46f.camel@infradead.org> <20240725163843-mutt-send-email-mst@kernel.org> <20240725170328-mutt-send-email-mst@kernel.org> <20240725174327-mutt-send-email-mst@kernel.org> <9261e393083bcd151a017a5af3345a1364b3e0f3.camel@infradead.org> MIME-Version: 1.0 In-Reply-To: <9261e393083bcd151a017a5af3345a1364b3e0f3.camel@infradead.org> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240725_230624_360952_B002CB91 X-CRM114-Status: GOOD ( 17.12 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Jul 25, 2024 at 11:20:56PM +0100, David Woodhouse wrote: > We're rolling out the AMZNVCLK device for internal use cases, and plan > to add it in public instances some time later. Let's be real. If amazon does something in its own hypervisor, and the only way to use that is to expose the interface to userspace, there is very little the linux community can do. Moreover, userspace will be written to this ABI, and be locked in to the specific hypervisor. It might be a win for amazon short term but long term you will want to extend things and it will be a mess. So I feel you have chosen ACPI badly. It just does not have the APIs that you need. Virtio does, and would not create a userpspace lock-in to a specific hypervisor. It's not really virtio specific either, you can write a bare pci device with a BAR and a bunch of msix vectors and it will get you the same effect. -- MST