From: Jan Kiszka <jan.kiszka@siemens.com>
To: Wei Liu <wei.liu@kernel.org>
Cc: "K. Y. Srinivasan" <kys@microsoft.com>,
Haiyang Zhang <haiyangz@microsoft.com>,
Dexuan Cui <decui@microsoft.com>, Long Li <longli@microsoft.com>,
Thomas Gleixner <tglx@kernel.org>, Ingo Molnar <mingo@redhat.com>,
Borislav Petkov <bp@alien8.de>,
Dave Hansen <dave.hansen@linux.intel.com>,
x86@kernel.org, linux-hyperv@vger.kernel.org,
linux-kernel@vger.kernel.org,
Florian Bezdeka <florian.bezdeka@siemens.com>,
RT <linux-rt-users@vger.kernel.org>,
Mitchell Levy <levymitchell0@gmail.com>
Subject: Re: [PATCH] x86: mshyperv: Use kthread for vmbus interrupts on PREEMPT_RT
Date: Wed, 4 Feb 2026 08:19:59 +0100 [thread overview]
Message-ID: <c377fab9-54f1-4eb9-8810-013a8bfb340e@siemens.com> (raw)
In-Reply-To: <20260204070004.GM79272@liuwe-devbox-debian-v2.local>
On 04.02.26 08:00, Wei Liu wrote:
> On Tue, Feb 03, 2026 at 05:01:30PM +0100, Jan Kiszka wrote:
>> From: Jan Kiszka <jan.kiszka@siemens.com>
>>
>> Resolves the following lockdep report when booting PREEMPT_RT on Hyper-V
>> with related guest support enabled:
>
> So all it takes to reproduce this is to enabled PREEMPT_RT?
>
...and enable CONFIG_PROVE_LOCKING so that you do not have to wait for
your system to actually run into the bug. Lockdep already triggers
during bootup.
> Asking because ...
>
>> struct pt_regs *old_regs = set_irq_regs(regs);
>> @@ -158,8 +196,12 @@ DEFINE_IDTENTRY_SYSVEC(sysvec_hyperv_callback)
>> if (mshv_handler)
>> mshv_handler();
>
> ... to err on the safe side we should probably do the same for
> mshv_handler as well.
>
Valid question. We so far worked based on lockdep reports, and the
mshv_handler didn't trigger yet. Either it is not run in our setup, or
it is actually already fine. But I have a code review on my agenda
regarding potential remaining issues in mshv.
Is there something needed to trigger the mshv_handler so that we can
test it?
> Note we don't support RT yet, but if issues are found we might as well
> just fix them up.
This is actually not about RT itself but about supporting all
configurable locking semantics of the. And the mshv drivers fail here.
>
> How urgent do you want this patch to get applied?
If I asked my folks: yesterday (we shipped it...).
We would also need in upstream stable and stable-rt, though it may not
reach the current production kernel anymore (6.1-rt from bookworm)
because it reaching EOL in a few months.
Jan
--
Siemens AG, Foundational Technologies
Linux Expert Center
next prev parent reply other threads:[~2026-02-04 7:20 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-03 16:01 Jan Kiszka
2026-02-04 7:00 ` Wei Liu
2026-02-04 7:19 ` Jan Kiszka [this message]
2026-02-04 7:26 ` Jan Kiszka
2026-02-04 7:29 ` Wei Liu
2026-02-04 7:32 ` Jan Kiszka
2026-02-04 7:36 ` Wei Liu
2026-02-04 13:04 ` Jan Kiszka
2026-02-06 7:32 ` Naman Jain
2026-02-05 14:12 ` Bezdeka, Florian
2026-02-05 18:55 ` Michael Kelley
2026-02-06 6:40 ` Jan Kiszka
2026-02-07 1:30 ` Michael Kelley
2026-02-09 10:35 ` Florian Bezdeka
2026-02-09 18:25 ` Michael Kelley
2026-02-12 16:06 ` Jan Kiszka
2026-02-12 16:22 ` Michael Kelley
2026-02-13 21:35 ` mhklkml
2026-02-16 12:24 ` Jan Kiszka
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=c377fab9-54f1-4eb9-8810-013a8bfb340e@siemens.com \
--to=jan.kiszka@siemens.com \
--cc=bp@alien8.de \
--cc=dave.hansen@linux.intel.com \
--cc=decui@microsoft.com \
--cc=florian.bezdeka@siemens.com \
--cc=haiyangz@microsoft.com \
--cc=kys@microsoft.com \
--cc=levymitchell0@gmail.com \
--cc=linux-hyperv@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rt-users@vger.kernel.org \
--cc=longli@microsoft.com \
--cc=mingo@redhat.com \
--cc=tglx@kernel.org \
--cc=wei.liu@kernel.org \
--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®