Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp3831015pxb; Tue, 19 Apr 2022 10:37:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzZx/W3wmBs5hquGgfbkNisakQZGfguZBTpMm8+cMsyC8/Zdatk16StRWVJb5G/gkti3GIr X-Received: by 2002:a17:902:da8b:b0:158:fd5f:2b35 with SMTP id j11-20020a170902da8b00b00158fd5f2b35mr10435760plx.42.1650389840406; Tue, 19 Apr 2022 10:37:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650389840; cv=none; d=google.com; s=arc-20160816; b=b3DLCpj0i81ZCAuEKYZ+25ALnyM1Cd7otZoGpPTyCJpI7FpRuTROCGQpXWCLU1pQ+4 ofgEyT0HxM21eHvNSTVxXH5MqsumrmVfL6+IZaUYrSyBJ13MjI17L8MCGwYpTURKLdsU r9P+0fDlppdNF5NI2yUHll8HnhdlRVg1yjiGbG8lJCoWIlDRtU1OAgZiKb9QxGS8Cefe MFbTsmYtaFV5CjILRmWPKTHwCARj4VSiCDuYvOh80Dgc5OjDwXvGqEraLxZSTu2lhO7t FfruPKXUsrgKUaRj+dJEDYZ6Lbsog05/B6QbZwAJiqBUXOiSW5kMr9mjNaiyRjgFy85/ Cauw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=S7PSfaXPTh9S0EpspCPwc83tfoTkL8uEHmuB7PGjDzY=; b=0JJas5M6X+CuvsFGRjACWdB4WHBWi6DVG5WgJ/PPlvy6ZSRJFVnU80snLhVDhyMvpM wfO46xUr5UIAbHiokbgs409o972lFpDmzDIBtuN5r/slHhdKBqVhJFpusUD0qJyYUzFT Od4SAtUy51BImQ+WOGcHl2pJAiq9iGXPqlCLcuGMzjncuj4wtQzJawpKiju0NLckbWTa r36wXwSL78CRiR6+/4d8d7SQIod0chtueeBVqNvjZXiEwLNYRaoIRtR8iPFth7a2wIGm iOo/IqqmqTOuexXEubShnxYIfr7pUO1s2z7yejYHf019QgbI3kVIROPQL7cR33LjEQbB aGbw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k1-20020a628401000000b00505897f9aa8si11603149pfd.185.2022.04.19.10.37.03; Tue, 19 Apr 2022 10:37:20 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242110AbiDSKNX (ORCPT + 99 others); Tue, 19 Apr 2022 06:13:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38858 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229599AbiDSKNQ (ORCPT ); Tue, 19 Apr 2022 06:13:16 -0400 X-Greylist: delayed 123 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Tue, 19 Apr 2022 03:10:28 PDT Received: from mg.sunplus.com (mswedge2.sunplus.com [60.248.182.106]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 829791BE85; Tue, 19 Apr 2022 03:10:28 -0700 (PDT) X-MailGates: (compute_score:DELIVER,40,3) Received: from 172.17.9.202 by mg02.sunplus.com with MailGates ESMTP Server V5.0(12346:0:AUTH_RELAY) (envelope-from ); Tue, 19 Apr 2022 17:49:49 +0800 (CST) Received: from sphcmbx02.sunplus.com.tw (172.17.9.112) by sphcmbx01.sunplus.com.tw (172.17.9.202) with Microsoft SMTP Server (TLS) id 15.0.1497.26; Tue, 19 Apr 2022 17:49:44 +0800 Received: from sphcmbx02.sunplus.com.tw ([fe80::fd3d:ad1a:de2a:18bd]) by sphcmbx02.sunplus.com.tw ([fe80::fd3d:ad1a:de2a:18bd%14]) with mapi id 15.00.1497.026; Tue, 19 Apr 2022 17:49:44 +0800 From: =?big5?B?V2VsbHMgTHUgp2aq2sTL?= To: Jakub Kicinski , Wells Lu CC: "davem@davemloft.net" , "robh+dt@kernel.org" , "netdev@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "p.zabel@pengutronix.de" , "pabeni@redhat.com" , "krzk+dt@kernel.org" , "roopa@nvidia.com" , "andrew@lunn.ch" , "edumazet@google.com" Subject: RE: [PATCH net-next v8 2/2] net: ethernet: Add driver for Sunplus SP7021 Thread-Topic: [PATCH net-next v8 2/2] net: ethernet: Add driver for Sunplus SP7021 Thread-Index: AQHYTt60q5RPpkXZvk6NoPqcLCmB1Kzuz6GAgAH4ZRA= Date: Tue, 19 Apr 2022 09:49:44 +0000 Message-ID: References: <1649817118-14667-1-git-send-email-wellslutw@gmail.com> <1649817118-14667-3-git-send-email-wellslutw@gmail.com> <20220414141825.50eb8b6a@kernel.org> In-Reply-To: <20220414141825.50eb8b6a@kernel.org> Accept-Language: zh-TW, en-US Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [172.25.108.39] Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, 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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FcnJvciAgICAgICAgICAgKi8NCj4gPiArI2RlZmluZSBNQUNfSU5UX1JYX0RF U19FUlIgICAgICAgICBCSVQoMCkgIC8qIFJ4IERlc2NyaXB0b3IgRXJyb3IgICAgICAgICAgICov DQo+ID4gKw0KPiA+ICsjZGVmaW5lIE1BQ19JTlRfUlggICAgICAgICAgICAgICAgIChNQUNfSU5U X1JYX0RPTkVfSCB8IE1BQ19JTlRfUlhfRE9ORV9MIHwgXA0KPiA+ICsgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgIE1BQ19JTlRfUlhfREVTX0VSUikNCj4gPiArI2RlZmluZSBNQUNf SU5UX1RYICAgICAgICAgICAgICAgICAoTUFDX0lOVF9UWF9ET05FX0wgfCBNQUNfSU5UX1RYX0RP TkVfSCB8IFwNCj4gPiArICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBNQUNfSU5U X1RYX0RFU19FUlIpDQo+ID4gKyNkZWZpbmUgTUFDX0lOVF9NQVNLX0RFRiAgICAgICAgICAgKE1B Q19JTlRfREFJU1lfTU9ERV9DSEcgfCBNQUNfSU5UX0lQX0NIS1NVTV9FUlIgfCBcDQo+ID4gKyAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgTUFDX0lOVF9XRE9HX1RJTUVSMV9FWFAg fCBNQUNfSU5UX1dET0dfVElNRVIwX0VYUCB8IFwNCj4gPiArICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICBNQUNfSU5UX0lOVFJVREVSX0FMRVJUIHwgTUFDX0lOVF9QT1JUX1NUX0NI RyB8IFwNCj4gPiArICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBNQUNfSU5UX0JD X1NUT1JNIHwgTUFDX0lOVF9NVVNUX0RST1BfTEFOIHwgXA0KPiA+ICsgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgIE1BQ19JTlRfR0xPQkFMX1FVRV9GVUxMIHwgTUFDX0lOVF9UWF9T T0NfUEFVU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WFkgICAgICAgICAgICAg ICAgICAgICAgICBCSVQoMykNCj4gPiArI2RlZmluZSBNQUNfUl9NQ19JTkdSRVNTICAgICAgICAg ICBCSVQoMikNCj4gPiArI2RlZmluZSBNQUNfQVRfVEFCTEVfRU5EICAgICAgICAgICBCSVQoMSkN Cj4gPiArI2RlZmluZSBNQUNfQVRfREFUQV9SRUFEWSAgICAgICAgICBCSVQoMCkNCj4gPiArDQo+ ID4gKy8qIFd0IG1hYyBhZDAgKi8NCj4gPiArI2RlZmluZSBNQUNfV19QT1JUX01BUCAgICAgICAg ICAgICAgICAgICAgIEdFTk1BU0soMTMsIDEyKQ0KPiA+ICsjZGVmaW5lIE1BQ19XX0xBTl9QT1JU XzEgICAgICAgICAgIEJJVCgxMykNCj4gPiArI2RlZmluZSBNQUNfV19MQU5fUE9SVF8wICAgICAg ICAgICBCSVQoMTIpDQo+ID4gKyNkZWZpbmUgTUFDX1dfQ1BVX1BPUlQgICAgICAgICAgICAgICAg ICAgICBHRU5NQVNLKDExLCAxMCkNCj4gPiArI2RlZmluZSBNQUNfV19DUFVfUE9SVF8xICAgICAg ICAgICBCSVQoMTEpDQo+ID4gKyNkZWZpbmUgTUFDX1dfQ1BVX1BPUlRfMCAgICAgICAgICAgQklU KDEwKQ0KPiA+ICsjZGVmaW5lIE1BQ19XX1ZJRCAgICAgICAgICAgICAgICAgIEdFTk1BU0soOSwg NykNCj4gPiArI2RlZmluZSBNQUNfV19BR0UgICAgICAgICAgICAgICAgICBHRU5NQVNLKDYsIDQp DQo+ID4gKyNkZWZpbmUgTUFDX1dfUFJPWFkgICAgICAgICAgICAgICAgICAgICAgICBCSVQoMykN Cj4gPiArI2RlZmluZSBNQUNfV19NQ19JTkdSRVNTICAgICAgICAgICBCSVQoMikNCj4gPiArI2Rl ZmluZSBNQUNfV19NQUNfRE9ORSAgICAgICAgICAgICAgICAgICAgIEJJVCgxKQ0KPiA+ICsjZGVm aW5lIE1BQ19XX01BQ19DTUQgICAgICAgICAgICAg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BSWF9RVUVVRTBfREVT Q19OVU0gICAgICAgICAxNiAgICAgIC8qICMgb2YgZGVzY3JpcHRvcnMgaW4gUlggcXVldWUgMCAq Lw0KPiA+ICsjZGVmaW5lIFJYX1FVRVVFMV9ERVNDX05VTSAgICAgICAgIDE2ICAgICAgLyogIyBv ZiBkZXNjcmlwdG9ycyBpbiBSWCBxdWV1ZSAxICovDQo+ID4gKyNkZWZpbmUgVFhfREVTQ19RVUVV RV9OVU0gICAgICAgICAgMSAgICAgICAvKiAjIG9mIFRYIHF1ZXVlICAgICAgICAgICAgICAgICAg Ki8NCj4gPiArI2RlZmluZSBSWF9ERVNDX1FVRVVFX05VTSAgICAgICAgICAyICAgICAgIC8qICMg b2YgUlggcXVldWUgICAgICAgICAgICAgICAgICAqLw0KPiA+ICsNCj4gPiArI2RlZmluZSBNQUNf UlhfTEVOX01BWCAgICAgICAgICAgICAgICAgICAgIDIwNDcgICAgLyogU2l6ZSBvZiBSWCBidWZm ZXIgICAgICAgKi8NCj4gPiArDQo+ID4gKy8qIFR4IGRlc2NyaXB0b3IgKi8NCj4gPiArLyogY21k MSAqLw0KPiA+ICsjZGVmaW5lIFRYRF9PV04gICAgICAgICAgICAgICAgICAgICAgICAgICAgQklU KDMxKQ0KPiA+ICsjZGVmaW5lIFRYRF9FUlJfQ09ERSAgICAgICAgICAgICAgICAgICAgICAgR0VO TUFTSygyOSwgMjYpDQo+ID4gKyNkZWZpbmUgVFhEX1NPUCAgICAgICAgICAgICAgICAgICAgICAg ICAgICBCSVQoMjUpICAgICAgICAgLyogc3RhcnQgb2YgYSBwYWNrZXQgKi8NCj4gPiArI2RlZmlu ZSBUWERfRU9QICAgICAgICAgICAgICAgICAgICAgICAgICAgIEJJVCgyNCkgICAgICAgICAvKiBl bmQgb2YgYSBwYWNrZXQgKi8NCj4gPiArI2RlZmluZSBUWERfVkxBTiAgICAgICAgICAgICAgICAg ICBHRU5NQVNLKDE3LCAxMikNCj4gPiArI2RlZmluZSBUWERfUEtUX0xFTiAgICAgICAgICAgICAg ICAgICAgICAgIEdFTk1BU0soMTAsIDApICAvKiBwYWNrZXQgbGVuZ3RoICovDQo+ID4gKy8qIGNt ZDIgKi8NCj4gPiArI2RlZmluZSBUWERfRU9SICAgICAgICAgICAgICAgICAgICAgICAgICAgIEJJ VCgzMSkgICAgICAgICAvKiBlbmQgb2YgcmluZyAqLw0KPiA+ICsjZGVmaW5lIFRYRF9CVUZfTEVO MiAgICAgICAgICAgICAgICAgICAgICAgR0VOTUFTSygyMiwgMTIpDQo+ID4gKyNkZWZpbmUgVFhE X0JVRl9MRU4xICAgICAgICAgICAgICAgICAgICAgICBHRU5NQVNLKDEwLCAwKQ0KPiA+ICsNCj4g PiArLyogUnggZGVzY3JpcHRvciAqLw0KPiA+ICsvKiBjbWQxICovDQo+ID4gKyNkZWZpbmUgUlhE X09XTiAgICAgICAgICAgICAgICAgICAgICAgICAgICBCSVQoMzEpDQo+ID4gKyNkZWZpbmUgUlhE X0VSUl9DT0RFICAgICAgICAgICAgICAgICAgICAgICBHRU5NQVNLKDI5LCAyNikNCj4gPiArI2Rl ZmluZSBSWERfVENQX1VEUF9DSEtTVU0gICAgICAgICBCSVQoMjMpDQo+ID4gKyNkZWZpbmUgUlhE X1BST1hZICAgICAgICAgICAgICAgICAgQklUKDIyKQ0KPiA+ICsjZGVmaW5lIFJYRF9QUk9UT0NP TCAgICAgICAgICAgICAgICAgICAgICAgR0VOTUFTSygyMSwgMjApDQo+ID4gKyNkZWZpbmUgUlhE X1ZMQU5fVEFHICAgICAgICAgICAgICAgICAgICAgICBCSVQoMTkpDQo+ID4gKyNkZWZpbmUgUlhE X0lQX0NIS1NVTSAgICAgICAgICAgICAgICAgICAgICBCSVQoMTgpDQo+ID4gKyNkZWZpbmUgUlhE X1JPVVRFX1RZUEUgICAgICAgICAgICAgICAgICAgICBHRU5NQVNLKDE3LCAxNikNCj4gPiArI2Rl ZmluZSBSWERfUEtUX1NQICAgICAgICAgICAgICAgICBHRU5NQV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A+ICsgICAgICAgICAgICAgICAg ICAgY29udGludWU7DQo+ID4gKw0KPiA+ICsgICAgICAgICAgIHJ4X2Rlc2MgPSBjb21tLT5yeF9k ZXNjW2ldOw0KPiA+ICsgICAgICAgICAgIHJ4X3NrYmluZm8gPSBjb21tLT5yeF9za2JfaW5mb1tp XTsNCj4gPiArICAgICAgICAgICBmb3IgKGogPSAwOyBqIDwgY29tbS0+cnhfZGVzY19udW1baV07 IGorKykgew0KPiA+ICsgICAgICAgICAgICAgICAgICAgcnhfZGVzY1tqXS5jbWQxID0gMDsNCj4g PiArICAgICAgICAgICAgICAgICAgIHdtYigpOyAgLyogQ2xlYXIgUlhEX09XTiBhbmQgdGhlbiBz ZXQgb3RoZXIgZmllbGRzLiAqLw0KPiA+ICsgICAgICAgICAgICAgICAgICAgcnhfZGVzY1tqXS5j bWQyID0gMDsNCj4gPiArICAgICAgICAgICAgICAgICAgIHJ4X2Rlc2Nbal0uYWRkcjEgPSAwOw0K PiA+ICsNCj4gPiArICAgICAgICAgICAgICAgICAgIGlmIChyeF9za2JpbmZvW2pdLnNrYikgew0K PiA+ICsgICAgICAgICAgICAgICAgICAgICAgICAgICBkbWFfdW5tYXBfc2luZ2xlKCZjb21tLT5w ZGV2LT5kZXYsIHJ4X3NrYmluZm9bal0ubWFwcGluZywNCj4gPiArICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICBjb21tLT5yeF9kZXNjX2J1ZmZfc2l6ZSwgRE1BX0ZS T01fREVWSUNFKTsNCj4gPiArICAgICAgICAgICAgICAgICAgICAgICAgICAgZGV2X2tmcmVlX3Nr Yl9hbnkocnhfc2tiaW5mb1tqXS5za2IpOw0KPiA+ICsgICAgICAgICAgICAgICAgICAgICAgICAg ICByeF9za2JpbmZvW2pdLnNrYiA9IE5VTEw7DQo+ID4gKyAgICAgICAgICAgICAgICAgICAgICAg ICAgIHJ4X3NrYmluZm9bal0ubWFwcGluZyA9IDA7DQo+ID4gKyAgICAgICA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j4gPiArDQo+ID4gKyAgICAgICAgICAgcnhfc2tiaW5mbyA9IGNv bW0tPnJ4X3NrYl9pbmZvW2ldOw0KPiA+ICsgICAgICAgICAgIHJ4X2Rlc2MgPSBjb21tLT5yeF9k ZXNjW2ldOw0KPiA+ICsgICAgICAgICAgIGZvciAoaiA9IDA7IGogPCBjb21tLT5yeF9kZXNjX251 bVtpXTsgaisrKSB7DQo+ID4gKyAgICAgICAgICAgICAgICAgICBza2IgPSBuZXRkZXZfYWxsb2Nf c2tiKE5VTEwsIGNvbW0tPnJ4X2Rlc2NfYnVmZl9zaXplKTsNCj4gPiArICAgICAgICAgICAgICAg ICAgIGlmICghc2tiKQ0KPiA+ICsgICAgICAgICAgICAgICAgICAgICAgICAgICBnb3RvIG1lbV9h bGxvY19mYWlsOw0KPiA+ICsNCj4gPiArICAgICAgICAgICAgICAgICAgIHJ4X3NrYmluZm9bal0u c2tiID0gc2tiOw0KPiA+ICsgICAgICAgICAgICAgICAgICAgcnhfc2tiaW5mb1tqXS5tYXBwaW5n ID0gZG1hX21hcF9zaW5nbGUoJmNvbW0tPnBkZXYtPmRldiwgc2tiLT5kYXRhLA0KPiA+ICsgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY29t bS0+cnhfZGVzY19idWZmX3NpemUsDQo+ID4gKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICBETUFfRlJPTV9ERVZJQ0UpOw0KPiA+ICsgICAg ICAgICAgICAgICAgICAgaWYgKGRtYV9tYXBwaW5nX2Vycm9yKCZjb21tLT5wZGV2LT5kZXYsIHJ4 X3NrYmluZm9bal0ubWFwcGluZykpDQo+ID4gKyAgICAgICAgICAgICAgICAgICAgICAgICAgIGdv dG8gbWVtX2FsbG9jX2ZhaWw7DQo+DQo+IENhbiB5b3UgY2FsbCBzcGwyc3dfcnhfZGVzY3NfY2xl YW4oKSBoZXJlIHdpdGhvdXQgY2xlYXJpbmcgdGhlIHNrYj8NCj4gSXQgd2lsbCB0cnkgdG8gdW5t YXAgdGhlIGVycm9yIG1hcHBpbmcuDQoNCk5vLCBpdCBpcyB3cm9uZy4NCkkgd2lsbCBtb2RpZnkg dGhlIHN0YXRlbWVudHMgYXMgc2hvd24gYmVsb3c6DQoNCiAgICAgICAgdTMyIG1hcHBpbmc7DQog ICAgICAgICAgICAgICAgOg0KICAgICAgICAgICAgICAgIDoNCiAgICAgICAgcnhfc2tiaW5mb1tq XS5za2IgPSBza2I7DQogICAgICAgIG1hcHBpbmcgPSBkbWFfbWFwX3NpbmdsZSgmY29tbS0+cGRl di0+ZGV2LCBza2ItPmRhdGEsDQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb21t LT5yeF9kZXNjX2J1ZmZfc2l6ZSwNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIERN QV9GUk9NX0RFVklDRSk7DQogICAgICAgIGlmIChkbWFfbWFwcGluZ19lcnJvcigmY29tbS0+cGRl di0+ZGV2LCBtYXBwaW5nKSkNCiAgICAgICAgICAgICAgICBnb3RvIG1lbV9hbGxvY19mYWlsOw0K DQogICAgICAgIHJ4X3NrYmluZm9bal0ubWFwcGluZyA9IG1hcHBpbmc7DQogICAgICAgIHJ4X2Rl c2Nbal0uYWRkcjEgPSBtYXBwaW5nOw0KICAgICAgICByeF9kZXNjW2pdLmFkZHIyID0gMDsNCiAg ICAgICAgICAgICAgICA6DQoNCg0KPg0KPiA+ICsgICAgICAgICAgICAgICAgICAgcnhfZGVzY1tq XS5hZGRyMSA9IHJ4X3NrYmluZm9bal0ubWFwcGluZzsNCj4gPiArICAgICAgICAgICAgICAgICAg IHJ4X2Rlc2Nbal0uYWRkcjIgPSAwOw0KPiA+ICsgICAgICAgICAgICAgICAgICAgcnhfZGVzY1tq XS5jbWQyID0gKGogPT0gY29tbS0+cnhfZGVzY19udW1baV0gLSAxKSA/DQo+ID4gKyAgICAgICAg IC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FTiAtIHNr Yi0+bGVuKSkgew0KPiA+ICsgICAgICAgICAgICAgICAgICAgbWVtc2V0KHNrYl9wdXQoc2tiLCBF VEhfWkxFTiAtIHNrYi0+bGVuKSwgJ1wwJywNCj4gPiArICAgICAgICAgICAgICAgICAgICAgICAg ICBFVEhfWkxFTiAtIHNrYi0+bGVuKTsNCj4gPiArICAgICAgICAgICB9IGVsc2Ugew0KPiA+ICsg ICAgICAgICAgICAgICAgICAgc3RydWN0IHNrX2J1ZmYgKm9sZF9za2IgPSBza2I7DQo+ID4gKw0K PiA+ICsgICAgICAgICAgICAgICAgICAgc2tiID0gbmV0ZGV2X2FsbG9jX3NrYihuZGV2LCBFVEhf WkxFTik7DQo+ID4gKyAgICAgICAgICAgICAgICAgICBpZiAoc2tiKSB7DQo+ID4gKyAgICAgICAg ICAgICAgICAgICAgICAgICAgIG1lbXNldChza2ItPmRhdGEgKyBvbGRfc2tiLT5sZW4sICdcMCcs DQo+ID4gKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBFVEhfWkxFTiAtIG9sZF9z a2ItPmxlbik7DQo+ID4gKyAgICAgICAgICAgICAgICAgICAgICAgICAgIG1lbWNweShza2ItPmRh dGEsIG9sZF9za2ItPmRhdGEsIG9sZF9za2ItPmxlbik7DQo+ID4gKyAgICAgICAgICAgICAgICAg ICAgICAgICAgIHNrYl9wdXQoc2tiLCBFVEhfWkxFTik7DQo+ID4gKyAgICAgICAgICAgICAgICAg ICAgICAgICAgIGRldl9rZnJlZV9za2Iob2xkX3NrYik7DQo+ID4gKyAgICAgICAgICAgICAgICAg ICB9IGVsc2Ugew0KPiA+ICsgICAgICAgICAgICAgICAgICAgICAgICAgICBza2IgPSBvbGRfc2ti Ow0KPiA+ICsgICAgICAgICAgICAgICAgICAgfQ0KPiA+ICsgICAgICAgICAgIH0NCj4gPiArICAg fQ0KPg0KPiBza2JfcGFkdG8oKQ0KDQpJJ2xsIHJlcGxhY2UgdGhlIHdob2xlICJpZiAodW5saWtl bHkoc2tiLT5sZW4gPCBFVEhfWkxFTikpIHsgLi4ufSAiIHN0YXRlbWVudCBhYm92ZSB3aXRoOg0K DQogICAgICAgIGlmICh1bmxpa2VseShza2ItPmxlbiA8IEVUSF9aTEVOKSB7DQogICAgICAgICAg ICAgICAgaWYgKHNrYl9wYWR0byhza2IsIEVUSF9aTEVOKSkNCiAgICAgICAgICAgICAgICAgICAg ICAgIHJldHVybiBORVRERVZfVFhfT0s7DQogICAgICAgICAgICAgICAgc2tiX3B1dChza2IsIEVU SF9aTEVOIC0gc2tiLT5sZW4pOw0KICAgICAgICB9DQoNCg0KPg0KPiA+ICsgICBzcGluX2xvY2tf aXJxc2F2ZSgmY29tbS0+dHhfbG9jaywgZmxhZ3MpOw0KPiA+ICsgICB0eF9wb3MgPSBjb21tLT50 eF9wb3M7DQo+ID4gKyAgIHR4ZGVzYyA9ICZjb21tLT50eF9kZXNjW3R4X3Bvc107DQo+ID4gKyAg IHNrYmluZm8gPSAmY29tbS0+dHhfdGVtcF9za2JfaW5mb1t0eF9wb3NdOw0KPiA+ICsgICBza2Jp bmZvLT5sZW4gPSBza2ItPmxlbjsNCj4gPiArICAgc2tiaW5mby0+c2tiID0gc2tiOw0KPiA+ICsg ICBza2JpbmZvLT5tYXBwaW5nID0gZG1hX21hcF9zaW5nbGUoJmNvbW0tPnBkZXYtPmRldiwgc2ti LT5kYXRhLA0KPiA+ICsgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgc2tiLT5s ZW4sIERNQV9UT19ERVZJQ0UpOw0KPiA+ICsgICBpZiAoZG1hX21hcHBpbmdfZXJyb3IoJmNvbW0t PnBkZXYtPmRldiwgc2tiaW5mby0+bWFwcGluZykpIHsNCj4gPiArICAgICAgICAgICBuZGV2LT5z dGF0cy50eF9lcnJvcnMrKzsNCj4gPiArICAgICAgICAgICBkZXZfa2ZyZWVfc2tiKHNrYik7DQo+ ID4gKyAgICAgICAgICAgc2tiaW5mby0+bWFwcGluZyA9IDA7DQo+ID4gKyAgICAgICAgICAgc2ti aW5mby0+bGVuID0gMDsNCj4gPiArICAgICAgICAgICBza2JpbmZvLT5za2IgPSBOVUxMOw0KPg0K PiBEb24ndCBpbml0IHRoZXNlIGJlZm9yZSBkbWFfbWFwX3NpbmdsZSgpIHNvIHlvdSB3b24ndCBo YXZlIHRvIGNsZWFyDQo+IHRoZW0gb24gZmFpbHVyZS4NCg0KSSdsbCByZS13cml0ZSBhYm92ZSBj b2RlIGFzIHNob3duIGJlbG93Og0KDQogICAgICAgIHUzMiBtYXBwaW5nDQogICAgICAgICAgICAg ICAgOg0KICAgICAgICAgICAgICAgIDoNCiAgICAgICAgc3Bpbl9sb2NrX2lycXNhdmUoJmNvbW0t PnR4X2xvY2ssIGZsYWdzKTsNCiAgICAgICAgbWFwcGluZyA9IGRtYV9tYXBfc2luZ2xlKCZjb21t LT5wZGV2LT5kZXYsIHNrYi0+ZGF0YSwNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg IHNrYi0+bGVuLCBETUFfVE9fREVWSUNFKTsNCiAgICAgICAgaWYgKGRtYV9tYXBwaW5nX2Vycm9y KCZjb21tLT5wZGV2LT5kZXYsIG1hcHBpbmcpKSB7DQogICAgICAgICAgICAgICAgbmRldi0+c3Rh dHMudHhfZXJyb3JzKys7DQogICAgICAgICAgICAgICAgZGV2X2tmcmVlX3NrYihza2IpOw0KICAg ICAgICAgICAgICAgIGdvdG8geG1pdF9kcm9wOw0KICAgICAgICB9DQogICAgICAgIHR4X3BvcyA9 IGNvbW0tPnR4X3BvczsNCiAgICAgICAgdHhkZXNjID0gJmNvbW0tPnR4X2Rlc2NbdHhfcG9zXTsN CiAgICAgICAgc2tiaW5mbyA9ICZjb21tLT50eF90ZW1wX3NrYl9pbmZvW3R4X3Bvc107DQogICAg ICAgIHNrYmluZm8tPmxlbiA9IHNrYi0+bGVuOw0KICAgICAgICBza2JpbmZvLT5za2IgPSBza2I7 DQoNCg0KPg0KPiA+ICsgICAgICAg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AgLyogR2V0IHBvcnRAaSBvZiBub2RlIGV0aGVybmV0LXBvcnRzLiAqLw0KPiA+ICsgICAg ICAgICAgIHBvcnRfbnAgPSBzcGwyc3dfZ2V0X2V0aF9jaGlsZF9ub2RlKGV0aF9wb3J0c19ucCwg aSk7DQo+ID4gKyAgICAgICAgICAgaWYgKCFwb3J0X25wKQ0KPiA+ICsgICAgICAgICAgICAgICAg ICAgY29udGludWU7DQo+ID4gKw0KPiA+ICsgICAgICAgICAgIC8qIEdldCBwaHktbW9kZS4gKi8N Cj4gPiArICAgICAgICAgICBpZiAob2ZfZ2V0X3BoeV9tb2RlKHBvcnRfbnAsICZwaHlfbW9kZSkp IHsNCj4gPiArICAgICAgICAgICAgICAgICAgIGRldl9lcnIoJnBkZXYtPmRldiwgIkZhaWxlZCB0 byBnZXQgcGh5LW1vZGUgcHJvcGVydHkgb2YgcG9ydEAlZCFcbiIsDQo+ID4gKyAgICAgICAgICAg ICAgICAgICAgICAgICAgIGkpOw0KPiA+ICsgICAgICAgICAgICAgICAgICAgY29udGludWU7DQo+ ID4gKyAgICAgICAgICAgfQ0KPiA+ICsNCj4gPiArICAgICAgICAgICAvKiBHZXQgcGh5LWhhbmRs ZS4gKi8NCj4gPiArICAgICAgICAgICBwaHlfbnAgPSBvZl9wYXJzZV9waGFuZGxlKHBvcnRfbnAs ICJwaHktaGFuZGxlIiwgMCk7DQo+ID4gKyAgICAgICAgICAgaWYgKCFwaHlfbnApIHsNCj4gPiAr ICAgICAgICAgICAgICAgICAgIGRldl9lcnIoJnBkZXYtPmRldiwgIkZhaWxlZCB0byBnZXQgcGh5 LWhhbmRsZSBwcm9wZXJ0eSBvZiBwb3J0QCVkIVxuIiwNCj4gPiArICAgICAgICAgICAgICAgICAg ICAgICAgICAgaSk7DQo+ID4gKyAgICAgICAgICAgICAgICAgICBjb250aW51ZTsNCj4gPiArICAg ICAgICAgICB9DQo+ID4gKw0KPiA+ICsgICAgICAgICAgIC8qIEdldCBtYWMtYWRkcmVzcyBmcm9t IG52bWVtLiAqLw0KPiA+ICsgICAgICAgICAgIHJldCA9IHNwbDJzd19udm1lbV9nZXRfbWFjX2Fk ZHJlc3MoJnBkZXYtPmRldiwgcG9ydF9ucCwgbWFjX2FkZHIpOw0KPiA+ICsgICAgICAgICAgIGlm IChyZXQpIHsNCj4gPiArICAgICAgICAgICAgICAgICAgIGRldl9pbmZvKCZwZGV2LT5kZXYsICJH ZW5lcmF0ZSBhIHJhbmRvbSBtYWMgYWRkcmVzcyFcbiIpOw0KPiA+ICsNCj4gPiArICAgICAgICAg ICAgICAgICAgIC8qIEdlbmVyYXRlIGEgbWFjIGFkZHJlc3MgdXNpbmcgT1VJIG9mIFN1bnBsdXMg VGVjaG5vbG9neQ0KPiA+ICsgICAgICAgICAgICAgICAgICAgICogYW5kIHJhbmRvbSBjb250cm9s bGVyIG51bWJlci4NCj4gPiArICAgICAgICAgICAgICAgICAgICAqLw0KPiA+ICsgICAgICAgICAg ICAgICAgICAgbWFjX2FkZHJbMF0gPSAweGZjOyAvKiBPVUkgb2YgU3VucGx1czogZmM6NGI6YmMg Ki8NCj4gPiArICAgICAgICAgICAgICAgICAgIG1hY19hZGRyWzFdID0gMHg0YjsNCj4gPiArICAg ICAgICAgICAgICAgICAgIG1hY19hZGRyWzJdID0gMHhiYzsNCj4gPiArICAgICAgICAgICAgICAg ICAgIG1hY19hZGRyWzNdID0gZ2V0X3JhbmRvbV9pbnQoKSAlIDI1NjsNCj4gPiArICAgICAgICAg ICAgICAgICAgIG1hY19hZGRyWzRdID0gZ2V0X3JhbmRvbV9pbnQoKSAlIDI1NjsNCj4gPiArICAg ICAgICAgICAgICAgICAgIG1hY19hZGRyWzVdID0gZ2V0X3JhbmRvbV9pbnQoKSAlIDI1NjsNCj4N Cj4gSSBkb24ndCB0aGluayB5b3UgY2FuIGRvIHRoYXQuIEVpdGhlciB5b3UgdXNlIHlvdXIgT1VJ IGFuZCBhc3NpZ24gdGhlDQo+IGFkZHJlc3MgYXQgb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dG8gcmVxdWVzdCBpcnEgIyVkIVxuIiwgaXJxKTsNCiAgICAgICAgICAgICAgICBn b3RvIG91dF9jbGtfZGlzYWJsZTsNCiAgICAgICAgfQ0KDQogICAgICAgIC8qIEluaXRpYWxpemUg VFggYW5kIFJYIGRlc2NyaXB0b3JzLiAqLw0KICAgICAgICByZXQgPSBzcGwyc3dfZGVzY3NfaW5p dChjb21tKTsNCiAgICAgICAgaWYgKHJldCkgew0KICAgICAgICAgICAgICAgIGRldl9lcnIoJnBk ZXYtPmRldiwgIkZhaWwgdG8gaW5pdGlhbGl6ZSBtYWMgZGVzY3JpcHRvcnMhXG4iKTsNCiAgICAg ICAgICAgICAgICBzcGwyc3dfZGVzY3NfZnJlZShjb21tKTsNCiAgICAgICAgICAgICAgICBnb3Rv IG91dF9jbGtfZGlzYWJsZTsNCiAgICAgICAgfQ0KDQogICAgICAgIC8qIEluaXRpYWxpemUgTUFD LiAqLw0KICAgICAgICBzcGwyc3dfbWFjX2luaXQoY29tbSk7DQoNCiAgICAgICAgLyogSW5pdGlh bGl6ZSBtZGlvIGJ1cyAqLw0KICAgICAgICByZXQgPSBzcGwyc3dfbWRpb19pbml0KGNvbW0pOw0K ICAgICAgICBpZiAocmV0KSB7DQogICAgICAgICAgICAgICAgZGV2X2VycigmcGRldi0+ZGV2LCAi RmFpbGVkIHRvIGluaXRpYWxpemUgbWRpbyBidXMhXG4iKTsNCiAgICAgICAgICAgICAgICBnb3Rv IG91dF9jbGtfZGlzYWJsZTsNCiAgICAgICAgfQ0KDQogICAgICAgIC8qIEdldCBjaGlsZCBub2Rl IEV0aGVybmV0LXBvcnRzLiAqLw0KICAgICAgICAgICAgICAgIDoNCiAgICAgICAgICAgICAgICA6 DQogICAgICAgIHJldHVybiAwOw0KDQpvdXRfdW5yZWdpc3Rlcl9kZXY6DQogICAgICAgIGZvciAo aSA9IDA7IGkgPCBNQVhfTkVUREVWX05VTTsgaSsrKQ0KICAgICAgICAgICAgICAgIGlmIChjb21t LT5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UxEX0dFVChSWERfUEtUX1NQLCBjbWQpOw0K PiA+ICsgICAgICAgICAgICAgICAgICAgaWYgKHBvcnQgPCBNQVhfTkVUREVWX05VTSAmJiBjb21t LT5uZGV2W3BvcnRdKQ0KPiA+ICsgICAgICAgICAgICAgICAgICAgICAgICAgICBzdGF0cyA9ICZj b21tLT5uZGV2W3BvcnRdLT5zdGF0czsNCj4gPiArICAgICAgICAgICAgICAgICAgIGVsc2UNCj4g PiArICAgICAgICAgICAgICAgICAgICAgICAgICAgZ290byBzcGwyc3dfcnhfcG9sbF9yZWNfZXJy Ow0KPiA+ICsNCj4gPiArICAgICAgICAgICAgICAgICAgIHBrZ19sZW4gPSBGSUVMRF9HRVQoUlhE X1BLVF9MRU4sIGNtZCk7DQo+ID4gKyAgICAgICAgICAgICAgICAgICBpZiAodW5saWtlbHkoKGNt ZCAmIFJYRF9FUlJfQ09ERSkgfHwgcGtnX2xlbiA8IEVUSF9aTEVOICsgNCkpIHsNCj4gPiArICAg ICAgICAgICAgICAgICAgICAgICAgICAgc3RhdHMtPnJ4X2xlbmd0aF9lcnJvcnMrKzsNCj4gPiAr ICAgICAgICAgICAgICAgICAgICAgICAgICAgc3RhdHMtPnJ4X2Ryb3BwZWQrKzsNCj4gPiArICAg ICAgICAgICAgICAgICAgICAgICAgICAgZ290byBzcGwyc3dfcnhfcG9sbF9yZWNfZXJyOw0KPiA+ ICsgICAgICAgICAgICAgICAgICAgfQ0KPiA+ICsNCj4gPiArICAgICAgICAgICAgICAgICAgIGlm ICh1bmxpa2VseShjbWQgJiBSWERfSVBfQ0hLU1VNKSkgew0KPg0KPiBJUCBjaGtzdW0gYXMgaW4g YmFkIElQIGhlYWRlciBjc3VtPyBMZXQgdGhhdCB0aHJ1LCBrZXJuZWwgd2lsbCBkcm9wDQo+IGl0 LiBXZSBkb24ndCB0cnVzdCBIVyB0byBwYXJzZSBhYm92ZSBMMiBhbmQgZ2V0IGNoZWNrc3VtcyBy aWdodC4NCg0KSSdsbCByZW1vdmUgdGhlIHdob2xlICJpZiAodW5saWtlbHkoY21kICYgUlhEX0lQ X0NIS1NVTSkpIHsgLi4gfSIgc3RhdGVtZW50Lg0KDQoNCj4NCj4gPiArICAgICAgICAgICAgICAg ICAgICAgICAgICAgc3RhdHMtPnJ4X2NyY19lcnJvcnMrKzsNCj4gPiArICAgICAgICAgICAgICAg ICAgICAgICAgICAgc3RhdHMtPnJ4X2Ryb3BwZWQrKzsNCj4gPiArICAgICAgICAgICAgICAgICAg ICAgICAgICAgZ290byBzcGwyc3dfcnhfcG9sbF9yZWNfZXJyOw0KPiA+ICsgICAgICAgICAgICAg ICAgICAgfQ0KPiA+ICsNCj4gPiArICAgICAgICAgICAgICAgICAgIGRtYV91bm1hcF9zaW5nbGUo JmNvbW0tPnBkZXYtPmRldiwgc2luZm8tPm1hcHBpbmcsDQo+ID4gKyAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgIGNvbW0tPnJ4X2Rlc2NfYnVmZl9zaXplLCBETUFfRlJPTV9ERVZJ Q0UpOw0KPiA+ICsNCj4gPiArICAgICAgICAgICAgICAgICAgIHNrYiA9IHNpbmZvLT5za2I7DQo+ ID4gKyAgICAgICAgICAgICAgICAgICBza2JfcHV0KHNrYiwgcGtnX2xlbiAtIDQpOyAvKiBNaW51 cyBGQ1MgKi8NCj4gPiArICAgICAgICAgICAgICAgICAgIHNrYi0+aXBfc3VtbWVkID0gQ0hFQ0tT VU1fTk9ORTsNCj4gPiArICAgICAgICAgICAgICAgICAgIHNrYi0+cHJvdG9jb2wgPSBldGhfdHlw ZV90cmFucyhza2IsIGNvbW0tPm5kZXZbcG9ydF0pOw0KPiA+ICsgICAgICAgICAgICAgICAgICAg bmV0aWZfcmVjZWl2ZV9za2Ioc2tiKTsNCj4gPiArDQo+ID4gKyAgICAgICAgICAgICAgICAgICBz dGF0cy0+cnhfcGFja2V0cysrOw0KPiA+ICsgICAgICAgICAgICAgICAgICAgc3RhdHMtPnJ4X2J5 dGVzICs9IHNrYi0+bGVuOw0KPiA+ICsNCj4gPiArICAgICAgICAgICAgICAgICAgIC8qIEFsbG9j YXRlIGEgbmV3IHNrYiBmb3IgcmVjZWl2aW5nLiAqLw0KPiA+ICsgICAgICAgICAgICAgICAgICAg bmV3X3NrYiA9IG5ldGRldl9hbGxvY19za2IoTlVMTCwgY29tbS0+cnhfZGVzY19idWZmX3NpemUp Ow0KPiA+ICsgICAgICAgICAgICAgICAgICAgaWYgKHVubGlrZWx5KCFuZXdfc2tiKSkgew0KPiA+ ICsgICAgICAgICAgICAgICAgICAgICAgICAgICBkZXNjLT5jbWQyID0gKHJ4X3BvcyA9PSBjb21t LT5yeF9kZXNjX251bVtxdWV1ZV0gLSAxKSA/DQo+ID4gKyAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICBSWERfRU9SIDogMDsNCj4gPiArICAgICAgICAgICAgICAgICAgICAg ICAgICAgc2luZm8tPnNrYiA9IE5VTEw7DQo+ID4gKyAgICAgICAgICAgICAgICAgICAgICAgICAg IHNpbmZvLT5tYXBwaW5nID0gMDsNCj4gPiArICAgICAgICAgICAgICAgICAgICAgICAgICAgZ290 byBzcGwyc3dfcnhfcG9sbF9hbGxvY19lcnI7DQo+DQo+IEhvdyBkb2VzIHRoaXMgd29yaz8gVGhl IGRldmljZSB3aWxsIGhhbmRsZSB0aGUgZW1wdHkgZW50cnkgc29tZWhvdz8NCg0KVGhlIHNpemUg b2YgYnVmZmVyIChpbiAnY21kMicgZmllbGQpIGluIHJ4IGRlc2NyaXB0b3IgaXMgc2V0IHRvIDAu DQpIYXJkd2FyZSB3aWxsIHNraXAgdGhlIHJ4IGRlc2NyaXB0b3IuDQoNCkknbGwgbW9kaWZ5IGNv ZGUgc28gdGhhdCB0aGUgJ2VtcHR5JyByeCBkZXNjcmlwdG9yIHN0aWxsIGJlbG9uZ3MgdG8gc29m dHdhcmUuDQpTb2Z0d2FyZSBjYW4gdHJ5IHRvIGFsbG9jYXRlIHNrYiBhZ2FpbiBuZXh0IGxvb3A6 DQoNCk9yaWdpbmFsOg0KICAgICAgICBzcGwyc3dfcnhfcG9sbF9hbGxvY19lcnI6DQogICAgICAg ICAgICAgICAgd21iKCk7ICAvKiBTZXQgUlhEX09XTiBhZnRlciBvdGhlciBmaWVsZHMgYXJlIGVm ZmVjdGl2ZS4gKi8NCiAgICAgICAgICAgICAgICBkZXNjLT5jbWQxID0gUlhEX09XTjsNCg0KTmV3 Og0KICAgICAgICAgICAgICAgIHdtYigpOyAgLyogU2V0IFJYRF9PV04gYWZ0ZXIgb3RoZXIgZmll bGRzIGFyZSBlZmZlY3RpdmUuICovDQogICAgICAgICAgICAgICAgZGVzYy0+Y21kMSA9IFJYRF9P V047DQoNCiAgICAgICAgc3BsMnN3X3J4X3BvbGxfYWxsb2NfZXJyOg0KICAgICAgICAgICAgICAg IDoNCg0KDQo+DQo+ID4gKyAgICAgICAgICAgICAgICAgICB9DQo+ID4gKw0KPiA+ICsgICAgICAg ICAgICAgICAgICAgc2luZm8tPm1hcHBpbmcgPSBkbWFfbWFwX3NpbmdsZSgmY29tbS0+cGRldi0+ ZGV2LCBuZXdfc2tiLT5kYXRhLA0KPiA+ICsgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICBjb21tLT5yeF9kZXNjX2J1ZmZfc2l6ZSwNCj4gPiArICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgRE1BX0ZST01fREVW SUNFKTsNCj4gPiArICAgICAgICAgICAgICAgICAgIGlmIChkbWFfbWFwcGluZ19lcnJvcigmY29t bS0+cGRldi0+ZGV2LCBzaW5mby0+bWFwcGluZykpIHsNCj4gPiArICAgICAgICAgICAgICAgICAg ICAgICAgICAgZGV2X2tmcmVlX3NrYl9pcnEobmV3X3NrYik7DQo+ID4gKyAgICAgICAgICAgICAg ICAgICAgICAgICAgIGRlc2MtPmNtZDIgPSAocnhfcG9zID09IGNvbW0tPnJ4X2Rlc2NfbnVtW3F1 ZXVlXSAtIDEpID8NCj4gPiArICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg IFJYRF9FT1IgOiAwOw0KPiA+ICsgICAgICAgICAgICAgICAgICAgICAgICAgICBzaW5mby0+c2ti ID0gTlVMTDsNCj4gPiArICAgICAgICAgICAgICAgICAgICAgICAgICAgZ290byBzcGwyc3dfcnhf cG9sbF9hbGxvY19lcnI7DQo+ID4gKyAgICAgICAgICAgICAgICAgICB9DQo+ID4gKw0KPiA+ICsg ICAgICAgICAgICAgICAgICAgc2luZm8tPnNrYiA9IG5ld19za2I7DQo+ID4gKyAgICAgICAgICAg ICAgICAgICBkZXNjLT5hZGRyMSA9IHNpbmZvLT5tYXBwaW5nOw0KPiA+ICsNCj4gPiArc3BsMnN3 X3J4X3BvbGxfcmVjX2VycjoNCj4gPiArICAgICAgICAgICAgICAgICAgIGRlc2MtPmNtZDIgPSAo cnhfcG9zID09IGNvbW0tPnJ4X2Rlc2NfbnVtW3F1ZXVlXSAtIDEpID8NCj4gPiArICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICBSWERfRU9SIHwgY29tbS0+cnhfZGVzY19idWZmX3NpemUg Og0KPiA+ICsgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvbW0tPnJ4X2Rlc2NfYnVm Zl9zaXplOw0KPiA+ICsNCj4gPiArc3BsMnN3X3J4X3BvbGxfYWxsb2NfZXJyOg0KPiA+ICsgICAg ICAgICAgICAgICAgICAgd21iKCk7ICAvKiBTZXQgUlhEX09XTiBhZnRlciBvdGhlciBmaWVsZHMg YXJlIGVmZmVjdGl2ZS4gKi8NCj4gPiArICAgICAgICAgICAgICAgICAgIGRlc2MtPmNtZDEgPSBS WERfT1dOOw0KPiA+ICsNCj4gPiArICAgICAgICAgICAgICAgICAgIC8qIE1vdmUgcnhfcG9zIHRv IG5leHQgcG9zaXRpb24gKi8NCj4gPiArICAgICAgICAgICAgICAgICAgIHJ4X3BvcyA9ICgocnhf cG9zICsgMSkgPT0gY29tbS0+cnhfZGVzY19udW1bcXVldWVdKSA/IDAgOiByeF9wb3MgKyAxOw0K PiA+ICsNCj4gPiArICAgICAgICAgICAgICAgICAgIC8qIElmIHRoZXJlIGFyZSBwYWNrZXRzIGlu IGhpZ2gtcHJpb3JpdHkgcXVldWUsDQo+ID4gKyAgICAgICAgICAgICAgICAgICAgKiBzdG9wIHBy b2Nlc3NpbmcgbG93LXByaW9yaXR5IHF1ZXVlLg0KPiA+ICsgICAgICAgICAgICAgICAgICAgICov DQo+ID4gKyAgICAgICAgICAgICAgICAgICBpZiAocXVldWUgPT0gMSAmJiAhKGhfZGVzYy0+Y21k MSAmIFJYRF9PV04pKQ0KPiA+ICsgICAgICAgICAgICAgICAgICAgICAgICAgICBicmVhazsNCj4g PiArICAgICAgICAgICB9DQo+ID4gKw0KPiA+ICsgICAgICAgICAgIGNvbW0tPnJ4X3Bvc1txdWV1 ZV0gPSByeF9wb3M7DQo+ID4gKw0KPiA+ICsgICAgICAgICAgIC8qIFNhdmUgcG9pbnRlciB0byBs YXN0IHJ4IGRlc2NyaXB0b3Igb2YgaGlnaC1wcmlvcml0eSBxdWV1ZS4gKi8NCj4gPiArICAgICAg ICAgICBpZiAocXVldWUgPT0gMCkNCj4gPiArICAgICAgICAgICAgICAgICAgIGhfZGVzYyA9IGNv bW0tPnJ4X2Rlc2NbcXVldWVdICsgcnhfcG9zOw0KPg0KPiBXaGVyZSBkbyB5b3UgdGFrZSBidWRn ZXQgaW50byBhY2NvdW50Pw0KDQpJJ2xsIGFkZCB0aGUgZm9sbG93aW5nIGNvZGUgdG8gdGFrZSBi dWRnZXQgaW50byBhY2NvdW50Og0KDQogICAgICAgIGludCBidWRnZXRfbGVmdCA9IGJ1ZGdldDsN CiAgICAgICAgICAgICAgICA6DQogICAgICAgICAgICAgICAgOg0KICAgICAgICBmb3IgKG51bSA9 IDA7IG51bSA8IHJ4X2NvdW50ICYmIGJ1ZGdldF9sZ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