diff options
| author | Sean Christopherson <seanjc@google.com> | 2025-04-01 09:34:40 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-06-19 15:40:17 +0200 |
| commit | 0af01ed5d0607a81101d906d2677999b7c4db719 (patch) | |
| tree | 7d50f7dc59ebd85920d3dceca6d99da97a9df1f1 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 1944078e50a2ea288eb085aca44cbba4feacc90d (diff) | |
x86/irq: Ensure initial PIR loads are performed exactly once
[ Upstream commit 600e9606046ac3b9b7a3f0500d08a179df84c45e ]
Ensure the PIR is read exactly once at the start of handle_pending_pir(),
to guarantee that checking for an outstanding posted interrupt in a given
chuck doesn't reload the chunk from the "real" PIR. Functionally, a reload
is benign, but it would defeat the purpose of pre-loading into a copy.
Fixes: 1b03d82ba15e ("x86/irq: Install posted MSI notification handler")
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20250401163447.846608-2-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
