aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorThomas Weißschuh <[email protected]>2024-10-10 07:01:26 +0000
committerThomas Gleixner <[email protected]>2024-11-02 11:37:35 +0000
commite07359f171f2440f4dbc98339b10c8c3cdd48a20 (patch)
treed3c961691d4b4c70e42709ac505e09c27f0a5f80 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentpowerpc/pseries/lparcfg: Fix printing of system_active_processors (diff)
downloadkernel-e07359f171f2440f4dbc98339b10c8c3cdd48a20.tar.gz
kernel-e07359f171f2440f4dbc98339b10c8c3cdd48a20.zip
powerpc/pseries/lparcfg: Use num_possible_cpus() for potential processors
The systemcfg processorCount variable tracks currently online variables, not possible ones, so the stored value is wrong. The code preferably tries to use the ibm,lrdr-capacity field 4 which "represents the maximum number of processors that the guest can have." Switch from processorCount to the better matching num_possible_cpus(). Signed-off-by: Thomas Weißschuh <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Link: https://lore.kernel.org/all/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions