Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1350247rwd; Thu, 15 Jun 2023 09:20:55 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7aAeLb3GwT1DeeYl78dok250F8u/ugL/LUMbQLx6kjtVQvs25E92dbjKVEhWMTqFOGsEnP X-Received: by 2002:a17:907:94ca:b0:973:ad8f:ef9b with SMTP id dn10-20020a17090794ca00b00973ad8fef9bmr17688419ejc.5.1686846055266; Thu, 15 Jun 2023 09:20:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686846055; cv=none; d=google.com; s=arc-20160816; b=XkbA1nKSRRVmKZ+iJz/f/9ARcebssYS3PeDOpj1u1KkwyyroNBFHw6GX+BUjrCicFD gUIABF3QVh7BZgrTW2XgP8pIXnhevzUKz5JVVpvWxEIB1ExFQUa/UqGWW53v3vxUncuJ Se9z1Yr9YWajLPxydsBrnZDzeYCsyfRIzgsY30Gu1wxD9l5wwTrGDORRyJBBsLtbj0ym SNwlJFOx/VyJ7opiZks1JiWkBjTzWcLOX/1PhpR4bi865uhPHhjW3XP2AQPQRBBXO6vv 7+EjiHYjZgPngpCmdMDZaGB33Cs8+B9tVSHQVNUFGLDtyTrKYVbjQsJ+3JxlIlnGxq6V CgFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:thread-index:thread-topic :content-transfer-encoding:mime-version:subject:references :in-reply-to:message-id:cc:to:from:date:dkim-signature:dkim-filter; bh=rFUIajOuH+FadwYEaFgNJ33Jl5ybknrMbERZj5HLtXE=; b=epxOZUdHpXiawxJ5DEO1LcMwXkwf/lBZE2ErAX48Y5E3+hvmeP7zacRblKtdwIFvtC RD2/i+NmrwbhhZ+zTZNi5ntc9R3DrlHjs1afWLLozlmiwwtkP+Exxn5nppcdbIAmlMZe Sg+TySW/GL0Oxcd+YOZoTTpa+RffUPBa2EF/LejJyxRfDM3fF/awXrpPbwlNrnGQkH75 0AoB9CoZmBEr9OC5t7ATE6t7eg6gBfBXszel6mJldga7ymX8e1iiv88cLt3O3/j6BIOB xWpFA12BZreQZ4z2v+HqkpRzWFMG6QLCNUCfDz/tvbVGv3L2ktUpmlNhUImXnph95lGI G0Yw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@raptorengineering.com header.s=B8E824E6-0BE2-11E6-931D-288C65937AAD header.b=TRCOnV9v; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=raptorengineering.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g26-20020a170906595a00b0095ec56a5f14si6463025ejr.370.2023.06.15.09.20.30; Thu, 15 Jun 2023 09:20:55 -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=@raptorengineering.com header.s=B8E824E6-0BE2-11E6-931D-288C65937AAD header.b=TRCOnV9v; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=raptorengineering.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230045AbjFOQF5 (ORCPT + 99 others); Thu, 15 Jun 2023 12:05:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51706 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233511AbjFOQFs (ORCPT ); Thu, 15 Jun 2023 12:05:48 -0400 Received: from raptorengineering.com (mail.raptorengineering.com [23.155.224.40]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CAC392962; Thu, 15 Jun 2023 09:05:34 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by mail.rptsys.com (Postfix) with ESMTP id C42558284ECA; Thu, 15 Jun 2023 11:05:33 -0500 (CDT) Received: from mail.rptsys.com ([127.0.0.1]) by localhost (vali.starlink.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id Hn_yqK1TZ49t; Thu, 15 Jun 2023 11:05:33 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by mail.rptsys.com (Postfix) with ESMTP id 029168285373; Thu, 15 Jun 2023 11:05:33 -0500 (CDT) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.rptsys.com 029168285373 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raptorengineering.com; s=B8E824E6-0BE2-11E6-931D-288C65937AAD; t=1686845133; bh=rFUIajOuH+FadwYEaFgNJ33Jl5ybknrMbERZj5HLtXE=; h=Date:From:To:Message-ID:MIME-Version; b=TRCOnV9vULN2EKIC6RkrYXQRMdSz224wIkjwnG2YD8ytSBUnnLhgLff59H382lPQy a+9hfpBHgw739/WXMmokYNnU2Y0IwwNNv6aYKeiV9po84870EW47zK6Rn55XXLKcFX HekRvKLI9PvKBbUbmOon3YXxTFtY52OUo0nGBfVo= X-Virus-Scanned: amavisd-new at rptsys.com Received: from mail.rptsys.com ([127.0.0.1]) by localhost (vali.starlink.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id mK9YZwHZNAQ0; Thu, 15 Jun 2023 11:05:32 -0500 (CDT) Received: from vali.starlink.edu (localhost [127.0.0.1]) by mail.rptsys.com (Postfix) with ESMTP id B273B8284ECA; Thu, 15 Jun 2023 11:05:32 -0500 (CDT) Date: Thu, 15 Jun 2023 11:05:30 -0500 (CDT) From: Timothy Pearson To: Randy Dunlap Cc: Timothy Pearson , Michael Ellerman , Stephen Rothwell , Linux Next Mailing List , linux-kernel , linuxppc-dev , Alexey Kardashevskiy Message-ID: <373175504.6295209.1686845130893.JavaMail.zimbra@raptorengineeringinc.com> In-Reply-To: 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> Subject: Re: linux-next: Tree for Jun 2 (arch/powerpc/kernel/iommu.c) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Mailer: Zimbra 8.5.0_GA_3042 (ZimbraWebClient - GC112 (Linux)/8.5.0_GA_3042) Thread-Topic: linux-next: Tree for Jun 2 (arch/powerpc/kernel/iommu.c) Thread-Index: GvseGKdjg/1HXFjWDleWSYOY8qMIcw== 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 ----- 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?