Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp3455413img; Mon, 25 Mar 2019 10:37:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqx9f92WfGmuFUWESyfbd2UTb7aLNigI16C2gDMwkq2fWyxi6KBgrFCktFvTKQqkVcNpcWyz X-Received: by 2002:a17:902:2aca:: with SMTP id j68mr26504441plb.233.1553535469078; Mon, 25 Mar 2019 10:37:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553535469; cv=none; d=google.com; s=arc-20160816; b=u0oF195Euk+0AhDogecQExvkSMyL5n9Lzl4rSSkAByDWGDB1+sNS7CpuVig/FhD/eF 4ljC4rb3F3X0jfIBFMYG8I/Aa3YiG/+ecNosbfus8RMEiC+W1iRVF85U5KPHmy4j4FjJ /fY/RbGDCh/ijARw58qOEOYwpamfUwi8YHhQYTPo01VEHUxSw8OG92D1J0bVFV/ILDme ONaheuMsHoefvGNh8Soi1uqMef73qtuLEDnn70d45/t58en99Ornsg+ssn9Aaj6rg5AQ dsh3LL0mpMe3+wmey8uwpzNRX4ke6lE8PdNNg9HJ1T7F9aFeU0ViWuJnEVdXx93zXSBl YXQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=xKiIWsVxpuwYWBjqhXz1/BIRk9pLOkhNTYNaBjfv494=; b=ss485r69A1tSabsU1eTh7va/1akvtXynPHEpZyOOKZXR987hOSzOE6JNAhg0fu5wme N+kW77zx+zhxoakP0aBLPba/jmlVQSCZ2hgNBLEjoiM4G9sqsUOOeWO8jc52mR9lAsIB 0X1m+aXyw/h7EreQGzbnJoup/jPwqOuOT0+s5P1KL38dq/66akVQZ+cbeVx7uODZFOqm SyxQEwURJid+h0mpJv2inRbGaYw6dE1okSA+OiTv+oumVh3vsuZTcBmIPJUthZ953+om q4iZKGQyAgJ7BoHiEokJhnw5zdr+jopUogfPj9yBrKX3WbxQ4r2+mXROcFXeKGRSXWDQ sjVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="Kqmcc/Jx"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w2si13566239pgr.270.2019.03.25.10.37.33; Mon, 25 Mar 2019 10:37:49 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="Kqmcc/Jx"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1729786AbfCYRg4 (ORCPT + 99 others); Mon, 25 Mar 2019 13:36:56 -0400 Received: from mail.kernel.org ([198.145.29.99]:34894 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726217AbfCYRgz (ORCPT ); Mon, 25 Mar 2019 13:36:55 -0400 Received: from localhost (unknown [69.71.4.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A67E4205C9; Mon, 25 Mar 2019 17:36:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1553535415; bh=Rg08QyK2vOPJcNoTgP9Jxsy+bxhC3JF1GS7obQA93kI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Kqmcc/JxMJl1JvbDlPirFfgBNljY6znGfT6EFD3f5jSUfc8xCgeWOpKeKE1CHMQBJ JDhlKhWNL998c4MELZHgnDcmakEtcJ/iv7DrDdu1GeEiIp+OWHWifkssppuexRjoff o+PsZkdOrIDHH6kdFZMrE/7fayLGZDWkbh4JSt4A= Date: Mon, 25 Mar 2019 12:36:47 -0500 From: Bjorn Helgaas To: Jonathan Chocron Cc: linux-pci@vger.kernel.org, lorenzo.pieralisi@arm.com, linux-kernel@vger.kernel.org, vaerov@amazon.com, dwmw@amazon.co.uk, benh@kernel.crashing.org, alisaidi@amazon.com, zeev@amazon.com, ronenk@amazon.com, barakw@amazon.com, Talel Shenhar Subject: Re: [PATCH] PCI: al: add pcie-al.c Message-ID: <20190325173646.GR251185@google.com> References: <1553512040-4453-1-git-send-email-jonnyc@amazon.com> <20190325125832.GP251185@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 25, 2019 at 05:56:35PM +0200, Jonathan Chocron wrote: > On 3/25/19 14:58, Bjorn Helgaas wrote: > > I think you're actually looking for a AMZN0001 device, not a PNP0C02 > > device. Your firmware might have a PNP0C02 _HID and AMZN0001 _CID, but > > that's not relevant here since you're only filtering by AMZN0001. > > > Actually, the _HID is AMZN0001 and the _CID is PNP0C02, so that's why > I used PNP0C02 (to state that it is of this "type"). Please let me know if > you still think it should be changed, so I'll integrate it into v2. I do still think it should be changed, because there's nothing in the code that refers to PNP0C02. That _CID could be absent or could contain any other ID and it wouldn't make any difference to the driver. But if there's no device with _HID or _CID of AMZN0001, the driver will fail. Bjorn