From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (NAM10-BN7-obe.outbound.protection.outlook.com [52.100.155.218]) by mx.groups.io with SMTP id smtpd.web12.4746.1606396145333378429 for ; Thu, 26 Nov 2020 05:09:05 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@os.amperecomputing.com header.s=selector2 header.b=JnUzS0O0; spf=pass (domain: os.amperecomputing.com, ip: 52.100.155.218, mailfrom: quan@os.amperecomputing.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YXRoAQbRYrjtwwMyi0EwkY0mnRBKQrCvT2kNoIpcLPf4Nepm7zoUSa9Pbz9fC1pdETZkOc2uZ/Xr/FqsfLbTiC1ookmiry1QKm67yYF/x/3d33eIyAV7zxGYa0TC2eoIXL8dFXHOoWRJJeNE7m/VvDlRcDflQ1mY4cw8L8Sb/eTh7YKLnju/Dx9N+IxLkDyWfvu9YTrqNVtuhNSP5Vw3VhsIvDVv6rqFpwYcT9hRbdL/xjR5uzSt1wBhVVTuWKj7dw9ZpOsd6+ajTSJWUTcx7yHushQ5leBxKfqMMIF0FJZjJCCFcj0WCDrbJf8s0Q3irwPRGbAmXG1YJw4A4EcjhQ== 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=6hR8paZ9I+BqUo6wJBgC34ZXQk/2jyo4iG2vixrXVFs=; b=dtcaqmtMZXJTTRIg9MfbNDtM7mscJbO6Y8ZdNXvbTweSl9SBr1PlsADTpW9HJlBE+qheMFu7Gt3Ox+uOIdJ2fp8MoYKtEqYV6NszfFfD1NgBAfo6/3fy+zWezIqKxp9E300IbztRcoTrxmgN9ofG4PVLR1Lr0m410DbTYTwadXyZMc2zvTNopc4WbyQfxPCzJyEa5gpgQSG3vR+edcQjBHNIhhB9lhwPKgsvf+TRkLeQpCETfTjYJ/YFbFPMUnday7U4d/oSwHom19UP5Oyw0Ce/2F3F09ArNGjOHde6hhVArbShaZfndLFl/QvL4UAhoxpBDcVdDsysa7MwxMG/Mg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=os.amperecomputing.com; dmarc=pass action=none header.from=os.amperecomputing.com; dkim=pass header.d=os.amperecomputing.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=os.amperecomputing.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6hR8paZ9I+BqUo6wJBgC34ZXQk/2jyo4iG2vixrXVFs=; b=JnUzS0O0ptjaXYH5KpSuW7NskAc+4mYEUJZSakORSM5wpKc5sfCqYAP/dYFz/P0bZntW081Lzk9PnInehs3GqRmR4uyBFwXJZYQ9i0epjo6YK5kXs3yR8jjnYZfFYqBey9Smxt9fESLuySCUgbW2J15VH2HyZhhB+CRbZh5Dae4= Received: from MW2PR0102MB3482.prod.exchangelabs.com (2603:10b6:302:c::32) by MW4PR01MB6482.prod.exchangelabs.com (2603:10b6:303:65::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3589.22; Thu, 26 Nov 2020 13:09:01 +0000 Received: from MW2PR0102MB3482.prod.exchangelabs.com ([fe80::a88a:570d:e821:e1f]) by MW2PR0102MB3482.prod.exchangelabs.com ([fe80::a88a:570d:e821:e1f%3]) with mapi id 15.20.3589.030; Thu, 26 Nov 2020 13:09:01 +0000 From: "Quan Nguyen" To: "devel@edk2.groups.io" CC: Open Source Review , Victor Gallardo OS , Leif Lindholm , Ard Biesheuvel Subject: Re: [PATCH v1 1/1] ArmPkg/ArmGicDxe: fix writes to GICD_IPRIORITYR when ARE enable Thread-Topic: [PATCH v1 1/1] ArmPkg/ArmGicDxe: fix writes to GICD_IPRIORITYR when ARE enable Thread-Index: AQHWrMjGGBynaIIplEitxXI7x3G/KqnbBmMA Date: Thu, 26 Nov 2020 13:09:01 +0000 Message-ID: References: <20201028012112.12125-1-quan@os.amperecomputing.com> In-Reply-To: <20201028012112.12125-1-quan@os.amperecomputing.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=os.amperecomputing.com; x-originating-ip: [118.69.219.201] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 1af8aea8-d459-4acd-2d42-08d8920c7191 x-ms-traffictypediagnostic: MW4PR01MB6482: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4502; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: U3P3iRKIDMI3qU8aVTZSnDM1Enul8U5LY7ShC/aozwc0ecLGarErgOkNcBx4qqXaV4xww+jeE0tLCSADHVQXc47e6Nj4eAbLfELYMpKbOsU26jiOEgjPwesiYpFIwt6ej3fzSMPznJvbdTJIXr8m/X5Nro3sbPnaFGVGnv+68R9aM3nLBH9UMiCYpZx3tRPAG8wRjnMvivvfwIlZWmX2Bp4xdsrap3MEjb229e3fm/aPR2Y5LPh4iaq8ph+d0SkLZ19jGR5WCUn9PoOAAMcrcfFqai5eeAtqYf0lxoR7EXrB51YEfGeI65O6woYdGKyANKM78fOG0npolWHifbEcXkQRkSyExH5XV5XVVoxu58ekgvEps2Q+/+dnwUBIJlAqdsFUynEtMmW6GEF0vLfenRASL3aVos43vkJTj1eK7SSDSqNYBkPIhlY00Ba3kw7qVUjXBNMGtO46GrGbANFVPtGVBRW4hv4jqroOCJW8tHbWoRnYttiUsWgh3zkxNpBNjQbRIKqjlObPUE70UG+y0OPpdg9Fb9GJKK+FGZy+DXdpoc+iohY3ESLkWe7ghHS4EVU6mwcq9sMty3XbcsxrJQk4CHniFPRTu9GJ2Xn+u276CfcfV7m9P1muPdyTYsyPD8yP7icwrnZE4uCk4O2MzsIpo55mgtu+WKiLmOOcx4DjMTX9J2QOMbNUAYuGwoevm+/9RMkmu9x0VW4p/UJ444stcSc6im94dihau443NCBSgC13QPDpUr/Ie2NCgi3zlHwyuLP2VO7IKdYJuQMROg== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:5;SRV:;IPV:NLI;SFV:SPM;H:MW2PR0102MB3482.prod.exchangelabs.com;PTR:;CAT:OSPM;SFS:(4636009)(136003)(366004)(376002)(39840400004)(396003)(346002)(26005)(6916009)(316002)(478600001)(86362001)(6512007)(83380400001)(186003)(76116006)(66946007)(5660300002)(64756008)(6486002)(66446008)(2616005)(66556008)(66476007)(71200400001)(4326008)(8936002)(33656002)(6506007)(2906002)(8676002)(19627235002)(54906003)(91956017)(11215385002);DIR:OUT;SFP:1501; x-ms-exchange-antispam-messagedata: =?utf-8?B?VVBjT1RHMEtWMTVQaFNZblFKdHdBWE00WTlXVWt0a3VJZXdEbk1WWHl3RkRD?= =?utf-8?B?MElETXYrdmpjZU11WFhoNVliUDV5YzcrYlpQMCtyVkZISnpvNytMYllJd09Z?= =?utf-8?B?eHlQQjBDTDVlWFZ3NEowcGJ1bXR2NkNNQnNvd1JoUnllRUxUNkxyWlRTRStU?= =?utf-8?B?NkVEbFh0L0pyTzFHSW9KSHhGT1Qzb0ZvUU8yTGFwOXV6eUVTRzNVNCtieXJn?= =?utf-8?B?Wms1V2Y0N0dsTU45NVlXRmJOcVQrTG40YTlidHoydDQ4cjdueUJPby9Ra3pJ?= =?utf-8?B?Y3I1aFJCWmFIK1U4U2YvM0FqRVZKT1RRdXp5OHQ0em1ZWllBWFVXdmJyQkhW?= =?utf-8?B?Q3R4YlVIdnhBUWFmWmh5eUtlczZIT3dkVXArNXd1YzBBVmlrUGJzMmY4U0xZ?= =?utf-8?B?QmI1RmlLZU0rbFh6NWpJQldrVnFjREJlZW5Sd1kvMDZZNUlEVnk4NllnTE81?= =?utf-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oP?= MIME-Version: 1.0 X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW2PR0102MB3482.prod.exchangelabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1af8aea8-d459-4acd-2d42-08d8920c7191 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Nov 2020 13:09:01.4308 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3bc2b170-fd94-476d-b0ce-4229bdc904a7 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Ma/R4+TzzNLexg7aK/BeBrKXbEb0M0GZur/LTdeQCHe7o72nqQJAzmLHJGcHo8/KfeIeaSDi713wK7KBXLn2+E5FV1djEurXH0LTiGKNbMM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR01MB6482 Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 RGVhciBhbGwsDQpBbnkgY29tbWVudHMgYWJvdXQgdGhpcyBwYXRjaCA/DQoNCldpdGhvdXQgdGhp cyBwYXRjaCB0aGVyZSBhcmUgZXJyb3JzIHJlY29yZGVkIGluIEdJQ1RfRVJSPG4+U1RBVFVTIGFz IGJlbG93Og0KKGh0dHBzOi8vZGV2ZWxvcGVyLmFybS5jb20vZG9jdW1lbnRhdGlvbi8xMDAzMzYv MDAwMi9wcm9ncmFtbWVycy1tb2RlbC9naWN0LXJlZ2lzdGVyLXN1bW1hcnkvZXJyb3ItcmVjb3Jk LXByaW1hcnktc3RhdHVzLXJlZ2lzdGVyLS1naWN0LWVyci1uLXN0YXR1cz9sYW5nPWVuKQ0KDQor IEdJQ1RfRVJSPG4+U1RBVFVTID0gMHgwMDAwMDAwMDZDMjAwMzBGDQpUaGF0IG1lYW5zOg0KICAg ICAgViA9IDE6IFN0YXR1cyByZWdpc3RlciBpcyB2YWxpZA0KICA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