Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1350439rwd; Thu, 15 Jun 2023 09:21:03 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ786IjpLk9lCPzg43m+BBb1jnXMoMjtMCuyUcy26byK9fZ3rTkuKrPzYh90zecppZ9V7Any X-Received: by 2002:a05:6402:34c7:b0:4fc:97d9:18ec with SMTP id w7-20020a05640234c700b004fc97d918ecmr4610995edc.21.1686846063449; Thu, 15 Jun 2023 09:21:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686846063; cv=none; d=google.com; s=arc-20160816; b=Dfl7I0mIPc24AGz/d1tQvj6L+XToldO+r2C/t9rgkvhvGtlispFHoQFT5aB4v0zeoj iarpO683wDVgshPdbZ5/zfgsj59yMvZG7TGzyhZtuN4slaHdgTJ5GGbmRa+GdzEueu0K OET4J/WbJ+Xeuh5uN16ZTwFFJl2SnG6t3OwV2QpJx72bnpB6B0sAIGRq8qebj5zmWT37 leic87OO/RSZAIgBPtziFQMqGNd5aryHYfHC9bqZyo3vO8DkHwXlu6fONFUf4yCIVjXZ PRIJqSV330q9njBkPCGh21t/arrfqVobGjPsZV3pbs7mBoXlm/Jtrj3faVpYqB97G0Pn OmjA== 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=UrGANt7scBrisMpPSlfWbqcoa3cbh52COIYVdt4D2VY=; b=l/FkEgSLiVbEbVYP8D29AH8wgw/yLjRBKBWZYstxvlmZEdA5UlFbKm3pd0JF5nFCRi zbzgISvcol4lpcO7mgvx59UlpICWmQP8ST0DTNOinRtovEMz1mCjSIb+kEfIpekdYUa2 fFniR24LUHzngexlnaaJk7iiZG2KoNLpNpjp8DSCxlzgKBfPBGeHRGGnIhrKK0dpK5l7 EosFct/vnZamL1K0Fc3kd+CTTcbEVt7Uj8BoJNxL30Sd/rekapIy3uAPZcgXg8b7z4oE Vdqseb9Ig7rt/FyQEo/cnWBDRTXp25vgcTnz8jtUk138+5dNCza4VkFJgxFynZOHIudf 5MZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=0QxAoByn; 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 w11-20020aa7cb4b000000b005162f248dffsi10389567edt.451.2023.06.15.09.20.38; Thu, 15 Jun 2023 09:21:03 -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=0QxAoByn; 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 S1343749AbjFOQAX (ORCPT + 99 others); Thu, 15 Jun 2023 12:00:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47930 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241316AbjFOQAV (ORCPT ); Thu, 15 Jun 2023 12:00:21 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 47A1F295B; Thu, 15 Jun 2023 09:00:19 -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=UrGANt7scBrisMpPSlfWbqcoa3cbh52COIYVdt4D2VY=; b=0QxAoBynm1SLoxxSI3Gclka5Vu xUULIUSel2hEg2rLJ8O9BZaZHyrMxKQ4yYY3EdEF0sTzbZX4au+/KlFVLNOHc4Kwt+VY+yBCsexlJ Es2+5cYctqb0heDwLAQOeW7ojHu52MJPhPFIH/XyxuIR/11WfXaeusqkohM1i9yBydIyIKjsC14tl oRChPCxLXAAcvbchHQEuz9TI6BHX0crznjLQKOPyMHsfq247yt2Po1gdxDJXp2J5y7Er6f1yJ3WpJ VEx43/do3B9eGlelwjIqPk1bDMRE8jIKvSSIJ748RNKabhQhDUsKMKMhJngRq17yPgthx/ySdfX0B o5dl9luQ==; Received: from [2601:1c2:980:9ec0::2764] by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1q9pOL-00FMVx-3A; Thu, 15 Jun 2023 16:00:10 +0000 Message-ID: Date: Thu, 15 Jun 2023 09:00:08 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.2 Subject: Re: linux-next: Tree for Jun 2 (arch/powerpc/kernel/iommu.c) Content-Language: en-US To: Timothy Pearson , Michael Ellerman Cc: Stephen Rothwell , Linux Next Mailing List , linux-kernel , linuxppc-dev , Alexey Kardashevskiy References: <20230602140143.0af52cee@canb.auug.org.au> <2d188c87-ef34-3812-7330-a985f756d959@infradead.org> <87h6rogjok.fsf@mail.lhotse> <586983120.3136676.1685851048873.JavaMail.zimbra@raptorengineeringinc.com> From: Randy Dunlap In-Reply-To: <586983120.3136676.1685851048873.JavaMail.zimbra@raptorengineeringinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.5 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 Hi Timothy, On 6/3/23 20:57, Timothy Pearson wrote: > > > ----- Original Message ----- >> From: "Michael Ellerman" >> To: "Randy Dunlap" , "Stephen Rothwell" , "Linux Next Mailing List" >> >> Cc: "linux-kernel" , "linuxppc-dev" , "Alexey >> Kardashevskiy" , "Timothy Pearson" >> Sent: Saturday, June 3, 2023 7:22:51 PM >> Subject: Re: linux-next: Tree for Jun 2 (arch/powerpc/kernel/iommu.c) > >> 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 > > Sounds reasonable, I was going to look into this further over the weekend. I can put together a patch for Monday if that works? Did you prepare a patch for this? I am still seeing this build error. thanks. -- ~Randy