Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1380859rwd; Thu, 15 Jun 2023 09:44:35 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7luE5AMG9hyKI8ne6L55U4l8KM7UVXD6laRGBWxi9vETFcQqpE1w+/2BQBwrQ82klsNfrS X-Received: by 2002:a05:6a00:3a29:b0:663:f82a:ec02 with SMTP id fj41-20020a056a003a2900b00663f82aec02mr6472897pfb.8.1686847475373; Thu, 15 Jun 2023 09:44:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686847475; cv=none; d=google.com; s=arc-20160816; b=WPlmBa0S+Tct1OejQDGgBTQ/W5hidFiUjMxWd4xIdF3aNDVzeDWQMxIe00hd7GXfLM S3+2T8roDy4TU3FY3nRIvdKR5W35JBQA8FCAAykPXYe9dNVluGKuW983EJHqkN7MezGt fOPxUZm8vrLr1A7gnpDKD/GNS8U6GKaoHAjwAHBf+H7JWx7gigQbs4lK2tlrRsiHXP9m zjwEaXkrnHh5bOjClpvmzEi59T11mctz2jsHASsjD/i5DIGLRwJYAK+mhVC3j0ECgAHC IBvRzaeZGiWOtUPvs4FyzhRKNPo9aSQPYCjHtyVUxNUezx4RvKQd4PXm38ZBGo/OAsQM rOCg== 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:references :cc:to:from:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=d9r3JB7tEgccA9qtOtOzXsHyll/xLx6MaKfk6VCI57g=; b=ZH1SI/7Fj0HHSqNlzGbdOfiO3FUMslPQBuvPDhLL1kw7IHsNmvMQ1IkT4CRlMivCUl w4Rz9ZfYghxOHLw+TSEcgafO74iaigMrEa6o3pfor9i3la69qVyzMl7nv06A7ZvVsEEe nDv8WcRckag7c6IqsvahYx9/YzFnEuE6Dcj0ltz5YCw81J1RFP69htRmYFOW+PEiWzy1 ae7I4qIV8/+1GQPEKmHj5o+TZX5ZI7ibhnVaWXdEZpbb9Wjuyeg5GBArKqfkIIl33puN AL/g9GMHrKZJK+fi2fLplyB0DSrJyL3JevH/qNuBY8zt1uetPoaPQZ+nKo9qje8xbmTo Bt8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=L4eXqxXs; 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 z188-20020a6333c5000000b0054fe7b18671si2428983pgz.809.2023.06.15.09.44.23; Thu, 15 Jun 2023 09:44:35 -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=L4eXqxXs; 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 S229781AbjFOQe4 (ORCPT + 99 others); Thu, 15 Jun 2023 12:34:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39226 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233936AbjFOQeq (ORCPT ); Thu, 15 Jun 2023 12:34:46 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 71D2A171C; Thu, 15 Jun 2023 09:34:44 -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:References:Cc:To:From:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=d9r3JB7tEgccA9qtOtOzXsHyll/xLx6MaKfk6VCI57g=; b=L4eXqxXs2JfQVvn2sh7BCzfwgR egPwVF6LvzR/evxffYcnndfXRlfz2iXwNYdSqCPkAO0NEC5xaJ23lr3IQDc5dPD1+cMpucKSRHZQw yoyW805HEpmxeLaLIqTtEv1/FcNgXDMDRnbQ4+fmIS20Kn2lvqq5aBvmfPHsx/PI3X1XrdLKxF0fc aL3tI6aqbgXOgTUzdYph8bDDvgMpIO1CxU99ESSzOibK9jIwcjoTd+eG+oj3wt72E1GaCc71gPaMG xcXAchM+K9RkqE/s2TB9kdF7IwnvNolChK25lJ5GfMBBb+3LkkDxpIw/kTkuVlKQZSG17/iXlSy7+ LXsrOHyg==; Received: from [2601:1c2:980:9ec0::2764] by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1q9pvj-00FRqd-2S; Thu, 15 Jun 2023 16:34:39 +0000 Message-ID: <75a27ada-7e88-2f93-48ee-3dc89b7f1a9a@infradead.org> Date: Thu, 15 Jun 2023 09:34:38 -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 From: Randy Dunlap 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> <208f3734-4902-ff5c-3410-5b9cd984dad7@infradead.org> In-Reply-To: <208f3734-4902-ff5c-3410-5b9cd984dad7@infradead.org> 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:13, Randy Dunlap wrote: > > > 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. OK, it's here, mark with Success: http://patchwork.ozlabs.org/project/linuxppc-dev/patch/2015925968.3546872.1685990936823.JavaMail.zimbra@raptorengineeringinc.com/ I don't know what happens to it next or when. thanks. -- ~Randy