From: "Jürgen Groß" <jgross@suse.com>
To: Borislav Petkov <bp@alien8.de>
Cc: linux-kernel@vger.kernel.org, x86@kernel.org,
Thomas Gleixner <tglx@kernel.org>, Ingo Molnar <mingo@redhat.com>,
Dave Hansen <dave.hansen@linux.intel.com>,
"H. Peter Anvin" <hpa@zytor.com>,
kernel test robot <lkp@intel.com>
Subject: Re: [PATCH] x86/irqflags: Fix build failure
Date: Mon, 19 Jan 2026 17:02:22 +0100 [thread overview]
Message-ID: <e7d2c719-ca43-4d8f-a20a-df22b5bdd585@suse.com> (raw)
In-Reply-To: <20260119154624.GFaW5R0M6gTuB09-xb@fat_crate.local>
[-- Attachment #1.1.1: Type: text/plain, Size: 2018 bytes --]
On 19.01.26 16:46, Borislav Petkov wrote:
> On Mon, Jan 19, 2026 at 03:22:57PM +0100, Jürgen Groß wrote:
>> Why do you insist on keeping irqflags.h inconsistent by not defining
>> some prototypes if CONFIG_PARAVIRT is set, but not CONFIG_PARAVIRT_XXL.
>
> The only thing I'm insisting on is proper patch documentation because stable
> patches do get looked at by stable folks so it better be clear what we're
> fixing.
>
>> Commit 22cc5ca5de52 was just missing the part of my patch. It was wrong.
>> Should have moved the "#include <asm/paravirt.h>" from the
>> CONFIG_PARAVIRT_XXL to the CONFIG_PARAVIRT umbrella, just like my
>> patch.
>
> So this makes more sense. Your current patch is fixing 22cc5ca5de52. But
> nothing breaks currently, only after you switch to including paravirt-base.h
> and not the big fat header.
>
> Which means that the patch at the beginning of this thread should be the first
> patch in your io set, it should have a Fixes: tag but we should NOT send it to
> stable because nothing breaks there.
>
> Your io patchset, at a quick glance, is cleanups so it won't go to stable
> either so no need for that fix to go stable either.
>
> Does that sound like a good strategy?
>
Fine with me.
I'll change the commit message to:
Commit 22cc5ca5de52 ("x86/paravirt: Move halt paravirt calls under
CONFIG_PARAVIRT") moved some paravirt hooks from the CONFIG_PARAVIRT_XXL
umbrella to CONFIG_PARAVIRT, but missed to move the associated
"#include <asm/paravirt.h>" in irqflags.h from CONFIG_PARAVIRT_XXL to
CONFIG_PARAVIRT.
This hasn't resulted in build failures yet, as all use cases of irqflags.h
had paravirt.h included via other header files, even without
CONFIG_PARAVIRT_XXL being set.
In order to allow changing those other header files, e.g. by no longer
including paravirt.h, fix irqflags.h by moving inclusion of paravirt.h
under the CONFIG_PARAVIRT umbrella.
Is that fine with you?
Juergen
[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3743 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 495 bytes --]
next prev parent reply other threads:[~2026-01-19 16:02 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-15 16:10 Juergen Gross
2026-01-15 17:45 ` Borislav Petkov
2026-01-15 18:29 ` Jürgen Groß
2026-01-19 11:36 ` Borislav Petkov
2026-01-19 11:52 ` Jürgen Groß
2026-01-19 13:28 ` Borislav Petkov
2026-01-19 13:52 ` Jürgen Groß
2026-01-19 13:58 ` Jürgen Groß
2026-01-19 14:10 ` Borislav Petkov
2026-01-19 14:22 ` Jürgen Groß
2026-01-19 15:46 ` Borislav Petkov
2026-01-19 16:02 ` Jürgen Groß [this message]
2026-01-19 16:24 ` Borislav Petkov
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=e7d2c719-ca43-4d8f-a20a-df22b5bdd585@suse.com \
--to=jgross@suse.com \
--cc=bp@alien8.de \
--cc=dave.hansen@linux.intel.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lkp@intel.com \
--cc=mingo@redhat.com \
--cc=tglx@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®