Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1166010rwr; Wed, 26 Apr 2023 10:54:51 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4R2U7t24Kfk+fLVaX0boEKArPUYD4lfopYI0bYc9m1ldGpJF9flO/XGs/93BIiJ37FeTlc X-Received: by 2002:a17:902:da8c:b0:1a5:1109:f58e with SMTP id j12-20020a170902da8c00b001a51109f58emr4159451plx.29.1682531691129; Wed, 26 Apr 2023 10:54:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682531691; cv=none; d=google.com; s=arc-20160816; b=kFk17XPxhdGshTUSRhQ4fryfrslU085BFjuMkL8WfpGt/jYxzEff4r8GGnWjuca4Np 0O/QjA1wBWS6qsao9g6J2WTv3H4AkHWcro59s9a30q7JuNFmR8nUQb4wYyTXeeqemqXI M+vtdArFfZqDUotcQcbAPSNZ5j5D8Jf8yyZ37rzNPUKWgoUuNE+Hoc39FQcRhaast8JM U1mhGQF08GQaaOFC7bx/iPR1WYV822+PqKuXHh80b7u0CEW/KWFPKgvL0YVxK7zcsiHT EBXZO8ZLMjEl0QfphdL1OodXfyLdfKB/cmrtsJKZXvmMVwUDsO2HLhQrgkntOaD1Y9rQ hgTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature; bh=K8jM2knRGN9BYsAyJBymJ0PdQVU0ygOmY27Y7/+qCDI=; b=RVwQ1jzNzkECFyyC8Hl0N3atnUKQQoUBRJoiU8y7NK7S1RI2roNlqugkF64YRlscQc BS8b8BJFUIop0GluwBFftcf4evTSpNYxHgcGXu/9K7g/YP4mIZZh5V3glHQM4WN3yEr0 kf0V0H7mIAwjZFoHGajp6z/BhGs9oGDuQN8bJjiCJgxFZlaORVzBr1FDXnUou9bOP+h6 E5tcv3qOF/HDOapPNt5hweXN9iGM/J8KGUrQTqIcPFNrxhwx5Nu7OYA8eL7WzWhB28c8 C705R2gO15vJfJ53j3dFCMy2bB45sz2rpBXqTLZpJKdqEkamIReAe16s7X2ZKh9RApLj iZEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=dGNfBKb9; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k13-20020a170902c40d00b001a679c04970si19533890plk.251.2023.04.26.10.54.36; Wed, 26 Apr 2023 10:54:51 -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=20221208 header.b=dGNfBKb9; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238826AbjDZRov (ORCPT + 99 others); Wed, 26 Apr 2023 13:44:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34608 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239049AbjDZRor (ORCPT ); Wed, 26 Apr 2023 13:44:47 -0400 Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81F9D1FDE for ; Wed, 26 Apr 2023 10:44:46 -0700 (PDT) Received: by mail-wr1-x429.google.com with SMTP id ffacd0b85a97d-2f9b9aa9d75so4772233f8f.0 for ; Wed, 26 Apr 2023 10:44:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682531085; x=1685123085; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=K8jM2knRGN9BYsAyJBymJ0PdQVU0ygOmY27Y7/+qCDI=; b=dGNfBKb9cOspje21udAgXEAc23Tc4Z72X3t8ZVn2jE+rKhLcPb1xK5ro/DO1MAuRqm sbZZu2SQqlPJgJdpUHOhBxXY0L87NZsXNBhgZfRx/ZSywy1gaI/a2gkZOnjwdnQ39z9w 4qxs8ss/9Bztm4JDUYEloRLQuBR0oVgPJ1vdc7BvBIME3an1PvbAFmSfuGmBKelDDQAT jn1bSrxxcJUaoy5XKd2HaBXRhHO6euuvR9COlgAtpTvN6Q3mSdSnswucBKXkXyx6L4K7 M0TZUM5TkBIUyJA3fkYnZEfe1w/eOaXdmNp3E0N8TqYQG+q8ZFW94hZllEUSPP/6xitg 98YQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682531085; x=1685123085; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=K8jM2knRGN9BYsAyJBymJ0PdQVU0ygOmY27Y7/+qCDI=; b=gxmeplxbAymX9Qc8wCR19mnJKT9qpfozgY/tqPE6oxClUPFpB1ZQ5rmJ1eGjzvPv7Q R0bKtFojwYRhV4zGaSBcnZNlBjs/iZfFQVE1QVOmzJxMt+1rnmebmmZnchFRyJSxGD+7 QglXIjPtE1ptrCSt62/bQg+ujmLy9RsNC99F2CzyluTQYodo0YfTt+R7nv9d1jtAcd5v mE0QHuX6DWXG7I4+oKFxqOGszgP0je33Xja5jLkkSpHpKYjyvqHDNKHKSKKPNZ2YZhZM IuHXo9IuWi/cPTaJ/Elr3uZS+zwTvb8ZSGTKRSO3HhM3AdlCKzocO4nUGKQWoJqBk+8F Myig== X-Gm-Message-State: AC+VfDyqfmsmxHJbDLpCRgnCTibDJdzT8jE4tpkC5Z+TCLlXjBXO2K4N lWssx8tjtrEDQzU68eBy//E= X-Received: by 2002:a5d:6610:0:b0:304:7bbe:87f7 with SMTP id n16-20020a5d6610000000b003047bbe87f7mr6871658wru.58.1682531084849; Wed, 26 Apr 2023 10:44:44 -0700 (PDT) Received: from debian ([63.135.72.41]) by smtp.gmail.com with ESMTPSA id b2-20020adff902000000b00304aba2cfcbsm55744wrr.7.2023.04.26.10.44.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Apr 2023 10:44:44 -0700 (PDT) Date: Wed, 26 Apr 2023 18:44:42 +0100 From: "Sudip Mukherjee (Codethink)" To: Thomas =?iso-8859-1?Q?Hellstr=F6m?= , Christian Koenig , Huang Rui , David Airlie , Daniel Vetter Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Linus Torvalds Subject: mainline build failure due to 322458c2bb1a ("drm/ttm: Reduce the number of used allocation orders for TTM pages") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,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 Hi All, The latest mainline kernel branch fails to build powerpc allmodconfig with the error: drivers/gpu/drm/ttm/ttm_pool.c:73:29: error: variably modified 'global_write_combined' at file scope 73 | static struct ttm_pool_type global_write_combined[TTM_DIM_ORDER]; | ^~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/ttm/ttm_pool.c:74:29: error: variably modified 'global_uncached' at file scope 74 | static struct ttm_pool_type global_uncached[TTM_DIM_ORDER]; | ^~~~~~~~~~~~~~~ drivers/gpu/drm/ttm/ttm_pool.c:76:29: error: variably modified 'global_dma32_write_combined' at file scope 76 | static struct ttm_pool_type global_dma32_write_combined[TTM_DIM_ORDER]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/ttm/ttm_pool.c:77:29: error: variably modified 'global_dma32_uncached' at file scope 77 | static struct ttm_pool_type global_dma32_uncached[TTM_DIM_ORDER]; | ^~~~~~~~~~~~~~~~~~~~~ git bisect pointed to 322458c2bb1a ("drm/ttm: Reduce the number of used allocation orders for TTM pages") I will be happy to test any patch or provide any extra log if needed. -- Regards Sudip