All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Beulich <jbeulich@suse.com>
To: "Orzel, Michal" <michal.orzel@amd.com>
Cc: "Andrew Cooper" <andrew.cooper3@citrix.com>,
	"Julien Grall" <julien@xen.org>,
	"Stefano Stabellini" <sstabellini@kernel.org>,
	"Anthony PERARD" <anthony.perard@vates.tech>,
	"Roger Pau Monné" <roger@xenproject.org>,
	"Teddy Astie" <teddy.astie@vates.tech>,
	"Bertrand Marquis" <bertrand.marquis@arm.com>,
	"Volodymyr Babchuk" <volodymyr_babchuk@epam.com>,
	"Oleksii Kurochko" <oleksii.kurochko@gmail.com>,
	"xen-devel@lists.xenproject.org" <xen-devel@lists.xenproject.org>
Subject: Re: [PATCH v4 1/3] time: add "NOW() good" indicator
Date: Tue, 18 Aug 2026 17:15:50 +0200	[thread overview]
Message-ID: <0a257dd8-86ee-4be2-9d7a-cfd90250a522@suse.com> (raw)
In-Reply-To: <7ef46d06-7674-40bf-816c-71f6935394fb@amd.com>

On 18.08.2026 17:10, Orzel, Michal wrote:
> On 30-Jun-26 16:06, Jan Beulich wrote:
>> printk_start_of_line() checks for a value of 0 right now. In order to be
>> able to have NOW() return at least monotonically increasing values, that
>> needs replacing by an explicit indicator.
>>
>> Signed-off-by: Jan Beulich <jbeulich@suse.com>
> Reviewed-by: Michal Orzel <michal.orzel@amd.com>

Thanks.

>> ---
>> Arm and RISC-V may want to consider whether their initial get_cycles()
>> can't be moved yet earlier, such that the indicator also can be set
>> yet earlier.
> On Arm, get_cycles() just reads a system register and it could be moved earlier.
> That said, is there any rule as to what should actually be considered a start of
> time (i.e. the boot_count value)?

Whatever NOW() uses as the "bias", I think. That looks to be boot_count on
Arm, yes.

Jan


  reply	other threads:[~2026-08-18 15:16 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-30 14:04 [PATCH v4 0/3] x86/time: avoid early uses of NOW() to return zero Jan Beulich
2026-06-30 14:06 ` [PATCH v4 1/3] time: add "NOW() good" indicator Jan Beulich
2026-07-02  8:27   ` Oleksii Kurochko
2026-07-28  8:03   ` Roger Pau Monné
2026-07-28  8:17   ` Roger Pau Monné
2026-07-28  8:24     ` Jan Beulich
2026-07-28 10:32       ` Roger Pau Monné
2026-07-28 11:37         ` Jan Beulich
2026-07-29  8:46           ` Roger Pau Monné
2026-07-29  8:57             ` Jan Beulich
2026-08-18 15:10   ` Orzel, Michal
2026-08-18 15:15     ` Jan Beulich [this message]
2026-06-30 14:06 ` [PATCH v4 2/3] x86/Intel: split model-specific freq calculation off of intel_log_freq() Jan Beulich
2026-07-28  8:16   ` Roger Pau Monné
2026-06-30 14:06 ` [PATCH v4 3/3] x86/time: avoid early uses of NOW() to return zero Jan Beulich
2026-07-28  8:39   ` Roger Pau Monné
2026-07-28  8:41   ` Roger Pau Monné
2026-07-28 10:01     ` Jan Beulich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0a257dd8-86ee-4be2-9d7a-cfd90250a522@suse.com \
    --to=jbeulich@suse.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=anthony.perard@vates.tech \
    --cc=bertrand.marquis@arm.com \
    --cc=julien@xen.org \
    --cc=michal.orzel@amd.com \
    --cc=oleksii.kurochko@gmail.com \
    --cc=roger@xenproject.org \
    --cc=sstabellini@kernel.org \
    --cc=teddy.astie@vates.tech \
    --cc=volodymyr_babchuk@epam.com \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.