All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86/PVH: mark pvh_setup_mmcfg() __init
@ 2026-01-08  9:16 Jan Beulich
  2026-01-08  9:21 ` Roger Pau Monné
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Beulich @ 2026-01-08  9:16 UTC (permalink / raw)
  To: xen-devel@lists.xenproject.org; +Cc: Andrew Cooper, Roger Pau Monné

Its sole caller is, and the wrong annotation would cause a build failure
(non-empty .text) if the compiler chose to not inline the function when at
the same time LATE_HWDOM=y.

Fixes: be52cb139f57a ("x86/mmcfg: add handlers for the PVH Dom0 MMCFG areas")
Signed-off-by: Jan Beulich <jbeulich@suse.com>

--- a/xen/arch/x86/hvm/dom0_build.c
+++ b/xen/arch/x86/hvm/dom0_build.c
@@ -1310,7 +1310,7 @@ static int __init pvh_setup_acpi(struct
     return 0;
 }
 
-static void __hwdom_init pvh_setup_mmcfg(struct domain *d)
+static void __init pvh_setup_mmcfg(struct domain *d)
 {
     unsigned int i;
     int rc;


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] x86/PVH: mark pvh_setup_mmcfg() __init
  2026-01-08  9:16 [PATCH] x86/PVH: mark pvh_setup_mmcfg() __init Jan Beulich
@ 2026-01-08  9:21 ` Roger Pau Monné
  0 siblings, 0 replies; 2+ messages in thread
From: Roger Pau Monné @ 2026-01-08  9:21 UTC (permalink / raw)
  To: Jan Beulich; +Cc: xen-devel@lists.xenproject.org, Andrew Cooper

On Thu, Jan 08, 2026 at 10:16:55AM +0100, Jan Beulich wrote:
> Its sole caller is, and the wrong annotation would cause a build failure
> (non-empty .text) if the compiler chose to not inline the function when at
> the same time LATE_HWDOM=y.
> 
> Fixes: be52cb139f57a ("x86/mmcfg: add handlers for the PVH Dom0 MMCFG areas")
> Signed-off-by: Jan Beulich <jbeulich@suse.com>

Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>

That was my oversight, sorry.

Thanks, Roger.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-01-08  9:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-08  9:16 [PATCH] x86/PVH: mark pvh_setup_mmcfg() __init Jan Beulich
2026-01-08  9:21 ` Roger Pau Monné

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.