Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp1812605pxb; Mon, 12 Apr 2021 07:19:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwiUBdo1PcjGWpDuShDbAWUkreo5t1amEulD4Y2gUGSVTWoRYGhbiiTgUGp3MiG8KxXhKKM X-Received: by 2002:a17:906:27c9:: with SMTP id k9mr26637248ejc.26.1618237178769; Mon, 12 Apr 2021 07:19:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1618237178; cv=pass; d=google.com; s=arc-20160816; b=a7s2GStpocE38Essp4hspWORWn6oMQ32A5yfKt3tZCsEKW4xflYimt3GsNLwjyTDix MHf+sQOxWLTratJBMlZNyfncf+jqvTUJZAjv2U9Co1JAZllydA6c1eaOkNpszPeTAuGc 1dNFonKar1QQUdyTj4bunIvixbju15qYjrbrhvGmg2o9gBFM8Oynkn7NCHTkjuxRSEAm h2erqMqkyuzBHU+PsIXuc6YLlZvpVzQOyudBR1tW+wTqNPw5Ux2z+tfMt7EsXMU6YWC1 wjw22vdVgndYeiHhJT5nO4wt+J77ljtquajOTy1FiZJlsfH0swPPmW/w7qf/flAEI9c2 31cQ== 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=cPRLve9aWbZdPFFTG82n/Z7lzXlGzgvRiGve41AyUK8=; b=0j2ZcLqbyqV73EQ5QGz6B8UJEicXiOKfSZs3FXy8lmgZ19Zj9sQpM6+blEbdjWBKbF /POcPUsxKLdcBg29fGTHMWsdOy/opzwCez/lqFCZwm5kW892z5uhxXjGe+cuE3Kfks7A V8DZoh4VgrbQpM7HnAAr+2EXFQhy5SsQYQ4aSGgbHL8LrtZdCcEEfm/+1Y334icdhu3K KEmWe5uYpWk0NmCpER3SR4obedsYkHRVT06KLe77LxJIS+VgeC4Nq7ECriU7D6bfSYrF l4VXMJdylVKC+w4mAN8lLpXuP5TS0cHPjAvmfCvS4NziZGZkJ1lQpU86qZh9Ip+k946g Zo7A== ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=0R4gg17f; dkim=pass header.i=@microchiptechnology.onmicrosoft.com header.s=selector2-microchiptechnology-onmicrosoft-com header.b=XiUUnQw5; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v13si1778348ejg.212.2021.04.12.07.19.13; Mon, 12 Apr 2021 07:19:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=0R4gg17f; dkim=pass header.i=@microchiptechnology.onmicrosoft.com header.s=selector2-microchiptechnology-onmicrosoft-com header.b=XiUUnQw5; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S241193AbhDLOP7 (ORCPT + 99 others); Mon, 12 Apr 2021 10:15:59 -0400 Received: from esa.microchip.iphmx.com ([68.232.154.123]:34018 "EHLO esa.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237579AbhDLOP5 (ORCPT ); Mon, 12 Apr 2021 10:15:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1618236939; x=1649772939; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=cPRLve9aWbZdPFFTG82n/Z7lzXlGzgvRiGve41AyUK8=; b=0R4gg17fHxQiyrtumWSeW9W5x+YUg5p2LyoNcdEw6E70fG/uyj+x8FvN pEGNPbwNrtelan3UOZ6lwuZixcdLHrBYEyLUCkwExIYaf11d4od5i1h/r ly1sTJiClO7y+6KUu1sfn/+XKlOaYJdUB4i/U5A3qFVfXOAKcDPrbEBmO 3p+WabaHyqmKcTNcsSM7JvkevStHdLsH893wHkWB50QbtdvRNbdoNb3ux QN79vopFIbAYlmvXhzxiZm0V5IuHNMvjXlPVJ0rN/dUPhCTs/kx0tBFW1 ylQBRor0SblUBNHs8YzfRDL+Ha5lcvrN5+dptmO0YNrfOsOHQsOaRZDo2 Q==; IronPort-SDR: EmscTxeWEgF9Psqd9y/4S7xe9g07adTlN7R0ZeOI3SwgTXesslPlgTRMCr7zyXLvrnWijQQz6q L5cotQHKsmK4vlBurEmI6yScgpiuKJFCNaMviDevZlcY4tOsERe4B6FelaYnEhD7grqr4AnYGM UQXMW3AFHd1vrbNG5EOKxMHzVGZGnC+zW/aRKmyimsgFNVkcaFgOWNgan9FeQlZQoNHN9ZAnbO MWwWwlwWojE5TgA2UHCdxa+I1P95LFbCtsXuzY3vzkvHce6E+dZuAN42GmB7iyqtlk/E4v6WA/ KzA= X-IronPort-AV: E=Sophos;i="5.82,216,1613458800"; d="scan'208";a="50820198" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa6.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 12 Apr 2021 07:15:38 -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.2176.2; Mon, 12 Apr 2021 07:15:38 -0700 Received: from NAM04-BN8-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.2176.2 via Frontend Transport; Mon, 12 Apr 2021 07:15:38 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NsJZmxqTaxomamfi+1L9Lj3PP1jT/5QmD1JoRmFwOSGl6CKN/mJtXVQfKibUKUx+xM5OeIkQ/HpvMeWf7eSOk9Ei0xiYBUbAPzzKV1awE7yCBRtgzkxSrFXt1dqH63QgrsLGq9Ub9oXOC9NCFD2xgxQo/HiRpBkVdhTyUZqHMjEpXj/bkKY9s8IxfINiJkr+tWuvTVzxapprUYGBFaiygOP4tHbWmb274mla/rrhgFKp8gNu9V1jib5MKtjzpm6A7aVlGN6l5K5z8hZkKr9HbzNDVzFlLqHeBBOmekA9kajhZZPKh7n0z8AB7Rb376hh4exkOtmJlf7s7Wy43ACcRA== 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-SenderADCheck; bh=cPRLve9aWbZdPFFTG82n/Z7lzXlGzgvRiGve41AyUK8=; b=B+5s7SEoVg3+wvVcOVj5mZEj6WZ/Nu5YzdxmUdrf6kCl0Bk81rhzIl+O0Y8YSOWUXFBvEGLVH2IFfyndj36s/OpX1FisnKgTlfJIQ2vcbAKC2aKR/p3LL5r5mF+JyTWMOt1Gvxr9Ef6le3k+upGf8efP2Zd8IOvV4DirAVbmP5pmsw+vIsMqOV5Y2u5EgRaZ15BjYy6JEKOmNsrTu4nKTEBWHC+Iz9TYgzOKWD+gQlEe7zsrry+bow7P/9rT7LTkgY5cmNcGTH6hxyV4cK8mFIk4DtGpOAmNoXNVIkBrOZ7GJZ+Fo5WRO2Y4rco+3m3ytp6kSKtZ/WLk6zmv6E4qjQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microchip.com; dmarc=pass action=none header.from=microchip.com; dkim=pass header.d=microchip.com; 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=cPRLve9aWbZdPFFTG82n/Z7lzXlGzgvRiGve41AyUK8=; b=XiUUnQw5GzWcxGyvKPViYbPIj5jOfcOQI0afC7Re3GGggBRSDgtUStYc2eaC6JOvSuDs4jqrtC85uee5x1SHDeirs18ah2oMy/xqbG8vDGk4mBV9vhdG6grPpf196+tvfDuCauUMWoYL+CuEbHkWIm8n0J36jO9ay3x3Dy/jMqs= Received: from SJ0PR11MB4896.namprd11.prod.outlook.com (2603:10b6:a03:2dd::20) by BYAPR11MB3719.namprd11.prod.outlook.com (2603:10b6:a03:fa::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.26; Mon, 12 Apr 2021 14:15:33 +0000 Received: from SJ0PR11MB4896.namprd11.prod.outlook.com ([fe80::743e:9115:21df:d5a]) by SJ0PR11MB4896.namprd11.prod.outlook.com ([fe80::743e:9115:21df:d5a%5]) with mapi id 15.20.4020.022; Mon, 12 Apr 2021 14:15:33 +0000 From: To: CC: , , , Subject: Re: [PATCH v2 30/30] media: atmel: atmel-isc: add microchip-xisc driver Thread-Topic: [PATCH v2 30/30] media: atmel: atmel-isc: add microchip-xisc driver Thread-Index: AQHXKjTQZot1sFqtDEqlsngPs3uv4aqw3NIAgAAR+oCAAAlhgA== Date: Mon, 12 Apr 2021 14:15:32 +0000 Message-ID: <52f03c2b-01bd-0de3-83c5-204e6b577b9d@microchip.com> References: <20210405155105.162529-1-eugen.hristev@microchip.com> <20210405155105.162529-31-eugen.hristev@microchip.com> <20210412134157.4cqva5thylmiqds7@uno.localdomain> In-Reply-To: <20210412134157.4cqva5thylmiqds7@uno.localdomain> Accept-Language: en-US, ro-RO Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 authentication-results: jmondi.org; dkim=none (message not signed) header.d=none;jmondi.org; dmarc=none action=none header.from=microchip.com; x-originating-ip: [86.121.125.229] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 356f4cdf-3de7-4637-0de2-08d8fdbd6f47 x-ms-traffictypediagnostic: BYAPR11MB3719: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: xZVWn2XxqL1bvV2oxsQrz7Ks76+bYvNaejIfk9ifDWCrrj2MUS3zjmfxcyc8nzmM7n/sNsEKZveiO6wjbCMKLvhrwFEfTkVxFJDa/TtgHvv+wTDwZ57CQGs4H4HThKxerfMb929bCa+xeuN5FoHRecIt044L9kAocfoVewj2iw/XSCiVNHXqA4LGXpm/CFxMnhDZyC6us8H/+91aePkOWTrD2liM8fftbS607BnlQX6ES9J8PpJ/+zEfnMIVWSjVlfdLsq3lndQp60AttObalzX39SIloaxNP6uvn8gW2kI+Ge6ynu9IgLDQVw2NJnM6G4f+K9zhOmLPUfM+qUI6RX4DK8C59ZGBuTuDcHIaB5k3iNH+ZMPwYotZbYkrsIu+y7hbRjFq7pPvk5kzFLnCbAD7Q7CjFV13xIkZIc8ggn1KLSG9KjuA9wsH61g2vsm2+1kF/os5nluX5/gGw0k/4NUpAgtAuenqV/xjUeOh0xYvpPML8eVTDzJ1nMkhX0lKau0/4J7UHdT/N9jwGqwWfHorKeCm1O0aaibkwVE0a2LTbyRVqwHn7lQJMYmAeIwJ1kwrRB9tQqCw7w4dN2WDKOAHMk0YtQk7Pm/aytShtY54gVqP6ZNuOin9JP/CBGWic6SfmnZ4CCZSJ5a8nchZdjginAzGg3yueBAElAIqGjGc0E9fS4dZTzaZ0WTdx/Ba x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SJ0PR11MB4896.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(39860400002)(366004)(376002)(136003)(346002)(396003)(8936002)(66556008)(186003)(4326008)(31696002)(86362001)(478600001)(6512007)(316002)(54906003)(83380400001)(26005)(91956017)(8676002)(71200400001)(36756003)(53546011)(66946007)(64756008)(76116006)(6506007)(6916009)(2616005)(66476007)(5660300002)(6486002)(2906002)(31686004)(30864003)(38100700002)(66446008)(45980500001)(43740500002);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: =?utf-8?B?dWhvV2NLcXNGNVlkRGF3ZDJtOUlENS8vem9JMlNmYk5YcmI4UE9HSlBUbGg0?= =?utf-8?B?RmtDRE53NlZMRjNvTDNoZy9nY0pZeloybXBIZEI4QndNWklCTzUvVVhpY01J?= =?utf-8?B?OHMyZnVuK3QrclIxKzNqNHFjNGdpcjJoellRSjdtMU9NK0lUby9HUnJCTWE2?= =?utf-8?B?OGxraFMvVVlDUlNYOXBBcnQycjBQWlRwbkx5ejVnTUR5TFVFcUZIOXVqSG9x?= =?utf-8?B?VDFFa3RST25UYTVIZ2szd3kyZGtpSmJtVldZdFBMQ0FjOExzUkloeU5pKzlL?= =?utf-8?B?M3VnTUQ4VGluY05LV05NUUtXYlRLeVJ1NDEyU3VlZmV5SWpZd3dJMGJDeEx5?= =?utf-8?B?RTBoOUYyd3JjdnMxZHpkNnNoUG9aWUxrTW9YeWJiYmJ5bGJOWjQzRlVMMWsr?= =?utf-8?B?bWI4QX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?utf-8?B?Z2xkZ1Y5QmhQcHpGSmVhN0pVcnVaOWY5aTlYSjl4RkczYWN0L2dUd2JEQ1Z6?= =?utf-8?B?OHhBMlJ4ak1wNmVHcStHNUdsV1NoSW1TZnowbzBPN0pURDRvazhpc3JrZEcy?= =?utf-8?B?VENLbnlYVVRSbC91Nk1Yd0pFWUxIeE15V1laVFYyVEVlVDhkR1FISEhla01l?= =?utf-8?B?V1JpSEtMVUk3TTVNTWVudk91NGx5WitkdGUvcE5ycWNxaWk0QVJhM2RwTFho?= =?utf-8?B?UExmM2FPZEpNdXZZc1R2R2FaejdCV1JsaDIwN29JMXN1UFJUMjlJeHl4d3Vq?= =?utf-8?B?ZEtJeUFPMnpXVGxDWWhob3lleWVZZDA1Zlo5MjBhSmNaNEpHL3F3am9QdW9O?= =?utf-8?B?bG8zL3VONjVEOEJBeWlTVE1XclFFSzl1N2hhVGNIaDhpaUlRdm9Jb2ZlSWRO?= =?utf-8?Q?/WYVAjZC+itHDLTq7GfcDKSeEwZXc1v5XIDrcO5?= x-ms-exchange-transport-forked: True 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: SJ0PR11MB4896.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 356f4cdf-3de7-4637-0de2-08d8fdbd6f47 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Apr 2021 14:15:32.9871 (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: hH8V/ZTL32z6876JomOhLh97qegwdWMCvnpuocDNRGq7AWLxlP4Xj1RBfuJkWlEyDfs1+N1WZ9ABW+mIWyw0H26FLohGa4a91tCtS8DXoFg= X-MS-Exchange-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r ICAgICAgICAgICBpZiAoIWVwbikNCj4+PiArICAgICAgICAgICAgICAgICAgIHJldHVybiAwOw0K Pj4+ICsNCj4+PiArICAgICAgICAgICByZXQgPSB2NGwyX2Z3bm9kZV9lbmRwb2ludF9wYXJzZShv Zl9md25vZGVfaGFuZGxlKGVwbiksDQo+Pj4gKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgJnY0bDJfZXBuKTsNCj4+PiArICAgICAgICAgICBpZiAocmV0KSB7DQo+ Pj4gKyAgICAgICAgICAgICAgICAgICByZXQgPSAtRUlOVkFMOw0KPj4+ICsgICAgICAgICAgICAg ICAgICAgZGV2X2VycihkZXYsICJDb3VsZCBub3QgcGFyc2UgdGhlIGVuZHBvaW50XG4iKTsNCj4+ PiArICAgICAgICAgICAgICAgICAgIGJyZWFrOw0KPj4+ICsgICAgICAgICAgIH0NCj4+PiArDQo+ Pj4gKyAgICAgICAgICAgc3ViZGV2X2VudGl0eSA9IGRldm1fa3phbGxvYyhkZXYsIHNpemVvZigq c3ViZGV2X2VudGl0eSksDQo+Pj4gKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICBHRlBfS0VSTkVMKTsNCj4+PiArICAgICAgICAgICBpZiAoIXN1YmRldl9lbnRpdHkpIHsN Cj4+PiArICAgICAgICAgICAgICAgICAgIHJldCA9IC1FTk9NRU07DQo+Pj4gKyAgICAgICAgICAg ICAgICAgICBicmVhazsNCj4+PiArICAgICAgICAgICB9DQo+Pj4gKyAgICAgICAgICAgc3ViZGV2 X2VudGl0eS0+ZXBuID0gZXBuOw0KPj4+ICsNCj4+PiArICAgICAgICAgICBmbGFncyA9IHY0bDJf ZXBuLmJ1cy5wYXJhbGxlbC5mbGFnczsNCj4+PiArDQo+Pj4gKyAgICAgICAgICAgaWYgKGZsYWdz ICYgVjRMMl9NQlVTX0hTWU5DX0FDVElWRV9MT1cpDQo+Pj4gKyAgICAgICAgICAgICAgICAgICBz dWJkZXZ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sgICAgICAgICAgIGlmIChJU19FUlIoYXNkKSkgew0KPj4+ICsgICAgICAg ICAgICAgICAgICAgcmV0ID0gUFRSX0VSUihhc2QpOw0KPj4+ICsgICAgICAgICAgICAgICAgICAg Z290byBjbGVhbnVwX3N1YmRldjsNCj4+PiArICAgICAgICAgICB9DQo+Pj4gKw0KPj4+ICsgICAg ICAgICAgIHN1YmRldl9lbnRpdHktPm5vdGlmaWVyLm9wcyA9ICZpc2NfYXN5bmNfb3BzOw0KPj4+ ICsNCj4+PiArICAgICAgICAgICByZXQgPSB2NGwyX2FzeW5jX25vdGlmaWVyX3JlZ2lzdGVyKCZp c2MtPnY0bDJfZGV2LA0KPj4+ICsgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgJnN1YmRldl9lbnRpdHktPm5vdGlmaWVyKTsNCj4+PiArICAgICAgICAgICBpZiAo cmV0KSB7DQo+Pj4gKyAgICAgICAgICAgICAgICAgICBkZXZfZXJyKGRldiwgImZhaWwgdG8gcmVn aXN0ZXIgYXN5bmMgbm90aWZpZXJcbiIpOw0KPj4+ICsgICAgICAgICAgICAgICAgICAgZ290byBj bGVhbnVwX3N1YmRldjsNCj4+PiArICAgICAgICAgICB9DQo+Pj4gKw0KPj4+ICsgICAgICAgICAg IGlmICh2aWRlb19pc19yZWdpc3RlcmVkKCZpc2MtPnZpZGVvX2RldikpDQo+Pj4gKyAgICAgICAg ICAgICAgICAgICBicmVhazsNCj4+PiArICAgfQ0KPj4+ICsNCj4+PiArICAgcG1fcnVudGltZV9z ZXRfYWN0aXZlKGRldik7DQo+Pj4gKyAgIHBtX3J1bnRpbWVfZW5hYmxlKGRldik7DQo+Pj4gKyAg IHBtX3JlcXVlc3RfaWRsZShkZXYpOw0KPj4+ICsNCj4+PiArICAgcmVnbWFwX3JlYWQoaXNjLT5y ZWdtYXAsIElTQ19WRVJTSU9OICsgaXNjLT5vZmZzZXRzLnZlcnNpb24sICZ2ZXIpOw0KPj4+ICsg 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