1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/arch/x86/kernel/cpu/resctrl
James Morse c0d848fcb0 x86/resctrl: Remove lockdep annotation that triggers false positive
get_domain_from_cpu() walks a list of domains to find the one that
contains the specified CPU. This needs to be protected against races
with CPU hotplug when the list is modified. It has recently gained
a lockdep annotation to check this.

The lockdep annotation causes false positives when called via IPI as the
lock is held, but by another process. Remove it.

  [ bp: Refresh it ontop of x86/cache. ]

Fixes: fb700810d3 ("x86/resctrl: Separate arch and fs resctrl locks")
Reported-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: James Morse <james.morse@arm.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/all/ZdUSwOM9UUNpw84Y@agluck-desk3
2024-02-22 16:15:38 +01:00
..
core.c x86/resctrl: Remove lockdep annotation that triggers false positive 2024-02-22 16:15:38 +01:00
ctrlmondata.c x86/resctrl: Separate arch and fs resctrl locks 2024-02-19 19:28:07 +01:00
internal.h x86/resctrl: Allow overflow/limbo handlers to be scheduled on any-but CPU 2024-02-16 19:18:33 +01:00
Makefile x86/resctrl: Avoid confusion over the new X86_RESCTRL config 2019-02-02 10:34:52 +01:00
monitor.c x86/resctrl: Separate arch and fs resctrl locks 2024-02-19 19:28:07 +01:00
pseudo_lock.c x86/resctrl: Separate arch and fs resctrl locks 2024-02-19 19:28:07 +01:00
pseudo_lock_event.h x86/resctrl: Rename and move rdt files to a separate directory 2018-11-22 20:16:18 +01:00
rdtgroup.c x86/resctrl: Separate arch and fs resctrl locks 2024-02-19 19:28:07 +01:00