Go to file
David Arcari 5dfa7fec9a x86/resctrl: Add CPU online callback for resctrl work
JIRA: https://issues.redhat.com/browse/RHEL-20790

commit 1b3e50ce7f5001f1e0edaf7d6abea43b264db7ee
Author: James Morse <james.morse@arm.com>
Date:   Tue Feb 13 18:44:34 2024 +0000

    x86/resctrl: Add CPU online callback for resctrl work

    The resctrl architecture specific code may need to create a domain when a CPU
    comes online, it also needs to reset the CPUs PQR_ASSOC register.  The resctrl
    filesystem code needs to update the rdtgroup_default CPU mask when CPUs are
    brought online.

    Currently, this is all done in one function, resctrl_online_cpu().  It will
    need to be split into architecture and filesystem parts before resctrl can be
    moved to /fs/.

    Pull the rdtgroup_default update work out as a filesystem specific cpu_online
    helper. resctrl_online_cpu() is the obvious name for this, which means the
    version in core.c needs renaming.

    resctrl_online_cpu() is called by the arch code once it has done the work to
    add the new CPU to any domains.

    In future patches, resctrl_online_cpu() will take the rdtgroup_mutex itself.

    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: Reinette Chatre <reinette.chatre@intel.com>
    Reviewed-by: Babu Moger <babu.moger@amd.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-21-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:44 -04:00
Documentation Merge: mfd: backport tps6594 multi-function device driver 2024-09-11 07:09:37 +00:00
LICENSES
arch x86/resctrl: Add CPU online callback for resctrl work 2024-09-16 07:37:44 -04:00
block Merge: CVE-2024-42294: block: fix deadlock between sd_remove &#38; sd_release 2024-09-11 07:52:53 +00:00
certs integrity: PowerVM support for loading third party code signing keys 2024-02-05 19:05:32 +08:00
crypto crypto: pcrypt - Fix hungtask for PADATA_RESET 2024-05-29 13:20:49 +08:00
drivers Merge: Rebase HyperV MANA driver to upstream kernel v6.11-rc3 2024-09-13 06:54:01 +00:00
fs Merge: ceph: periodically flush the cap releases 2024-08-21 12:52:21 +00:00
include x86/resctrl: Add CPU online callback for resctrl work 2024-09-16 07:37:44 -04:00
init modules: wait do_free_init correctly 2024-06-17 14:17:30 -04:00
io_uring io_uring/sqpoll: work around a potential audit memory leak 2024-07-26 17:07:19 -04:00
ipc Merge: ipc/msg: mitigate the lock contention in ipc/msg 2024-05-16 13:29:40 +00:00
kernel cgroup/cpuset: Prevent UAF in proc_cpuset_show() 2024-08-19 12:28:06 -04:00
lib Merge: Rebase HyperV MANA driver to upstream kernel v6.11-rc3 2024-09-13 06:54:01 +00:00
mm Merge: Update MM Selftests for 9.5 2024-08-21 12:51:18 +00:00
net Merge: ping: fix address binding wrt vrf 2024-09-13 06:53:30 +00:00
redhat Merge: Rebase HyperV MANA driver to upstream kernel v6.11-rc3 2024-09-13 06:54:01 +00:00
samples samples/bpf: Use %lu format specifier for unsigned long values 2024-06-25 11:07:33 +02:00
scripts Merge: net: Optimize cacheline consumption of core networking structs 2024-08-07 16:49:46 +00:00
security Merge: net: backport visibility improvements 2024-08-12 16:18:50 +00:00
sound Merge: CVE-2024-42278: ASoC: TAS2781: Fix tasdev_load_calibrated_data() 2024-09-11 07:15:26 +00:00
tools Merge: virtio_net: merge dma operations when filling mergeable buffers 2024-09-04 13:18:30 +00:00
usr kexec.h: add linux/kexec.h to UAPI compile-test coverage 2024-05-15 13:58:51 +08:00
virt KVM: guest_memfd: let kvm_gmem_populate() operate only on private gfns 2024-08-09 19:18:09 +02:00
.clang-format printk: Prepare for SRCU console list protection 2024-05-09 11:25:16 -04:00
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore redhat: rhdocs: delete .get_maintainer.conf 2024-06-06 09:36:57 -04:00
.gitlab-ci.yml redhat: set defaults for RHEL 9.5 2024-09-02 17:30:00 +00:00
.mailmap
COPYING
CREDITS MAINTAINERS: Drop Gustavo Pimentel as PCI DWC Maintainer 2024-05-13 15:56:48 -06:00
Kbuild
Kconfig
Kconfig.redhat
MAINTAINERS usb: cdns3: Add StarFive JH7110 USB driver 2024-08-30 12:21:15 +01:00
Makefile Merge: Update MM Selftests for 9.5 2024-08-21 12:51:18 +00:00
Makefile.rhelver [redhat] kernel-5.14.0-508.el9 2024-09-12 09:27:33 +00:00
README
makefile

README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.