diff options
author | Peter Zijlstra <[email protected]> | 2023-08-02 12:55:46 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2023-09-12 17:50:53 +0200 |
commit | 25e73b7e3f72a25aa30cbb2eecb49036e0acf066 (patch) | |
tree | ec51d86d83644e810a6ea761725bd6c344654dca /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 5290e88ba2c742ca77c5f5b690e5af549cfd8591 (diff) |
x86/ibt: Suppress spurious ENDBR
It was reported that under certain circumstances GCC emits ENDBR
instructions for _THIS_IP_ usage. Specifically, when it appears at the
start of a basic block -- but not elsewhere.
Since _THIS_IP_ is never used for control flow, these ENDBR
instructions are completely superfluous. Override the _THIS_IP_
definition for x86_64 to avoid this.
Less ENDBR instructions is better.
Fixes: 156ff4a544ae ("x86/ibt: Base IBT bits")
Reported-by: David Kaplan <[email protected]>
Reviewed-by: Andrew Cooper <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions