Centos-kernel-stream-9/include
David Arcari bef5b92fe0 x86/resctrl: Allow overflow/limbo handlers to be scheduled on any-but CPU
JIRA: https://issues.redhat.com/browse/RHEL-20790

commit 978fcca954cb52249babbc14e53de53c88dd6433
Author: James Morse <james.morse@arm.com>
Date:   Tue Feb 13 18:44:35 2024 +0000

    x86/resctrl: Allow overflow/limbo handlers to be scheduled on any-but CPU

    When a CPU is taken offline resctrl may need to move the overflow or limbo
    handlers to run on a different CPU.

    Once the offline callbacks have been split, cqm_setup_limbo_handler() will be
    called while the CPU that is going offline is still present in the CPU mask.

    Pass the CPU to exclude to cqm_setup_limbo_handler() and
    mbm_setup_overflow_handler(). These functions can use a variant of
    cpumask_any_but() when selecting the CPU. -1 is used to indicate no CPUs need
    excluding.

    Signed-off-by: James Morse <james.morse@arm.com>
    Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
    Reviewed-by: Shaopeng Tan <tan.shaopeng@fujitsu.com>
    Reviewed-by: Babu Moger <babu.moger@amd.com>
    Reviewed-by: Reinette Chatre <reinette.chatre@intel.com>
    Tested-by: Shaopeng Tan <tan.shaopeng@fujitsu.com>
    Tested-by: Peter Newman <peternewman@google.com>
    Tested-by: Babu Moger <babu.moger@amd.com>
    Tested-by: Carl Worth <carl@os.amperecomputing.com> # arm64
    Link: https://lore.kernel.org/r/20240213184438.16675-22-james.morse@arm.com
    Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>

Signed-off-by: David Arcari <darcari@redhat.com>
2024-09-16 07:37:45 -04:00
..
acpi
asm-generic kunit: add KUNIT_INIT_TABLE to init linker section 2024-07-31 20:32:28 -06:00
clocksource
crypto
drm Merge DRM changes from upstream v6.9..v6.9.11 2024-07-30 10:57:32 +10:00
dt-bindings
keys
kunit kunit: Print last test location on fault 2024-07-31 20:32:29 -06:00
kvm
linux x86/resctrl: Allow overflow/limbo handlers to be scheduled on any-but CPU 2024-09-16 07:37:45 -04:00
math-emu
media
memory
misc
net Merge: Rebase HyperV MANA driver to upstream kernel v6.11-rc3 2024-09-13 06:54:01 +00:00
pcmcia
ras
rdma
rv
scsi Merge: AHCI driver update for 9.5 2024-08-20 12:46:53 +00:00
soc
sound
target
trace Merge: netfs, fscache: fix slab-use-after-free in fscache_withdraw_volume() and cachefiles_withdraw_cookie() 2024-08-13 12:48:06 +00:00
uapi Merge: Rebase HyperV MANA driver to upstream kernel v6.11-rc3 2024-09-13 06:54:01 +00:00
ufs
vdso
video
xen