Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1408831rdb; Wed, 6 Dec 2023 19:42:42 -0800 (PST) X-Google-Smtp-Source: AGHT+IE81P+IgDGoQqB2OdRfKxaX1RbRdgSCo1KtHME8TYVJqqOTwEFiOss48X5DRC60g1Y/NxcT X-Received: by 2002:a17:903:280e:b0:1d0:98db:6fd4 with SMTP id kp14-20020a170903280e00b001d098db6fd4mr1624322plb.56.1701920562395; Wed, 06 Dec 2023 19:42:42 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1701920562; cv=pass; d=google.com; s=arc-20160816; b=gtjwbZFvu/PwLwmKidsSssf3BzKTfc25wXFJPD3l0Dqa+J4jZV7RPtKyDthC1f/rx5 jWiS/YCYO1Rs/f2HDH/2rlEMlrdyjIkgnAkmZVdp+MJ6SLQmcME1Kos+I8kA+BGSR1Qv Yoz1cmgiqhB4Zci2wjt+iU+OMnR9KIBPA8beOpp6R2qB434nlOsHs8Z7Wx9DTtc0U6TP vieU3YTbufSCOan6SBBVrcgXybwi7s0EUfRobNcRW4lh3Hdcgd5H19TOC+zDd+ujv5f1 UVxH2bgfxR6wAGGTHYoignkWuU8/ElloZBGZjOojKWUXadmxsPC3mSU8v7hjPnZnYaRi fXPw== 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:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=4ol/wIxQCWBozCV33HEE499j8JVNtbjiWI3tgfIHz8k=; fh=FNiDinX4DHbJV0cgUUMpjPAhahIfnNFpqJ0cVbXLI54=; b=y4wb1G8ZwigRf9VyztoL1e8BneOuJQpSb74ya+tLrDY/d2HsJG1+AQyyQUEsCsKAzW kYnNo4/QQ17ehuxfnH6be0oE7dzsBsFgqg7mmDnaQ3PFeFpYfQHCTJfTonbLiq2s3PSX /Ztc8MsHy01KOME0V/zdSTUIuB4gr0Xb5nln3V5igxk4ugXJ1Kpmfisx1qIGFDp6/qaP WKj7ZzDPI8o7Ak0bjjGIDdUoGeF+1hvTSvnCj9Sghx0UdkDWFtMAa0WmMVLKulkRN0cD ydtcUxzYUs9zhqLvi4LHzIuz7jTwQL/kgkjaHEbqksmrdymcOa82XnAbdMHdMu5RoB/5 7pCg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=qfaWVjPe; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id q24-20020a170902bd9800b001cff3de9343si333780pls.553.2023.12.06.19.42.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 19:42:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=qfaWVjPe; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 8D1AD810F669; Wed, 6 Dec 2023 19:42:39 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229484AbjLGDiM (ORCPT + 99 others); Wed, 6 Dec 2023 22:38:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42954 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229447AbjLGDiK (ORCPT ); Wed, 6 Dec 2023 22:38:10 -0500 Received: from NAM04-BN8-obe.outbound.protection.outlook.com (mail-bn8nam04on2065.outbound.protection.outlook.com [40.107.100.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AFBA7A4; Wed, 6 Dec 2023 19:38:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Az4uSC7R4ya3VVCfbTBS/iUMpwXOa4QzvXRUgH0AA1GkCgqEFkNksbaqVkZ1Svp2uGQEhir+i65T4pi8naQ/TJI5jR8gGmFy/ZFsuayhd7fMRO0T9HP2Ldij2piRtoovvofftgdEju3yWkiyolgzKnfe0014+WezTnOKc3ciwdyayPUZxb/TCsoi636AwP1N8WiLLF5gSNTW5UP7oZYzSG8aN32kSQfmL+T/sMN8aZy89xMpsSmkZOMM1/sQYCuk2+0jDjnq3miBjAEmWr5nJf7/FsYlkWuL3Wtxo4VXhhGmEUy7vZqQbM+f4CUSI/O1NM4C9gQvgwXZlfEsiZEMZQ== 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=4ol/wIxQCWBozCV33HEE499j8JVNtbjiWI3tgfIHz8k=; b=oR+MGhkSfO6EfZd01KhCxOmiPerWRhxbmnGUoD/IJps3oawJBnu58tdqnKFXD6kILUOCJxityB2dmht89ZrSm39OPujwswoDoohZH3Y22yOEuLZL3hhCE8kRdxqZzWr6PGdRuofvBl526W5wT1yg6tO1g+kcfZqQEr9qrkHPdURmsy0pd/xsKMmN1wjtzKdR1YB7Uz9Trwyu3+rAR5wXw65+uwM6rfPiZ1+uBaXzCP8HzJHr5t9OM3ZA2WE4VYLibXSp1MySLmmjRwmqAn/lH84CVNPJxDjYOgs8EwrB364x49+meiwm0jq7fnty81mp0K8QrEBTHcUuGRbdnIsOfg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4ol/wIxQCWBozCV33HEE499j8JVNtbjiWI3tgfIHz8k=; b=qfaWVjPepPBCsg2/x3XHPJ9cIGBTI4e4m14ySQ2KOFKjdzkApGreOmX4SRQbrWOLFVjbO4qLRR6rKGHGEsVBRkualr03FDF2VSjjS3MCh14avbe9ZNUKhLtH+HvE+YsFblQHUb3fepgAjunsnl0V2X5OPo9prHqniwSnvCwTD1w= Received: from BL1PR12MB5849.namprd12.prod.outlook.com (2603:10b6:208:384::18) by SA3PR12MB7924.namprd12.prod.outlook.com (2603:10b6:806:313::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7068.27; Thu, 7 Dec 2023 03:38:12 +0000 Received: from BL1PR12MB5849.namprd12.prod.outlook.com ([fe80::969f:11b3:5ec2:3aa1]) by BL1PR12MB5849.namprd12.prod.outlook.com ([fe80::969f:11b3:5ec2:3aa1%3]) with mapi id 15.20.7046.034; Thu, 7 Dec 2023 03:38:12 +0000 From: "Chen, Jiqian" To: Juergen Gross , Stefano Stabellini CC: Jan Beulich , =?utf-8?B?Um9nZXIgUGF1IE1vbm7DqQ==?= , Oleksandr Tyshchenko , Thomas Gleixner , Boris Ostrovsky , "Rafael J . Wysocki" , Len Brown , Bjorn Helgaas , "xen-devel@lists.xenproject.org" , "linux-kernel@vger.kernel.org" , "linux-acpi@vger.kernel.org" , "Stabellini, Stefano" , "Deucher, Alexander" , "Koenig, Christian" , "Hildebrand, Stewart" , "Ragiadakou, Xenia" , "Huang, Honglei1" , "Zhang, Julia" , "Huang, Ray" , "Chen, Jiqian" Subject: Re: [RFC KERNEL PATCH v2 2/3] xen/pvh: Unmask irq for passthrough device in PVH dom0 Thread-Topic: [RFC KERNEL PATCH v2 2/3] xen/pvh: Unmask irq for passthrough device in PVH dom0 Thread-Index: AQHaHsGdlNZnjmvNCkucW725DqxYz7CSRC+AgADLdgCAALwOgIAAX9AAgAE42ICAA5dDgIAAxsiAgAC4TACAABRoAIABzBGAgADOj4CAAJuaAA== Date: Thu, 7 Dec 2023 03:38:12 +0000 Message-ID: References: <20231124103123.3263471-1-Jiqian.Chen@amd.com> <20231124103123.3263471-3-Jiqian.Chen@amd.com> <15275706-5c31-4e29-aa29-9f5e90526219@suse.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-imapappendstamp: IA1PR12MB7757.namprd12.prod.outlook.com (15.20.7091.000) authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-ms-traffictypediagnostic: BL1PR12MB5849:EE_|SA3PR12MB7924:EE_ x-ms-office365-filtering-correlation-id: 6a31c946-133b-4401-a6b9-08dbf6d5f02c x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: VzLVeFmuXL5DTbMwALKP0p0vMUpra/xnkzdKXdI54pKU6K66e0pldt6DlXH7wEG1h/Cu8M28VvaZQi2SA4aFl0WNK9+Gt4P19N4ehxXpbNKbzA76HWueiAtev3AUPGshAYt/sHm+kAjqDE+cbQX8IK7Rx59IXJeqA3ZU/tORoCoMy17DJnfE4e5FIctFF0lT0sLx2obf9Wbi+9KljaRAE5/N2VIT90VvmiHbZhEYYhS2lDUlcOLWSrxib/3smaANLhNjfsoqKNM8MFLNUjXuADArITyrX887TJS4yily0FqB6OqHWGMaCFqAaWAjF3fJQ3hOIU+d+g8JkizTo8mmCoAeZJXC4dhR51eWKZuAGBRtICGOOJbuElcM3XJbdTDFjMCv5rQ/upHeq/megvD8arU0CxRPiPErELJpVNncFYmUhDm9Rre7uD09LKf0RBY2kcQ7IhJEmmZwF+qc7Pljg4tmwWv4QoNF9Sgvcgi3I241BL+Go1o835U6lu0mvK4I2c6CFTXmEGG99am6cJhQvw7coEoBWpOlO+Df5WzYdpKiDzZlykOvDY7XrrJ5fOWtHU9z3euXvYwRj2BS/D6IHqGa8CQqX4AnrGAwfnIF+VW2XqmlZcJOGeKKtj47cS9X x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BL1PR12MB5849.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(136003)(39860400002)(346002)(396003)(366004)(376002)(230922051799003)(186009)(64100799003)(1800799012)(451199024)(7416002)(5660300002)(2906002)(41300700001)(122000001)(38100700002)(76116006)(66476007)(66446008)(64756008)(54906003)(66556008)(66946007)(110136005)(71200400001)(478600001)(26005)(53546011)(6506007)(7696005)(9686003)(83380400001)(8936002)(52536014)(8676002)(4326008)(316002)(33656002)(38070700009)(55016003);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?RUFkd0NyMWhvVVRnckF6TWlFQ3YxcTdOTUdJNTEzOHNuSXpVeVV4WHl3NU9Z?= =?utf-8?B?bHBJMHRXV3RYbWRTZ0ZPQTVWbnFtb3Z1clVlLzhOUDJ6YUl5ZTJZMUZmUUVK?= =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VWWnI5Q2pEVkdTUEU4ZUJvT1QwMnVwR3NDd21NVGJBcHQyRFRC?= =?utf-8?B?SnVJclNVNmdLTkdJQVhVMzk5NXpKQmJsaG9jaTR1ekd0N042aVdvaUdSM1ox?= =?utf-8?B?V25EVUROOUJBWHNzbi9acVYvNVY1MmM3OC92bnJzemUrT3RDYkVCY0xCMFNp?= =?utf-8?B?NktWcmZ0RVpqdE91dXVFRWZiOS8wSjFPTEhJMUF3Mm5ZYVVZaStnTC91RDVD?= =?utf-8?Q?CDEo=3D?= Content-Type: text/plain; charset="utf-8" Content-ID: <4A24FAC7503899409F781640B7FD708B@amdcloud.onmicrosoft.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BL1PR12MB5849.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6a31c946-133b-4401-a6b9-08dbf6d5f02c X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Dec 2023 03:38:12.0699 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 1tdsFMDvmGibFYVuAEQs53V4zsb2J8oRZ9Rjwb776QcyxYXR5Rlke1CHILp1g5dTP19q+wTPDDr5bYXrIH8XHQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA3PR12MB7924 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Wed, 06 Dec 2023 19:42:39 -0800 (PST) KEFkZGluZyBKdWVyZ2VuIHRvIHRoZSAiVG8iIGxpc3QuKQ0KDQpIaSBKdWVyZ2VuLCANCkxvb2tp bmcgZm9yd2FyZCB0byB5b3VyIG9waW5pb25zLg0KDQpPbiAyMDIzLzEyLzcgMTA6MTgsIFN0ZWZh bm8gU3RhYmVsbGluaSB3cm90ZToNCj4gT24gVHVlLCA1IERlYyAyMDIzLCBDaGVuLCBKaXFpYW4g d3JvdGU6DQo+PiBXaGVuIFBWSCBkb20wIGVuYWJsZSBhIGRldmljZSwgaXQgd2lsbCBnZXQgdHJp Z2dlciBhbmQgcG9sYXJpdHkgZnJvbSBBQ1BJIChzZWUgYWNwaV9wY2lfaXJxX2VuYWJsZSkNCj4+ IEkgaGF2ZSBhIHZlcnNpb24gb2YgcGF0Y2ggd2hpY2ggdHJpZWQgdGhhdCB3YXksIHNlZSBiZWxv dzoNCj4gDQo+IFRoaXMgYXBwcm9hY2ggbG9va3MgbXVjaCBiZXR0ZXIuIEkgdGhpbmsgdGhpcyBw YXRjaCBpcyBPS2lzaC4gSnVlcmdlbiwNCj4gd2hhdCBkbyB5b3UgdGhpbms/DQo+IA0KPiANCj4+ IGRpZmYgLS1naXQgYS9hcmNoL3g4Ni94ZW4vZW5saWdodGVuX3B2aC5jIGIvYXJjaC94ODYveGVu L2VubGlnaHRlbl9wdmguYw0KPj4gaW5kZXggYWRhMzg2OGMwMmMyLi40M2UxYmRhOWY5NDYgMTAw NjQ0DQo+PiAtLS0gYS9hcmNoL3g4Ni94ZW4vZW5saWdodGVuX3B2aC5jDQo+PiArKysgYi9hcmNo L3g4Ni94ZW4vZW5saWdodGVuX3B2aC5jDQo+PiBAQCAtMSw2ICsxLDcgQEANCj4+ICAvLyBTUERY LUxpY2Vu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gICAgIHU4IHBpbiA9IDA7DQo+ PiArICAgICAgIHN0cnVjdCBhY3BpX3BydF9lbnRyeSAqZW50cnk7DQo+PiArICAgICAgIGludCB0 cmlnZ2VyID0gQUNQSV9MRVZFTF9TRU5TSVRJVkU7DQo+PiArICAgICAgIGludCBwb2xhcml0eSA9 IGFjcGlfaXJxX21vZGVsID09IEFDUElfSVJRX01PREVMX0dJQyA/DQo+PiArICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgIEFDUElfQUNUSVZFX0hJR0ggOiBBQ1BJX0FDVElWRV9M T1c7DQo+PiArDQo+PiArICAgICAgIGlmIChkZXYpDQo+PiArICAgICAgICAgICAgICAgcGluID0g ZGV2LT5waW47DQo+PiArICAgICAgIGlmICghcGluKSB7DQo+PiArICAgICAgICAgICAgICAgeGVu X3Jhd19wcmludGsoIk5vIGludGVycnVwdCBwaW4gY29uZmlndXJlZFxuIik7DQo+PiArICAgICAg ICAgICAgICAgcmV0dXJuIC1FSU5WQUw7DQo+PiArICAgICAgIH0NCj4+ICsNCj4+ICsgICAgICAg ZW50cnkgPSBhY3BpX3BjaV9pcnFfbG9va3VwKGRldiwgcGluKTsNCj4+ICsgICAgICAgaWYgKGVu dHJ5KSB7DQo+PiArICAgICAgICAgICAgICAgaWYgKGVudHJ5LT5saW5rKQ0KPj4gKyAgICAgICAg ICAgICAgICAgICAgICAgZ3NpID0gYWNwaV9wY2lfbGlua19hbGxvY2F0ZV9pcnEoZW50cnktPmxp bmssDQo+PiArICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICBlbnRyeS0+aW5kZXgsDQo+PiArICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAmdHJpZ2dlciwgJnBvbGFyaXR5LA0KPj4gKyAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgTlVMTCk7 DQo+PiArICAg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ICAgICAgICAgIHJl dHVybiAtRUlOVkFMOw0KPj4gKyAgICAgICB9DQo+PiArDQo+PiArICAgICAgIHJldCA9IHhlbl9w dmhfZ2V0X2dzaV9pbmZvKGRldiwgJmdzaV9pbmZvKTsNCj4+ICsgICAgICAgaWYgKHJldCkgew0K Pj4gKyAgICAgICAgICAgICAgIHhlbl9yYXdfcHJpbnRrKCJGYWlsIHRvIGdldCBnc2kgaW5mbyFc biIpOw0KPj4gKyAgICAgICAgICAgICAgIHJldHVybiByZXQ7DQo+PiArICAgICAgIH0NCj4+ICsN Cj4+ICsgICAgICAgcmV0ID0geGVuX3B2aF9tYXBfcGlycSgmZ3NpX2luZm8pOw0KPj4gKyAgICAg ICBpZiAocmV0KSB7DQo+PiArICAgICAgICAgICAgICAgeGVuX3Jhd19wcmludGsoIkZhaWwgdG8g bWFwIHBpcnEgZm9yIGdzaSAoJWQpIVxuIiwgZ3NpX2luZm8uZ3NpKTsNCj4+ICsgICAgICAgICAg ICAgICByZXR1cm4gcmV0Ow0KPj4gKyAgICAgICB9DQo+PiArDQo+PiArICAgICAgIHJldCA9IHhl bl9wdmhfc2V0dXBfZ3NpKCZnc2lfaW5mbyk7DQo+PiArICAgICAgIGlmIChyZXQgPT0gLUVFWElT VCkgew0KPj4gKyAgICAgICAgICAgICAgIHJldCA9IDA7DQo+PiArICAgICAgICAgICAgICAgeGVu X3Jhd19wcmludGsoIkFscmVhZHkgc2V0dXAgdGhlIEdTSSA6JXVcbiIsIGdzaV9pbmZvLmdzaSk7 DQo+PiArICAgICAgIH0gZWxzZSBpZiAocmV0KSB7DQo+PiArICAgICAgICAgICAgICAgeGVuX3Jh d19wcmludGsoIkZhaWwgdG8gc2V0dXAgZ3NpICglZCkhXG4iLCBnc2lfaW5mby5nc2kpOw0KPj4g KyAgICAgICAgICAgICAgIHhlbl9wdmhfdW5tYXBfcGlycSgmZ3NpX2luZm8pOw0KPj4gKyAgICAg ICB9DQo+PiArDQo+PiArICAgICAgIHJldHVybiByZ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