[<prev] [next>] [day] [month] [year] [list]
Message-ID: <169161336448.27769.4347654295175166611.tip-bot2@tip-bot2>
Date: Wed, 09 Aug 2023 20:36:04 -0000
From: "tip-bot2 for Thomas Gleixner" <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: Thomas Gleixner <tglx@...utronix.de>,
Dave Hansen <dave.hansen@...ux.intel.com>,
"Peter Zijlstra (Intel)" <peterz@...radead.org>,
Michael Kelley <mikelley@...rosoft.com>,
Sohil Mehta <sohil.mehta@...el.com>,
Juergen Gross <jgross@...e.com>, x86@...nel.org,
linux-kernel@...r.kernel.org
Subject: [tip: x86/apic] x86/apic: Mark all hotpath APIC callback wrappers
__always_inline
The following commit has been merged into the x86/apic branch of tip:
Commit-ID: 54271fb0b78511048aa7910d593994f2ca055e68
Gitweb: https://git.kernel.org/tip/54271fb0b78511048aa7910d593994f2ca055e68
Author: Thomas Gleixner <tglx@...utronix.de>
AuthorDate: Tue, 08 Aug 2023 15:04:21 -07:00
Committer: Dave Hansen <dave.hansen@...ux.intel.com>
CommitterDate: Wed, 09 Aug 2023 12:00:55 -07:00
x86/apic: Mark all hotpath APIC callback wrappers __always_inline
There is no value for instrumentation to look at those wrappers and with the
upcoming conversion to static calls even less so.
Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
Signed-off-by: Dave Hansen <dave.hansen@...ux.intel.com>
Acked-by: Peter Zijlstra (Intel) <peterz@...radead.org>
Tested-by: Michael Kelley <mikelley@...rosoft.com>
Tested-by: Sohil Mehta <sohil.mehta@...el.com>
Tested-by: Juergen Gross <jgross@...e.com> # Xen PV (dom0 and unpriv. guest)
---
arch/x86/include/asm/apic.h | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/arch/x86/include/asm/apic.h b/arch/x86/include/asm/apic.h
index 1742f97..28192a2 100644
--- a/arch/x86/include/asm/apic.h
+++ b/arch/x86/include/asm/apic.h
@@ -371,48 +371,48 @@ void __init apic_install_driver(struct apic *driver);
pr_info("APIC: %s() replaced with %ps()\n", #_callback, _fn); \
}
-static inline u32 apic_read(u32 reg)
+static __always_inline u32 apic_read(u32 reg)
{
return apic->read(reg);
}
-static inline void apic_write(u32 reg, u32 val)
+static __always_inline void apic_write(u32 reg, u32 val)
{
apic->write(reg, val);
}
-static inline void apic_eoi(void)
+static __always_inline void apic_eoi(void)
{
apic->eoi();
}
-static inline void apic_native_eoi(void)
+static __always_inline void apic_native_eoi(void)
{
apic->native_eoi();
}
-static inline u64 apic_icr_read(void)
+static __always_inline u64 apic_icr_read(void)
{
return apic->icr_read();
}
-static inline void apic_icr_write(u32 low, u32 high)
+static __always_inline void apic_icr_write(u32 low, u32 high)
{
apic->icr_write(low, high);
}
-static inline void apic_wait_icr_idle(void)
+static __always_inline void apic_wait_icr_idle(void)
{
if (apic->wait_icr_idle)
apic->wait_icr_idle();
}
-static inline u32 safe_apic_wait_icr_idle(void)
+static __always_inline u32 safe_apic_wait_icr_idle(void)
{
return apic->safe_wait_icr_idle ? apic->safe_wait_icr_idle() : 0;
}
-static inline bool apic_id_valid(u32 apic_id)
+static __always_inline bool apic_id_valid(u32 apic_id)
{
return apic_id <= apic->max_apic_id;
}
Powered by blists - more mailing lists