Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp402350imd; Fri, 26 Oct 2018 10:15:08 -0700 (PDT) X-Google-Smtp-Source: AJdET5eaq5UwEv0ToNlvS07TlFD43kv6YsNJL+GDbZd8SzuwXJg+aK6sOtrqfODd5th5DXpBDpfJ X-Received: by 2002:a17:902:9a94:: with SMTP id w20-v6mr4302325plp.115.1540574107985; Fri, 26 Oct 2018 10:15:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540574107; cv=none; d=google.com; s=arc-20160816; b=IUsbnBz4XzTjQtCvia8BDXlf/xTkh7LqEW9j9zxMc3ir33LpmOzf8DbyM9FSgN4WJX UbHj5L+CPpAby/PpgzWaMLib4XpRWo2ZOs5aCvMqvVNpGd6TgOHPFOaQYXQRCTS3XUnV xxzqOKQ9E0ELj8osvEHX82BhT8nSuw/h/KWb7r/zorOolzRDusLBSe7+OqwlRWRGSOfl Ae3f7/OS3ViczZnu6M3aHc8hRKrg0Qfc+HCWZLRd4FXXkxsBzd/UGFGXXgNM5y6k0CbF 8OIAK65Z3PFbCxBuM4HhDOLsTSYbndD+sdlLBGGliyHqPVBvpexOVlX1CSy4giazJV2W Zwbg== 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 :in-reply-to:references:mime-version:dkim-signature; bh=H6AZH1NRbQyMyiFRtRH5I+kXPEbqUL1zpx7d/eGGfCU=; b=wZ51Ar293jyoTcAszcN9XW/NrpJ2fhvF3hjRfjN6zvK2loDd/tMzqHQ2XNlx7HfXyp vIdY0+stctfnrPMEz1GBMhmLwRglYypePWBATgS2gDmgCWhl6aPCb0PgNcVlYs2GxYI/ A+/9Pl1T1lwwL5RI+geQuV1co1S0hEPD6xHZYAW/2JAjrk8U25OcD7D+Ku+UcY2Clj4n l+gxOgTlz93BJBtf3RvpMwA+g2UNIjzp6o+snLCOCuzLuMq4OEn5U+LQEmfqMU1LO/uw UANaKuumi7TR/L/+GlP7mJMvfECzMjzyLWkT2JGziwqZ/cFErzDaHGCxv3kFU5T/AHjQ gm7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=rxQMdtig; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bb4-v6si11393562plb.170.2018.10.26.10.14.37; Fri, 26 Oct 2018 10:15:07 -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=@gmail.com header.s=20161025 header.b=rxQMdtig; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727591AbeJ0Bvv (ORCPT + 99 others); Fri, 26 Oct 2018 21:51:51 -0400 Received: from mail-qt1-f195.google.com ([209.85.160.195]:41883 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726193AbeJ0Bvu (ORCPT ); Fri, 26 Oct 2018 21:51:50 -0400 Received: by mail-qt1-f195.google.com with SMTP id l41-v6so2048020qtl.8; Fri, 26 Oct 2018 10:14:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=H6AZH1NRbQyMyiFRtRH5I+kXPEbqUL1zpx7d/eGGfCU=; b=rxQMdtig/3zZK79GsWSnOH26k2hYaqFWjCfKfteBsIFvvvb/mkF9mM+lajfLpQRqDq P5iX8V5xOZCHGqkJoRVPRUvbvpPWoX8n80Nw3ETh43F8u6JcoFdFxwgYFEQZAp/LSY2k I1J/C0kwbhQSHPFothqVoESmqMofFhTC4iUb/UIwdFbOo20SW3VRonit1knrFfU263aE VQKAHCL6z/blaa95Vwpjz8YeA+4q0XV7ZScklqXRHY+S2LxFdGbdHlXKTskRCducZGbq BrpheKrrtDt/bIpcjHYcZgnqk+qjNcpT1OunmnIawYNOv5WvgqJ/5Xy1hRGkLl3ykTgL xo/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=H6AZH1NRbQyMyiFRtRH5I+kXPEbqUL1zpx7d/eGGfCU=; b=S3ox8+vUMYOj8lG+Jx4PknexktWC9N+ui5Qi/k5038dEyFixjbsU7qrd0fYuntZAcE 9AntSsTNMza4lwgGcFIJzT7DT8V09585LGcZj0zhdQ6WbnHJnkmSCSoN4BFc8AH7id+L JfwbAJgTeGYyP1WNeoorKM+EZVqmXeoB4LHsk1RZ22KVbj9QkWrkGk6eUZ0Ezt7M2UvA OSyNXPD8DngAhYvDzDnwcPdAGnRxHao6+cMNU+NWZfqmdSlCIlQCL5yNpt3sAlKgEhCo JVTD0t0oYneVM0+J9S31A+oLWDNedvQGhk/TeyTy52HOae/gj3ztlXLBgpvc7pvQBskO DQQQ== X-Gm-Message-State: AGRZ1gLjiArrZfch6syQLUnAhqColyR4nn9kllLlWUG/kJD+J9TeEBdY y6DLoIBnWU4ikWJEajeWifEMAlUC2HYBy2ySs3k= X-Received: by 2002:ac8:3027:: with SMTP id f36-v6mr3940340qte.45.1540574041476; Fri, 26 Oct 2018 10:14:01 -0700 (PDT) MIME-Version: 1.0 References: <1540276279-2903-1-git-send-email-mike.looijmans@topic.nl> <20181023090119.GA2205@archbook> <1781ed23-e03c-f70a-ea8c-3e9fa6eec9d4@topic.nl> <20181023110445.GA1371@archbook> <468b9b34-aa87-9abb-a913-0512a01e9a51@xilinx.com> In-Reply-To: <468b9b34-aa87-9abb-a913-0512a01e9a51@xilinx.com> From: Moritz Fischer Date: Fri, 26 Oct 2018 10:04:21 -0700 Message-ID: Subject: Re: [PATCH] zynq-fpga: Only route PR via PCAP when required To: Michal Simek Cc: mike.looijmans@topic.nl, linux-fpga@vger.kernel.org, linux-arm-kernel , Linux Kernel Mailing List , Alan Tull 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 Hi Michal, On Fri, Oct 26, 2018 at 12:54 AM Michal Simek wrote: > > Ok, I had suspected you tested it and probably didn't run into issues, > > but just wanted to make sure we think about it. If you don't mind, swap > > it around as I suggested just to be safe. > > > > With that change feel free to add my Reviewed-by: Moritz Fischer > > in your v2. > > That clock can be used by something else that's why you didn't observe > any issue. Anyway I have no problem with reverting that setting back > that icap can be used. Ok, thanks for clarification, that was what I assumed :) > In general there should be synchronization mechanism for this. And also > driver "feature" not to enable access from icap for security reason. But > that's something what should be done in other patch. Yeah I'll have to look at remote notifications for FPGA managers soon-ish for another project as discussed at ELCE. Part of that would be synchronization I guess :) Umhh, based on the secure state read from CTRL_SEC_EN bit, or did you think along the lines of "xlnx,no-icap" property that your bootloader / dt would provide? Cheers, Moritz