Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2214066iof; Tue, 7 Jun 2022 23:25:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwmk85gfNlbNc5ZN0sDI8vrmCqP9KmS2W7STIOiXLpMTk5mlQwMD2B0qX2KUD6/TZRnfnT8 X-Received: by 2002:a17:902:ef43:b0:156:9c5d:b0fe with SMTP id e3-20020a170902ef4300b001569c5db0femr32476980plx.158.1654669539178; Tue, 07 Jun 2022 23:25:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654669539; cv=none; d=google.com; s=arc-20160816; b=ysT98GNwMV0LNSTf7wb7sn3JX5D6R97Ol+N6sOagQIMLf3CLUd9Aupv1XHkC9xDf3S cZTxX1AwM1L8lmPqx8Qdo6k+AwsWdW3uabP9QgWZLaLTVNS8fmzojHHg+NOIvpqXwKiF YQlM17L7lYNIyJOdw+jaF18rENnNdPFTE7Ie6Er2rspm0j2qg8J7qRy/7OgEjYDqxU2n KFR0sTe05DKy8oIUDe2+JzMZtrqqifE6kaF7xZWAXSFmguFu+MqjcqD1D/hEgEbaFGPN qV3O4Z/1vTZQVVsKpb0kTmdl0zfWFhNGgCS6SxDD/7Y1OI4S8vo/DNu71DpugCDGAP92 w8XQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=z8OzmoK9vTH/IUYUP/h3K6HbMT0EU8XFFIelv0D1swE=; b=hz029ySSC1PEUx+vqaunRo23N6z32v7E9K9r46muEiyyndZSPG2VxjgiZ3QUYfrRCM SVacaJ7mhvO+QOFy1EYyPQ9UQ9EYyeCxUjIGqt/aDuntorqLYRB49g2Dwrcy2AEnyGUz ernpeUm0WsqNDZUlFL0+KdiNBJhmq5QFucRYyvcOzES2gCkEtxFJ/MyP9DhiBrPrlF4N ZK63q0SmkqWG36BZUV2kxH1GpAA9/zE3ijub+Gd+7a9+DzxZAKtjTtvic2t5d+EWhyYX KMwX0zFrQXxvg27m/GclCUSLurCunFFQ5/aV/G3pXgaPTknn/dh5Mr1Ynrk6khBVrDt0 wclQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=wYrc81im; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id o9-20020a170902778900b0015873958cc9si1765404pll.515.2022.06.07.23.25.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 23:25:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=wYrc81im; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 575643D1DA4; Tue, 7 Jun 2022 22:48:27 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1446500AbiFHCO5 (ORCPT + 99 others); Tue, 7 Jun 2022 22:14:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37790 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234866AbiFHBXT (ORCPT ); Tue, 7 Jun 2022 21:23:19 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A7B66258713; Tue, 7 Jun 2022 12:20:17 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 95990608CD; Tue, 7 Jun 2022 19:20:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9E8E0C385A2; Tue, 7 Jun 2022 19:20:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1654629616; bh=7MXVjTOkzkp0cqe05piXDI6xTc6wj6lQz9zsbLMEO/I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=wYrc81imlqJpBhQQBFVbaEUtbEadlZ6ZJQy8kOyOtfST+2bpqgGHrS65s9CzXtCUp w9tLXrWar3tl4roN7/SENypWmzrodqUp9wnRIzDnWlfo0oX/moQ1Uo+UnZzKQI2gL/ X+rCYutjLYGISjNCd0iVTqvqfIpQv58TMfqh+mCU= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Bjorn Helgaas Subject: [PATCH 5.18 754/879] PCI/PM: Fix bridge_d3_blacklist[] Elo i2 overwrite of Gigabyte X299 Date: Tue, 7 Jun 2022 19:04:32 +0200 Message-Id: <20220607165024.745784224@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220607165002.659942637@linuxfoundation.org> References: <20220607165002.659942637@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 From: Bjorn Helgaas commit 12068bb346db5776d0ec9bb4cd073f8427a1ac92 upstream. 92597f97a40b ("PCI/PM: Avoid putting Elo i2 PCIe Ports in D3cold") omitted braces around the new Elo i2 entry, so it overwrote the existing Gigabyte X299 entry. Add the appropriate braces. Found by: $ make W=1 drivers/pci/pci.o CC drivers/pci/pci.o drivers/pci/pci.c:2974:12: error: initialized field overwritten [-Werror=override-init] 2974 | .ident = "Elo i2", | ^~~~~~~~ Link: https://lore.kernel.org/r/20220526221258.GA409855@bhelgaas Fixes: 92597f97a40b ("PCI/PM: Avoid putting Elo i2 PCIe Ports in D3cold") Signed-off-by: Bjorn Helgaas Cc: stable@vger.kernel.org # v5.15+ Signed-off-by: Greg Kroah-Hartman --- drivers/pci/pci.c | 2 ++ 1 file changed, 2 insertions(+) --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c @@ -2920,6 +2920,8 @@ static const struct dmi_system_id bridge DMI_MATCH(DMI_BOARD_VENDOR, "Gigabyte Technology Co., Ltd."), DMI_MATCH(DMI_BOARD_NAME, "X299 DESIGNARE EX-CF"), }, + }, + { /* * Downstream device is not accessible after putting a root port * into D3cold and back into D0 on Elo i2.