Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp825843pxb; Wed, 16 Feb 2022 05:22:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJw2eFNGqXz66d8FFlZ8C7x5KciF+s251Mh+kK5oKbmQWZ/uRg2I96Fxou47YHc2zX1ydps8 X-Received: by 2002:a17:906:1b4a:b0:6ce:b0cf:7fb8 with SMTP id p10-20020a1709061b4a00b006ceb0cf7fb8mr2294495ejg.429.1645017725450; Wed, 16 Feb 2022 05:22:05 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1645017725; cv=pass; d=google.com; s=arc-20160816; b=zKlafFT8mnnf5HvSYPTnvAxRyN1U9d8pAltiNWJbn9ZMSy/0W5OMTD6le6ZsgVu4Cp NqDy4Vw37jfAW7VFPQSqKiI7ChQWss45MY38jXo3/i8FLGL+zUvaNOOXOig5q82I/LsI sGDImIeXoD+nJOqeS5zLzkCsPG2T/+wk9hArFaHdMu28qxeMOlR9Ed/lI+hDtUaCL5+H ie6v2Uzr+Fa9eJ8oXQPqA4Nw06Zz5O2NTO6bUIUE3BBAeM5jX3yAx3zdMiM8os5bkteL ggM8rTOWnrGzxxDz0FRjHcmZIhqD/yB/3jsoaGPJa+4BhU9//wYXQumRk/IYO9Vfs2pm CVrA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-id:user-agent:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:dkim-signature:ironport-sdr:dkim-signature; bh=yXXgW5brPVKsO/LRi62INzusXGN9tn8ixN/XPKToRHY=; b=wzHaZo9/XGKa1HZmxYCcvmwAYhrLp1olclde6cAiwUu9ZN/37mvkdJDDG5po9/30Ny Tq9Waxt8LOACDTmRUK7SsrkANg7mzsp/+7fZogvEvQpq1xwhqM7bmRoStQyY/waH8eed Z8LFY25m+BXofaNYmi+p54xRB2jfxUHILD7y985gbjiTgbpZ+GYswOFP67beyw7XjNIR gYHDTJRQkJ+IlHx8pmQB9KR3OuEakgQMsmaebV7ltZEFfs0X8NqA93UvfLTyN63rarmC y40Ar/sAs7ZIDi1ghp6HCFwumWG8Ftq+ZtFc7u78vgSaE/vhei+5iisSnLZwzsJSyMVh /n2w== ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=oTYTiKOV; dkim=pass header.i=@microchiptechnology.onmicrosoft.com header.s=selector2-microchiptechnology-onmicrosoft-com header.b=b2XABW+o; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f15si1818620eds.209.2022.02.16.05.21.42; Wed, 16 Feb 2022 05:22:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=oTYTiKOV; dkim=pass header.i=@microchiptechnology.onmicrosoft.com header.s=selector2-microchiptechnology-onmicrosoft-com header.b=b2XABW+o; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233163AbiBPM4W (ORCPT + 99 others); Wed, 16 Feb 2022 07:56:22 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:41468 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229379AbiBPM4U (ORCPT ); Wed, 16 Feb 2022 07:56:20 -0500 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1DEDA2A64EC; Wed, 16 Feb 2022 04:56:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1645016164; x=1676552164; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=yXXgW5brPVKsO/LRi62INzusXGN9tn8ixN/XPKToRHY=; b=oTYTiKOVo09X8Y3DNZnm9TVFvqHzy9MEHMeNH712xgVaBRC6N00hQB+C MtKZM/MjVduJ/htVAVrxXoCQMA9NiSjEiIzrVTKx05A78m0zUmvbpD4fv 6QsylEHcEcpFJl0X46Y1yq/9pGMpdyIOgpzztmdsXDjXb5Zp+onxkfMxd 4Yem8X+AKOnoWqOdg1x+afctAUo2GePJ/BS9KdOHlRq48SGAKNkVvL5OQ BiYHgFRqxF5Ls60gJCi72DnT5grMBaCZZipU25wuwfJ6dorusSylhUwh9 V+J3SkH2c7Ee3g6YICdY5leMc9OnhMRCqTMx3J3tOKjw5kbcBIxEmgE7J g==; IronPort-SDR: dmQS+QWhUBqQXRxZhw3oF3pgDLhfwVHuiaRYfSpSOue85ePqJvLQHn4vAaXUPzbzNjyA53Nhm6 +lxRNQ4x2KlYsez7zrkwVDin2z0BrNu5fwbnAoJdTZXyvtmRPul2qjNDDkHLmgJAyMHtqxsH1Z FZJpeA5EX1fA0Q2PMlTVyMZF5AecskYAuYKj8z5gDz807ZykP3pD4zPF3X04Hug7dwGGEyrrby +KDX0kD/f0fMPCrtO4bkchw1VXSKIMYmQJNAWTAqMLs4+Acq/4kW883Xo2YtqiJXN/6Ixouivq BnA41e2jcAFCjmGU2qolRl2W X-IronPort-AV: E=Sophos;i="5.88,373,1635231600"; d="scan'208";a="148910650" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa2.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 16 Feb 2022 05:56:03 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.87.72) by chn-vm-ex02.mchp-main.com (10.10.87.72) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Wed, 16 Feb 2022 05:55:59 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (10.10.215.89) by email.microchip.com (10.10.87.72) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17 via Frontend Transport; Wed, 16 Feb 2022 05:55:59 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=C2WsfVsc0GG4L3TECi5bMEWNr4ETGPwIuco6WBlPHWEkk+g6FNgJPUoQKtBHjamX7ZRBve8D5OTF+XNG/0Z9C2yCXyTyDoZrrUK0Kyo/lrPTZ843J5qWOXJ0lW85DYb8Cgp8lbH+LYJ0z997qrPsU9RZ2IOrHINnn+GIQR7+eu71Mdv2l/I+PtwjDpXCGASu3FD5VfrhzTYNCB8gsS7vQCaJ7PoxArrR/GOIanXu1QM449hCzmSJLmR5irxYgTX+uCi8JLwUNqaS864SrXUS159e6AiHTaRPuRY39RAgiK3+h6CYMg5dHdE92PlQxQEGThez/j4QDHH/zvuPeNq2ig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=yXXgW5brPVKsO/LRi62INzusXGN9tn8ixN/XPKToRHY=; b=IEF/thZr4XtF2gt7zohHijOXwPOOBiH29OxJlkGZR3/NzYy8SyA58gTUszSjW6oK4aWTLzoxXpvBF6/j3lxddOrvX3Bw9hBuY+PU3DkC7XDIfHM9k2oQt+3jRTZJjEzMSRLGd+GHbDDq1i+K8U+cmsfZCZrfcNd8N3bHP+sfOuTwi8aLyRLXmbb28+pBLJdacjNpKi/LHy0FYVZI/ElsfwR9COOxU3f0R0jqCUuAlWtqGA11mgcKbfDr7kcECiN3CgD6kDClT/ovMjgX3Xg/NEqKJAqAuI9a+KwkDUl76KrlV4hmOT3b2X2srVeCMjJ5yJSiDxzYajZcDPqUDtBBaA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microchiptechnology.onmicrosoft.com; s=selector2-microchiptechnology-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=yXXgW5brPVKsO/LRi62INzusXGN9tn8ixN/XPKToRHY=; b=b2XABW+omcyprlY8HURIh2IJcSyrmaLndyPpjRH3UrGgDWTqobpOZnYgb3/Zf3shCdhmhsSHeXoI+iiOQSZvLPA3fazAj0+nreqkMIESCoHXDW1I4kXfDmM8TQpAHm4ybpsEJG8jsJnpv2xTP4/Un39TP+Qh3ewY0Zz79V+7I8s= Received: from PH0PR11MB5160.namprd11.prod.outlook.com (2603:10b6:510:3e::8) by BYAPR11MB2597.namprd11.prod.outlook.com (2603:10b6:a02:c0::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4975.17; Wed, 16 Feb 2022 12:55:47 +0000 Received: from PH0PR11MB5160.namprd11.prod.outlook.com ([fe80::d46c:fea3:ae31:aec]) by PH0PR11MB5160.namprd11.prod.outlook.com ([fe80::d46c:fea3:ae31:aec%4]) with mapi id 15.20.4995.016; Wed, 16 Feb 2022 12:55:47 +0000 From: To: CC: , , , , , , Subject: Re: [PATCH v2] fpga: microsemi-spi: add Microsemi FPGA manager Thread-Topic: [PATCH v2] fpga: microsemi-spi: add Microsemi FPGA manager Thread-Index: AQHYIzT67InQgT72aEiIbio7cKMN2A== Date: Wed, 16 Feb 2022 12:55:47 +0000 Message-ID: <79328410-e56f-7c8a-9d17-de9bfdb98f51@microchip.com> References: <20220214133835.25097-1-i.bornyakov@metrotek.ru> <20220215115853.26491-1-i.bornyakov@metrotek.ru> In-Reply-To: <20220215115853.26491-1-i.bornyakov@metrotek.ru> Accept-Language: en-IE, en-US Content-Language: en-IE X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=microchip.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: ce9051f8-214b-474c-01d7-08d9f14ba6c9 x-ms-traffictypediagnostic: BYAPR11MB2597:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3826; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: c3ifAoqKJh8QJubWXUIHoW54qVFV9rLg3aGlKAcTK3hrwIkjvuWVy/+PyLQaO1MSMI/QWoI+YdPyrNwCgweuz+Q1IPr6NoWsPUMo/13+gZcYw75gtOF+W4z2LTT7vSsh4PJyhIrg0OcAWWMJLuYyK+yMXBNgvnO8VKegn2frRN/T+X0vTNmqe11zSpbZhX3iHI7a+3wWaSKqWLwIXKVX33VHoEFhm8DSpDUkaFGNeFEZP9AAW5qVmWsyQtI4S3MBUw9aXx33t48haMy0E+/vRLIjzT9sWD/Y5dqgGX572h2IEXWUeyBbvRLNQYPIwVhUuW1b2yxhyuv2YUfp2ZC/QY0zzHJiMgJ+nd/U4tOQhJNK4G9D4/QkZ6RS+tOfOsS2HS2W5zZniFaXy6qZz5VDDgdKuOUaO5xhFpHRwSQRGHLBMJ7PYyDYJjpsS5o/dwtbeNVaWbKOvH7HbzAIbgFkxe4UZjfMIKbOEggQhfo0CghAYeRwvvhXFT3XaGOnlRnt3+CX7mg3hY+Pi1tYi/Pk8q69taKB2jSNsyCkNKd7afZKfi+F4JE5lxd72yfgUBu5AZDsEZiY2CYeFe49PhgBtj5ljDJNBmYPpHHv4eD9+2ooTqugxnU168PueZpNdwwIsLwk8LMj8YADeZEaN+rnrSoaMIEtr3MGZwYbiwg1t0h+AjC5igEk8D2K1r3tsLkVDgQ28GeE/omermc/+jNTdxLJRcV8sBMKR0FX7zy6JGJNpnTxB+2sA3MNrp1uioyIe2nHDSgomvLHYm26Z4oWUA== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH0PR11MB5160.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(366004)(31686004)(316002)(26005)(38100700002)(66946007)(66446008)(4326008)(66556008)(66476007)(36756003)(6486002)(6916009)(122000001)(2616005)(76116006)(186003)(91956017)(64756008)(38070700005)(31696002)(71200400001)(8676002)(6506007)(6512007)(30864003)(53546011)(86362001)(54906003)(83380400001)(508600001)(8936002)(5660300002)(2906002)(45980500001)(43740500002);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?N3JwRk56cE5HTFRvckZaVkw4ZFZ2ZHF5cjE4aitwekZOV2xnQXdFUTEzWTR0?= =?utf-8?B?S3Y2RXJYU0lrK2JybTdMMEViSlRuUmhDNTBTclFVZkx0aGZyUDZpeUlDMys5?= =?utf-8?B?RkNUSGZ0OC96ejkzK2RuQVA3d3VOU2g1a2tOcjlyM1JyQmRkMEE5WFQxZVAy?= =?utf-8?B?SjFHcFptbWI4R0VISUxQejkwN3ZtYk1sRE94ZEV4VHQ5YzRzUUdYa2VpYjl4?= =?utf-8?B?WFZiT01IWVQ4eUpnaE1CNVhMRmFzWlJ4N05uNlFnQ1FyYTYrbTZDd0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AxNUF0QkplLzNBTEJpbDZDcGtNS2JMV21PK3ByRHJqdTY3RTduaVBjSk5H?= =?utf-8?B?RWJiYW85cEIzUHlOa1VWNjRHNlRWOFdHbEZQSFRWbmNOdk81UWtmQnpOaUJj?= =?utf-8?B?ODgwYWVpNXpVTVpMUHg0MFRTMUNYTWR0NWtNKzM3b2diZ3ZpVEFRdVpUa3pz?= =?utf-8?B?MzkxeWl5d0lqek05d1pWV2thbEJBPT0=?= Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5160.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ce9051f8-214b-474c-01d7-08d9f14ba6c9 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Feb 2022 12:55:47.1418 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3f4057f3-b418-4d4e-ba84-d55b4e897d88 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: DHSyK2gib4EnAIo56m1xbzWxjhGq0esbPGZIWQ/tB/83nvO80uDeJEo7X515EvQYnh9PswsaAU+psAeFXgvroewR1tVLO6qJnnqrh8zR5CE= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR11MB2597 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQoNCk9uIDE1LzAyLzIwMjIgMTE6NTgsIEl2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