Received: by 10.192.165.156 with SMTP id m28csp1614943imm; Tue, 17 Apr 2018 02:22:42 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/x/rMAJCu6r/murE4HAWz6NwCNe6LkRHMTjA2whkh6UdkCLez4hd+yuv3F7GcnCkEu3ZYr X-Received: by 10.99.124.84 with SMTP id l20mr1157748pgn.53.1523956962633; Tue, 17 Apr 2018 02:22:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523956962; cv=none; d=google.com; s=arc-20160816; b=Su9GrBP1LCZo4yPlwAgjINj+tRdpNaCF8eut2E91luhw/ynopAp5069poQgUjpwAeN nrkmnmzaFN6KIhMc3hsIpaVrEgPzSSIGAteZz9sZx4U8A03i7QgzBXvw6ItyHhT5OUs4 GJQhX4R94bEjZ/FCSG/bqy/JUq7gCo0F5QlZroeLxePKOXYjOZ/j66uTLBMbHw39O5oZ 51vpqr+G4nEj3Yu+uR1Hr5MpiFOnZovCO+sZJKM+c+mLDEPkFca2CgMFbTEp5e0jA97s gYz4oy0T1+Fc2/z/Ki8N32K4dob2dmsokwtGN1rMss2Q7Lz+uAt+TGBQIoW0abI+iJi/ y2mw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject:dkim-signature:arc-authentication-results; bh=g4PQkDXNKyAGudkC66Hi7+NBS64a5aC3cBJD4z8FhhA=; b=clrYjLVqCgxajKhk9StQh/yHEm5nmjaDBbBmYqM3xaxQSxXOjpCJcN99rf9WEC1w47 EauYzVwFW1OgsV8Mt/p1A9zKixH+mStyZ7KCANVAwS7qQq7eACYEpbVl0JPav1+gjdW9 sH4bv9U5jpKQ/v0cvOjIINOZOpeYYFMYJWK0rvycsUZxeWy8VBPV24AKUSILttFWKHJ3 4ashjGGl1M6s/j5qI9IjLJm0enbao5SZJ7bvZMhhWSXaxLE6CNDWR245xR2nQa42lBPq ixeox24P83xbnvLitTUENpdfIb50VR/B1msiF+3Q6V903W11Zo1Q8RJKq0uoVQ8AXsNT NA/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=nPF9N7SV; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u4si12391549pfb.42.2018.04.17.02.22.20; Tue, 17 Apr 2018 02:22:42 -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=@ti.com header.s=ti-com-17Q1 header.b=nPF9N7SV; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752590AbeDQJVU (ORCPT + 99 others); Tue, 17 Apr 2018 05:21:20 -0400 Received: from fllnx209.ext.ti.com ([198.47.19.16]:14320 "EHLO fllnx209.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752082AbeDQJVT (ORCPT ); Tue, 17 Apr 2018 05:21:19 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by fllnx209.ext.ti.com (8.15.1/8.15.1) with ESMTP id w3H9LDnU019462; Tue, 17 Apr 2018 04:21:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1523956873; bh=I6VOVKxuiFjfhG5M1cEpTUzB2UY/NwGje46Ghbp380M=; h=Subject:To:References:CC:From:Date:In-Reply-To; b=nPF9N7SVz9IRAcvMVCDMrx4G/hifB2rcl1pRXq4GIcge4VkevipW9mAssgdzdgVBp f9jIn8UgH8lTV8WNsMbDNS2N+HqEQHR++ijTvXMT32JWvUxTeGlgWJ+l4jrZ3hX6mB TG2CLHvkl7qUFdxaaFmJ5EwRpoTijiSED5Sm+htI= Received: from DFLE100.ent.ti.com (dfle100.ent.ti.com [10.64.6.21]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w3H9LDVZ028199; Tue, 17 Apr 2018 04:21:13 -0500 Received: from DFLE110.ent.ti.com (10.64.6.31) by DFLE100.ent.ti.com (10.64.6.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.35; Tue, 17 Apr 2018 04:21:13 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE110.ent.ti.com (10.64.6.31) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1261.35 via Frontend Transport; Tue, 17 Apr 2018 04:21:13 -0500 Received: from [172.24.190.233] (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id w3H9L9od014125; Tue, 17 Apr 2018 04:21:10 -0500 Subject: Re: [PATCH v4 03/10] PCI: endpoint: functions/pci-epf-test: Add second entry To: Gustavo Pimentel , , , , , , References: <56bdafe6-1725-6e55-68a4-38667f114e5c@ti.com> CC: , , From: Kishon Vijay Abraham I Message-ID: <4336d1a4-e2d0-ebdb-93cd-1f741ff3d19c@ti.com> Date: Tue, 17 Apr 2018 14:51:08 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <56bdafe6-1725-6e55-68a4-38667f114e5c@ti.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Tuesday 17 April 2018 02:49 PM, Kishon Vijay Abraham I wrote: > Hi, > > On Monday 16 April 2018 08:07 PM, Gustavo Pimentel wrote: >> Adds a seconds entry on the pci_epf_test_ids structure that disables the >> linkup_notifier parameter on driver. >> >> This allows EPs that doesn't have linkup notification signal to work >> with pcitest. >> >> Signed-off-by: Gustavo Pimentel >> --- >> Change v2->v3: >> - Added second entry in pci_epf_test_ids structure. >> - Remove test_reg_bar field assignment on second entry. >> Changes v3->v4: >> - Nothing changed, just to follow the patch set version. >> >> drivers/pci/endpoint/functions/pci-epf-test.c | 8 ++++++++ >> 1 file changed, 8 insertions(+) >> >> diff --git a/drivers/pci/endpoint/functions/pci-epf-test.c b/drivers/pci/endpoint/functions/pci-epf-test.c >> index 7cef851..63dca44 100644 >> --- a/drivers/pci/endpoint/functions/pci-epf-test.c >> +++ b/drivers/pci/endpoint/functions/pci-epf-test.c >> @@ -459,10 +459,18 @@ static int pci_epf_test_bind(struct pci_epf *epf) >> return 0; >> } >> >> +static const struct pci_epf_test_data data_cfg2 = { >> + .linkup_notifier = false >> +}; >> + >> static const struct pci_epf_device_id pci_epf_test_ids[] = { >> { >> .name = "pci_epf_test", >> }, >> + { >> + .name = "pci_epf_test_cfg2", > > I'd prefer this to be named pci_epf_test_designware so that configfs entry is > self explanatory. Please document the new epf binding in Documentation/PCI/endpoint/function/binding/pci-test.txt Thanks Kishon