Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp1590829pxp; Thu, 17 Mar 2022 12:13:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyNPosV6vYKrSyt68TPqsrf+4ZiLsstlBgq6O4VtSVimAGhLSJHzVoeCXCx/zVRw3RW3Bxe X-Received: by 2002:a05:6a00:a8f:b0:4e1:2619:11a2 with SMTP id b15-20020a056a000a8f00b004e1261911a2mr5929550pfl.53.1647544412862; Thu, 17 Mar 2022 12:13:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647544412; cv=none; d=google.com; s=arc-20160816; b=fFJTGJ8ZaCq8lNlhytPYhIpUUmZluQA0dgpfKoIwsIi6LA/bkelf9UyQ1hroRezfEP F6G1ST8SMG9kNUdEST2uiCW/Beb5A41eQKrKWPwL9SzeR5eg9MWoFgAoo99Z3d2lyvY/ 4lDPzQFut6VYuztAKTEZeSI+Wfquvw8WqAWRGsqbp4BgZuOQHuUSQRd5EMl4oJd9tBbi vJ57uuhnV29g6ewNdZ0OgLq5Ia95iAZMXC3+vPA0XxQ6PCKfLWR1AvyoJEQgg7AjLKmR l2X2xn0lOMlBAH39lDmnw9KIxqm2CbN+9FfurxxVDhcLG+fmTGrkvZCewtWiA7s7f//D N90g== 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=U3YBJWruFs9ahkXSkuJtoG3rsMMVJ7pMrWmhkqc3kms=; b=kwUamuk2GQR5jLOOdm18R2pSNLp3S9YCCt73Ax8giWoB2Yr01BowGsABcrHuaHrp6I 6VsmYQrqzAo8JfTQO/T3BLQ8KQhNZ19cNdnHMyBn6/MsbxczcrSEgOBIHiHHRhyLBNaO PJGZz5pErn2mjp2tyZsOUc+BvCVGC3xp4E+7uZLwWZkTKiQIluiWWYRTqcKHJyPeyWmi 3qiVyxPUmSV184IrTAQMzy0qSNYXj6Z9zYKzFUfqoV/QFBRTEJnVa+m11xjoy86BbAT3 ID863nl4QXpn4bO1cXW5pvQ44hIim/Vgh5MCjweWdChwLCiloItYpaMIj92Vj8ShH/tC NaFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=s+MWaUn4; 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 d7-20020a056a0010c700b004f72f321f0asi6372449pfu.147.2022.03.17.12.13.17; Thu, 17 Mar 2022 12:13:32 -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=casper.20170209 header.b=s+MWaUn4; 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 S235051AbiCQOYd (ORCPT + 99 others); Thu, 17 Mar 2022 10:24:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53466 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231233AbiCQOYd (ORCPT ); Thu, 17 Mar 2022 10:24:33 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 34A7D3DDCB; Thu, 17 Mar 2022 07:23:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; 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=U3YBJWruFs9ahkXSkuJtoG3rsMMVJ7pMrWmhkqc3kms=; b=s+MWaUn4qp3Q0lHwtYNWnMTQfq 9q7Euphy8neOQ9jGWn432pEdBi+znYgee7nl8kqAaJ+lnlG9Rb3zkZJGu/k3KNZSmx1UvyzmuZJ7C gFKS3Dz52B94R8wqAhTA9+JWXyHRf81ngOoAC5w+gYfxHSYz8Fr6bTLvKAIllkUFI2N38AgoayNIU ZszwCES5jNkW1yHQmZs0IKg+IyaQlkuHI16YTRh78FbnSF7v6JpLq0rAY/KQO7pouameutdvZyIrJ b2md3gbooOYDWmHnhsuULHLUX/jgno0DI2EvQCvDLYSZKPDpLb0Qm+5DQoavi7yKZA5Ugv+ROdjUo ha9AwA1Q==; Received: from [2601:1c0:6280:3f0::aa0b] by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1nUr21-0072LH-0W; Thu, 17 Mar 2022 14:23:13 +0000 Message-ID: <21c5336c-96e3-fdae-dc52-c1ab2f52df3b@infradead.org> Date: Thu, 17 Mar 2022 07:23:08 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [powerpc] 5.17-rc8-next-20220317 build break kernel/sched/fair.o Content-Language: en-US To: Sachin Sant , linux-next@vger.kernel.org, Ingo Molnar Cc: open list References: From: Randy Dunlap In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, 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 3/17/22 03:35, Sachin Sant wrote: > Today’s next (5.17.0-rc8-next-20220317) fails to build on powerpc > with following error: > > CC kernel/sched/fair.o > In file included from ./arch/powerpc/include/generated/asm/rwonce.h:1, > from ./include/linux/compiler.h:248, > from ./include/linux/kernel.h:20, > from ./include/linux/cpumask.h:10, > from ./include/linux/energy_model.h:4, > from kernel/sched/fair.c:23: > ./include/linux/psi.h: In function 'cgroup_move_task': > ./include/linux/rcupdate.h:414:36: error: dereferencing pointer to incomplete type 'struct css_set' > #define RCU_INITIALIZER(v) (typeof(*(v)) __force __rcu *)(v) > ^~~~ > ./include/asm-generic/rwonce.h:55:33: note: in definition of macro '__WRITE_ONC' > *(volatile typeof(x) *)&(x) = (val); \ > ^~~ > ./arch/powerpc/include/asm/barrier.h:74:2: note: in expansion of macro 'WRITE_ONCE' > WRITE_ONCE(*p, v); \ > ^~~~~~~~~~ > ./include/asm-generic/barrier.h:164:55: note: in expansion of macro '__smp_store_release' > #define smp_store_release(p, v) do { kcsan_release(); __smp_store_release(p, v); } while (0) > ^~~~~~~~~~~~~~~~~~~ > ./include/linux/rcupdate.h:455:3: note: in expansion of macro 'smp_store_releas' > smp_store_release(&p, RCU_INITIALIZER((typeof(p))_r_a_p__v)); \ > ^~~~~~~~~~~~~~~~~ > ./include/linux/rcupdate.h:455:25: note: in expansion of macro 'RCU_INITIALIZER' > smp_store_release(&p, RCU_INITIALIZER((typeof(p))_r_a_p__v)); \ > ^~~~~~~~~~~~~~~ > ./include/linux/psi.h:58:2: note: in expansion of macro 'rcu_assign_pointer' > rcu_assign_pointer(p->cgroups, to); > ^~~~~~~~~~~~~~~~~~ > make[2]: *** [scripts/Makefile.build:309: kernel/sched/fair.o] Error 1 > make[1]: *** [scripts/Makefile.build:578: kernel/sched] Error 2 > make: *** [Makefile:1834: kernel] Error 2 > > Git bisect points to: > > commit c4ad6fcb67c42d65481c85733c8009c8afdfdf4e (refs/bisect/bad) > sched/headers: Reorganize, clean up and optimize kernel/sched/fair.c dependencies > > I have attached .config Here is a fix for the CONFIG_PSI=n build error: https://lore.kernel.org/lkml/917e9ce0-c8cf-61b2-d1ba-ebf25bbd979d@infradead.org/ -- ~Randy