Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp2466682imd; Sun, 28 Oct 2018 10:36:59 -0700 (PDT) X-Google-Smtp-Source: AJdET5ejxwuyEZC0sGAWG+o1IrW/0T3wN26VA8q5Stmg3X5YdLLZj83cuedCJJ6tcLHVkDeRil52 X-Received: by 2002:a62:1d92:: with SMTP id d140-v6mr11707716pfd.157.1540748219398; Sun, 28 Oct 2018 10:36:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540748219; cv=none; d=google.com; s=arc-20160816; b=B8D9HKqGFrZbgaeUrICLq0Us8UGHqpBQhgmWAMgjqeg5swYLTL5fSTeEjy8vjiyGF8 shd+Q74jJ+qAckQRLOsLEOjKCQe+hRdFHpczFQSdI4CtgyDhwVwJ4qU6kU/w1SFcXJpZ JTGttIBW+lYk8hnKwVyVZRNcwvVj+MvHV0dVbYaWDSOXoxCCyPoQAFgW6bBJB5b2jGpF 0Jryw7GKD4RHnhqT3xu7xMXiocunZV7DezQcfbNbhgbVKqrq6lpLd8i3rli9PXevZdQY mOf9+sKWSk3MqshiC1CddfwTeAmym0cXmQqzlyLwZQVW2iGWJ9gBw57G3/cE19oN1Chu vzLA== 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; bh=ko6DMPZzGP/t0RFZm/l/OMhRIWBXiTrmvjX1V2BRzY4=; b=f5NtkxgGyKOfG4aLTaXIVixILBWV2w/P7nkbneWRq0TTqAYK16nwPHVkWkSyPjqqum e9q90q6euPjlTH+OqFtHkxowW+62QI9+hpg59jikaztVqRw7o2INjrKGd/EPQTwuO7uA TMjizta70m90O8jUUO/MSbvobdj6Phf5Nu/yQyjfjzSW60xKhts3TrSb+xGTWuVGOVX1 QzhMl8sFB6DTXWNK9LX5ipBpJba5nlpV3iuYLeiP9NzHQd+0IesXGqw5OSII0XIhFS2d mmWgRnLAmi7n1Y31jlTQPA0V10NwoTi/jsO/Xd8vPdIvyjXZ6esmuBfzLnPeleT5/oHl OQxw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (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 go3si16919234plb.266.2018.10.28.10.36.43; Sun, 28 Oct 2018 10:36:59 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726426AbeJ2CUY (ORCPT + 99 others); Sun, 28 Oct 2018 22:20:24 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:41338 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725814AbeJ2CUY (ORCPT ); Sun, 28 Oct 2018 22:20:24 -0400 Received: by mail-pf1-f193.google.com with SMTP id a19-v6so2839621pfo.8 for ; Sun, 28 Oct 2018 10:35:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=ko6DMPZzGP/t0RFZm/l/OMhRIWBXiTrmvjX1V2BRzY4=; b=S115Wh3FHoSQ+eGcs0i7dpKlvmDP2Y5Q9ywyR4x7N3g5tk1BdZG0kAN5GACqPlSc0y 5zR2W68mH6DajMqFQKAa9PmB4flPQDb6pczy/JrEALzJrY7TWN8SyAYM6RUklscgwW4W 2wtynW/MU3MYsUKUB2zThx0vsGDdRNm4+YKfBlq7BApPj/TnvCr9qVAbR/5vz5N3Dg/c uvtVNAcgY43/2Kq4ZR1q2LLnlK313Q9q7Yij37+VCyX2kR0cCGi0jzxQa0S7S8uEq4P6 nkss2xotNzx9DhARwbLMx4Qrk/vtK96/xDnFlvG/kS5ykMG6Dvk7yKNw3poTBDCzh0Vo PzIg== X-Gm-Message-State: AGRZ1gIkn4s7YtIrOxSuMJWmMM2lkh4dMcBc0ovolQRFSDHhpElhEd0k 6PQm51Q0KUk1ZBQ0RvrZshs0Cw== X-Received: by 2002:a62:34c5:: with SMTP id b188-v6mr12275911pfa.65.1540748106485; Sun, 28 Oct 2018 10:35:06 -0700 (PDT) Received: from localhost ([2601:647:4700:ab4a:e7d0:9f45:8bc9:57ab]) by smtp.gmail.com with ESMTPSA id i13-v6sm2797441pgs.51.2018.10.28.10.35.04 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 28 Oct 2018 10:35:05 -0700 (PDT) Date: Sun, 28 Oct 2018 10:35:03 -0700 From: Moritz Fischer To: Andreas Puhm Cc: "matthew.gerlach@linux.intel.com" , Moritz Fischer , Anatolij Gustschin , Alan Tull , "linux-fpga@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] fpga: altera_cvp: restrict registration to CvP enabled devices Message-ID: <20181028173503.GA4358@archbook> References: <78c44ad0b2344a4490ffd300cf0df746@SRV177.busymouse24.de> <20181023182649.047f1f93@crub> <3773264cdfcb4c258cc7eebd213302dd@SRV177.busymouse24.de> <20181024095135.GA1382@archbook> <1540457043890.27497@oregano.at> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1540457043890.27497@oregano.at> 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 Hi Andreas, On Thu, Oct 25, 2018 at 08:44:06AM +0000, Andreas Puhm wrote: > >My experience with cvp is with Arria10 and Stratix 10. The PCIe Hard IP > >gets configured when the IOring gets configured at power on. The idea is > >that the load of the IOring is very fast, much before the infamous 100ms > >PCIe timeout for link training. When the Hard IP is configured, the > >CVP_EN is set or cleared according to how it was configured. Yes, you > > So is it correct that the value of CVP_EN can be evaluated by the altera_cvp right in the first call of its probe function > (as would be the case with my proposed patch). > > If it is, I will fix the remaining issues with the patch and submit it. Yes please, go ahead and fix up the remaining issues (+ send it using git send-email) Thanks, Moritz