Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp410272rdb; Fri, 6 Oct 2023 07:12:11 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHXYWsSn5ay3eYfncJGV2XzN21sEwpcUtRYxw0kiWexnJymgg+rtxzNFtwZjFx2Id9DJHhk X-Received: by 2002:a9d:4e91:0:b0:6b8:f588:2c79 with SMTP id v17-20020a9d4e91000000b006b8f5882c79mr8285946otk.1.1696601531282; Fri, 06 Oct 2023 07:12:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696601531; cv=none; d=google.com; s=arc-20160816; b=RAQmEtugK9pM+rCdy5KUrT9hF4VgoYpjHs3Lv65b3RxUyj2WRW8RKblsN0m1ms43Pi KP3a8DP9L4JHPXCqWAoLh3+9sh4ZYHDI/qx1ok5hXjVm6eBWlZWWdl3G7ioyv7zpeaOS 33cicnJdPX8SpCRpJJicx9hKs6yNjAzn2LUf7ceavheXuUN5l8FsS3P9+hCdfoWMASJI 8VQtWU9HWRRHVqG9iEbsQZz9am5+z7P0wOAyaXuyFll2PH/RzzyTCuuVhKmETs90r2fE gLsF4+9PRTGMMfgkIU7VwE5Y93SHzQqv13/t9nKxsTn1/bQqATk2kZ0UUDEd1O+CwDCt gVAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :message-id:subject:cc:to:from:date:dkim-signature; bh=86RSZivXiDG2fm96uTrsyVEDSaQumqhx0oJNcNSpvcg=; fh=XvKt/X0arut2N7XnTuY2Y5dUwXEMkDvyuJ5zQnlkoQI=; b=dMvlwspcoKH4OZkO1y/w/mPPuBGw3D9IeWUFJBCEydSKq4OCANlUnhsidPrJF7RthT tApmuwg6xDw4DPPMffDUa7Bs6X5w16toXaMqFn62oRjnsAC/0SMvqNjh0Eda2tcmEYGk AGIUBaWDly0TlT8x79/uI7YLT/kps8D9cbE2RB8frJoqkSdEeeiHY5e9gG3c1hmbPprS j4eS0t54rMwM+/qzvat3PN5GaaZ8Kqkp26Vn3inXbmpTKL6EgYECApBkFe/e8Jtxvv52 jfic1lDkpidzqFnykWuJ6YcVnJlwXYeuX2ZVY1dGtM4o1Q3+g912KiAKstUjNA+36KaD 8rnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ErZqtQTY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id be3-20020a656e43000000b00582f1f73c80si3858469pgb.466.2023.10.06.07.12.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 07:12:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ErZqtQTY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 01FA080740C0; Fri, 6 Oct 2023 07:12:09 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232464AbjJFOL7 (ORCPT + 99 others); Fri, 6 Oct 2023 10:11:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40474 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232382AbjJFOL6 (ORCPT ); Fri, 6 Oct 2023 10:11:58 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B0B709E; Fri, 6 Oct 2023 07:11:57 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2613DC433C8; Fri, 6 Oct 2023 14:11:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696601517; bh=HF1mlt3JfTnZ6zzC1XqcWAhuLUIXosajTn5u998VX00=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=ErZqtQTYQ89s7bu3kxbgj6kc+cONc+TH8XubUr1UWWFDFJwsB2Pt2BkNnZcr+yNyS 54tDU/86q3bFunK96rQzHcUh8GFbZPk/kXbw1XEkEUkwg7Pn0SONJmNJiOQP3kS1cw eGKbKsPVv4cUne2JfmXB5ExHVC9/D6uBQ2HxRjFnxKvMYBh9BPaUGh3PiYfsU3g1As Mg+shI9m+mmXmKXX9SXKdhARfUmzN3YQyLr6FHGIE4ePFWPKrjoTxPTBsilLahBv30 XiV8A1QvNchqmRfUgM8Y473/Li/+L5uxgHitd7WZ/P6tfGT0dK9+//ltGMjFN9u2oB s1dDyOkJlqwCg== Date: Fri, 6 Oct 2023 09:11:55 -0500 From: Bjorn Helgaas To: Stephen Rothwell Cc: Bjorn Helgaas , Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Mario Limonciello , Linux Kernel Mailing List , Linux Next Mailing List Subject: Re: linux-next: build failure after merge of the pci tree Message-ID: <20231006141155.GA851474@bhelgaas> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231006115604.42971aa0@canb.auug.org.au> X-Spam-Status: No, score=2.4 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Fri, 06 Oct 2023 07:12:09 -0700 (PDT) X-Spam-Level: ** On Fri, Oct 06, 2023 at 11:56:04AM +1100, Stephen Rothwell wrote: > Hi all, > > After merging the pci tree, today's linux-next build (x86_64 allmodconfig) > failed like this: > > arch/x86/pci/fixup.c: In function 'amd_rp_pme_suspend': > arch/x86/pci/fixup.c:929:13: error: 'pm_suspend_target_state' undeclared (first use in this function) > 929 | if (pm_suspend_target_state == PM_SUSPEND_ON) > | ^~~~~~~~~~~~~~~~~~~~~~~ > arch/x86/pci/fixup.c:929:13: note: each undeclared identifier is reported only once for each function it appears in > arch/x86/pci/fixup.c:929:40: error: 'PM_SUSPEND_ON' undeclared (first use in this function); did you mean 'RPM_SUSPENDING'? > 929 | if (pm_suspend_target_state == PM_SUSPEND_ON) > | ^~~~~~~~~~~~~ > | RPM_SUSPENDING > arch/x86/pci/fixup.c: In function 'amd_rp_pme_resume': > arch/x86/pci/fixup.c:951:27: error: implicit declaration of function 'FIELD_GET' [-Werror=implicit-function-declaration] > 951 | rp->pme_support = FIELD_GET(PCI_PM_CAP_PME_MASK, pmc); > | ^~~~~~~~~ > > Caused by commit > > 624306d2c241 ("x86/PCI: Avoid PME from D3hot/D3cold for AMD Rembrandt and Phoenix USB4") How embarrassing. I moved this from drivers/pci to arch/x86 and obviously didn't even compile it afterwards. Should be fixed now. Bjorn