Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp1218058pxv; Fri, 9 Jul 2021 22:04:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwBYEkpLYca0iBCNMW3FKKrjGC2ivnXoeRiqd+byVj+0tWTi4BkN+cR/JwZd2Bg19UN4CLt X-Received: by 2002:a17:906:998e:: with SMTP id af14mr2554648ejc.308.1625893497735; Fri, 09 Jul 2021 22:04:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1625893497; cv=pass; d=google.com; s=arc-20160816; b=DYsNeKTio2gNqhdw0xqCR9Eu1Qn8tghvnU55s5ulGg0vJHPkF9YWWQLG5OmRyFzS8y tr4oKaGvRiIKaNHwDr91lvOp5e636DcuIM+a4c25qO+LIZIRMkkM6hzSc0JjYx/UklWE cHQ/VmBl4Owvim9eQy8tYhMFJ6sqMFsz8CsGPch8Z5zp8BEb29T9lXLEK4PcovMHjAcd QKpC7alrMMNP0FHmLwGVdrlNqx+SHUC+xsK2m7UEqAIKl7XdO3keCfvuK9H3JWDjbQuk er/KoibKAUhlu76IxBSclysL4hJyjGm5TPuUQjN68aiN/KPkAbFInbIqWIZuvyI/a1bP OHlQ== 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:wdcipoutbound: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=IYmMn5rxWvDwL9YXgXJoHiJfLKk042W+g1IJaBqsQZ8=; b=L5sPn0zrwJIPPWJfXxlgV2PXylHg/c7iUSavCsugNcCgid9EYTHVsFaNQnFCIiHGZa oIK2tjptyN0wtkeV7Q1vmXuVGhKdDcVL5BzyVueTNyfAQonUE/8vYtGZjX6D3rHD6tjS GIcTsdsiavnZX+3jkjmM8HzglNMwSjahgTTpXfEXWTfAay0wmVkf4KO1LmZuq1BTk6iv Ifr5FwFQiL6RCYOVnf7AZVsjTgdNhLsW9TitzmTajte3nDv0YL/TvRqVBycpxPGmN1qK 3c8TCcFZiBwmJqafmHRSW+s/J8Q+ewQAtVnpR0fc7hd4yazjxHR1D9LIoYj9xrY10Pt0 zv9w== ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=iOMxeoBX; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector2-sharedspace-onmicrosoft-com header.b=F6B6rSqQ; arc=pass (i=1 spf=pass spfdomain=wdc.com dkim=pass dkdomain=wdc.com dmarc=pass fromdomain=wdc.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=wdc.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 9si9766544ejg.681.2021.07.09.22.04.32; Fri, 09 Jul 2021 22:04:57 -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=@wdc.com header.s=dkim.wdc.com header.b=iOMxeoBX; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector2-sharedspace-onmicrosoft-com header.b=F6B6rSqQ; arc=pass (i=1 spf=pass spfdomain=wdc.com dkim=pass dkdomain=wdc.com dmarc=pass fromdomain=wdc.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=wdc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231268AbhGJFDu (ORCPT + 99 others); Sat, 10 Jul 2021 01:03:50 -0400 Received: from esa5.hgst.iphmx.com ([216.71.153.144]:44440 "EHLO esa5.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229567AbhGJFDu (ORCPT ); Sat, 10 Jul 2021 01:03:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1625893264; x=1657429264; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=IYmMn5rxWvDwL9YXgXJoHiJfLKk042W+g1IJaBqsQZ8=; b=iOMxeoBXppS4vI+7Cc1wXQF6Ahfe2E1vag07Dj/E5e3CofjiFx2K/yD4 /YSvq6kmzv5wwsCdC7JemzJgL+wZbgM2ULYeKD7+9FpriVn0G9cSbUOP0 VTsjzV0o2ZZGECiDbWpW8jHc7RQGD1+k2VkLKzmZJzCwpmA3YSs92kVi3 8ZPyuhvMdV2u+zfCj1Pyol0BLNLK+WqEHEnu/TKXY1IKMbrQV8/S2+lBY yyzW/udnqtCALv6Eue7ZmPU+PFzql4zrtj2mlrPFUCIb35FVnpZJVr5CG KGYU7ldmjx1XoKdbhr5oYRgW5tkfv5o1pVdlqZ7pFUN6ls3AXMZd2VC+c g==; IronPort-SDR: b0vjhfMxGSijp/8XKs76yNEe+v1xgRVVHjH7tyzaQeUADCvx28rNHwr1D1fm1FigxD5GfIl4V8 xm1O9TeJ0g19wwNzQneTncG4nJ4778EwBRV84zVZOgjf6cM3PlAkRnPzgbn9OMSJaUl5gZp5x/ PmD5erB/cKdSkOhySFLMOC2rtThrli8O64YMXsaeRDCdRiHy9GvkWgxChu4QKicwB+rwZjM0Dt WxtLLXUHK/+n1EetMqJcL2I/gTIZr760lx7FL+gz+F5hO6fkh4rmmbyZA/jfiYyrZ7N4uR9fPa XlA= X-IronPort-AV: E=Sophos;i="5.84,228,1620662400"; d="scan'208";a="174231430" Received: from mail-bn8nam12lp2173.outbound.protection.outlook.com (HELO NAM12-BN8-obe.outbound.protection.outlook.com) ([104.47.55.173]) by ob1.hgst.iphmx.com with ESMTP; 10 Jul 2021 13:01:03 +0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PN1qIGCpmPgyhQoeQ8bJN0yCrvVsX6zd+/JYImjmSFyDnqaZZ2/+qH9B94nQ3fdDxLCN3sJim1CBqYTAqEgck74D5G7MQUO9bMN6eN6YWJanmUb8xWcDsgutwzSFeAcrJzjxc2qb8sAhThsiOnxAhgI8G2WOuDm2C9KSDgWGTzMb6RM9pB9WW5IIClTqeq2ChV3YKSBkfNuC0q72ew9GG51ynyOpTEw4kiUaKohMM+654oiA6UPZvBi01ijqsnCScuK9Ao2QmEopZHEe/QZs8P1mSoETOtHcgf7XTuKYem15iOxNpY74EM5tw6ERnpI5JTmNNxO5VTRFzXvH/+LqyQ== 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=IYmMn5rxWvDwL9YXgXJoHiJfLKk042W+g1IJaBqsQZ8=; b=HkOgdtszCVmD0IVDZD84FcyN7WWY+PTdMjJn2VfDCzFCX4EDMWnxJFOhR75MPQpcl8oQ3xHezyqcnTGVkrIl1pOjit9rw3yWRuv/EWumWq0XzRcwAg8ifcgKyHrUbotMwxzTQSJpsvhXRyKgCb9mERiRom7D5G7cNWz1uAJhm1fzWkdqyvXdsplnnA0ZI04nibtBuhp/PHK10mdpuVCcUXoOeLkhVnmnfouV5jUBt5vzs5S1QJTPVyHVHYzR+Q9LZaEFwgDCVeawvwqB0SMJv5dA/Ol1b/H851Jt2FRfGUL0qjgot1LIlR73dp3p2Cku4hIPtPl4zjlz+XvmUMOEZA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=wdc.com; dmarc=pass action=none header.from=wdc.com; dkim=pass header.d=wdc.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sharedspace.onmicrosoft.com; s=selector2-sharedspace-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=IYmMn5rxWvDwL9YXgXJoHiJfLKk042W+g1IJaBqsQZ8=; b=F6B6rSqQ9VUT4q/V1JxBJ2wpe5OXcZK2RgR1jqEHyGnejPAElfhaEy7V8sW5Vm3fBJ2YcnLJonT5Q+yJh5XTDPGugwSuCcjDanuJZjOPq8T1FnJEyYDuY/ow4DVxO5gKjkJda/8sXvARhR+q2TBywmJ1jO5vnBYhPiLYFY6wW0M= Received: from CO6PR04MB7812.namprd04.prod.outlook.com (2603:10b6:303:138::6) by CO6PR04MB7748.namprd04.prod.outlook.com (2603:10b6:5:359::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4308.21; Sat, 10 Jul 2021 05:01:02 +0000 Received: from CO6PR04MB7812.namprd04.prod.outlook.com ([fe80::a153:b7f8:c87f:89f8]) by CO6PR04MB7812.namprd04.prod.outlook.com ([fe80::a153:b7f8:c87f:89f8%9]) with mapi id 15.20.4308.025; Sat, 10 Jul 2021 05:01:02 +0000 From: Anup Patel To: Anup Patel , Palmer Dabbelt CC: Paul Walmsley , Albert Ou , Atish Patra , Alistair Francis , linux-riscv , "linux-kernel@vger.kernel.org List" Subject: Re: [PATCH v7 1/1] RISC-V: Use SBI SRST extension when available Thread-Topic: [PATCH v7 1/1] RISC-V: Use SBI SRST extension when available Thread-Index: AQHXXSjm4Nbpy/UYFEyspYpq1z0ej6sfiOMAgBcHegCAAUS8AIAEXe6A Date: Sat, 10 Jul 2021 05:01:02 +0000 Message-ID: <9ED386A8-60BD-44AE-A3D1-843D3CFDDF8A@wdc.com> References: In-Reply-To: Accept-Language: en-US Content-Language: en-GB X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/16.50.21061301 authentication-results: brainfault.org; dkim=none (message not signed) header.d=none;brainfault.org; dmarc=none action=none header.from=wdc.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: bad77512-55fc-47b7-d3f4-08d9435fb726 x-ms-traffictypediagnostic: CO6PR04MB7748: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: wdcipoutbound: EOP-TRUE x-ms-oob-tlc-oobclassifiers: OLM:4941; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 4/H6I3iwNDMkd+G5ZFosh4L0TVbWRDKXcMUYcxDB1DVhiBloJ6UNDUq8cWeY4sOC2tXLrR2vsO2id/d4y2fVu5nLJ8+eKUx8gEBPABZvcwbXClxT5DuSkGHt6z0CjF+SPHjWz0wrd6g+owPTTjyk97wd0kO3D6MFhYpFgZuBRkxPRE/40ekvnbkhKIvVL/tdG6mN9dMkLH8TJN7GU8isVKVQxKuOXAqlmfJvlUs/Sh7SU5sNA7SCNjXgZ8gCnzZ1wevXyoYo/1ESVus5/utREapp/XfjcVbygaTlNSi4eAZMAThwHJm2HhSdigJkt7wixpNcLxOCIqNq+s3Qeo1b3vR6AyeeWibt+Zg1i1fgqyzT+Gu51ww0U8oRNOzPo0RAGDwF6x6Sr/JL9aqn/R/eFVLd5KjAcXRvC2BZBFlcPkHOfGOQjSPZVkQ7jVfkgo2PstmqW2+H+GSC0FJD8sD1blV2GFw2onBwsNgBlGE9XWapYbbBv5zklx9YknJhD9OQBE2naw+DMfg5Ziy533H8qLEemn6AIMu7lCUyVQfOIm3usnPOyGtL4QjYugf2Lqqj55gZSyMoXZgBmMb3IiVDUEbKidlzO+rGWHj5jHcNZmGKE54Yx7XJxFHkYeSuzE+YUWsd1oPWA5HsAwBr2tlSjNi7sJq52a4u4rNC3JzLxhg3DjT2Poyq7X/dF+yfVzbeNSwwiKqwLb4PJqx8R7myjTuWOQwG0Tph37ZLBAkZ8NHPtXqs+rk5Nmd1lCVLvGwlr//nlDLP5ZDwAIE5UDQ5au039wr7iuTk65T1H18qa8bp7gzV56Jucdd5VphrXSZg x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CO6PR04MB7812.namprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(346002)(396003)(136003)(376002)(39860400002)(366004)(6486002)(122000001)(966005)(91956017)(316002)(66946007)(2616005)(4326008)(76116006)(6512007)(54906003)(478600001)(66556008)(66476007)(71200400001)(38100700002)(64756008)(110136005)(66446008)(8936002)(8676002)(53546011)(26005)(6506007)(36756003)(5660300002)(186003)(86362001)(83380400001)(2906002)(33656002)(45980500001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?a2hFbDNtZUxaTHJHek5wdHcrTWZQTXFmY2xXb1R3dXRZUmoxVjJCSlRXb015?= =?utf-8?B?aDE2YVlMR3E2TW1KelRNbUp4YVZmWTlQeDlaanNTeVN0RERjRnZwUVJNN0dw?= =?utf-8?B?VzBsZlErcHFkbFVzamI5Wk52Rnp5OU8vSnhrWmsxbUVDaGFzd3NXVVB2UHdB?= =?utf-8?B?WjFJTmdGOTd4VE1XMDZpTU8vM2g0bDFsTlF2b1BrbVJmL1p3T0VIU2wzdWtU?= =?utf-8?B?TVFVc0ljRGVkMmtMekhMdE1JclppZnFlSDV3dXh5WFVBNk55aHZrWU0xTk44?= =?utf-8?B?OHdoUC9PYnVyTTBaaDgxeUJFSG9tV3pKUUZ5dWdxSmp3czIvbFQ2Mng3M2sz?= =?utf-8?B?U2VQL2ljOUJ3aTlnMW81WGc5RzlTZkJvNjRJRTVOSWRLVXNZYzBMSHRJcnpv?= =?utf-8?B?UEtWZjBJQms3endBTVF5RlQ5VCtVT2xUSkVJa1loUTVPbzNKODg5UkZXSGh1?= =?utf-8?B?YVEwbEUvRjRocW1YVXc4VndSVzVZTTRDVHVKWW1PZUs3a2pLN3NzVXI5dUtQ?= =?utf-8?B?Zk82VmxRcDllWk5ZZ2d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OVlVnckpjNmhRYmU1b0hFeEVRS3ZCcDNlRnIrUXE0cThuTkhNVGd0?= =?utf-8?B?SVBzUzBUU05uOWpXWUJwaEF2Yno1anBDSzZmYUwzTHRoQmhrTkVRdlZjdWU2?= =?utf-8?B?ckVKNHp5MVdxazdhTmtHQTFwa2dUUG9pbW1YazVzNXh1VDdOY0xrSkZaby9u?= =?utf-8?B?WGQwdXZoa3Z6bERURzBoUExQU0k1RVNQaVJDWTNSM2Y1TFRRdlh3engvM0ZQ?= =?utf-8?B?Y0hTTzlVZ0ljdjhoREk1SXFHaEdJaERrZkxuOTk2OXpnSi9mTGNHQkZGMmR3?= =?utf-8?B?dWx0NjRmZkl3YnZuQkdSWGlERmVCanZiMEpMMEF3STF5NTJGVENXeTBZbW51?= =?utf-8?B?cFdCQ2ZNZE5aR3kzY3dMZz09?= Content-Type: text/plain; charset="utf-8" Content-ID: <3E38FEBE5CE73845B2598E932C2DD37A@namprd04.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: wdc.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO6PR04MB7812.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: bad77512-55fc-47b7-d3f4-08d9435fb726 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Jul 2021 05:01:02.2170 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b61c8803-16f3-4c35-9b17-6f65f441df86 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 9lzjmY+k6FY3q6xldNu3j5oJBGfZL8sdj5fyLuexhWrq6JHj+7K4eF1xihVYHkbRwc4eEdQvYeTrd4j2tmOvyg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO6PR04MB7748 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQoNCu+7v09uIDA4LzA3L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FRfSFNNID0gMHg0 ODUzNEQsDQogICAgPiA+PiArICAgICAgIFNCSV9FWFRfU1JTVCA9IDB4NTM1MjUzNTQsDQogICAg PiA+PiAgfTsNCiAgICA+ID4+DQogICAgPiA+PiAgZW51bSBzYmlfZXh0X2Jhc2VfZmlkIHsNCiAg ICA+ID4+IEBAIC03MCw2ICs3MSwyMSBAQCBlbnVtIHNiaV9oc21faGFydF9zdGF0dXMgew0KICAg ID4gPj4gICAgICAgICBTQklfSFNNX0hBUlRfU1RBVFVTX1NUT1BfUEVORElORywNCiAgICA+ID4+ ICB9Ow0KICAgID4gPj4NCiAgICA+ID4+ICtlbnVtIHNiaV9leHRfc3JzdF9maWQgew0KICAgID4g Pj4gKyAgICAgICBTQklfRVhUX1NSU1RfUkVTRVQgPSAwLA0KICAgID4gPj4gK307DQogICAgPiA+ PiArDQogICAgPiA+PiArZW51bSBzYmlfc3JzdF9yZXNldF90eXBlIHsNCiAgICA+ID4+ICsgICAg ICAgU0JJX1NSU1RfUkVTRVRfVFlQRV9TSFVURE9XTiA9IDAsDQogICAgPiA+PiArICAgICAgIFNC SV9TUlNUX1JFU0VUX1RZUEVfQ09MRF9SRUJPT1QsDQogICAgPiA+PiArICAgICAgIFNCSV9TUlNU X1JFU0VUX1RZUEVfV0FSTV9SRUJPT1QsDQogICAgPiA+PiArfTsNCiAgICA+ID4+ICsNCiAgICA+ ID4+ICtlbnVtIHNiaV9zcnN0X3Jlc2V0X3JlYXNvbiB7DQogICAgPiA+PiArICAgICAgIFNCSV9T UlNUX1JFU0VUX1JFQVNPTl9OT05FID0gMCwNCiAgICA+ID4+ICsgICAgICAgU0JJX1NSU1RfUkVT RVRfUkVBU09OX1NZU19GQUlMVVJFLA0KICAgID4gPj4gK307DQogICAgPiA+PiArDQogICAgPiA+ PiAgI2RlZmluZSBTQklfU1BFQ19WRVJTSU9OX0RFRkFVTFQgICAgICAgMHgxDQogICAgPiA+PiAg I2RlZmluZSBTQklfU1BFQ19WRVJTSU9OX01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mYWlsZWRcbiIsDQogICAgPiA+PiArICAgICAgICAgICAgICAgX19m dW5jX18sIHR5cGUsIHJlYXNvbik7DQogICAgPiA+PiArfQ0KICAgID4gPj4gKw0KICAgID4gPj4g K3N0YXRpYyBpbnQgc2JpX3Nyc3RfcmVib290KHN0cnVjdCBub3RpZmllcl9ibG9jayAqdGhpcywN CiAgICA+ID4+ICsgICAgICAgICAgICAgICAgICAgICAgICAgIHVuc2lnbmVkIGxvbmcgbW9kZSwg dm9pZCAqY21kKQ0KICAgID4gPj4gK3sNCiAgICA+ID4+ICsgICAgICAgc2JpX3Nyc3RfcmVzZXQo KG1vZGUgPT0gUkVCT09UX1dBUk0gfHwgbW9kZSA9PSBSRUJPT1RfU09GVCkgPw0KICAgID4gPj4g KyAgICAgICAgICAgICAgICAgICAgICBTQklfU1JTVF9SRVNFVF9UWVBFX1dBUk1fUkVCT09UIDoN CiAgICA+ID4+ICsgICAgICAgICAgICAgICAgICAgICAgU0JJX1NSU1RfUkVTRVRfVFlQRV9DT0xE X1JFQk9PVCwNCiAgICA+ID4+ICsgICAgICAgICAgICAgICAgICAgICAgU0JJX1NSU1RfUkVTRVRf UkVBU09OX05PTkUpOw0KICAgID4gPj4gKyAgICAgICByZXR1cm4gTk9USUZZX0RPTkU7DQogICAg PiA+PiArfQ0KICAgID4gPj4gKw0KICAgID4gPj4gK3N0YXRpYyBzdHJ1Y3Qgbm90aWZpZXJfYmxv Y2sgc2JpX3Nyc3RfcmVib290X25iOw0KICAgID4gPj4gKw0KICAgID4gPj4gK3N0YXRpYyB2b2lk IHNiaV9zcnN0X3Bvd2VyX29mZih2b2lkKQ0KICAgID4gPj4gK3sNCiAgICA+ID4+ICsgICAgICAg c2JpX3Nyc3RfcmVzZXQoU0JJX1NSU1RfUkVTRVRfVFlQRV9TSFVURE9XTiwNCiAgICA+ID4+ICsg ICAgICAgICAgICAgICAgICAgICAgU0JJX1NSU1RfUkVTRVRfUkVBU09OX05PTkUpOw0KICAgID4g Pj4gK30NCiAgICA+ID4+ICsNCiAgICA+ID4+ICAvKioNCiAgICA+ID4+ICAgKiBzYmlfcHJvYmVf ZXh0ZW5zaW9uKCkgLSBDaGVjayBpZiBhbiBTQkkgZXh0ZW5zaW9uIElEIGlzIHN1cHBvcnRlZCBv ciBub3QuDQogICAgPiA+PiAgICogQGV4dGlkOiBUaGUgZXh0ZW5zaW9uIElEIHRvIGJlIHByb2Jl ZC4NCiAgICA+ID4+IEBAIC02MDgsNiArNjM1LDE0IEBAIHZvaWQgX19pbml0IHNiaV9pbml0KHZv aWQpDQogICAgPiA+PiAgICAgICAgICAgICAgICAgfSBlbHNlIHsNCiAgICA+ID4+ICAgICAgICAg ICAgICAgICAgICAgICAgIF9fc2JpX3JmZW5jZSAgICA9IF9fc2JpX3JmZW5jZV92MDE7DQogICAg PiA+PiAgICAgICAgICAgICAgICAgfQ0KICAgID4gPj4gKyAgICAgICAgICAgICAgIGlmICgoc2Jp X3NwZWNfdmVyc2lvbiA+PSBzYmlfbWtfdmVyc2lvbigwLCAzKSkgJiYNCiAgICA+ID4+ICsgICAg ICAgICAgICAgICAgICAgKHNiaV9wcm9iZV9leHRlbnNpb24oU0JJX0VYVF9TUlNUKSA+IDApKSB7 DQogICAgPiA+PiArICAgICAgICAgICAgICAgICAgICAgICBwcl9pbmZvKCJTQkkgU1JTVCBleHRl bnNpb24gZGV0ZWN0ZWRcbiIpOw0KICAgID4gPj4gKyAgICAgICAgICAgICAgICAgICAgICAgcG1f cG93ZXJfb2ZmID0gc2JpX3Nyc3RfcG93ZXJfb2ZmOw0KICAgID4gPj4gKyAgICAgICAgICAgICAg ICAgICAgICAgc2JpX3Nyc3RfcmVib290X25iLm5vdGlmaWVyX2NhbGwgPSBzYmlfc3JzdF9yZWJv b3Q7DQogICAgPiA+PiArICAgICAgICAgICAgICAgICAgICAgICBzYmlfc3JzdF9yZWJvb3RfbmIu cHJpb3JpdHkgPSAxOTI7DQogICAgPiA+PiArICAgICAgICAgICAgICAgICAgICAgICByZWdpc3Rl cl9yZXN0YXJ0X2hhbmRsZXIoJnNiaV9zcnN0X3JlYm9vdF9uYik7DQogICAgPiA+PiArICAgICAg ICAgICAgICAgfQ0KICAgID4gPj4gICAgICAgICB9IGVsc2Ugew0KICAgID4gPj4gICAgICAgICAg ICAgICAgIF9fc2JpX3NldF90aW1lciA9IF9fc2JpX3NldF90aW1lcl92MDE7DQogICAgPiA+PiAg ICAgICAgICAgICAgICAgX19zYmlfc2VuZF9pcGkgID0gX19zYmlfc2VuZF9pcGlfdjAxOw0KICAg ID4gPj4gLS0NCiAgICA+ID4+IDIuMjUuMQ0KICAgID4gPj4NCg0K