Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp1660150pxm; Fri, 4 Mar 2022 00:40:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJwN+/U5ExKL/1kjzwsTta3LHp3TWNUFZhI3rNKkTllPTtZwqFs/8SrOKq213yOntqWvsAw2 X-Received: by 2002:a05:6a00:3023:b0:4f6:aaa1:8f8a with SMTP id ay35-20020a056a00302300b004f6aaa18f8amr3894311pfb.49.1646383200768; Fri, 04 Mar 2022 00:40:00 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1646383200; cv=pass; d=google.com; s=arc-20160816; b=oW1b48Gwmwmcy2LBPo/YWJYaB4foBhsCLKr2sQo2QGl8oH2I8z09Y5IquP5R3jDeq5 hbG8liUAF4duw36jd2FsaYqdwT+2CbNOEQT9l2l+xiJAe/6vEPQF/ex8yqHJSr1/36Lv kz4wO4IbZyKiUDh0HAnxmXH1KBPeiI3nLpKNW8VNE3BVAk1FeOKMY3iKa2drGtr+IKQI 53B4guatFPnzA7w9Eary0rQyPI49Azic/XJAvBoLHp7rhZfkKBd00mmSJHmw4DVQPKtl NzHKGhczvgDLQ7NM2qm89wXGSDfV/XunquO57H+bXX17vN7XSXVkxAqMdXQYwGUqFzet trvw== 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-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=mYmqFyF65OPIdy7BQqtltOYZuQzyhLBu/IrClXizNyQ=; b=tBvb2DSdMZ53APCN6z0Q1sRCZTiynD960j+U8ls7l4CTvjrwRnFXc1vied2SW3+k+c hsQE4dE5kigAkMDygVVjnbPcnZHuxnwNWv8N20loDhh3L2tK+6DPcS1rwAYTsPRcolBk uaquoWBm1TyOvd3KGREB/guoFdtFi0KkNuR9iIHrhhXywGyp5vSMgAil00Jc0HxvoTi1 Ptg63ZYL+JcRO3s1MwbEyUBy+4L79WiNFb+hqlENLA1PNHY0nDqnvL3FjLd+TMmofEBH n0EPg9cWCzqRVCHfiSOE5wGTRmR+ow8DEG5YaN/2FWY2vzdKWAxkgbeK+sbggWwZ+kAH KB2Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@xilinx.onmicrosoft.com header.s=selector2-xilinx-onmicrosoft-com header.b=sg1QRMUp; arc=pass (i=1 spf=pass spfdomain=xilinx.com dkim=pass dkdomain=xilinx.com dmarc=pass fromdomain=xilinx.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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=xilinx.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h188-20020a636cc5000000b0037c4b401a3asi4201604pgc.846.2022.03.04.00.39.46; Fri, 04 Mar 2022 00:40:00 -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=pass header.i=@xilinx.onmicrosoft.com header.s=selector2-xilinx-onmicrosoft-com header.b=sg1QRMUp; arc=pass (i=1 spf=pass spfdomain=xilinx.com dkim=pass dkdomain=xilinx.com dmarc=pass fromdomain=xilinx.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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=xilinx.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238412AbiCDGb1 (ORCPT + 99 others); Fri, 4 Mar 2022 01:31:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32774 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234973AbiCDGbY (ORCPT ); Fri, 4 Mar 2022 01:31:24 -0500 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2084.outbound.protection.outlook.com [40.107.220.84]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E15C7187E3E; Thu, 3 Mar 2022 22:30:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LMaR27fBcYgOIbYynZcjBjLG8mS4g4LPayHDIBzU3IuFBiWcWVmrl01y1A9dWuC4W6OxteCzhfYWWelhzLiNFeddxljB5KxrND+L85z1n0ler9VjCT/JIhK1nl+6tgeAxja3kEHhtvvh2UGzjp6oVZVVOa6olHu/UtZY+2azgDHQTxgh1UtF5ixEQUndDX/kb8VxwomW+Lgm6wj7+TXTyjBpVoV0eMgOIX0zmlPYcS0Be0EGQ11yiCdFZ1BB7MmXaLcZwEygfxZ0pYWlh0McA0WMDgpKNlF8wJIqfBV0TUM0vyj6AX0MqtRx0X5legqRF4LZy9Fr18wHQVGWKiOeIg== 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=mYmqFyF65OPIdy7BQqtltOYZuQzyhLBu/IrClXizNyQ=; b=LG8piY4jW4+H0vUaoIdEDI09wiVPiBE6eh1RCcYQUh3IC/cTYblUi2u1mjDbwrOtrAPypDMj/D5379B3AQJLmKfkDLY3TdV4nmnAAoDNooqiQeniPcdeIHKLmv6O8M7ICIVRE6WfO0cnIwAGf58YOU5mnJMIi9R8TNfcOdEQ6jto4buGAe9mkaD+9WlgI6++r1sNJxhbSpuSaNrHpVuY7c21l+b5hdM3Ica93/ZJHszJS8/+RARwlm1gkn2VvHA1Qxd3Bv+LLTzIeHvgU1686RFEjX9JtkQqzuVvRAgedUFfUyVd00JL0jmpldmpR4LXiZ1FyqzxbxzA0we9KE8EbQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=xilinx.com; dmarc=pass action=none header.from=xilinx.com; dkim=pass header.d=xilinx.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector2-xilinx-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mYmqFyF65OPIdy7BQqtltOYZuQzyhLBu/IrClXizNyQ=; b=sg1QRMUp14fTHHwuvRQpT9lMO8j5oQl0pQ7rt/OeZgmoRgfqY/YUtyGRU06YR77MrrwIoD021HCIENHqRwibw5KvUwJF+3iOWgT/WRps0BdB+gMaf5AMazv/w8RO2lNSN3QK3rU1m8O3Z3J64msX9f7Jw3XLjKU49r/izo6ddZo= Received: from BY5PR02MB6980.namprd02.prod.outlook.com (2603:10b6:a03:235::19) by SN6PR02MB4958.namprd02.prod.outlook.com (2603:10b6:805:99::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5038.14; Fri, 4 Mar 2022 06:30:32 +0000 Received: from BY5PR02MB6980.namprd02.prod.outlook.com ([fe80::ed57:1b66:1f0e:54bc]) by BY5PR02MB6980.namprd02.prod.outlook.com ([fe80::ed57:1b66:1f0e:54bc%7]) with mapi id 15.20.5038.017; Fri, 4 Mar 2022 06:30:01 +0000 From: Gautam Dawar To: Eugenio Perez Martin CC: Martin Petrus Hubertus Habets , Harpreet Singh Anand , Tanuj Murlidhar Kamde , Jason Wang , "Michael S. Tsirkin" , Zhu Lingshan , Stefano Garzarella , Xie Yongji , Eli Cohen , Si-Wei Liu , Parav Pandit , Longpeng , virtualization , "linux-kernel@vger.kernel.org" , kvm list , "netdev@vger.kernel.org" Subject: RE: [RFC PATCH v2 06/19] vdpa: multiple address spaces support Thread-Topic: [RFC PATCH v2 06/19] vdpa: multiple address spaces support Thread-Index: AQHYKcUO3vEvBNP4r0WTw3ilSdp+oayuGU4AgAC1e/A= Date: Fri, 4 Mar 2022 06:30:01 +0000 Message-ID: References: <20201216064818.48239-1-jasowang@redhat.com> <20220224212314.1326-1-gdawar@xilinx.com> <20220224212314.1326-7-gdawar@xilinx.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=xilinx.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 7dafa498-a8a4-4b8d-f00a-08d9fda869a5 x-ms-traffictypediagnostic: SN6PR02MB4958:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: J3SXXIqoykKX8YRjF9UYoU1VkTBwsURHtCWzV4SgKVwN/1tFtEDtx4v3D1sLNGjnVLmdpvKVGx61Z0drLn+DNDAeCShFzQFRTiOAXAqry0mGVIhXjKNL8hHMn+YWpizg/bJVlSVWmpvzrIpaFdGlQIBnnJzPmS9PgAKZN/imWsjgesOfVkXRHUYrKbbyHqT4TTsYw/9i+d9cb95FYFauYa3/gEyrMltcT/E0LPstbr1j3ssd5mbYqPOAsKzWL5/3z7PMY6L+Rwnj/xMotYS+IvewUBish32hFkYTyeRCQ6yZyLwkltI9TFKfh3WqcmcFh/QjHcGunWlkJODjlQ34aSB9iks5klNs+XBChckuqHEzgzW6WVu5aNkTYhbRQkFvfYKf9W7KX58jaX2Esgp7MXphQOT/v65miT4i3etHbr27+JGjnvlSwt12e5D4p3lODgfOt67BHzsx5m8iiB0+kEKTGB6YguHvncPjz74ZR71nNyLH9RyuAoGfSynw2A15ZT0MFNm9Raj6JM/jnADwlzOvb9gLWDVT52ZzFLhmFFLje7VNpifyHxz2VUoGBBI2KTKyC764TMOLk91CJ5cVc3oG79VfucwsEW3gp0Bvmm8z1cYQMzpVDVPy5KJdyj1B3DBxXUXY3qgJB40EdxgDrcAoRjHGYq0YAP6gcRsftcn6fTyuVIci6g2klfYJa7fZTEvr/SOWte+ADvlKwIlfeg== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BY5PR02MB6980.namprd02.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(8936002)(86362001)(71200400001)(33656002)(508600001)(7416002)(52536014)(66946007)(55016003)(6916009)(30864003)(83380400001)(54906003)(26005)(38100700002)(9686003)(38070700005)(186003)(316002)(66476007)(64756008)(66446008)(4326008)(53546011)(8676002)(7696005)(6506007)(66556008)(122000001)(76116006)(2906002)(5660300002);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?YzdDdmNGbFpqaGpPSmJ2NUFaZk5QdjlLUWp6aU94S01aeDJJUFpGd2tGWjFm?= =?utf-8?B?RHBxSTVtNWRsNStVWksycUJJNFB0aU9HNW1mYkp1SW9SblZQVXpZZ0J6TVRN?= =?utf-8?B?cmJNaVRXLzh2ZnRNQzU3NlAxbW9kVzlVdDZ6V2ROb2lzOGt2QitBVlduU0d3?= =?utf-8?B?RlBPZWJZS3pib2VVdVFuWE9RY09NYmpBOHR0eXRpRENjdnRNN0NsOTRYZVdl?= =?utf-8?B?T3BZemlxOUJ5QllWMGZsVVEzejdyTUxCNCticnM4alF2MnRKb3JtdURETVVs?= =?utf-8?B?eW55T2lLd2tack8rTFkwcmVRaTIraldaR3VsaFd6N2NwSTJBZzduRkpLQkNT?= =?utf-8?B?TC9oTi90aXNEaUJFVGgvQjB0RW44MnBaVE84TEMvaGxaaWNYYUdTZEUvNTdX?= =?utf-8?B?Vm4rdDNVMk9rZFpUb2NBb3c5aUJhTFczQklnQThJblE4Y3ErTWsraDJCOWp5?= =?utf-8?B?dnZMc3dPUHY4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f-8?B?N25MWkEvREZnNFBtZEZqUHBnZlJ1TXF1NEJxSm4wby9TanJQaVhGcWFaSWJO?= =?utf-8?B?REhKS1NWRVpFd2lSZmZtRGoyY1MrQ29wZlZoTWlhZVdKNjZNQzdmc1RsN2Iw?= =?utf-8?B?UVozQWxLeWtUYlJLRUpaaVNiSlhMdjc5RVNCOXEzUXFHTC9xU0lQeDhtVDhr?= =?utf-8?B?TWdkdU1JbTF1M05YdEgvMUp5RmtaU2hSdm5OVUllbHRCSW9qRmFyd0trdk9l?= =?utf-8?B?YWtFTi9QVjVrb21sZGJ3eml4bWNBcnlXaWY4T2E5TVVsUnlwcGJHVnU3Q0dE?= =?utf-8?B?c2gzOEEwNEhBM1ZSbzNTTXhyN29JWTZxS0tZY2NwMy92dm9MWk5sR2E2Nks0?= =?utf-8?B?bjhrOCs3a1hXVHRFNnN3em94eENqS0tGbVBqejlVa21lTldjSnFZbzhLejRL?= =?utf-8?B?M2gwUFN2aFlMM3kzaG4xOVljRlpUazdsMEtkc3h1QlZiQzkybFpBa2cweXA3?= =?utf-8?B?d09UMUVkSm5DRmxwdVdxNVZBc2VscVh1elpmb2czbXRvVUpiejN6OVE2TlNL?= =?utf-8?B?M0x1VE1XK3psSGd0SzdhSnl2d0hrTlQ3R3NEZ0Ivay9yaVBUbkRucmFkcWtO?= =?utf-8?B?SzcvbzQvOElER1N6Vk9VODA0RjVSZlZoZ0N5ZWZsZ3d6UzZ4Y0VveWdudlp3?= =?utf-8?B?a3QwWTQxSTJLWERxVFRXRXpUbXc2L2FwdXZlcnVvbWtwZHMxbG1qN1VuVkFF?= =?utf-8?B?ZHkyU3pjRDJzeUFVdWdsRHRzeFNSVjl6YVlQV2s0U1A3anhBdVp0Rit2Mkpz?= =?utf-8?B?NVE9PQ==?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BY5PR02MB6980.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7dafa498-a8a4-4b8d-f00a-08d9fda869a5 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Mar 2022 06:30:01.7045 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: SmSObz34BQURPxrb5jWIZS7WhehG1igxrIFOrzZhNQ8hAoYtFT5x1KyP9pXzjF1WUK1gXVgyzuSnZaQadSzB7Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR02MB4958 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,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 LS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCkZyb206IEV1Z2VuaW8gUGVyZXogTWFydGluIDxl cGVyZXptYUByZWRoYXQuY29tPiANClNlbnQ6IEZyaWRheSwgTWFyY2ggNCwgMjAyMiAxOjEwIEFN DQpUbzogR2F1dGFtIERhd2FyIDxnZGF3YXJAeGlsaW54LmNvbT4NCkNjOiBHYXV0YW0gRGF3YXIg PGdkYXdhckB4aWxpbnguY29tPjsgTWFydGluIFBldHJ1cyBIdWJlcnR1cyBIYWJldHMgPG1hcnRp bmhAeGlsaW54LmNvbT47IEhhcnByZWV0IFNpbmdoIEFuYW5kIDxoYW5hbmRAeGlsaW54LmNvbT47 IFRhbnVqIE11cmxpZGhhciBLYW1kZSA8dGFudWprQHhpbGlueC5jb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7DQo+DQo+ICAgICAgICAgaWYgKG9wcy0+ZG1hX21h cCkgew0KPiAtICAgICAgICAgICAgICAgb3BzLT5kbWFfdW5tYXAodmRwYSwgaW92YSwgc2l6ZSk7 DQo+ICsgICAgICAgICAgICAgICBvcHMtPmRtYV91bm1hcCh2ZHBhLCAwLCBpb3ZhLCBzaXplKTsN Cj4gICAgICAgICB9IGVsc2UgaWYgKG9wcy0+c2V0X21hcCkgew0KPiAgICAgICAgICAgICAgICAg aWYgKCF2LT5pbl9iYXRjaCkNCj4gLSAgICAgICAgICAgICAgICAgICAgICAgb3BzLT5zZXRfbWFw KHZkcGEsIGlvdGxiKTsNCj4gKyAgICAgICAgICAgICAgICAgICAgICAgb3BzLT5zZXRfbWFwKHZk cGEsIDAsIGlvdGxiKTsNCj4gICAgICAgICB9IGVsc2Ugew0KPiAgICAgICAgICAgICAgICAgaW9t bXVfdW5tYXAodi0+ZG9tYWluLCBpb3ZhLCBzaXplKTsNCj4gICAgICAgICB9DQo+IEBAIC04NjMs NyArODYzLDcgQEAgc3RhdGljIGludCB2aG9zdF92ZHBhX3Byb2Nlc3NfaW90bGJfbXNnKHN0cnVj dCB2aG9zdF9kZXYgKmRldiwNCj4gICAgICAgICAgICAgICAgIGJyZWFrOw0KPiAgICAgICAgIGNh c2UgVkhPU1RfSU9UTEJfQkFUQ0hfRU5EOg0KPiAgICAgICAgICAgICAgICAgaWYgKHYtPmluX2Jh dGNoICYmIG9wcy0+c2V0X21hcCkNCj4gLSAgICAgICAgICAgICAgICAgICAgICAgb3BzLT5zZXRf bWFwKHZkcGEsIGlvdGxiKTsNCj4gKyAgICAgICAgICAgICAgICAgICAgICAgb3BzLT5zZXRfbWFw KHZkcGEsIDAsIGlvdGxiKTsNCj4gICAgICAgICAgICAgICAgIHYtPmluX2JhdGNoID0gZmFsc2U7 DQo+ICAgICAgICAgICAgICAgICBicmVhazsNCj4gICAgICAgICBkZWZhdWx0Og0KPiBAQCAtMTEy OCw2ICsxMTI4LDEwI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MNCj4gKyAqIEBuYXM6IHRoZSBudW1iZXIgb2YgYWRkcmVzcyBzcGFj ZXMNCj4gICAqIEB1c2VfdmE6IGluZGljYXRlIHdoZXRoZXIgdmlydHVhbCBhZGRyZXNzIG11c3Qg YmUgdXNlZCBieSB0aGlzIGRldmljZQ0KPiAgICogQG52cXM6IG1heGltdW0gbnVtYmVyIG9mIHN1 cHBvcnRlZCB2aXJ0cXVldWVzDQo+ICAgKiBAbWRldjogbWFuYWdlbWVudCBkZXZpY2UgcG9pbnRl cjsgY2FsbGVyIG11c3Qgc2V0dXAgd2hlbiANCj4gcmVnaXN0ZXJpbmcgZGV2aWNlIGFzIHBhcnQg QEAgLTg2LDYgKzg4LDcgQEAgc3RydWN0IHZkcGFfZGV2aWNlIHsNCj4gICAgICAgICBpbnQgbnZx czsNCj4gICAgICAgICBzdHJ1Y3QgdmRwYV9tZ210X2RldiAqbWRldjsNCj4gICAgICAgICB1bnNp Z25lZCBpbnQgbmdyb3VwczsNCj4gKyAgICAgICB1bnNpZ25lZCBpbnQgbmFzOw0KPiAgfTsNCj4N Cj4gIC8qKg0KPiBAQCAtMjQwLDYgKzI0Myw3IEBAIHN0cnVjdCB2ZHBhX21hcF9maWxlIHsNCj4g ICAqICAgICAgICAgICAgICAgICAgICAgICAgICAgICBOZWVkZWQgZm9yIGRldmljZSB0aGF0IHVz aW5nIGRldmljZQ0KPiAgICogICAgICAgICAgICAgICAgICAgICAgICAgICAgIHNwZWNpZmljIERN QSB0cmFuc2xhdGlvbiAob24tY2hpcCBJT01NVSkNCj4gICAqICAgICAgICAgICAgICAgICAgICAg ICAgICAgICBAdmRldjogdmRwYSBkZXZpY2UNCj4gKyAqICAgICAgICAgICAgICAgICAgICAgICAg ICAgICBAYXNpZDogYWRkcmVzcyBzcGFjZSBpZGVudGlmaWVyDQo+ICAgKiAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgQGlvdGxiOiB2aG9zdCBtZW1vcnkgbWFwcGluZyB0byBiZQ0KPiAgICog ICAgICAgICAgICAgICAgICAgICAgICAgICAgIHVzZWQgYnkgdGhlIHZEUEENCj4gICAqICAgICAg ICAgICAgICAgICAgICAgICAgICAgICBSZXR1cm5zIGludGVnZXI6IHN1Y2Nlc3MgKDApIG9yIGVy cm9yICg8IDApDQo+IEBAIC0yNDgsNiArMjUyLDcgQEAgc3RydWN0IHZkcGFfbWFwX2ZpbGUgew0K PiAgICogICAgICAgICAgICAgICAgICAgICAgICAgICAgIHNwZWNpZmljIERNQSB0cmFuc2xhdGlv biAob24tY2hpcCBJT01NVSkNCj4gICAqICAgICAgICAgICAgICAgICAgICAgICAgICAgICBhbmQg cHJlZmVycmluZyBpbmNyZW1lbnRhbCBtYXAuDQo+ICAgKiAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgQHZkZXY6IHZkcGEgZGV2aWNlDQo+ICsgKiAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgQGFzaWQ6IGFkZHJlc3Mgc3BhY2UgaWRlbnRpZmllcg0KPiAgICogICAgICAgICAgICAgICAg ICAgICAgICAgICAgIEBpb3ZhOiBpb3ZhIHRvIGJlIG1hcHBlZA0KPiAgICogICAgICAgICAgICAg ICAgICAgICAgICAgICAgIEBzaXplOiBzaXplIG9mIHRoZSBhcmVhDQo+ICAgKiAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgQHBhOiBwaHlzaWNhbCBhZGRyZXNzIGZvciB0aGUgbWFwDQo+IEBA IC0yNTksNiArMjY0LDcgQEAgc3RydWN0IHZkcGFfbWFwX2ZpbGUgew0KPiAgICogICAgICAgICAg ICAgICAgICAgICAgICAgICAgIHNwZWNpZmljIERNQSB0cmFuc2xhdGlvbiAob24tY2hpcCBJT01N VSkNCj4gICAqICAgICAgICAgICAgICAgICAgICAgICAgICAgICBhbmQgcHJlZmVycmluZyBpbmNy ZW1lbnRhbCB1bm1hcC4NCj4gICAqICAgICAgICAgICAgICAgICAgICAgICAgICAgICBAdmRldjog dmRwYSBkZXZpY2UNCj4gKyAqICAgICAgICAgICAgICAgICAgICAgICAgICAgICBAYXNpZDogYWRk cmVzcyBzcGFjZSBpZGVudGlmaWVyDQo+ICAgKiAgICAgICAgICAgICAgICAgICAgICAgICAgICAg QGlvdmE6IGlvdmEgdG8gYmUgdW5tYXBwZWQNCj4gICAqICAgICAgICAgICAgICAgICAgICAgICAg ICAgICBAc2l6ZTogc2l6ZSBvZiB0aGUgYXJlYQ0KPiAgICogICAgICAgICAgICAgICAgICAgICAg ICAgICAgIFJldHVybnMgaW50ZWdlcjogc3VjY2VzcyAoMCkgb3IgZXJyb3IgKDwgMCkNCj4gQEAg LTMwOSwxMCArMzE1LDEyIEBAIHN0cnVjdCB2ZHBhX2NvbmZpZ19vcHMgew0KPiAgICAgICAgIHN0 cnVjdCB2ZHBhX2lvdmFfcmFuZ2UgKCpnZXRfaW92YV9yYW5nZSkoc3RydWN0IHZkcGFfZGV2aWNl IA0KPiAqdmRldik7DQo+DQo+ICAgICAgICAgLyogRE1BIG9wcyAqLw0KPiAtICAgICAgIGludCAo KnNldF9tYXApKHN0cnVjdCB2ZHBhX2RldmljZSAqdmRldiwgc3RydWN0IHZob3N0X2lvdGxiICpp b3RsYik7DQo+IC0gICAgICAgaW50ICgqZG1hX21hcCkoc3RydWN0IHZkcGFfZGV2aWNlICp2ZGV2 LCB1NjQgaW92YSwgdTY0IHNpemUsDQo+IC0gICAgICAgICAgICAgICAgICAgICAgdTY0IHBhLCB1 MzIgcGVybSwgdm9pZCAqb3BhcXVlKTsNCj4gLSAgICAgICBpbnQgKCpkbWFfdW5tYXApKHN0cnVj dCB2ZHBhX2RldmljZSAqdmRldiwgdTY0IGlvdmEsIHU2NCBzaXplKTsNCj4gKyAgICAgICBpbnQg KCpzZXRfbWFwKShzdHJ1Y3QgdmRwYV9kZXZpY2UgKnZkZXYsIHVuc2lnbmVkIGludCBhc2lkLA0K PiArICAgICAgICAgICAgICAgICAgICAgIHN0cnVjdCB2aG9zdF9pb3RsYiAqaW90bGIpOw0KPiAr ICAgICAgIGludCAoKmRtYV9tYXApKHN0cnVjdCB2ZHBhX2RldmljZSAqdmRldiwgdW5zaWduZWQg aW50IGFzaWQsDQo+ICsgICAgICAgICAgICAgICAgICAgICAgdTY0IGlvdmEsIHU2NCBzaXplLCB1 NjQgcGEsIHUzMiBwZXJtLCB2b2lkICpvcGFxdWUpOw0KPiArICAgICAgIGludCAoKmRtYV91bm1h cCkoc3RydWN0IHZkcGFfZGV2aWNlICp2ZGV2LCB1bnNpZ25lZCBpbnQgYXNpZCwNCj4gKyAgICAg ICAgICAgICAgICAgICAgICAgIHU2NCBpb3ZhLCB1NjQgc2l6ZSk7DQo+DQo+ICAgICAgICAgLyog RnJlZSBkZXZpY2UgcmVzb3VyY2VzICovDQo+ICAgICAgICAgdm9pZCAoKmZyZWUpKHN0cnVjdCB2 ZHBhX2RldmljZSAqdmRldik7IEBAIC0zMjAsNyArMzI4LDcgQEAgDQo+IHN0cnVjdCB2ZHBhX2Nv bmZpZ19vcHMgew0KPg0KPiAgc3RydWN0IHZkcGFfZGV2aWNlICpfX3ZkcGFfYWxsb2NfZGV2aWNl KHN0cnVjdCBkZXZpY2UgKnBhcmVudCwNCj4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgIGNvbnN0IHN0cnVjdCB2ZHBhX2NvbmZpZ19vcHMgKmNvbmZpZywNCj4gLSAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHVuc2lnbmVkIGludCBuZ3JvdXBzLA0K PiArICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdW5zaWduZWQgaW50IG5n cm91cHMsIHVuc2lnbmVkIA0KPiArIGludCBuYXMsDQo+ICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICBzaXplX3Qgc2l6ZSwgY29uc3QgY2hhciAqbmFtZSwNCj4gICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGJvb2wgdXNlX3ZhKTsN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AgICAgICAgICAgICAgICAgICBwYXJlbnQsIGNvbmZpZywgbmdyb3VwcywgXA0KPiAtICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBzaXplb2YoZGV2X3N0cnVjdCkgKyBcDQo+ ICsgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHBhcmVudCwgY29uZmlnLCBu Z3JvdXBzLCBuYXMsIFwNCj4gKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg KHNpemVvZihkZXZfc3RydWN0KSArIFwNCg0KTWF5YmUgdG9vIG5pdHBpY2sgb3IgSSdtIG1pc3Np bmcgc29tZXRoaW5nLCBidXQgZG8gd2UgbmVlZCB0byBhZGQgdGhlIHBhcmVudGhlc2VzIGFyb3Vu ZCAoc2l6ZW9mKGRldl9zdHJ1Y3QpICsgQlVJTERfQlVHX09OX1pFUk8oLi4uKSkgPw0KW0dEPj5d IFllcywgdGhhdCdzIHJlcXVpcmVkIGFzIHdpdGhvdXQgaXQgY2hlY2twYXRjaCByZXBvcnRzICJF UlJPUjogTWFjcm9zIHdpdGggY29tcGxleCB2YWx1ZXMgc2hvdWxkIGJlIGVuY2xvc2VkIGluIHBh cmVudGhlc2VzIg0KDQo+ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIEJV SUxEX0JVR19PTl9aRVJPKG9mZnNldG9mKCBcDQo+IC0gICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgIGRldl9zdHJ1Y3QsIG1lbWJlcikpLCBuYW1lLCB1c2VfdmEpKSwgXA0KPiAr ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBkZXZfc3RydWN0LCBtZW1iZXIp KSksIG5hbWUsIA0KPiArIHVzZV92YSkpLCBcDQo+ICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgIGRldl9zdHJ1Y3QsIG1lbWJlcikNCj4NCj4gIGludCB2ZHBhX3JlZ2lzdGVy X2RldmljZShzdHJ1Y3QgdmRwYV9kZXZpY2UgKnZkZXYsIGludCBudnFzKTsNCj4gLS0NCj4gMi4y NS4wDQo+DQoNCg==