lkml.org 
[lkml]   [2023]   [Dec]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH RFC v3 21/21] cpumask: Add enabled cpumask for present CPUs that can be brought online
    Date
    On Wed, Dec 13 2023 at 12:50, Russell King (Oracle) wrote:
    > From: James Morse <james.morse@arm.com>
    >
    > 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>

    Acked-by: Thomas Gleixner <tglx@linutronix.de>

    \
     
     \ /
      Last update: 2023-12-15 20:40    [W:8.883 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site