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 X-Spam-Level: X-Spam-Status: No, score=-6.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6DB99C433DB for ; Wed, 10 Feb 2021 10:53:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3424964E0D for ; Wed, 10 Feb 2021 10:53:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231718AbhBJKxN (ORCPT ); Wed, 10 Feb 2021 05:53:13 -0500 Received: from mail.kernel.org ([198.145.29.99]:51282 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229837AbhBJKtx (ORCPT ); Wed, 10 Feb 2021 05:49:53 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 98F9E64E38; Wed, 10 Feb 2021 10:49:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1612954152; bh=xuEAqpQCWZdM1vTZm9mWZOn0t6k7CNDtwTAtObZl4a4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=x20QtPRkE+KSwll/FbCQT+SAWvi8RZFtX45ZSojCSCfOQr5WIMIJYfDmfWM9jaWh8 dNiS5dNi64k0ZtMCvUqa9j3ZfrpnuIbupsvtepiw+dY6Ne/uzwQmUJ7dPcARk5z/s7 7WaP/A93iteT3D0u4LBHKI8nQ5gV+OxcvnN+gDac= Date: Wed, 10 Feb 2021 11:49:09 +0100 From: Greg Kroah-Hartman To: Hikaru Nishida Cc: linux-kernel@vger.kernel.org, suleiman@google.com, Alexander Graf , Andra Paraschiv , Arnd Bergmann , Geert Uytterhoeven , Ingo Molnar , John Stultz , Kurt Kanzenbach , Linus Walleij , Masahiro Yamada , Stephen Boyd , Thomas Gleixner Subject: Re: [RFC PATCH 0/2] Introduce a way to adjust CLOCK_BOOTTIME from userspace for VM guests Message-ID: References: <20210210103908.1720658-1-hikalium@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210210103908.1720658-1-hikalium@google.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 10, 2021 at 07:39:06PM +0900, Hikaru Nishida wrote: > From: Hikaru Nishida > > > Hi folks, > > We'd like to add a sysfs interface that enable us to advance > CLOCK_BOOTTIME from userspace. Why sysfs? What device is the clock that you are attaching to here? Why not use the existing kernel api to adjust clocks? thanks, greg k-h