From nobody Tue Nov 26 18:24:56 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; arc=pass (i=1 dmarc=pass fromdomain=quicinc.com); dmarc=fail(p=none dis=none) header.from=quicinc.com ARC-Seal: i=2; a=rsa-sha256; t=1705449093; cv=pass; d=zohomail.com; s=zohoarc; b=QVsQWwqKhVPzGr/D2jXgo8NZlvm2zovwpntJSrB5vyPT2Ng7Xj7t14NOL/Ks1rjCNfGYHor7FBVUVg0okqCH+xZl4I8J/YKlfusBG2RV2G6Ef3O7scA/Q3eQYfgwTJ9/4DeN5NAcK+F8G7FLC468dkFdCDFEa6ol7tZo0ipUn2Q= ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1705449093; h=Content-Type:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=OMb6LvDioa7EITczeZpxuhcO3FtDUk8nd5FVLpsYFjU=; b=LzUP2649ECAyQXkXQZc0NptaPI59IH5Mccb3+L3NXX552h4xbeS/sepBLXbRJjhOY2Sl2EdjrHlTtEFtgjbWXQMSHfs2wvKU7gexaAWDbAy4UyhrO7HE2nsNrK+ZIefL3iSfjw7uV8L0iBM/4npwhYDQT4FD8gWzwXcApyGx2EQ= ARC-Authentication-Results: i=2; mx.zohomail.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; arc=pass (i=1 dmarc=pass fromdomain=quicinc.com); dmarc=fail header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 17054490937281017.2691981106381; Tue, 16 Jan 2024 15:51:33 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rPtCP-0004Ng-Su; Tue, 16 Jan 2024 18:50:31 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rPtCN-0004NP-Pc for qemu-devel@nongnu.org; Tue, 16 Jan 2024 18:50:27 -0500 Received: from mx0b-0031df01.pphosted.com ([205.220.180.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rPtCM-0002gT-1O for qemu-devel@nongnu.org; Tue, 16 Jan 2024 18:50:27 -0500 Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 40GMtGC0030944; Tue, 16 Jan 2024 23:50:22 GMT Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2168.outbound.protection.outlook.com [104.47.59.168]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3vnmq0jafp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 16 Jan 2024 23:50:22 +0000 (GMT) Received: from IA0PR02MB9486.namprd02.prod.outlook.com (2603:10b6:208:403::18) by DM6PR02MB6512.namprd02.prod.outlook.com (2603:10b6:5:1b5::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7181.21; Tue, 16 Jan 2024 23:50:18 +0000 Received: from IA0PR02MB9486.namprd02.prod.outlook.com ([fe80::fba0:e11b:6b0c:73b7]) by IA0PR02MB9486.namprd02.prod.outlook.com ([fe80::fba0:e11b:6b0c:73b7%6]) with mapi id 15.20.7181.020; Tue, 16 Jan 2024 23:50:18 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:to:cc:subject:date:message-id:content-type:mime-version; s= qcppdkim1; bh=OMb6LvDioa7EITczeZpxuhcO3FtDUk8nd5FVLpsYFjU=; b=nq Na13i83ZZvyza5b+R68fr8TpDoRo+xMMYzekyVHfP8sk/LF8llzVAu7+dcVgmBiW i0PS0QP34DjJT21x3BRb4FrE+dql6HbpqvuLS3xumdISJpmxcMTX3vB16dibTK6n vo/i+XpwlRqLvYL8AlDSnhvTl44iN22Nf1VZUclLbLQTSD3hcjQ/UmTTyvXmvgge ROPGZh1WDoShXNHTa60e0PPuLIYEbKj0wuzMfgNbu3r0peO/wHATLnfSXZH1bvRp 4xSut27asJnrf4Zi7ObAZrPutFQzhtr8hegep8hzmFlzklFfAg4Bu5Wtrq7JOXKt 8cMWo3gq5f4uXweQIDXA== ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ncWg5effXXjnEG7UHEAFVNrctM72aDfxTijEoKe2EujsM7iIv4jIhVtJp0RkfTYnDG9ya6LqkcN4e+qbDSXZph7D2ClC7aDk7rlDS2G9Gr+HsG92Gf0lUR1YNDfogjb2Dy9CpvKXsXV2zJntmeP36BOnFoeDKa/m7bBrI1r0JJvRrjRUoLR+efG+W760hCOzL2PuiZM2KdmbTLWXyN1bCa6uP5exNvGT/3EzQJP1UDAT7Ugmy0U+fbsUidkifwCBQsRJAyyFB0PBzkHhFv3bmPkKx1/6Ls6kzNag4iW8fXMoHVpFEISCiD98lMIeqFBylM4Ih2mjZ4WX0AtvgTHrsw== 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=OMb6LvDioa7EITczeZpxuhcO3FtDUk8nd5FVLpsYFjU=; b=dpbd0gGFmxqgohlTUpTHHphhZtN2L5EZZlcH2XFgZ2U/Mc5oFldnuESNth9hVfqcSRLBYQFtVmLpxumKyzW0jlFcu1usAv9s9xoJtvauVEWzV+PQCYCOYaapXfrpMAjvfPPiOcvbonxTU97TljxeQWEJhP7NYq6pq3MCcPxPfPcjkmFXyg/r8UroEFFNp7MlK/bXzDlP5lwJDbLW5krN+WvpMvDIIFRvPGSa/R5djUujNP0wfST38/FVYQULghuav4IhUzHRy/3/CdwBuUtbNPldDAjhenQ5W//ni7I8A74bTCT7J+EnNYL6rrRLD2uZVzAmg4jGqrskURRuiaG4oQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=quicinc.com; dmarc=pass action=none header.from=quicinc.com; dkim=pass header.d=quicinc.com; arc=none From: Sid Manning To: "ltaylorsimpson@gmail.com" , Brian Cain , Matheus Bernardino CC: "qemu-devel@nongnu.org" Subject: Issue with PC updates. Thread-Topic: Issue with PC updates. Thread-Index: AdpI1Nkb4JAKjm39TF2aS55qOpZPzw== Date: Tue, 16 Jan 2024 23:50:18 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: IA0PR02MB9486:EE_|DM6PR02MB6512:EE_ x-ms-office365-filtering-correlation-id: de39a5f4-5d7a-4cfc-f730-08dc16ede4ec x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 61maCF0jVPv3W54i0UibEHiRtLwyBuiOlag0sRgYsR8uzU8iqg3d+qtw89UD4K+uix5iuyxPksrntBxK5ZXEGeOXKIw2JJ8mOw97oi4YHd21Vv5DvVXpssVIhYHqjXZPqTJ/OwBtqy5Nfot0U1gyY2VoFB4g+6JK3erxhZbfR+BsIWOs1nEKVio5NQI3BrG/aghSWpgoChkRHmm5/sZKRzVr5t0IJPciTpJOLx1LjJHCBusxR4BrYPYCDovyL5tB3f0LsfN81OixzRRVk+/+RyG8FC/UGdlORXUqT+tfDj6MUAhTZbd8nHwTnHDOHjGzk3MrP1RApF+QOy2eL1LCwr7+wK7WTQjbbVQv16qYwWFIBmh1XbFAzO+GZkPucKgFaoz+IXrpyoD5PsC5VecUJ3iFoDCUlio6mytmMwEJARU+4OSCZB1uwXn00iru4agNVxyBF668OZIYdgM1rlQhQM4xOcbdLNWQLeaXUt3jXYTxCN0inHM3jdTVbSrQO5UrDwJuK3vcgjiWxKMa/yUjDgyfnU2LXEtdty15QH7D56YSVzhYGA11Vm/1dXmkOu9A x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:IA0PR02MB9486.namprd02.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(136003)(396003)(366004)(346002)(376002)(39860400002)(230922051799003)(1800799012)(186009)(64100799003)(451199024)(7696005)(6506007)(26005)(71200400001)(9686003)(38070700009)(99936003)(83380400001)(38100700002)(86362001)(3480700007)(41300700001)(122000001)(478600001)(33656002)(52536014)(15650500001)(8676002)(4326008)(8936002)(5660300002)(66946007)(76116006)(66476007)(110136005)(66556008)(55016003)(66446008)(2906002)(316002)(64756008); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?LwfTRK3hJseUOKTX0P9BSRnXV0OJeP10IFGFRmNHOsDSFd+LdC0k0BFzXman?= =?us-ascii?Q?ucnJHYt4oCz4PKG7L3/9k2BshLDKToF0KFBjDCGS1Qa63bjR2lymGwBdYpD5?= =?us-ascii?Q?U05uaikmEFpOysnGBBD1DT1tA4+kng7fQJJaBr5dkLrBHGpxp/C4iyMXa4UZ?= =?us-ascii?Q?BAlAc0v0bM9SOtu6OfGZQOPKA04FUTQ5ex2+Rr6243B3MR8JEPT4rUr6CvDL?= =?us-ascii?Q?nQ4ud4aL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?= =?us-ascii?Q?ge7LA0oh7DWGWDY1LpBZoivVhijSeiVmE6jD1T0NETPF+X3RPeyWqc3OnRBp?= =?us-ascii?Q?YWdz/pM2g+W4t301E6lDakuvSKcadHGnDD7c0XnaEkRUliBTsZpp5CJdHj5v?= =?us-ascii?Q?hTLXeIBmd5YytooXBaMz3pSxIFCSOY5casXIQVMaB9NjhfP5q/cYsvFYj8bt?= =?us-ascii?Q?zDulxl70TfPrepCrl1w73IIAcIZm81MckpS4ItO01mVptjgsTOXwLtcevM2V?= =?us-ascii?Q?3ID3dGnRuQbaoNn3GkSVQSZm4H3EGcvaI8E1nlD7DaU9jlMkUuum4Q7uj2mY?= =?us-ascii?Q?ZbKmCOBK8OSA+4vInfL9QQrPMcNfbklSqJQvsVxx3lUgPMjbXUBGSqRpnKF3?= =?us-ascii?Q?tWXXLBu3kVl1uF+ylLlfz1odVy1vdUj23G/oEiPIbxPdUe66Er1aQy1xTjnl?= =?us-ascii?Q?ZR0scSBuLW7d0DLi2WAIyLGcarfty9w1z2/P6yE8?= Content-Type: multipart/mixed; boundary="_003_IA0PR02MB94868A441EB2706DDC7DC3DFBE732IA0PR02MB9486namp_" MIME-Version: 1.0 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: 5zviV0rqny86VS7cVTUTT3gGd84iTmCsRp1uC6vRAxYhSVLfxcHXvE1z6EAOmAclpJNitiKN6MduoHFd5eeqprQjYS6HFbREFjSJlX0S7lKCK+umphzb4k2ofxKuHQIx43Kowsytr9/bOv0gNCAQ1TMQvjhhrdPlhoJSuaD4NH92lIuEPUg0WMpAiNFX7HGycxWdyEbXCxQXYSZwrlniqrnSOf+HwgghGwvKHPHABftEQs6IVLvTHW2Y+BRXoJn38s//S1se68JXQed0MRK00QPWCr8thhKhbygDNVVPNI1+Nr+GITO71N1a3Dfbs0/NcZQovKWmpzxvhv3wCk0N6LU1FjAwFWp4dP3cTS50PVN31ZCNO+6EYso9U4TDQgIlteJI08gMPoAcr1yH4uKDafCYaiPKsq7AU/pAL35G93hjlLLl9Uj+7doqFTzu1J48rNnJXAm/ijeNOc5BEVxZzWAbkppNhMFM4RkldL3zTtbcyVpgC/5O4H3HfOsVyptdlxMkbysnXfZq4BAgN5U8akDteKeA/HDkAvRy1M2sb4XbPTHwRfkDH8k+qViUBRs4h5EFGK/rFCoZZcCzcXlQV36O+8DoPBzN2qdwshV01NnP9rEBVhDkMRl1ti42QEDP X-OriginatorOrg: quicinc.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: IA0PR02MB9486.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: de39a5f4-5d7a-4cfc-f730-08dc16ede4ec X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Jan 2024 23:50:18.3222 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 98e9ba89-e1a1-4e38-9007-8bdabc25de1d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: WsKFQLBtW74njldYiCX+VeN74s0GS2Dv0q4kJheQGvefbcDwABx2R/y7fm0IPG27FUN8yHO13dyuHMY21S2ySg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR02MB6512 X-Proofpoint-GUID: dRXynWQb6B_PF4LoVP3MD2SC5Ag3OHY8 X-Proofpoint-ORIG-GUID: dRXynWQb6B_PF4LoVP3MD2SC5Ag3OHY8 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-01-16_14,2024-01-16_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 priorityscore=1501 bulkscore=0 adultscore=0 suspectscore=0 impostorscore=0 lowpriorityscore=0 malwarescore=0 clxscore=1011 mlxlogscore=689 spamscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2401160187 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=205.220.180.131; envelope-from=sidneym@quicinc.com; helo=mx0b-0031df01.pphosted.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-Zoho-Virus-Status: 1 X-Zoho-AV-Stamp: zmail-av-1.1.0/204.902.92 X-ZM-MESSAGEID: 1705449095927100002 --_003_IA0PR02MB94868A441EB2706DDC7DC3DFBE732IA0PR02MB9486namp_ Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Hi Taylor, I ran into an issue when a packet, not executed out of ram (get_page_addr_c= ode_hostp returns -1, see translate-all.c) contains a fault. This packet is an example: { p0 =3D cmp.eq(r6,#0x6) if (p0.new) jump:t pass memw(##0xf2000000) =3D r6 } The above packet should always jump to "pass" since r6 is set to #0x6, but = if the store faults, the jump is discarded. This happens because do_raise_= exception's call to cpu_loop_exit_restore is not able to find a TB to resto= re the PC to. When an instruction is not associated with a physical RAM pa= ge translate-all will create a "one-shot" TB so when cpu_restore_state look= s for the TB by calling tcg_tb_loopup none is found. That keeps the PC fro= m being restored. The change attached restores some of the code from commit 613653e500c0d4827= 84f09aaa71f1297565b6815 / Hexagon (target/hexagon) Remove next_PC from runt= ime state. There are two attachments, the qemu update also includes an update to trans= late-all.c that forces this problem to occur. The second is the testcase w= hich is built using vanilla llvm toolchain configured for hexagon. Thanks, --_003_IA0PR02MB94868A441EB2706DDC7DC3DFBE732IA0PR02MB9486namp_ Content-Type: application/x-gzip; name="pc-testcase.tar.gz" Content-Description: pc-testcase.tar.gz Content-Disposition: attachment; filename="pc-testcase.tar.gz"; size=756; creation-date="Tue, 16 Jan 2024 23:32:23 GMT"; modification-date="Tue, 16 Jan 2024 23:50:17 GMT" Content-Transfer-Encoding: base64 H4sICJYQp2UAA3BjLXRlc3RjYXNlLnRhcgDtlc9v2jAUx7nOf8WTuIBEgg0k6Zg4VNO0U6VK67Zj 5SQOTXGc1DYFNO1/n+1QSLVuPaw/VM2fgxP7+cd735fnNFmgmdIZVWzceyawIYmiHp4QTCbE9acE u+eeHplFEYmNPZn1zKQ4Ij2InsuhLmulqQToqTIXbFf9ZR6T6iUcelmaTv7P6IoVJWdPfYZNcDyb /TH/U0z2+cdJbL8TMpuSqAf4qR15iP88/5TzOXoXhuM6vQ44v63GaSnGGadiCVYZHX6BoLqNIwjq dgCCwmgR8HzBeQ6BqJXOeZlC8J2PggvNtnqEt+/TE5fadpQJLXed0cOBN6xaj20TqJ3SrAqu2JYu awFBDnUzKsUlVZXplKrhdAeiFgwgWDEpGG+9Qa8t4BunW//7fD/5GY/Uv732j/d/jG39k8nU1/9L EC55ndK7YnLtHIFBYlhAv89uU9c1T9OXuGNr35WSR8P1umqgr5heNwj1c/M3MQWreXpZipxtQRKC jj27Pd7uP4IEobCWS8BbYu4HZI6bH3cM//m1b46tSuPrBiHk/Gu3/+FaFxPZO5Rh7O6powXvLUVC pgkmreWna7vR0DwfHPoj6JPh3ZTNQJI5Hh2MQyMOfBI05QzOzr62mk4OgpxEFCdFq+5OZcXSCjyx ay5MqUIr7zG0vi3gy6zOmZliJn2kAmrBd3BFRW5OsJdmQddcA9VG32LSKj7+drpYnJ+aJQdtrCZ3 inT1cEvQ72qwWauG1eJRJR7UwQ2vBa+zlXmX2oRgIjiXtZGmglPJKGqoUi5ZrULOD6XrZiDx8ANC h+DbObGbs407u5zTbMXMb+seqI2zsdFkVROym4GMR3Zlm7WygEGDQ8E2QyfzXIN1xNkqVm0GToK9 lEOboBj9dM5/ZlqX5u95xSSDsmp4yZTRv+RrycJjHOR+HK99D3g8Ho/H4/F4PB6Px+PxeDwej8fj 8Xg8nrfPL/wrFX8AKAAA --_003_IA0PR02MB94868A441EB2706DDC7DC3DFBE732IA0PR02MB9486namp_ Content-Type: application/octet-stream; name="0001-Incorrect-PC-update-for-many-miss-packets.patch" Content-Description: 0001-Incorrect-PC-update-for-many-miss-packets.patch Content-Disposition: attachment; filename="0001-Incorrect-PC-update-for-many-miss-packets.patch"; size=5500; creation-date="Tue, 16 Jan 2024 23:31:36 GMT"; modification-date="Tue, 16 Jan 2024 23:50:18 GMT" Content-Transfer-Encoding: base64 RnJvbSA2M2U2YWUyOTU2MzM0MzMwMTEwOTQ5ZGRiYTYxNTU0ZWVmNDI3NjgzIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBTaWQgTWFubmluZyA8c2lkbmV5bUBxdWljaW5jLmNvbT4KRGF0 ZTogVHVlLCAxNiBKYW4gMjAyNCAxMjozMjo0NSAtMDgwMApTdWJqZWN0OiBbUEFUQ0hdIEluY29y cmVjdCBQQyB1cGRhdGUgZm9yIG1hbnkgbWlzcyBwYWNrZXRzLgoKVGhlIGZvbGxvd2luZyBlcnJv ciBleHBvc2VkIGEgaG9sZSBpbiBob3cgb3VyIHRyYW5zbGF0aW9uCmNvZGUgd2FzIG1hbmFnaW5n IHBjL25leHRfcGMuCgpBIHBhY2tldCB3aXRoIGEgbG9hZC9zdG9yZSBhbmQgYSBjb25kaXRpb25h bCBjaGFuZ2Ugb2YgZmxvdwpj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