From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=40.107.3.80; helo=eur03-am5-obe.outbound.protection.outlook.com; envelope-from=achin.gupta@arm.com; receiver=edk2-devel@lists.01.org Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30080.outbound.protection.outlook.com [40.107.3.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 2680021A07A80 for ; Sun, 9 Dec 2018 08:22:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector1-arm-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=EfvKPcW9efodco5DWX4vYHy+Hf+dkllseeQRt3ZFgvc=; b=Hc1w4chAWjyXgllwA2jZ2KeLGuFB46cesV8CnjD60dy0jwi1WUe9XjmmEH2IYFgzfCcK4nqf8sjvL1HltmWhX2j2eib8AtSNYcyuereeWXp7bl0QcSmiuojPRowfnW7moymUirZsA20aGMujFw6F0eL4XLT15nN+SCfeOwv+CGU= Received: from AM6PR08MB2982.eurprd08.prod.outlook.com (52.135.163.23) by AM6PR08MB3813.eurprd08.prod.outlook.com (20.178.89.210) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1404.20; Sun, 9 Dec 2018 16:21:58 +0000 Received: from AM6PR08MB2982.eurprd08.prod.outlook.com ([fe80::b487:fc39:3523:f34b]) by AM6PR08MB2982.eurprd08.prod.outlook.com ([fe80::b487:fc39:3523:f34b%5]) with mapi id 15.20.1404.026; Sun, 9 Dec 2018 16:21:58 +0000 From: Achin Gupta To: Sughosh Ganu CC: "edk2-devel@lists.01.org" , Jiewen Yao , nd Thread-Topic: [PATCH v3 0/2] StandaloneMM: Update permissions for Standalone MM drivers memory area Thread-Index: AQHUith/JkTLuGjSlUG4Bby3O4fE4aV2oO4A Date: Sun, 9 Dec 2018 16:21:58 +0000 Message-ID: <20181209162200.GV4897@e104320-lin> References: <1543821542-4908-1-git-send-email-sughosh.ganu@arm.com> In-Reply-To: <1543821542-4908-1-git-send-email-sughosh.ganu@arm.com> Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mutt/1.5.21 (2010-09-15) x-originating-ip: [217.140.106.52] x-clientproxiedby: CWLP265CA0007.GBRP265.PROD.OUTLOOK.COM (2603:10a6:401:10::19) To AM6PR08MB2982.eurprd08.prod.outlook.com (2603:10a6:209:44::23) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Achin.Gupta@arm.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; AM6PR08MB3813; 6:0Gjx+BspgKO6fSPG25nTGLK8JFOOm4XpYuIqDarQYqmezkaycmdXeqTi50tOwb1ky7Cq7rd11UA/9XVwPJ3aG+7EbjfwnRtOEbi9Sqe0JlK3Gyjp0/udi3BOfk63E9mI2sDRbHKjOyjOIZXBro1BWTbiMliEpkY/TgzO2nrtVI/gHYVJhNBc/Z33KSG0qLeinLCHlV/cdlSlccI3/tEyteLU18HUex8mimC5UuEYVfP/7msw/W5YdAe/7cq+IrHFFMAIzVDTdwSmyvX48KI7rj6f8/u4PdhCxsLOrwVT4iKVwprVgwWWJf8djInCzRW0h8d/GtTK96rhwMzg4t6mRhhUx87pXqnxSCUcAg5d3ePNz05dAeqa1zmYziSJi6yORPAqLI0UbBS/mvMlwdkcARJjX9EMl70Q4uj+F6+KhIWyNe1aqatXU1KU+jz57iP3N1ynRIWoqt23nRqR4zODCA==; 5:DWh0SGNvjRvXTGxLd2WX7SUmxPesVIk3dyOnFiMPnGDN39QW2uAbxdkmR4cSoPB+k7c2IcPTmMjGXdxx0qkCvrn4uMu4O4lrI176rwRbFTaWA3InJTQ4dGcoARwhNXpuFipXTfLAQOIoTRC1cqyBcqreR7+4P0xfmhGROciLXv8=; 7:Bwqrzwxmxueurea5Fq6N8hdJRiJ1+rCy5NZ0OSYNuUwb5CN1oP9xv52tqUsZPInHvyEV9+/hLNoyuUCAKL3ss0u02m71tRhhCykZF4TLmr/LH06kBoJJAAj9imD30iJqVvONgAKGIv0j7CoR7nfybw== x-ms-office365-filtering-correlation-id: 854a6af6-0cb2-4d1f-78a9-08d65df27171 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390098)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM6PR08MB3813; x-ms-traffictypediagnostic: AM6PR08MB3813: nodisclaimer: True x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(3230017)(999002)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3002001)(3231472)(944501520)(52105112)(6055026)(148016)(149066)(150057)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(201708071742011)(7699051)(76991095); SRVR:AM6PR08MB3813; BCL:0; PCL:0; RULEID:; SRVR:AM6PR08MB3813; x-forefront-prvs: 0881A7A935 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(7916004)(39850400004)(136003)(396003)(366004)(376002)(346002)(199004)(189003)(486006)(8936002)(316002)(97736004)(99286004)(58126008)(54906003)(14454004)(105586002)(68736007)(2906002)(15650500001)(106356001)(44832011)(5660300001)(229853002)(6246003)(33716001)(53936002)(6862004)(4326008)(7736002)(33656002)(6636002)(11346002)(3846002)(446003)(6116002)(476003)(14444005)(256004)(6486002)(9686003)(6436002)(52116002)(478600001)(6512007)(1076002)(76176011)(81156014)(81166006)(86362001)(8676002)(26005)(72206003)(186003)(25786009)(102836004)(386003)(33896004)(305945005)(71190400001)(66066001)(71200400001)(6506007)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR08MB3813; H:AM6PR08MB2982.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: LLKtEeR0ldd3urrxZkV5PJyk6x85XrqzRg0jopExW9JaMKn/DQdu2vGwPP0uwEeIdy7EoeKMlQpRsEIKYZBcX+YsRHmpegowWdl9lSil+EJRqGviMT+zMiHNeD2UnwT1O/lTg6LJoFtVJs5jaX6s/b8QY8cF3JZlM++nAmRwez2LRfo00vKg+J6ibfvM8JoFD1zuXkZea7UaioyJtXluLwQ5UTaJaW66KKiV4VjCHioi+bLuzvXkZ98/hyAijwHAb6WQRz/Of8Jep/2AAFj8bwSRAbnGu3UZCZS1VAaj73U5NH88zwZU0LF/pOugXFA7zd13f49V0tF8jso23s7p6TAz5yY4MDKYri2FGfiKjDc= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-Network-Message-Id: 854a6af6-0cb2-4d1f-78a9-08d65df27171 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Dec 2018 16:21:58.7725 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB3813 Subject: Re: [PATCH v3 0/2] StandaloneMM: Update permissions for Standalone MM drivers memory area X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Dec 2018 16:22:01 -0000 X-List-Received-Date: Sun, 09 Dec 2018 16:22:01 -0000 X-List-Received-Date: Sun, 09 Dec 2018 16:22:01 -0000 X-List-Received-Date: Sun, 09 Dec 2018 16:22:01 -0000 X-List-Received-Date: Sun, 09 Dec 2018 16:22:01 -0000 X-List-Received-Date: Sun, 09 Dec 2018 16:22:01 -0000 X-List-Received-Date: Sun, 09 Dec 2018 16:22:01 -0000 X-List-Received-Date: Sun, 09 Dec 2018 16:22:01 -0000 X-List-Received-Date: Sun, 09 Dec 2018 16:22:01 -0000 X-List-Received-Date: Sun, 09 Dec 2018 16:22:01 -0000 X-List-Received-Date: Sun, 09 Dec 2018 16:22:01 -0000 X-List-Received-Date: Sun, 09 Dec 2018 16:22:01 -0000 X-List-Received-Date: Sun, 09 Dec 2018 16:22:01 -0000 X-List-Received-Date: Sun, 09 Dec 2018 16:22:01 -0000 X-List-Received-Date: Sun, 09 Dec 2018 16:22:01 -0000 X-List-Received-Date: Sun, 09 Dec 2018 16:22:01 -0000 X-List-Received-Date: Sun, 09 Dec 2018 16:22:01 -0000 X-List-Received-Date: Sun, 09 Dec 2018 16:22:01 -0000 X-List-Received-Date: Sun, 09 Dec 2018 16:22:01 -0000 X-List-Received-Date: Sun, 09 Dec 2018 16:22:01 -0000 X-List-Received-Date: Sun, 09 Dec 2018 16:22:01 -0000 X-List-Received-Date: Sun, 09 Dec 2018 16:22:01 -0000 X-List-Received-Date: Sun, 09 Dec 2018 16:22:01 -0000 X-List-Received-Date: Sun, 09 Dec 2018 16:22:01 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-ID: <1A528782B3872F428DA159954DF20C84@eurprd08.prod.outlook.com> Content-Transfer-Encoding: quoted-printable Hi Sughosh, On Mon, Dec 03, 2018 at 12:49:00PM +0530, Sughosh Ganu wrote: > Changes since v2: > Incorporate review comments from Achin to move > StandaloneMmPeCoffExtraActionLib.c under AArch64 directory. >=20 > Changes since v1: > A new patch has been added to reflect the library class added for > changing the MMU attributes in StandaloneMM image, based on review > comments from Ard Biesheuvel. >=20 > Sughosh Ganu (2): > StandaloneMM: Include the newly added library class for MMU functions > StandaloneMM: Update permissions for Standalone MM drivers memory area >=20 > StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/StandaloneMmCoreEntry= Point.inf = | 2 +- > ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf =3D> = StandaloneMmPkg/Library/StandaloneMmPeCoffExtraActionLib/StandaloneMmPeCoff= ExtraActionLib.inf | 18 +- > StandaloneMmPkg/Library/StandaloneMmPeCoffExtraActionLib/AArch64/Standal= oneMmPeCoffExtraActionLib.c = | 222 ++++++++++++++++++++ > 3 files changed, 234 insertions(+), 8 deletions(-) > copy ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf = =3D> StandaloneMmPkg/Library/StandaloneMmPeCoffExtraActionLib/StandaloneMmP= eCoffExtraActionLib.inf (72%) > create mode 100644 StandaloneMmPkg/Library/StandaloneMmPeCoffExtraAction= Lib/AArch64/StandaloneMmPeCoffExtraActionLib.c >=20 > --=20 > 2.7.4 >=20 >=20 Reviewed-by: Achin Gupta Pushed as 34b1d7eafee0..f7f94ffe8828