Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp1325706pxu; Thu, 8 Oct 2020 08:47:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwjpgjUWxclvHyuVhwHbVIQ9aiftc4v7TqCmF6mBbKJlaaKK/CYsNp7ufSqIPmjRPimPZKj X-Received: by 2002:a17:906:4b10:: with SMTP id y16mr9515021eju.395.1602172076098; Thu, 08 Oct 2020 08:47:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1602172076; cv=pass; d=google.com; s=arc-20160816; b=dzzdbRfb0vd/DptDMQyhYyB+UxXFZKB1HzFuaMKkHPb/jPZcRuF6ABd8cm6/n4JCQF jk8qe25VsxTqaE7w0v5x+y2sJTimvFTne1nWaUvElPJm1CMLewFy9rNQCeGU7HoVUbyZ qbBEQ8QQM3qB5Uv3NgGtVFdXm6W1MFr8RmpaBwSYPJJMnAdbVI+guoh0eJAMFtm3O4Vk a5ZTGZ1IDi9/P6VgQxZpW0OuoguP5qe9P1nGNmkd6U+7wuHFXU27YDGa8m0eygb7OSKe Biey//3QxCoe9YMFCigB42HIsTOhuEJAe7ve+bw6JSfJYrWjSPKHHZftoGjWFNEOrWcM bZVg== 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 :dlp-reaction:dlp-product:dlp-version:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature:ironport-sdr :ironport-sdr; bh=Xv3l+rnoGQBgOxEOuo9zuh6RqX/t61RgAsow2PPWeR0=; b=dahUlMIkcRf5ce5IjBZ31cEAkKe1RjuYpbfRcw0h76z4W8yrUa6IiuR2bS6W9sna/z pfSY68KNVA+IoIE1k5P3dp/mFJotqcUbIyZlCoqGLAaBb0ORlCKi/cVUN4L9k23ueUWY vK+dqd1xuqV+pN4qaMCymxiqNnG722d4Sv4q+I0ZTDp+3rqONcK+a8dkyUb2qMhZawV8 b2QcphlVWoiJuiK7MAKPF02JOhZnMDL53rCk2jNi4Uo4udp3cQUPhYMxBceRkU0Ux4oR HBzA02xNGmE6sf9SGwgpu63t/I8Yg5O1+253L2aK2lseyzDzXnX2Uv/8ufKaRZ5jsNmj 5zhw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=pPeTA9w8; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.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=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v1si4367638ejd.624.2020.10.08.08.47.32; Thu, 08 Oct 2020 08:47:56 -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=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=pPeTA9w8; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.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=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729642AbgJHKy4 (ORCPT + 99 others); Thu, 8 Oct 2020 06:54:56 -0400 Received: from mga14.intel.com ([192.55.52.115]:61191 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726029AbgJHKy4 (ORCPT ); Thu, 8 Oct 2020 06:54:56 -0400 IronPort-SDR: RP6Sn/pDvFmMeQBLK6yupixt6M3NU0f3Txg8zmx78ujlvH7TJSKUJDhh9ItASNn+pnkGAR2zu6 fWXtUjC0qmnA== X-IronPort-AV: E=McAfee;i="6000,8403,9767"; a="164527645" X-IronPort-AV: E=Sophos;i="5.77,350,1596524400"; d="scan'208";a="164527645" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Oct 2020 03:54:55 -0700 IronPort-SDR: hMd5S/dA/RfV49Qw6dMXsR9PEGTCwPIHhQ0zr8+VKlT2joKwrn6qeecaQUjO2d7Bvh0XEqtoFQ L87/uNIk3xGA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,350,1596524400"; d="scan'208";a="349452903" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by fmsmga002.fm.intel.com with ESMTP; 08 Oct 2020 03:54:54 -0700 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 8 Oct 2020 03:54:54 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Thu, 8 Oct 2020 03:54:54 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.100) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Thu, 8 Oct 2020 03:54:53 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DE7X/iT6GoH6cvbS0OXWo/6pz0RUpCI8q+I7sI7bAXCCYVS+D0y3tCWFuQfSCnzvqZ1DTi8e/S8ZNpF7UZJJTKFEqgG23wlSdG1n56pY6a58rLZbm1ezMNs8AJEMAc5AHMjUJxH9Y3ZZZclXX4fseosxD+KZctNS/fDpGVd9UcYIuDFAHIqy9mrVHDeSwvx3hCw4+x5JjuNvr5bkljVSmUMpem5DPKRHGbMPpNwMCIXje0g2QXuoSvbs8tHmkgWmlPnuaFHd8E5omMM9EZjii8y434KGFj3qdzqivZxCWzBOI2q3vOGSoPJ00ND6uTfy9Dd5f6UYBHnJ0tXMkglRUw== 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=Xv3l+rnoGQBgOxEOuo9zuh6RqX/t61RgAsow2PPWeR0=; b=bIQHoorrnJ0LyGM9jJMOME8OIsyzuHPv8xpP+Zx9TDl4xWZsUzwVgdCfhQ6N4MWfKOQ0DzFhwpFZ4+1VTH7Dd2CIeE4ThYp2DKNF5QkAW/qpOJd18Ley9MYDb8pmfps5J9Ff+aVThzRVt5jx2XBXrDy2Fqaif4mhbQg4OxjDQwpfQghWHz7DsVH63rffYfIC88toDAihLn2PQMU7k4z1hjuFECmt5m4Fy3cl5Vyw75EgCLHypL7pyrOSfKr17rsqrvB80bYRZIwmw308L5pRmEbi1DR+HvUiuCLMfyOKNtRMC+zEqkO+dGF879dxwXA8r0FF/t7PpCCF7d/Yfq+k7g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Xv3l+rnoGQBgOxEOuo9zuh6RqX/t61RgAsow2PPWeR0=; b=pPeTA9w8Haho6EAqvo/jVpJaKqMTnNkPm5Ijj/9T4eFfGUKHuiqWfzR74FP+qgywnG7olS9nv6hvEaF6CnDToJHU3zr1nO+RhGEqgO09kzfC5jn1xP60qJ+fT7vgYv3FqLEEK4T2MTQe170DYHhEpAmxEWB70CX/nyH4RetgOFU= Received: from DM6PR11MB2876.namprd11.prod.outlook.com (2603:10b6:5:c1::16) by DM6PR11MB3452.namprd11.prod.outlook.com (2603:10b6:5:9::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3433.42; Thu, 8 Oct 2020 10:54:51 +0000 Received: from DM6PR11MB2876.namprd11.prod.outlook.com ([fe80::c85a:d98e:fbf3:9f8c]) by DM6PR11MB2876.namprd11.prod.outlook.com ([fe80::c85a:d98e:fbf3:9f8c%5]) with mapi id 15.20.3433.045; Thu, 8 Oct 2020 10:54:51 +0000 From: "Zulkifli, Muhammad Husaini" To: Ulf Hansson CC: "Hunter, Adrian" , Michal Simek , "Shevchenko, Andriy" , "linux-mmc@vger.kernel.org" , Linux ARM , Linux Kernel Mailing List , "Raja Subramanian, Lakshmi Bai" , "Wan Mohamad, Wan Ahmad Zainie" , Arnd Bergmann Subject: RE: [PATCH v4 4/4] mmc: sdhci-of-arasan: Enable UHS-1 support for Keem Bay SOC Thread-Topic: [PATCH v4 4/4] mmc: sdhci-of-arasan: Enable UHS-1 support for Keem Bay SOC Thread-Index: AQHWnRiQsJ+XebQSo0uGE+XglmG5+KmNcEsAgAAYHQA= Date: Thu, 8 Oct 2020 10:54:51 +0000 Message-ID: References: <20201008020936.19894-1-muhammad.husaini.zulkifli@intel.com> <20201008020936.19894-5-muhammad.husaini.zulkifli@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.5.1.3 dlp-product: dlpe-windows dlp-reaction: no-action authentication-results: linaro.org; dkim=none (message not signed) header.d=none;linaro.org; dmarc=none action=none header.from=intel.com; x-originating-ip: [42.189.177.181] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: aa4a24c8-b692-4944-2537-08d86b78954c x-ms-traffictypediagnostic: DM6PR11MB3452: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: M5/A/VBEkOSz8aoqegSXjEcS1IY2BXyC3hdq1viEY1rc9yGm0DNclGZOOhUxWcxvMJYsAJdqf3WnL8siIVsFwxaNXii6ecGhaHIvpSAAQL5yG0EfSm35r8pQGVXV35W9BhQ10kOKZoHd+g77zXJlfD8UdvPkl3UMU3oGcmZZjf+l7DvE4Qtn3ks9S5y4wdQHYcsp5+34f2ZeO6GN8GelMiICG/xxpMHQ3hpjggXlYwLS1NGMCxYZ+k4fKOzedYyhk4uEub1+AVSkTgRWPsrAavj05ATXlM+amnupzhfWhmQTl9MAWfC2yu4e7xsUVsIRpUdowzaTICrq41fl3pSCtA== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR11MB2876.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(39860400002)(366004)(346002)(136003)(376002)(396003)(2906002)(33656002)(55016002)(52536014)(26005)(5660300002)(4326008)(186003)(66476007)(54906003)(316002)(8936002)(86362001)(64756008)(478600001)(83380400001)(6916009)(71200400001)(7696005)(9686003)(66946007)(8676002)(66556008)(6506007)(66446008)(76116006);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: D1VLGm6D/0yzr6PtzN8awuH+ucOW21ofZtLiWoiMJ5hnSjgHSUZrAG7i6jj4zGDjlIA5COynJrOwP9jn3cvbxFtAi/5pVIOWEUW7iw//81snb6VjiKYocD7SirUNbN01ar3A/GRZNM9iAwvdLc2L5LLbkxWIAsBdJrP2CLn0BYjQQ3ab0Vlx4jJYqwBWdi9PQu5BF1LP49T7W4Ey4JRZIis8zey23EPTaClhGvhLPGT+jDRBJkkacblHWM16AVj2eNisMTfiHf9I4/L71t/uxXRXvO/8Jd+1+7LF1j4A+eK1CGmJ9tA5J1EvJ4HGQZ8OD/uY5Z1HGRbzfjKiTancuIho9XxHfwgSZTac96cnVwoGYGqlz7l4TeDOxg6tduUQZDpWlbpASXJ6KqtLOkbGwWQanB9CyDZonBx9573euji4OpJ/TAF/YBjC1vtbt2l6BpBluNOq5bxANWK7QdSTx9jvDrdaaUanryT1xSObbjCXptr2i/YK7MKG26uCzGeDXjKmxluJfmpEljjdkUudFyl1VP/9/T/tWpOsUjuYokIndNCGOfCTiTojh+Wd+N198ZFuJSOmivr9SjnpAZeuUHCTwoMzzg6DhrahLrVpiFzIr9VsZ9eBaYiax7D07pLvfY+vDhDZEirwqOFX+7CQAQ== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR11MB2876.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: aa4a24c8-b692-4944-2537-08d86b78954c X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Oct 2020 10:54:51.6299 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 8bAMv2SC9yXLN8kPCsb3NUklsZgSWUU6vjwFFXWhfhOgSopqbFLcebtTxQs6+HB+danmUYsfQgZXB/dYP+wjeubormSqDlXwe8FrhG5rM8ZJX0cHUJq/FSn87wNjf+Fh X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB3452 X-OriginatorOrg: intel.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGksDQoNCj4tLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPkZyb206IFVsZiBIYW5zc29uIDx1 bGYuaGFuc3NvbkBsaW5hcm8ub3JnPg0KPlNlbnQ6IFRodXJzZGF5LCBPY3RvYmVyIDgsIDIwMjAg NToyOCBQTQ0KPlRvOiBadWxraWZsaSwgTXVoYW1tYWQgSHVzYWluaSA8bXVoYW1tYWQuaHVzYWlu aS56dWxraWZsaUBpbnRlbC5jb20+DQo+Q2M6IEh1bnRlciwgQWRyaWFuIDxhZHJpYW4uaHVudGVy QGludGVsLmNvbT47IE1pY2hhbCBTaW1law0KPjxtaWNoYWwuc2ltZWtAeGlsaW54LmNvbT47IFNo ZXZjaGVua28sIEFuZHJpeQ0KPjxhbmRyaXkuc2hldmNoZW5rb0BpbnRlbC5jb20+OyBsaW51eC1t bWNAdmdlci5rZXJuZWwub3JnOyBMaW51eCBBUk0NCj48bGludXgtYXJtLWtlcm5lbEBsaXN0cy5p bmZyYWRlYWQub3JnPjsgTGludXggS2VybmVsIE1haWxpbmcgTGlzdCA8bGludXgtDQo+a2VybmVs QHZnZXIua2VybmVsLm9yZz47IFJhamEgU3VicmFtYW5pYW4sIExha3NobWkgQmFpDQo+PGxha3No bWkuYmFpLnJhamEuc3VicmFtYW5pYW5AaW50ZWwuY29tPjsgV2FuIE1vaGFtYWQsIFdhbiBBaG1h ZA0KPlphaW5pZSA8d2FuLmFobWFkLnphaW5pZS53YW4ubW9oYW1hZEBpbnRlbC5jb20+OyBBcm5k IEJlcmdtYW5uDQo+PGFybmRAYXJuZGIuZGU+DQo+U3ViamVjdDogUmU6IFtQQVRDSCB2NCA0LzRd IG1tYzogc2RoY2ktb2YtYXJhc2FuOiBFbmFibGUgVUhTLTEgc3VwcG9ydCBmb3INCj5LZWVtIEJh eSBTT0MNCj4N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NsayAmIFNESENJX0NMT0NLX0NBUkRfRU4pDQo+PiArICAgICAgICAgICAgICAg ICAgICAgICByZXR1cm4gLUVBR0FJTjsNCj4+ICsNCj4+ICsgICAgICAgICAgICAgICBzZGhjaV93 cml0ZWIoaG9zdCwgU0RIQ0lfUE9XRVJfT04gfCBTREhDSV9QT1dFUl8xODAsDQo+PiArICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgIFNESENJX1BPV0VSX0NPTlRST0wpOw0KPj4gKw0K Pj4gKyAgICAgICAgICAgICAgIC8qDQo+PiArICAgICAgICAgICAgICAgICogU2V0IFZERElPX0Ig dm9sdGFnZSB0byBMb3cgZm9yIDEuOFYNCj4+ICsgICAgICAgICAgICAgICAgKiB3aGljaCBpcyBj b250cm9sbGluZyBieSBHUElPIEV4cGFuZGVyLg0KPj4gKyAgICAgICAgICAgICAgICAqLw0KPj4g KyAgICAgICAgICAgICAgIGdwaW9kX3NldF92YWx1ZV9jYW5zbGVlcChzZGhjaV9hcmFzYW4tPnVo c19ncGlvLCAwKTsNCj4+ICsNCj4+ICsgICAgICAgICAgICAgICAvKg0KPj4gKyAgICAgICAgICAg ICAgICAqIFRoaXMgaXMgbGlrZSBhIGZpbmFsIGdhdGVrZWVwZXIuIE5lZWQgdG8gZW5zdXJlIGNo YW5nZWQgdm9sdGFnZQ0KPj4gKyAgICAgICAgICAgICAgICAqIGlzIHNldHRsZWQgYmVmb3JlIGFu ZCBhZnRlciB0dXJuIG9uIHRoaXMgYml0Lg0KPj4gKyAgICAgICAgICAgICAgICAqLw0KPj4gKyAg ICAgICAgICAgICAgIHVzbGVlcF9yYW5nZSgxMDAwLCAxMTAwKTsNCj4+ICsNCj4+ICsgICAgICAg ICAgICAgICByZXQgPSBrZWVtYmF5X3NkX3ZvbHRhZ2Vfc2VsZWN0aW9uKEtFRU1CQVlfU0VUXzFW OF9WT0xUKTsNCj4+ICsgICAgICAgICAgICAgICBpZiAocmV0KQ0KPj4gKyAgICAgICAgICAgICAg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gJiBTREhDSV9DVFJMX1ZERF8xODApKQ0KPj4gKyAgICAgICAgICAgICAgICAg ICAgICAgcmV0dXJuIC1FQUdBSU47DQo+PiArDQo+PiArICAgICAgICAgICAgICAgY2xrICA9IHNk aGNpX3JlYWR3KGhvc3QsIFNESENJX0NMT0NLX0NPTlRST0wpOw0KPj4gKyAgICAgICAgICAgICAg IGNsayB8PSBTREhDSV9DTE9DS19DQVJEX0VOOw0KPj4gKyAgICAgICAgICAgICAgIHNkaGNpX3dy aXRldyhob3N0LCBjbGssIFNESENJX0NMT0NLX0NPTlRST0wpOw0KPj4gKyAgICAgICAgICAgICAg IGJyZWFrOw0KPj4gKyAgICAgICBjYXNlIE1NQ19TSUdOQUxfVk9MVEFHRV8zMzA6DQo+PiArICAg ICAgICAgICAgICAgLyoNCj4+ICsgICAgICAgICAgICAgICAgKiBTZXQgVkRESU9fQiB2b2x0YWdl IHRvIEhpZ2ggZm9yIDMuM1YNCj4+ICsgICAgICAgICAgICAgICAgKiB3aGljaCBpcyBjb250cm9s bGluZyBieSBHUElPIEV4cGFuZGVyLg0KPj4gKyAgICAgICAgICAgICAgICAqLw0KPj4gKyAgICAg ICAgICAgICAgIGdwaW9kX3NldF92YWx1ZV9jYW5zbGVlcChzZGhjaV9hcmFzYW4tPnVoc19ncGlv LCAxKTsNCj4+ICsNCj4+ICsgICAgICAgICAgICAgICAvKg0KPj4gKyAgICAgICAgICAgICAgICAq IFRoaXMgaXMgbGlrZSBhIGZpbmFsIGdhdGVrZWVwZXIuIE5lZWQgdG8gZW5zdXJlIGNoYW5nZWQg dm9sdGFnZQ0KPj4gKyAgICAgICAgICAgICAgICAqIGlzIHNldHRsZWQgYmVmb3JlIGFuZCBhZnRl ciB0dXJuIG9uIHRoaXMgYml0Lg0KPj4gKyAgICAgICAgICAgICAgICAqLw0KPj4gKyAgICAgICAg ICAgICAgIHVzbGVlcF9yYW5nZSgxMDAwLCAxMTAwKTsNCj4+ICsNCj4+ICsgICAgICAgICAgICAg ICByZXQgPSBrZWVtYmF5X3NkX3ZvbHRhZ2Vfc2VsZWN0aW9uKEtFRU1CQVlfU0VUXzNWM19WT0xU KTsNCj4+ICsgICAgICAgICAgICAgICBpZiAocmV0KQ0KPj4gKyAgICAgICAgICAgICAgICAgICAg ICAgcmV0dXJuIHJldDsNCj4+ICsNCj4+ICsgICAgICAgICAgICAgICB1c2xlZXBfcmFuZ2UoMTAw MCwgMTEwMCk7DQo+PiArDQo+PiArICAgICAgICAgICAgICAgLyogU2V0IDEuOFYgU2lnbmFsIEVu YWJsZSBpbiB0aGUgSG9zdCBDb250cm9sMiByZWdpc3RlciB0byAwICovDQo+PiArICAgICAgICAg ICAgICAgY3RybF8yID0gc2RoY2lfcmVhZHcoaG9zdCwgU0RIQ0lfSE9TVF9DT05UUk9MMik7DQo+ PiArICAgICAgICAgICAgICAgY3RybF8yICY9IH5TREhDSV9DVFJMX1ZERF8xODA7DQo+PiArICAg ICAgICAgICAgICAgc2RoY2lfd3JpdGV3KGhvc3QsIGN0cmxfMiwgU0RIQ0lfSE9TVF9DT05UUk9M Mik7DQo+PiArDQo+PiArICAgICAgICAgICAgICAgLyogU2xlZXAgZm9yIDVtcyB0byBzdGFiaWxp emUgMy4zViByZWd1bGF0b3IgKi8NCj4+ICsgICAgICAgICAgICAgICB1c2xlZXBfcmFuZ2UoNTAw MCwgNTUwMCk7DQo+PiArDQo+PiArICAgICAgICAgICAgICAgLyogMy4zViByZWd1bGF0b3Igb3V0 cHV0IHNob3VsZCBiZSBzdGFibGUgd2l0aGluIDUgbXMgKi8NCj4+ICsgICAgICAgICAgICAgICBj dHJsXzIgPSBzZGhjaV9yZWFkdyhob3N0LCBTREhDSV9IT1NUX0NPTlRST0wyKTsNCj4+ICsgICAg ICAgICAgICAgICBpZiAoY3RybF8yICYgU0RIQ0lfQ1RSTF9WRERfMTgwKQ0KPj4gKyAgICAgICAg ICAgICAgICAgICAgICAgcmV0dXJuIC1FQUdBSU47DQo+PiArDQo+PiArICAgICAg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