Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp91733rdb; Thu, 5 Oct 2023 18:24:09 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH1qKAxDRgd+RAGMMq6hUe12LKBf4NvFqMAiSVZzM/V+VRpaf4ieaAr7BwOp5wslINUC1Tq X-Received: by 2002:a17:903:41c1:b0:1c6:30d1:7214 with SMTP id u1-20020a17090341c100b001c630d17214mr7421812ple.55.1696555449616; Thu, 05 Oct 2023 18:24:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1696555449; cv=pass; d=google.com; s=arc-20160816; b=SsxAyPkdwHpVq/21RiN1A8zJxwObf+04DfwPl6w8KDL8+fCZoRX9QXFqfLRkLJgGwk xijcb3WGXZa5+JrrRa9Xd+swDJ7BJGposqBpr112jzJK0h5zACbl2dWU19HwaChTgjEX VzealBZmnsnadmm7C2E9VasIrlA9sKf48xfV9X7g6rCgNBIplqzl08XkqzLPG2Mt3/CM d5YVNtLMpqN/tO2cvDTg5YvPCtnmrk/M4fCIKiUkzKoKOCgCLN/Wqfjf+XebuuSOtOeY tqc1+vvG52PoEg1U9CsU3YicF602mNeVNO5/DuS6VtG+UrPoUzGB3nTKWXrJ/OCUvgMF VWoA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature; bh=mV9+34ehhT8U8RWPjqE1TbOEKqL9BioXhV8cgYJERiI=; fh=pw/9MljP9v89e5RAPREGcRdXpFKkjP9vDzjQsgt0d6U=; b=Ygwv+am18OqEFwGBVHytvUrBFxPOd7TChEAe4NS+KctHbf1+V/wZ4wvUAftoxVCF1D MmzOVIYffY0lmMLB3dW8uWN6xfM/7279i0u2bnziee4GslYD0ITxXH97N7xJ3tsyhoq6 rsuybGPli9VQmRdXhkNV8Ug7ZRU8KUwuqzk1STsG1su4/gdtJT6viHVS65DPw6j2hoBO haRGEHYoVjQz4oQfqpXN0TxnNJsQe1wYFlPRt8EsxhXdb3Cl2s+qQkeTreZx/RxXsQxp 5RxrcQg7feTGTLCDpJLEh7+G0VbAyR1k/nlULovODvQZh7m1PPFp+Rix4WeORbBtMDs3 A0KA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=SoeQxsuz; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id r17-20020a170902c61100b001c5fd2a242asi2470920plr.363.2023.10.05.18.24.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 18:24:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=SoeQxsuz; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id D053E80CC23C; Thu, 5 Oct 2023 18:24:06 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229683AbjJFBXz (ORCPT + 99 others); Thu, 5 Oct 2023 21:23:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50754 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229774AbjJFBXw (ORCPT ); Thu, 5 Oct 2023 21:23:52 -0400 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2040.outbound.protection.outlook.com [40.107.236.40]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F1E1BED; Thu, 5 Oct 2023 18:23:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cFVMAJRG3eAKGqlc4Iz85iKI/IOf18wkE3jGeV23AKL9D3Tfqq+lSH5ltSOZAx+D4OwmLQCIkjbIsuPMd3HSI81lRdAyUO9AGiVbaHAPTEvwIMfY5JXRiFONC/y6d0g5lK3uCIRaNAoK7jCXOHCD7+HVz2fBWm2O2B1Iddbh5KFQl9yMBw2l62uRjL+r6NTzfJCKju0Jssr/6IzqfVwkBYFKoXUt4h5EHyEan4JgHzmeg2GriYBMZK4m+7+Yd7+LUoWfEIYToRCOMW4NaoI6cDwcGuGv+gELLWuzjcE5rMPmPnEQ7KSXPtq6/YLTqkBTizqF1oE/3AMqnm4CC+EXqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=mV9+34ehhT8U8RWPjqE1TbOEKqL9BioXhV8cgYJERiI=; b=DBemC4ZAKDJFxkx1ZUZziYrb0QfBs6R+geaD82jTlvfUfEC+DZ01xt9umeiBQUZdt1gIXys5IGyZjUzXNd2wWlbzPCxSb7j9XaG3WEw6khMl4cvIkz7T+OGpCSVdzIT+sG4gy4SeiW3u7CH8Q4BgVnmoSeW06ajGoUrI+CdncZgVgCN1wUmQYsyZgyLCR1FruyrNPBZEciSquGphM/4xsa7otv0gjmkMLCqfh0cOiDkzalHmKwC5Drd7CABlKtmZwMNOq46+xj530L8Q6EnqvXok1rx1LToirPjskhDFLOkevjHbeOqhEGyFss38pHauhe11oC2t7wkmDReFk+3rEg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mV9+34ehhT8U8RWPjqE1TbOEKqL9BioXhV8cgYJERiI=; b=SoeQxsuzXkNbt3PUYat65+qqTWcmZcbDZvGp5vlHvmnyBrO6EwO2ywPKb9mxJ8gNAJMELxces8j3jT7qzxX1Fq2gY07gT2sHQXCKbr2u0WGe20u/O88UqkwunuFe059DzaTKNWOQOTUBiw3x/imGFM/13LWC4E0ygMkXiV+89ls= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from MN0PR12MB6101.namprd12.prod.outlook.com (2603:10b6:208:3cb::10) by LV8PR12MB9408.namprd12.prod.outlook.com (2603:10b6:408:208::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6838.35; Fri, 6 Oct 2023 01:23:48 +0000 Received: from MN0PR12MB6101.namprd12.prod.outlook.com ([fe80::3e65:d396:58fb:27d4]) by MN0PR12MB6101.namprd12.prod.outlook.com ([fe80::3e65:d396:58fb:27d4%3]) with mapi id 15.20.6838.033; Fri, 6 Oct 2023 01:23:47 +0000 Message-ID: Date: Thu, 5 Oct 2023 20:23:44 -0500 User-Agent: Mozilla Thunderbird Subject: Re: linux-next: build failure after merge of the pci tree Content-Language: en-US To: Stephen Rothwell , Bjorn Helgaas , Lorenzo Pieralisi , =?UTF-8?Q?Krzysztof_Wilczy=C5=84ski?= , Lukas Wunner Cc: Linux Kernel Mailing List , Linux Next Mailing List References: <20231006115604.42971aa0@canb.auug.org.au> From: Mario Limonciello In-Reply-To: <20231006115604.42971aa0@canb.auug.org.au> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: SN7PR04CA0037.namprd04.prod.outlook.com (2603:10b6:806:120::12) To MN0PR12MB6101.namprd12.prod.outlook.com (2603:10b6:208:3cb::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MN0PR12MB6101:EE_|LV8PR12MB9408:EE_ X-MS-Office365-Filtering-Correlation-Id: 335c7e10-ec5d-49f3-dea7-08dbc60ae3d3 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: yrCVivuqXn+do5M78+5UNRBmylam+xVQykPRAvFpm8wQHAxPB/W522z4satWaIcZNOntp3Yh1M+7auBfOzRe/+7E452gWF28GAAidV5o6eqsWwk61ucGxLbdp1jAvgjVJkZEdqEOJio+2EfrQ9yHiVzZDGvGLGfSeClYYAFbvPXxiQjnZoC5ckEn+Z6aW1BaB3j9xHuEgDLZOSBANQW4oi4dUuOA55ccpeOaQSVRP8V2/l1Os5s3A3jwfhy/NiKKlJN/+4ekhxpnWe+V+65rYJyTmnIelVR0veRx3cxS+sWT8PiRqhyLqmgysY0kqMvax5HgoMC0ld86CMQH+9Z8Oye1YGCBQXu+7SIwW0MrzoS52b/zrN72Is6HXJMUQEoFCEIggIZbU5/TODNtczjVp/osnTKajAOLiB3N20Vn8+nPxu5r5Wz7bU74xT+olaonrOQb4g6T4CXaZ28RLuf1cEKxlkyGpkfWdYOF99l77tyOzSx49v87WqwXroKEtgNrjKpWjJ150dYxfSpIBmjP1sHeKdIONyadg1iDpVeJLh0YXw7ovWJdqlfZofOG70u4/FU2xywQO3V7ticAFP8UYMKKIcbA4HA6rzKOg2kC3oAyj2WmiT1YCB5TuuzBeYzjshsGt+JjV9fro9AcgSonQQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MN0PR12MB6101.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376002)(366004)(396003)(136003)(346002)(39860400002)(230922051799003)(186009)(451199024)(64100799003)(1800799009)(53546011)(41300700001)(54906003)(66556008)(66476007)(66946007)(316002)(6512007)(2616005)(36756003)(26005)(6666004)(6506007)(6486002)(38100700002)(478600001)(83380400001)(31696002)(86362001)(110136005)(2906002)(44832011)(8936002)(4326008)(31686004)(8676002)(5660300002)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?M0RhL3dnNHIwSW94VGRhenQ2NE83cHZwdVAzNG1aR0JnQ210SUY4U3FaNmNL?= =?utf-8?B?eHdCUVVrWWpucWxEWWxxU1M5RU1NSGtCNHE2d2NCV1JvdmxVSTh4NUNLZDZv?= =?utf-8?B?b2x4OHQ5ZU85d0x0dEJUTDJLUkh3ZUUyVHdIbW9nQ1hzdEFrUGRwYk9nNGpu?= =?utf-8?B?NVgrYXpzR3o3RVBrRzdLOHpQVFRrdFVmUitFRWEwMXNYdmR0Z2tkdVhySTll?= =?utf-8?B?RC81RWZVZzFhcEZjTWMyUGhnYUVva0FvRkQ0QkpVeGVqTlY0ZzNFRXBjb05E?= =?utf-8?B?S2s4VXpwT08rUllVMVIxQ3cvc3lpMUthVzVMcUo0NWFLMUU4WHJQbFF6QzJh?= =?utf-8?B?aW9XT3hmTWJYU2o4c3NETnRPT2doa3VnRWkwVnRFa0F1cDVtNExCQmFkS01L?= =?utf-8?B?ekZxR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rossTenant-AuthSource: MN0PR12MB6101.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Oct 2023 01:23:47.9006 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: UNTV0g/qpVoI07eAgF6EcaRnELgk3pEiNkZKzSyrEjw/SCuiLI7UAxGXrOLaPD26KpDyFxdjqW0hgLJ0RZFZUw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV8PR12MB9408 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.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 (lipwig.vger.email [0.0.0.0]); Thu, 05 Oct 2023 18:24:07 -0700 (PDT) On 10/5/2023 19:56, 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") > > I have used the pci tree from next-20231005 for today. > It happened because of a last minute decision to move to arch/x86/pci/fixup.c from drivers/pci/quirks.c when Bjorn committed it. Here's the fix for it: diff --git a/arch/x86/pci/fixup.c b/arch/x86/pci/fixup.c index ee0509eb8674..f347c20247d3 100644 --- a/arch/x86/pci/fixup.c +++ b/arch/x86/pci/fixup.c @@ -3,9 +3,11 @@ * Exceptions for specific devices. Usually work-arounds for fatal design flaws. */ +#include #include #include #include +#include #include #include #include