Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1761006imm; Thu, 2 Aug 2018 00:05:33 -0700 (PDT) X-Google-Smtp-Source: AAOMgpczAMDPNolHMAGEGWjD5M4tuDBuE+L/uzTG0+w0z8w/LR7glQKUQShJT4hyU9odyHwjPCOo X-Received: by 2002:a62:198e:: with SMTP id 136-v6mr1663667pfz.103.1533193533818; Thu, 02 Aug 2018 00:05:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533193533; cv=none; d=google.com; s=arc-20160816; b=MCx1PuSsMtkC9UMWuzftBgyJNNGvrMxIp+eeA5v8YvS7SZszlVphseiVWJcHwKfPDS wj7cOkJVxgluBWpXQrkiLWdWjeFegEcd6mMVxP4/sVwpZKRRdgXHHcqlEeLDr51PZTDJ 4V5sB/m5ViiaDX9CPHUFxArrX2AUiEmsXv+NliUYNobsEn6yHwzYiryYW4IRhMbcFfMu jxPCc6g8/wLeCzYSBkDV1PnBPQCcnNDaJ0vwcm5psxnd1iFsB8l47iSC9g3nxQjqSmpe k/kfTab8jcXy2S907VGK43ccVHqPlnzQhADN/bAyy5JSuJgntKAPnX18H80E49wrNEmX TtYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=SNBNR+Z1Af0pBMHV+roKoInKaUKiliGtQHt3lORVRqQ=; b=bchjlSxPP2VsfFhg6vY1C9SRlI+w5QGcnMHclSLHxGMN70w896ZowTGq4juyiGY+Vf zwPZSOmxtOfMbVAmeLg9RbJ12U0/MLkddRv7f+cLb5IY/TuMaENiYnQikEowlo4cG4Dr AU1pZmd0m6FBuPWKtFbH6xWCbVamOXJrtliSE8d71MxW0IvSo/5ckVEbPQV/ABvXLvPW F6mOcGLThgyWvVsak5wpoQ1EKJvkCd57fqNmso3IzpM8W+tAkCgj9Jiw3EsOybYzPZ8V gbUHWvol+jTcEYq7fNaIrlQn2gCXFy2IcuZEJ3UdUVRzKcFsV74mIGPo2b+YroOAGjgk aYtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@xilinx.onmicrosoft.com header.s=selector1-xilinx-com header.b=3fnUY6QT; 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 e2-v6si1218788pgl.4.2018.08.02.00.05.19; Thu, 02 Aug 2018 00:05:33 -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=@xilinx.onmicrosoft.com header.s=selector1-xilinx-com header.b=3fnUY6QT; 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 S1729580AbeHBIyE (ORCPT + 99 others); Thu, 2 Aug 2018 04:54:04 -0400 Received: from mail-eopbgr690079.outbound.protection.outlook.com ([40.107.69.79]:23259 "EHLO NAM04-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726141AbeHBIyE (ORCPT ); Thu, 2 Aug 2018 04:54:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector1-xilinx-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=SNBNR+Z1Af0pBMHV+roKoInKaUKiliGtQHt3lORVRqQ=; b=3fnUY6QTv2LOM+nb4RAMUO5ab3M/jWQ98P/TcNafk8BTTLkUyUI3owtHzS0qk5kLWYXGAVWtRJz7OE5oT5CsDGzcGaDz9NxXw+nS1o2wy3kSBISVgcMZlrET1CTIPqdKfM3d9zwoMXWAx9E70QXbRtMiUH+tgVAxuRTjv5JRoKs= Received: from CY1PR02MB1692.namprd02.prod.outlook.com (10.162.161.26) by CY1PR02MB1739.namprd02.prod.outlook.com (10.162.165.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.995.21; Thu, 2 Aug 2018 07:04:14 +0000 Received: from CY1PR02MB1692.namprd02.prod.outlook.com ([fe80::9dbd:bd61:c2d3:4b95]) by CY1PR02MB1692.namprd02.prod.outlook.com ([fe80::9dbd:bd61:c2d3:4b95%4]) with mapi id 15.20.0995.020; Thu, 2 Aug 2018 07:04:13 +0000 From: Appana Durga Kedareswara Rao To: Alan Tull CC: Moritz Fischer , Michal Simek , "kedare06@gmail.com" , "linux-fpga@vger.kernel.org" , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , linux-kernel , Nava kishore Manne , Ajay Yugalkishore Pandey Subject: RE: [PATCH v4 1/2] fpga: fpga-mgr: Add readback support Thread-Topic: [PATCH v4 1/2] fpga: fpga-mgr: Add readback support Thread-Index: AQHUJXI7dDFbK5711Eu097iFJz0BGqSpdEwAgAKZBQA= Date: Thu, 2 Aug 2018 07:04:13 +0000 Message-ID: References: <1532672551-22146-1-git-send-email-appana.durga.rao@xilinx.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=appanad@xilinx.com; x-originating-ip: [149.199.50.133] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;CY1PR02MB1739;6:11sdroDidg8yaO9fivvaJAp7+EJ+Ank/eCv5NKaNMzV6LrkwdcOCplHbm7i0LjvNlTT/jMhVjJkMbAGYkN8WDvJ+qLPWwx1G/PgoTO6VEIkkQiMcfAkGI3sa1LrkgQ8eoegEfCHXxUYpol19mHO6A3c6Q3TwD18tS14TVP9pATzJ3HwzxnMNzAukvnxVeMLy4w6Wmh2iNDAKY6+G07NKj7dq+xlU+jFeEO3byOGOuisp/8n5SVDhSQ6ErJoiLwdcefXS+xyvD13YisGIINnRFGRkXUCF8LZtSWOmJC+EBAZopyqB48Sih1bb6dZ1sv/F91YH0ZcRs5FQ+dZY8vILpR1utljHeL1vo9DRJYDOYq1DctVjqhiQc6Jg71s05CANK504g4hODwHGTDt+eL+azGBIi0C+i57NmAlR0qKY7ZJ/5yiJ4RTRr6anLXq14Zhqwwr06XpIX9ZP5+e1+PBLXw==;5:ry2kKWOk7ka53MLCnMQcaCnfUATczDnqJ8lG+lfUXb+Q4/UWyp8ge42Peb7mYxBd6NmI3K9uzs8rPNQ+aTe42nqtxfzrGg1LUqHKjhXg7HYFexTm53gjV80MWBLl8plkwInmge3twwXpE6QvjxabtafjI0HRhW4V3HEQgapuSPs=;7:179ftWKBUsnvf6vIkThLSXjqmXR1MjmYz0VIGoucil+ReGqpD2ptE/sUNwLuQuq6rlQ76j7rjV2eBjklr016LZGSl15vczczk5uA8KNoYpcV5fCzH2YrLNsF40QrsEZQFlbLj0lyVgQVBNEePcDFRsYXvtxTJQsn4AYlFb/ORMJQSr7ex1IJD2SuUYBRFtWh8TJzsyydJki7r+TC95Y7XNa1qX7UcSETiONiGFdbnnsUHCTWhCjUC1iw8MolLmBc x-ms-exchange-antispam-srfa-diagnostics: SOS;SOR; x-ms-office365-filtering-correlation-id: df1e7c01-f344-49f6-2c4f-08d5f84627a9 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989117)(5600074)(711020)(4618075)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(2017052603328)(7153060)(7193020);SRVR:CY1PR02MB1739; x-ms-traffictypediagnostic: CY1PR02MB1739: x-ld-processed: 657af505-d5df-48d0-8300-c31994686c5c,ExtAddr x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(166708455590820)(9452136761055)(192813158149592); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(93006095)(93001095)(10201501046)(3231311)(944501410)(52105095)(3002001)(6055026)(149027)(150027)(6041310)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123558120)(6072148)(201708071742011)(7699016);SRVR:CY1PR02MB1739;BCL:0;PCL:0;RULEID:;SRVR:CY1PR02MB1739; x-forefront-prvs: 07521929C1 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(366004)(39860400002)(376002)(136003)(396003)(346002)(51914003)(189003)(199004)(81166006)(7736002)(316002)(81156014)(2906002)(2900100001)(6916009)(25786009)(486006)(102836004)(26005)(305945005)(5250100002)(6436002)(106356001)(55016002)(68736007)(14454004)(54906003)(97736004)(8936002)(5660300001)(476003)(33656002)(14444005)(53936002)(74316002)(86362001)(66066001)(107886003)(186003)(6246003)(256004)(966005)(446003)(6306002)(478600001)(7696005)(11346002)(76176011)(105586002)(229853002)(99286004)(3846002)(8676002)(6506007)(4326008)(53546011)(6116002)(9686003)(39060400002)(422495003);DIR:OUT;SFP:1101;SCL:1;SRVR:CY1PR02MB1739;H:CY1PR02MB1692.namprd02.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: xilinx.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: AcZ5sHaYMEwZ1n0IpxBpqb9MhvnSnynkQ/Zb9P05wzCKGps8JZa6FbLBP4Q7DYIIj6okOpvxTaUruDdnbCw3Um9g9uV6nymiz+RFSejnM8cc8RVy49AxWW3aqa2PfB3S4I8MvxVM0grYClFcmiCfVyMTeocr/qcFN4kzSwx/dIFjh50XPtCBogm7vLIAlIQz8fuWO5Wwk9lSeVC2HEjY4O25tJfJKLtL0pbcfP9+uS+9XvPQY3N4VrdfhGGnXKhuvLaYcOK7412Tkbeuj7pHw92ZDGBY59oFXDFs31C/E9BDJZOZx+jn3CHH76QOA4L3h7H/in/2rlUOQ4tFgxHyXxD2rOmWCEFzLrwdVT2/1DM= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-Network-Message-Id: df1e7c01-f344-49f6-2c4f-08d5f84627a9 X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Aug 2018 07:04:13.9040 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR02MB1739 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgQWxhbiwNCg0KCVRoYW5rcyBmb3IgdGhlIHJldmlldy4uLiANCg0KPFNuaXA+DQo+IE9uIEZy aSwgSnVsIDI3LCAyMDE4IGF0IDE6MjIgQU0sIEFwcGFuYSBEdXJnYSBLZWRhcmVzd2FyYSByYW8N Cj4gPGFwcGFuYS5kdXJnYS5yYW9AeGlsaW54LmNvbT4gd3JvdGU6DQo+IA0KPiBIaSBBcHBhbmEs DQo+IA0KPiBUaGVyZSBzaG91bGQgYmUgc29tZSBkb2N1bWVudGF0aW9uIGZvciB0aGUgZGVidWdm cyBhZGRlZCB1bmRlcg0KPiBEb2N1bWVudGF0aW9uL2RyaXZlci1hcGkvZnBnYS8NCj4gDQo+IEFs c28gdGhlcmUgYXJlIGEgbG90IG9mICNpZmRlZnMgdGhhdCB3ZXJlIGFkZGVkIGR1ZSB0byB0aGUN Cj4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