Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4016644rwd; Sat, 3 Jun 2023 17:56:29 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ72TyLq5cK/nrsk1xu/VZWopvGx7dX4F6p4YmIRcAdc2IUtFS3fvCSl7Eodu4JMeN+FtBlJ X-Received: by 2002:a0d:d747:0:b0:55d:ba47:5359 with SMTP id z68-20020a0dd747000000b0055dba475359mr5118492ywd.31.1685840189193; Sat, 03 Jun 2023 17:56:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685840189; cv=none; d=google.com; s=arc-20160816; b=qFPIDq3mxqlnq8zyf8y9EW+tCfnZDBeIv16g1XMvvPAsse7YWzdvgSsXr1q8scwm31 VHSwulHFdmxaNnbx9zE1YxjhLtmx+denn/dWSmoZ26RzKnD0tZtqCMj9Ul6LG86kcqNQ jD70Y3hRYKtCR46xx+d4xUqYlIyqAyAF3GLrvPh4FULwzXVzMhQrYlcL1QYw+9RIIf7d QGsZQqmw8F6YDFrTNh9BbSlL1PJY0s4qYERmUFDFzOT5VvzBnj/ArQbfxvj46wUuSNkN 7I28BgjW84sgcEAywUfp3UCCPbusTE2300Q4g0jNlBp4JU/v9EBb7XVMB3otHuJL0O97 YEDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature; bh=AUJ7jHGZlU1IgO9OqyJ4jwSVRZvI7dVMmKTNxQxKoeI=; b=w3NNkNr3COtE4i7Y6nHj4wejnMBbLZyjbiUZI3u3MtnttlQvenwmMlSox0ioAe1FWo rfNf8to06a58Z82NcQk6dfP9XhTAuCz71GVqVe7na/4Zu/TjWIiqIMVrrY9rmKae32nZ 6Qew6y4K9zyT8PVNUDavekosFY6bgdF6qQ5zakarvV2tt5tiOfP5VbYjUrTW4D6t0V6s /s7noQyqKpnODS3x5MiBRF7jEbtnXQjBjkD+WMMveliic67xMgNhEvy2sMOcyxsSNMvy +nXIceSH2QeSHIGFI50YS4tsp8eKeH8luU1JvyYJYcq6ZcW5YxfxG1dQxvQyZXMnr3vw 5Hng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ellerman.id.au header.s=201909 header.b=qd2YyRXs; 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 5-20020a17090a034500b00256cc387246si5137545pjf.155.2023.06.03.17.56.09; Sat, 03 Jun 2023 17:56: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=@ellerman.id.au header.s=201909 header.b=qd2YyRXs; 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 S229718AbjFDAXF (ORCPT + 99 others); Sat, 3 Jun 2023 20:23:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60022 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229658AbjFDAXE (ORCPT ); Sat, 3 Jun 2023 20:23:04 -0400 Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D12A19A; Sat, 3 Jun 2023 17:23:01 -0700 (PDT) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4QYcrs11C6z4x3x; Sun, 4 Jun 2023 10:22:52 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ellerman.id.au; s=201909; t=1685838176; bh=AUJ7jHGZlU1IgO9OqyJ4jwSVRZvI7dVMmKTNxQxKoeI=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=qd2YyRXsuhpUARRns0XW/38b+R1sW7dr4usqM/UPRmx59J5EK5CrM7vQ4ROSYmYcg 4UILf3rybeo9IVOT6KNFMUY2uox4B+heOXB4A0kqAIOgjeuEv5hoc6sSy6L0B0imXg yVii0FpGZVB4mwB5tgEDHEANGRPnikIhFd3Waos+0a73UAszqP6EODPT49dqN4k1Lm h1xrxTiQJ8Hrnbb/iQp2q2vIXA3niI7q7Ls2loypcmzfXq67Vt/zY27jAKKzBNEToh jHuBh0k8NWaQImrEUUhu3MEr3yfCqzS6aEWGlahbygEZPNHqVtTBPNKFg/1I3KWdKE EuBtbBTyBoqGQ== From: Michael Ellerman To: Randy Dunlap , Stephen Rothwell , Linux Next Mailing List Cc: Linux Kernel Mailing List , linuxppc-dev , Alexey Kardashevskiy , Timothy Pearson Subject: Re: linux-next: Tree for Jun 2 (arch/powerpc/kernel/iommu.c) In-Reply-To: <2d188c87-ef34-3812-7330-a985f756d959@infradead.org> References: <20230602140143.0af52cee@canb.auug.org.au> <2d188c87-ef34-3812-7330-a985f756d959@infradead.org> Date: Sun, 04 Jun 2023 10:22:51 +1000 Message-ID: <87h6rogjok.fsf@mail.lhotse> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,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 Randy Dunlap writes: > On 6/1/23 21:01, Stephen Rothwell wrote: >> Hi all, >> >> Changes since 20230601: >> > > On powerpc64, a randconfig failed with: > > In file included from ../include/linux/list.h:5, > from ../include/linux/preempt.h:11, > from ../include/linux/spinlock.h:56, > from ../include/linux/mmzone.h:8, > from ../include/linux/gfp.h:7, > from ../include/linux/slab.h:15, > from ../arch/powerpc/kernel/iommu.c:15: > ../arch/powerpc/kernel/iommu.c: In function 'spapr_tce_setup_phb_iommus_initcall': > ../arch/powerpc/kernel/iommu.c:1391:36: error: 'hose_list' undeclared (first use in this function); did you mean 'zonelist'? > 1391 | list_for_each_entry(hose, &hose_list, list_node) { > | ^~~~~~~~~ ... hose_list is in pci-common.c which is built when PCI=y. PSERIES and POWERNV force PCI=y. But this config has neither: # CONFIG_PPC_POWERNV is not set # CONFIG_PPC_PSERIES is not set CONFIG_HAVE_PCI=y # CONFIG_PCI is not set # CONFIG_COMMON_CLK_RS9_PCIE is not set Probably the spapr_tce code should be wrapped in an #ifdef that is only enabled when POWERNV || PSERIES is enabled. cheers