On 8/21/22 20:40, Michael Ellerman wrote: > Randy Dunlap <rdunlap@xxxxxxxxxxxxx> writes: >> Fix build error when CONFIG_DRM_AMDGPU=m: >> >> ERROR: modpost: "cpu_smallcore_map" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined! >> >> by exporting 'cpu_smallcore_map' just as other per_cpu >> symbols are exported. >> >> drivers/gpu/drm/amd/amdkfd/kfd_device.c calls cpu_smt_mask(). >> This is an inline function on powerpc which references >> cpu_smallcore_map. >> >> Fixes: 425752c63b6f ("powerpc: Detect the presence of big-cores via "ibm, thread-groups"") >> Fixes: 7bc913085765 ("drm/amdkfd: Try to schedule bottom half on same core") > > That 2nd commit is not in mainline, only linux-next. > > I don't mind merging this fix preemptively, but is that SHA stable? Felix, Alex, can you answer that, please? -- ~Randy