Received: by 10.213.65.68 with SMTP id h4csp228930imn; Mon, 12 Mar 2018 11:55:54 -0700 (PDT) X-Google-Smtp-Source: AG47ELuo8viFsxvA0bEP5DVk9Dz830QK1RAUQfb6W1eSdOiislR0aK4lkLuTZvl28PMvIhC7d928 X-Received: by 10.99.179.14 with SMTP id i14mr7426573pgf.45.1520880954883; Mon, 12 Mar 2018 11:55:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520880954; cv=none; d=google.com; s=arc-20160816; b=JXV2LZMZ+H6344a5TyljchmE8CTh4eWCPNFU99Z7a58+CLuazMoUF/oDmQ4dVDKKWT XcBY/a0vQe1aZnwcgwBsmqqZ7DZ5Oyi2vL3Xqh4Vf3ExeQI3NXnUBrm4wqS/z/fKbwMw hSBtrIz3FI/CzGyHYOdHPx8R8XLvpWiCITXXUtAxVEXuoz4/zVSzW28ha/zJi1sU6kYC a6PgxYRx/rc1NwHJAsxeow5hQNHVshnGStYUBYXfiv1wxJjR6n9ywK0fm8FYDIKz0vrU 0oNJecmIrpKpcZLNY9McG8HCHryjdiMTXnQ+3Mqe/x8progjFtDEf1kTk7I1Uvmm80Bz Rb5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dmarc-filter :arc-authentication-results; bh=52Q6T8lc0tu74HX+DZ/NIRs1abBsBIfX2IZVjyeYhTo=; b=jMGARFbGhn/Gapwp5nbRXz0YK+SFqyk4OEFUPBpmZJL+RIKd+vbLKdK1E/CmUfqs4D 9FXrM89iDdyZwrPx1UkJB1vYUxuVOL1A1cvLNMD6tPZs7mq08hD8UCOpodStNwAA9fAh eNui6Y8KNpAuuSEnVpJ4BRDYhGGKdkNv5UDjbk1SfXBrEuvDz7D818fDAbYHxtP8LQUq U0df3UV8BYgmur8Zoh5wgFcNi1OSuB5TaCOcCY1geO8Z/4CCaQsEXowMFogEcTEf0CuF 6KF4SboG1emF2XRIDb7EY5oUvLTFNYQmAZ5Z6+q55nT7JaUlpW3gW3NrQqS5tyCmsVcO Z+VQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h132si6227754pfe.12.2018.03.12.11.55.40; Mon, 12 Mar 2018 11:55:54 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932188AbeCLSyl (ORCPT + 99 others); Mon, 12 Mar 2018 14:54:41 -0400 Received: from mail.kernel.org ([198.145.29.99]:60144 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751232AbeCLSyj (ORCPT ); Mon, 12 Mar 2018 14:54:39 -0400 Received: from mail-vk0-f54.google.com (mail-vk0-f54.google.com [209.85.213.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 682C021772; Mon, 12 Mar 2018 18:54:38 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 682C021772 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=atull@kernel.org Received: by mail-vk0-f54.google.com with SMTP id z130so6929058vkd.0; Mon, 12 Mar 2018 11:54:38 -0700 (PDT) X-Gm-Message-State: AElRT7G03HsULr/Hqn2ROP75+Lf7IuKGBK0Y+iZF/JyFw03fkGxN+ZgO EmrQLagnTulLzTZcz0ODYr5n0aNUd7HLYWXUv0Y= X-Received: by 10.31.221.135 with SMTP id u129mr5719310vkg.186.1520880877558; Mon, 12 Mar 2018 11:54:37 -0700 (PDT) MIME-Version: 1.0 Received: by 10.159.60.71 with HTTP; Mon, 12 Mar 2018 11:53:57 -0700 (PDT) In-Reply-To: <20180312042939.GA19068@hao-dev> References: <1518513893-4719-1-git-send-email-hao.wu@intel.com> <1518513893-4719-15-git-send-email-hao.wu@intel.com> <20180312042939.GA19068@hao-dev> From: Alan Tull Date: Mon, 12 Mar 2018 13:53:57 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v4 14/24] fpga: dfl: fme: add partial reconfiguration sub feature support To: Wu Hao Cc: Matthew Gerlach , Moritz Fischer , linux-fpga@vger.kernel.org, linux-kernel , linux-api@vger.kernel.org, "Kang, Luwei" , "Zhang, Yi Z" , Tim Whisonant , Enno Luebbers , Shiva Rao , Christopher Rauer , Xiao Guangrong Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Mar 11, 2018 at 11:29 PM, Wu Hao wrote: > On Sun, Mar 11, 2018 at 01:09:31PM -0700, matthew.gerlach@linux.intel.com wrote: >> >> Hi Hao, >> >> I do think we should consider different hw implementations with this code >> because it does look like most of it is generic. Specifically, I think >> we should consider DFH based fpga images that have been shipped already, >> and I think we need to consider new hardware implementations as well. >> Full disclosure, I am particularly interested in porting to a new hw >> implementation for partial reconfiguration. Hi Matthew, The manager may not be the only thing that has to change for a new implementation, i.e. will your 'port' be able to work with this patchset? In the current implementation, the port is part of the dfl enumeration code (dfl.c and dfl.h) rather than being part of the bridge for some reason. We discussed the possibility of putting the port enable/disable code into the bridge driver [1], but that didn't seem feasible at least last December. I still would feel more confident if port were part of the bridge instead of part of dfl. Alan [1] https://lkml.org/lkml/2017/12/21/62