Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1349096rwd; Thu, 15 Jun 2023 09:20:01 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7y/1priRbgr0cdnxR165UVesiOICDVPDFsYNi0npA6q5/oxgdFWfUvpKBTuPgZLqEIIgJr X-Received: by 2002:a17:907:3f09:b0:982:46cc:6200 with SMTP id hq9-20020a1709073f0900b0098246cc6200mr6897844ejc.58.1686846000684; Thu, 15 Jun 2023 09:20:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686846000; cv=none; d=google.com; s=arc-20160816; b=kB12X/qfYPOyHvqqy14VXvcGTU8Dh2gQ6r+9uKVYqhZevkgEsHN/fM6ObLDNfWdfVS OiXm6qhEwaNuMvzb96vP5VdKpjdFDoPMpy36BSO3HLI2gF6ckJEtGgBsjZUsjxpllQ/z n+4koGz4tIWx+wvGoGUHZdCqHGZBMqCvg0oKT4Zy4ai+kk3XmcagwkfJ47YdD55pdpgK sdIgwIs6EbgJJqB8iw1AhYDAQuSQJwzmhHlg/TyBVdP7MblefNv8Mmy8IPYBqVCr1YmR 8th8a8wrLG2oApKXbi8Zg9MMAq0gIhXqkZfxWUSqGisQ1yb2u0F6SlBOWidl/P0vPDJV CODw== 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=TVieQetclBnLRfOuxZVNk52q2nLwdGMxHN974XpGXPQ=; b=DuktdcThG7WgLAkM62BVQC0PaLFX/lTu4ZEWIVrNJej/GgXhhGdLfVMaQ8Ln3hOZB0 1ErpPr+xjy4enO6l1JTTJTe+saBgVyjS8kWazqKrAAR+jKV3JNP7mS9WPdW6oZYPsSTg vLsUx3uNMNHEL+TIrZERD/TuNAEYTNhTZgYQvGD3AT2qBqE5KLXd0yVLmB/r6igInWkg tDqqGXxkTIsT0y1pDa1T8kPHsAx6G5dGQPwqvr9gLcbBpbkSyDBeo7VLEKeK7gbMrnvH yHGXQKK6WkLnt967wI0A/veaKaXkRogyVQksA9raV6rPNjmbIHcLg6Dkbdipiyh0195u pgdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=ya+LHoCu; 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 i11-20020a17090639cb00b0097888bd9710si9076793eje.1006.2023.06.15.09.19.35; Thu, 15 Jun 2023 09:20:00 -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=ya+LHoCu; 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 S232195AbjFOQNV (ORCPT + 99 others); Thu, 15 Jun 2023 12:13:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55932 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231233AbjFOQNT (ORCPT ); Thu, 15 Jun 2023 12:13:19 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 18A3C184; Thu, 15 Jun 2023 09:13:18 -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=TVieQetclBnLRfOuxZVNk52q2nLwdGMxHN974XpGXPQ=; b=ya+LHoCutzqadGlvLhtIBbuiNM GruOqlr9jcSVhUYpOGkO4yYJl1t+jgo3J3IcfZELgzr7I9XuyT3HSQEv5jvjZ0SXEiG0KQUrqddcY ytcloUNN+WIEJjC2mba35qGuqrFHA5erZZgjqSIHhJb+hVV/nP09pwRtq2xggvBdHAd98em6sfNnx 2u2ZT3sdsbld8Gsnqaabqox/ua9E2e41l0i3oM5xM/8D5P1RVYNhaWBwMnjITpoGuIuc7La0ntdKc qF2Uup7+KsDTMDVOIgF3QPr6bKa5f/+FztR8MMFabdXO5mEfRGfTrRlrTNgTR0gXsoQlwTWpvHmTB VQzTyizQ==; Received: from [2601:1c2:980:9ec0::2764] by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1q9pb1-00FOO6-0G; Thu, 15 Jun 2023 16:13:15 +0000 Message-ID: <208f3734-4902-ff5c-3410-5b9cd984dad7@infradead.org> Date: Thu, 15 Jun 2023 09:13:12 -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 Cc: Michael Ellerman , 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> <373175504.6295209.1686845130893.JavaMail.zimbra@raptorengineeringinc.com> From: Randy Dunlap In-Reply-To: <373175504.6295209.1686845130893.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 On 6/15/23 09:05, Timothy Pearson wrote: > > > ----- Original Message ----- >> From: "Randy Dunlap" >> To: "Timothy Pearson" , "Michael Ellerman" >> Cc: "Stephen Rothwell" , "Linux Next Mailing List" , "linux-kernel" >> , "linuxppc-dev" , "Alexey Kardashevskiy" >> Sent: Thursday, June 15, 2023 11:00:08 AM >> Subject: Re: linux-next: Tree for Jun 2 (arch/powerpc/kernel/iommu.c) > >> 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 > > Yes, it was sent in to the linuxppc-dev list some weeks ago. Did it not arrive? I don't know - I'm not subscribed to that list. It's probably still in the patchworks review cycle so it hasn't been applied anywhere that gets into linux-next. thanks. -- ~Randy