summaryrefslogtreecommitdiff
path: root/LICENSES
diff options
context:
space:
mode:
authorJames Morse <james.morse@arm.com>2022-11-02 16:15:24 +0000
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2023-12-11 09:43:21 +0000
commitef0b870ebce3b1ccb2c315934e2d927ef1e2d094 (patch)
treed154f310b492d53a7d70e9f193e1076652719838 /LICENSES
parent3b35dbceb706dd5ec0930d8f7eb397f07e871a1b (diff)
cpumask: Add enabled cpumask for present CPUs that can be brought onlineaarch64/hotplug-vcpu/v6.7-rc5
The 'offline' file in sysfs shows all offline CPUs, including those that aren't present. User-space is expected to remove not-present CPUs from this list to learn which CPUs could be brought online. CPUs can be present but not-enabled. These CPUs can't be brought online until the firmware policy changes, which comes with an ACPI notification that will register the CPUs. With only the offline and present files, user-space is unable to determine which CPUs it can try to bring online. Add a new CPU mask that shows this based on all the registered CPUs. Signed-off-by: James Morse <james.morse@arm.com> Tested-by: Miguel Luis <miguel.luis@oracle.com> Tested-by: Vishnu Pajjuri <vishnu@os.amperecomputing.com> Tested-by: Jianyong Wu <jianyong.wu@arm.com> --- Outstanding comment: https://lore.kernel.org/r/20230914175443.000038f6@Huawei.com
Diffstat (limited to 'LICENSES')
0 files changed, 0 insertions, 0 deletions