From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1717626281 for ; Thu, 25 Jul 2024 12:33:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721910804; cv=none; b=K+GeimnliiHAcVyv8JbOMny1r9fEjok6xOJcFNcgbF1ni/7UCsn7W/nxPgceNjhn0kCxalKP1Ji1NslnUztir8DtAMc2tktmohqp1YPRBH1mZ9F+GO58kMUls/YUodBaXwmzA09rN0gS477t/Hzmxc6EJvCqbPxZbr9JCnxtRyw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721910804; c=relaxed/simple; bh=loisQvxB80cBHcqxsD4j7QC4s2voKR2VBQscCedYzEo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=NvJV6nUamLSF9uYSD43FvipOJVuMKoB8QPDwt5Skr/zyERHk+kS5H7pBPPQeM5LAbJzyoaLuhrwZ99b7bhNUMEtqpHtm9rCJYVuN2lcKbut8/qioCbTFfD/3bcdDLA02HV9fhGbIooYAx4Mg08cCXRMJ/RTclXOXGxHzHpaotdw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=M5mdT9St; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="M5mdT9St" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1721910802; 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=MtA7yhRfm5XfOtod2ZhYC2Xuv723Fg+huPBrtR9uGkE=; b=M5mdT9StJs4UtZzRstWJiAu3ffcrGx5y4oJ4t6Ig64d7jCRSbG1qqOPJQYOxW570nCjd1y n8yO9YkZ13R+dnlZzI/uCU7CaA6SLVnGl1M/YmBLoerBEnD/hmZmm/3fR3YnlvvIzqY9dt B1Z92nCp9zy5EHmIl6Cd6vetkiLCsoM= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-132-W_eaON_3NQqQmqgpAImMzw-1; Thu, 25 Jul 2024 08:33:20 -0400 X-MC-Unique: W_eaON_3NQqQmqgpAImMzw-1 Received: by mail-wm1-f72.google.com with SMTP id 5b1f17b1804b1-426683d9c4bso6542345e9.3 for ; Thu, 25 Jul 2024 05:33:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721910799; x=1722515599; 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=MtA7yhRfm5XfOtod2ZhYC2Xuv723Fg+huPBrtR9uGkE=; b=IF4yTtL/2lteL4Eki9+QHSb/LWRgRzoLemNELBWt48f9GW0rZN588pzg2iaiyYSri7 foeLyvMlta6QRJuNoATkuJmdR8NZQNATlKgtIXrw2WM7h0B3inj9xJdCxLiXGtXRgpAu zbJGUr2oWQjldGUgtZ+cvuIJeHCe1b7P25DksPgwPnE4cw/XVReIQ34gWgGSWPFERul9 8WBVczhj4FYappNDADRYJPyib5jYp3tACAFLXG5JbGFBYasTHrFb+/B1U/b9QbMUZkbL dYZyjGt77X8IECEKfgH1uv6NVlzpaAw/poed24TPGM6NJ1Mv2p4ZkWFRzIsjGWnqfMsY OChw== X-Forwarded-Encrypted: i=1; AJvYcCX6XOG+a+ooPzenAFGV1AepCTEwobhv1OnEUiDGML05DCIFRvDzjLgbVFwhiIzF+bRnynaHe3WnGtuUiSKFYvWH91aYmgXd X-Gm-Message-State: AOJu0YxBUeKa7uKRHeAk8EerRzLGUEG32bcUhulfRYVULoYPJR8Plm+P wRCeZeqrop7fLI6gbir7E7qqZ1VxkI6A8uIug14rCjsuLQkna+95M2IkddlDJGwrL11NwdtGAzZ JKORTMrzi2yq4QtO7CgHAf4gzM/wa/qhcwSW5xa3nHzXvJtqmXg3lfQSPo3RWrfr4 X-Received: by 2002:a05:6000:10c4:b0:363:d980:9a9e with SMTP id ffacd0b85a97d-36b31a5187amr2126807f8f.55.1721910799450; Thu, 25 Jul 2024 05:33:19 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFNFg/vuWe2oFay9N039fn3TrlpoXUmzQUlnFxLTZeAWFsuS7LiKQSxku9klsp/j5rRo846+Q== X-Received: by 2002:a05:6000:10c4:b0:363:d980:9a9e with SMTP id ffacd0b85a97d-36b31a5187amr2126769f8f.55.1721910798847; Thu, 25 Jul 2024 05:33:18 -0700 (PDT) Received: from redhat.com ([2a02:14f:1ec:81aa:776c:8849:e578:516a]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-36b367f0e26sm2054573f8f.47.2024.07.25.05.33.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jul 2024 05:33:18 -0700 (PDT) Date: Thu, 25 Jul 2024 08:33:12 -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: <20240725083215-mutt-send-email-mst@kernel.org> References: <14d1626bc9ddae9d8ad19d3c508538d10f5a8e44.camel@infradead.org> <20240725012730-mutt-send-email-mst@kernel.org> <7de7da1122e61f8c64bbaab04a35af93fafac454.camel@infradead.org> <20240725081502-mutt-send-email-mst@kernel.org> <20240725082828-mutt-send-email-mst@kernel.org> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Thu, Jul 25, 2024 at 01:31:19PM +0100, David Woodhouse wrote: > On Thu, 2024-07-25 at 08:29 -0400, Michael S. Tsirkin wrote: > > On Thu, Jul 25, 2024 at 01:27:49PM +0100, David Woodhouse wrote: > > > On Thu, 2024-07-25 at 08:17 -0400, Michael S. Tsirkin wrote: > > > > On Thu, Jul 25, 2024 at 10:56:05AM +0100, David Woodhouse wrote: > > > > > > Do you want to just help complete virtio-rtc then? Would be easier than > > > > > > trying to keep two specs in sync. > > > > > > > > > > The ACPI version is much more lightweight and doesn't take up a > > > > > valuable PCI slot#. (I know, you can do virtio without PCI but that's > > > > > complex in other ways). > > > > > > > > > > > > > Hmm, should we support virtio over ACPI? Just asking. > > > > > > Given that we support virtio DT bindings, and the ACPI "PRP0001" device > > > exists with a DSM method which literally returns DT properties, > > > including such properties as "compatible=virtio,mmio" ... do we > > > already? > > > > > > > > > > In a sense, but you are saying that is too complex? > > Can you elaborate? > > No, I think it's fine. I encourage the use of the PRP0001 device to > expose DT devices through ACPI. I was just reminding you of its > existence. > > Confused. You said "I know, you can do virtio without PCI but that's complex in other ways" as the explanation why you are doing a custom protocol. -- MST