Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp249563imn; Wed, 3 Aug 2022 02:12:28 -0700 (PDT) X-Google-Smtp-Source: AGRyM1snNN9KWuBV5bGOIg8UyLWeVL1JXKdAkJpibKyJXhodg2xJlBae9aHnzqrpPm6hpZoVL4GP X-Received: by 2002:a17:906:58c7:b0:722:f4bf:cb75 with SMTP id e7-20020a17090658c700b00722f4bfcb75mr19573116ejs.450.1659517948307; Wed, 03 Aug 2022 02:12:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659517948; cv=none; d=google.com; s=arc-20160816; b=lzEkzLx1thUOhKyiA0pmuHUFMVhhHb8ztQUe8JLwytlLjxVB8m1e7qw1nKGOJ4YbrQ j9a6svH1oUhA8FJ9hrdW/JBQHlTK/D/TbMN/7ho5YdYwqKrznzFJjFGDS1BG5haszY4L sH5F3aIDwoE9Cex1O2xAmfX+ijxogHWRKxnu7KjpeDxtydQuU9JQr1X4SZSSC8Uera74 Jc8qgCtFnpDmAFGpZKsAGiuAS7icLir9aRnGalyl93GEyM3ZnvbkIRkGQSJTzJpBVMc4 Bh8H+RV6DOP1puVvfk8VRL36frLQHhpXnq+xr4VwUn0jQsqJBhpFotzzD85zTlY7gTxX 3OAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:sender:dkim-signature; bh=eY4En0BOoCCAmSsPwL6benyjn9C8gmoGwOJ68i//GxY=; b=VFaXFtXvpo5yETnDiHM6/GsjQ6zP+aqYqKckSrig1iAIgQp6LCb3cXEJQHz7zOCgLW nsZDTPEzDShhsh5QSEKjN9X2fmySCwyNVH1Ss2Lip+gB7tGh/ByUw98gotK9wcYUIP5N Py/pIMzkiVFUTb2ifPV7euZ48MIS9TrggPuf6dXfG3QbGEg6fWsYGwqPUsiSTyotQ03L 1WRipcI50kx7zCwhrTk1N2aj2MmLgobYT9bSVTucYEPe8IkweetlYFQUgVHF9cwxqeiQ iXn+I/pmthPKYhIPejxHPgYZ9J1Q7C9n7J7JhMjIiaLI69WjX5Ue1WUxiK1fLD6FKv8j yd6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ktfWfi9f; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hs27-20020a1709073e9b00b00730a685d2d1si3053193ejc.233.2022.08.03.02.11.59; Wed, 03 Aug 2022 02:12:28 -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=@gmail.com header.s=20210112 header.b=ktfWfi9f; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235619AbiHCJI2 (ORCPT + 99 others); Wed, 3 Aug 2022 05:08:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58486 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233453AbiHCJI1 (ORCPT ); Wed, 3 Aug 2022 05:08:27 -0400 Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A9CD12762 for ; Wed, 3 Aug 2022 02:08:23 -0700 (PDT) Received: by mail-wr1-x435.google.com with SMTP id l22so20784931wrz.7 for ; Wed, 03 Aug 2022 02:08:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=eY4En0BOoCCAmSsPwL6benyjn9C8gmoGwOJ68i//GxY=; b=ktfWfi9fm5svqAfZHc2jVFs1hbGL76kq7LzSPBTWV4/LXEgfwjkegtg4K7dQph3NJ3 azFhlavNae0EwGRkaN1Vt2UrYrDjdUz+KliVY2AoGsaHs+pkQlbAv+2eOjVO4IEMSO39 aP33PosL/KaFIiMHT5jGETdnvnw29gyPB1P8x01/mmfAb5WQMtTHANolV4LFEunjNjl1 pRuWuILImn7YsjNSrp6d51iokdDa+L2dNuOlQXUsgad893j+0pvlWNfVZcbul8qkf7Of fs/xlyDK+SWJJNP5A6eAA+6+U2Cmyu2BnuGrYf4FiwWDA2Mx4zj6ku1zdLv5mqKosHW0 5/2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to; bh=eY4En0BOoCCAmSsPwL6benyjn9C8gmoGwOJ68i//GxY=; b=bV454AEjPIDoryws0FvOhsFCdfM9PCb71+TpmK1kx2GJn0ffbQgj4YJsjf1tGZCAE7 k1KKMlu4mTD9eENBKTwONCQ3ZcRtoGEL31bXah2twnFhCAw/FDaYLjuvdzjgs5LFA1OI srX+89XZ/RPsuim54G77qDTWRBJqrIK/R7ZMTVHyW/18tFh7hbFdHi12tmhhxRkcMuA9 qEkn7wFR0hEr2L7X5CP2HO11WZu2qBGXdU4yO037+u0UO2d/uhvQq8dHJCV0SX7gl4py 8Y/HQ7ImKd5LsNIWk/z2VTwixQxay1OkbYe8BQth8xxQYrv4ydr+v7+M9JMvHwUOyIdd BFIA== X-Gm-Message-State: ACgBeo2foMVZS1AknYXA3/BalkHkCSKK+hT/za28Oeeggs/WNHpF7cYb 4hWPed/Q2ozNhRaSxOa/xxg= X-Received: by 2002:a05:6000:982:b0:220:6e5e:1087 with SMTP id by2-20020a056000098200b002206e5e1087mr4708780wrb.82.1659517702033; Wed, 03 Aug 2022 02:08:22 -0700 (PDT) Received: from gmail.com (84-236-113-167.pool.digikabel.hu. [84.236.113.167]) by smtp.gmail.com with ESMTPSA id y14-20020adffa4e000000b0021eb309c97dsm17172475wrr.25.2022.08.03.02.08.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Aug 2022 02:08:21 -0700 (PDT) Sender: Ingo Molnar Date: Wed, 3 Aug 2022 11:08:19 +0200 From: Ingo Molnar To: Siddh Raman Pant Cc: x86 , Dave Hansen , Andy Lutomirski , Peter Zijlstra , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , linux-kernel , linux-kernel-mentees Subject: Re: [PATCH] x86/numa: Use cpumask_available instead of hardcoded NULL check Message-ID: References: <20220731160913.632092-1-code@siddh.me> <1825f63b142.8968bde3116633.1242410031840350968@siddh.me> <18262ed2459.44b0d74d434377.3690496800292832933@siddh.me> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <18262ed2459.44b0d74d434377.3690496800292832933@siddh.me> X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE, SPF_PASS autolearn=no 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 * Siddh Raman Pant wrote: > > Does 'allmodconfig' reproduce the warning for you: > > > > $ make allmodconfig > > $ make arch/x86/mm/numa.o > > > > ? > > > > If yes, then this could be due to gcc-12, as it doesn't reproduce with > > gcc-11 for me: > > > > gcc version 11.2.0 (Ubuntu 11.2.0-19ubuntu1) > > > > Thanks, > > > > Ingo > > > > There is no reason why allmodconfig would trigger the warning, [...] Well, unless I'm misreading your changelog, all the warning needs to trigger is CONFIG_CPUMASK_OFFSTACK=y. > as it has CONFIG_CPUMASK_OFFSTACK=y, but the warning is because of the > other case. What 'other case'? I've re-read the discussion and don't see it, but maybe I'm a bit daft this morning ... > Did you try the config file I had linked to earlier? Yes, and it didn't trigger the warning. Thanks, Ingo