Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp3095846rwd; Wed, 14 Jun 2023 11:07:03 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6klqiFmB7DnuxOZsuYvWptibDLY7abWN5Krf4P20y17CyAPkuTfOsHwjuXvX9qMT42Xti8 X-Received: by 2002:ac2:5b5b:0:b0:4f3:a9d3:4893 with SMTP id i27-20020ac25b5b000000b004f3a9d34893mr9302215lfp.35.1686766022739; Wed, 14 Jun 2023 11:07:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686766022; cv=none; d=google.com; s=arc-20160816; b=atmYCSMF6s/Ll1ukEBwjMjD/RCs/NoNWcT5r7m5pvEkDPUk5FZ/u/tejfR7qiABmIh o+b5EybXY1z43Ce5TdO3zfVP3RSo7Ly0dyyqn7O/vsf9xcANLcDeIax09K7QS1JPJJpa mrNr757fbrgZRGz2VZrR4S0ugMNusm9jlFGySyPej1VFcDOqUvQiy8KaWM+NycRpvKY4 pmouuxuGcDhvxKagPNh90OkUFmsPx1Jvlxfns+LwaMWAvs19BQkyQ7CcnseEA/tAXQar t3v2ywgWRDIwBfWOsEXk0dCC8dUNeCrKy+RmGJP0vzqTGAy9KloaS1cmuD6tEOeFWfFI bIjw== 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=WbL5HujiuCF+Vypor3NIZruwX/DmgeQXbInP6/xEteo=; b=Emzryr2uOxayLy9orl09tddMFKD2w8S8Zl8WhAflK6HI2l94cIFGxkjCw/rwbgCpn0 ANJ1E+mLtC1/zphNsrhkBxLBHtMwQrogQvkkbKcZRX7KXrDcHrnS8wvqrZy0k8ZyFtge VJCZlLbYpvMO7OUcIMhnmlCNMcSeMt4XMGbIGKHPPbkdTL+ps8W6Aqw1x1nFZBarrwbI ED38tKYK9b6xowCEf7s3K8qpzFn15hkPZsO+LYOZYpEoifkwAPTGl3SbwgYoI3+brejs 0joksR2hGCJedxbuIuE4y6GEu2ZoyGUmhSaiOwTn9gu63yyDKH+zw9x7oIDZcB6YUX4y uqPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OGKEksRt; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p9-20020a1709060e8900b00977b1ea9134si8447893ejf.106.2023.06.14.11.06.30; Wed, 14 Jun 2023 11:07:02 -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=@kernel.org header.s=k20201202 header.b=OGKEksRt; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233610AbjFNRyh (ORCPT + 99 others); Wed, 14 Jun 2023 13:54:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33348 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229943AbjFNRyg (ORCPT ); Wed, 14 Jun 2023 13:54:36 -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 8FF891FCA; Wed, 14 Jun 2023 10:54:35 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 2442B63BC8; Wed, 14 Jun 2023 17:54:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 51FD7C433C9; Wed, 14 Jun 2023 17:54:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686765274; bh=LFs3KEZ5mEDZ0GKDFGF6FsGRPB1VvFwyU8SZxXVA1jQ=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=OGKEksRtQMIQsiEhIMdy1AQENzhlaMyT8TuTUHNjyWoO1YxlYsVpOnmiOrW2/6WKi W3DfsnpaNM4Zyz9CAi4TNCTC3PAeUuvseGgogMKeb0REh/X6IrXM8cj4KHY7byTj4V vaNUtGhXO2ncwSEtIDMMkGka+rlbGyNQxooRik/i0mpBIKONx8lvy39LHmk5bQOR1W kGvEVPEAYMfVoowJwaq4JR4VKzNuCOnLQzkZLbsa9MPsw89dqO/jU/Ap97Wu9EfOt1 4SN+8fn1gj7/oGp8BPnppp9ctL3MOFkZZoJkEsx4BcwAVNkEvLU6NjRqkQniPfNe4N +0xphPJf44Djg== Date: Wed, 14 Jun 2023 12:54:31 -0500 From: Bjorn Helgaas To: Ondrej Zary Cc: rjw@rjwysocki.net, gottwald@igel.com, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, linux-pm@vger.kernel.org, mika.westerberg@linux.intel.com Subject: Re: [PATCH] PCI/PM: Extend Elo i2 quirk to all systems using Continental Z2 board Message-ID: <20230614175431.GA1395151@bhelgaas> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230614074253.22318-1-linux@zary.sk> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,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 On Wed, Jun 14, 2023 at 09:42:53AM +0200, Ondrej Zary wrote: > The quirk for Elo i2 introduced in commit 92597f97a40b ("PCI/PM: Avoid > putting Elo i2 PCIe Ports in D3cold") is also needed by EloPOS E2/S2/H2 > which uses the same Continental Z2 board. > > Change the quirk to match the board instead of system. > > Link: https://bugzilla.kernel.org/show_bug.cgi?id=215715 > Signed-off-by: Ondrej Zary > Cc: stable@vger.kernel.org Thanks, I applied this to pci/pm for v6.5 with the following subject to try to make it easier to connect to product names: PCI/PM: Avoid putting EloPOS E2/S2/H2 PCIe Ports in D3cold diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index 578bf0d3ec3c..0fb0116ae69f 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c @@ -2956,13 +2956,13 @@ static const struct dmi_system_id bridge_d3_blacklist[] = { { /* * Downstream device is not accessible after putting a root port - * into D3cold and back into D0 on Elo i2. + * into D3cold and back into D0 on Elo Continental Z2 board */ - .ident = "Elo i2", + .ident = "Elo Continental Z2", .matches = { - DMI_MATCH(DMI_SYS_VENDOR, "Elo Touch Solutions"), - DMI_MATCH(DMI_PRODUCT_NAME, "Elo i2"), - DMI_MATCH(DMI_PRODUCT_VERSION, "RevB"), + DMI_MATCH(DMI_BOARD_VENDOR, "Elo Touch Solutions"), + DMI_MATCH(DMI_BOARD_NAME, "Geminilake"), + DMI_MATCH(DMI_BOARD_VERSION, "Continental Z2"), }, }, #endif > --- > drivers/pci/pci.c | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) > > diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c > index 5ede93222bc1..c779eb4d7fb8 100644 > --- a/drivers/pci/pci.c > +++ b/drivers/pci/pci.c > @@ -2949,13 +2949,13 @@ static const struct dmi_system_id bridge_d3_blacklist[] = { > { > /* > * Downstream device is not accessible after putting a root port > - * into D3cold and back into D0 on Elo i2. > + * into D3cold and back into D0 on Elo Continental Z2 board > */ > - .ident = "Elo i2", > + .ident = "Elo Continental Z2", > .matches = { > - DMI_MATCH(DMI_SYS_VENDOR, "Elo Touch Solutions"), > - DMI_MATCH(DMI_PRODUCT_NAME, "Elo i2"), > - DMI_MATCH(DMI_PRODUCT_VERSION, "RevB"), > + DMI_MATCH(DMI_BOARD_VENDOR, "Elo Touch Solutions"), > + DMI_MATCH(DMI_BOARD_NAME, "Geminilake"), > + DMI_MATCH(DMI_BOARD_VERSION, "Continental Z2"), > }, > }, > #endif > -- > 2.39.2 >