Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp1936869rwa; Sun, 21 Aug 2022 21:47:24 -0700 (PDT) X-Google-Smtp-Source: AA6agR4qnBT8IaIzEE5gI4WKXnZZ3vyZA9pqiF6Smy/2zS//lUmGQcc7jFSjGi/Fqj8payc6Qgvh X-Received: by 2002:a17:90b:4ad1:b0:1fb:eba:9977 with SMTP id mh17-20020a17090b4ad100b001fb0eba9977mr8127998pjb.182.1661143643958; Sun, 21 Aug 2022 21:47:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661143643; cv=none; d=google.com; s=arc-20160816; b=ugGt8tSIPr0qldih2J9wbUCPVbdqtv05teu++D8P3059K6BlPwqUeVK47+OA6PNxTk IXphOhFL8OjC/wmgXvSzppgvtu3nulULXYbKx7k3R4LSP9BmbwJhp7ahAI1xVtij9tZK bCirhTHr3BGxoMQxHmBYKL/XgBEnh9/8wHEhj1XRZWbw7NJXedRYRUTGR9VBEM9YxSPx hcAGSMr0avJa7wuPFsuDoyzcpvp6gsJGCplOKBFOPpd+WLSULFn+DSg912J2+czVcVBy 6mWgNkktwXVgOkORDdhYfweA6fmEH59dvVA86fdFiNtzudok2E3HvNoJ4PibWtYuum/X 095A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=zTBrQi6tIHnpiZJcLtL9JGqfihQa+Uot5l+YHLsSKrU=; b=oLsmG7j9EUqsGxCQpKfZ2gTUL2t9xWzsnPW8ez4PoptvbtwUwXT2hvAsB27wR42yPu jvDdUOu+zDuE/D36jqYfMi5Z2POVT+GLZi3WqHh9wYeSaqWbuyDK5OzRyaLw3xQRpH34 kntRysQemD8SIZPFQLoJx/qfmddvrsWl3YPWPfhdUHNAhaDzimGQ0TJ7hKOLLkfLf28v oj4+95c4oerdKMHw73rNK0zjtmhLGyOmJUdYqffApoUmRGAiQ+MW4s3MS7ZQJeroEo07 ACTGBD5UcElVfmulbPIGkeE7t+AxpJ70maNAD0kllxx64d45xsmW+hC8TgSYmYcUO9jj sPrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=yU0c+4dj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o12-20020a6548cc000000b0041c335d3761si12984461pgs.363.2022.08.21.21.47.06; Sun, 21 Aug 2022 21:47:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=yU0c+4dj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232592AbiHVDx1 (ORCPT + 99 others); Sun, 21 Aug 2022 23:53:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33006 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232584AbiHVDxZ (ORCPT ); Sun, 21 Aug 2022 23:53:25 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E1E7C6338 for ; Sun, 21 Aug 2022 20:53:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=zTBrQi6tIHnpiZJcLtL9JGqfihQa+Uot5l+YHLsSKrU=; b=yU0c+4dj7PJ4pHovwDZMqOakG5 kLJ+s38h9D7SfdV41AYLVig5CGyaTJp+yb1rT6ZQZX6pFLW3zQLvGLTNQwY9a3AwRpF6KZayqxf8+ Itgy2L8nsAbjTkfodDLVLVo1MryD2liICOS8lB7x+TQ0gP4i03iCclgyR3nBQg/wWb80vI8TfMASi 1oCfmk4ti2SqVOvE0qdrSPALegV6PXL9pF45lK4UyqZQ8AyH0xbDszy0qWubUx5/mLzpqijzzvmkR hzR093ck590rou/62nsxjfo8eWRG2AymqJ5FvKSaDEP6kNCDt4iWVY1MoNNKTh2kePf8A9uy9FuZV k6+ZlYWg==; Received: from [2601:1c0:6280:3f0::a6b3] by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1oPyV6-004Y5h-Pd; Mon, 22 Aug 2022 03:53:20 +0000 Message-ID: Date: Sun, 21 Aug 2022 20:53:19 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.1.2 Subject: Re: [PATCH] powerpc: export cpu_smallcore_map for modules Content-Language: en-US To: Michael Ellerman , linux-kernel@vger.kernel.org Cc: "Gautham R . Shenoy" , Nicholas Piggin , Christophe Leroy , linuxppc-dev@lists.ozlabs.org, amd-gfx@lists.freedesktop.org, Felix Kuehling , Alex Deucher , =?UTF-8?Q?Christian_K=c3=b6nig?= , "Pan, Xinhui" References: <20220819210112.7924-1-rdunlap@infradead.org> <87o7wdkkt4.fsf@mpe.ellerman.id.au> From: Randy Dunlap In-Reply-To: <87o7wdkkt4.fsf@mpe.ellerman.id.au> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/21/22 20:40, Michael Ellerman wrote: > Randy Dunlap 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