From: "Guilherme G. Piccoli" <gpiccoli@igalia.com>
To: Borislav Petkov <bp@alien8.de>
Cc: x86@kernel.org, linux-kernel@vger.kernel.org, tglx@linutronix.de,
mingo@redhat.com, dave.hansen@linux.intel.com, hpa@zytor.com,
kernel@gpiccoli.net, kernel-dev@igalia.com
Subject: Re: [PATCH] x86/tsc: Add debugfs entry to mark TSC as unstable after boot
Date: Mon, 17 Mar 2025 12:24:15 -0300 [thread overview]
Message-ID: <cfee20d6-881d-32a2-96f8-2bcac87864a7@igalia.com> (raw)
In-Reply-To: <20250317151446.GFZ9g8Zi3qmBwOTuz_@fat_crate.local>
On 17/03/2025 12:14, Borislav Petkov wrote:
> [...]
>> The same that happens if today someone marks it as unstable via
>> command-line, right? You will see that on logs, and could simply reply
>> that the user marked as unstable themselves, so..no bug at all!!
>>
>> But let's think the other way around: what if some user marks TSC
>> unstable via debugfs, later on runtime, and with that, unveils a real
>
> I don't understand what you mean here.
>
Oh, I meant that: since the behavior of other components (like tracing
clock) is different if TSC is marked as unstable (a) on boot time,
through command-line, (b) some time after boot, like on watchdog skews
(or using this debugfs approach), we may as well have some user marking
it unstable through debugfs and due to that, finding a real bug
somewhere, that we can fix it!
>> bug as [1] and then, we can then fix it? That would be a win heheh
>
> No, marking the most important clocksource on x86 deliberately as unstable
> better scream bloody hell in dmesg. But regardless, I'm not convinced this is
> nearly as needed to have upstream. Just use it locally or cmdline.
>
> Thx.
>
OK Boris, thanks for the feedback - if you don't see much value in this
one, let's forget about that - can always change locally as you said.
Cheers,
Guilherme
prev parent reply other threads:[~2025-03-17 15:24 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-26 13:27 Guilherme G. Piccoli
2025-03-17 14:35 ` Guilherme G. Piccoli
2025-03-17 18:42 ` H. Peter Anvin
2025-03-21 19:26 ` Guilherme G. Piccoli
2025-03-21 21:19 ` Thomas Gleixner
2025-03-23 17:53 ` Guilherme G. Piccoli
2025-03-23 18:14 ` Borislav Petkov
2025-03-23 19:21 ` Guilherme G. Piccoli
2025-03-23 19:51 ` Borislav Petkov
2025-03-23 19:59 ` Guilherme G. Piccoli
2025-03-17 14:40 ` Borislav Petkov
2025-03-17 15:03 ` Guilherme G. Piccoli
2025-03-17 15:14 ` Borislav Petkov
2025-03-17 15:24 ` Guilherme G. Piccoli [this message]
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=cfee20d6-881d-32a2-96f8-2bcac87864a7@igalia.com \
--to=gpiccoli@igalia.com \
--cc=bp@alien8.de \
--cc=dave.hansen@linux.intel.com \
--cc=hpa@zytor.com \
--cc=kernel-dev@igalia.com \
--cc=kernel@gpiccoli.net \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=tglx@linutronix.de \
--cc=x86@kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®