From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=40.107.1.42; helo=eur02-he1-obe.outbound.protection.outlook.com; envelope-from=achin.gupta@arm.com; receiver=edk2-devel@lists.01.org Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10042.outbound.protection.outlook.com [40.107.1.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id D2E0321F38831 for ; Thu, 12 Oct 2017 06:49:07 -0700 (PDT) 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; bh=xXprdyHa0hen9ldylM5xEW8UqMxxgybox+eftGljpBI=; b=m0sKvkOJ7rNlKZlLDbseWGLxL/5vwtW9Se9+yc+H8fm0t3JZwUfzZtj/aOwUR5LeIYhCSas5U2d23pMA2/saiFc09mGMYEYPKUEyiBaAePrHYMG7L1zJjyFvwbjc0URMPVCX0wugxgRtsTM8F86KrRIaBGRZl86DKalpJ/pvyjw= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Achin.Gupta@arm.com; Received: from e104320-lin (217.140.96.140) by HE1PR08MB2700.eurprd08.prod.outlook.com (2603:10a6:7:2b::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.77.7; Thu, 12 Oct 2017 13:52:30 +0000 Date: Thu, 12 Oct 2017 14:53:19 +0100 From: Achin Gupta To: Supreeth Venkatesh Cc: edk2-devel@lists.01.org, leif.lindholm@linaro.org, ard.biesheuvel@linaro.org, nd@arm.com Message-ID: <20171012135318.GS26498@e104320-lin> References: <20171012003043.9629-1-supreeth.venkatesh@arm.com> MIME-Version: 1.0 In-Reply-To: <20171012003043.9629-1-supreeth.venkatesh@arm.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Originating-IP: [217.140.96.140] X-ClientProxiedBy: DB6PR07CA0076.eurprd07.prod.outlook.com (2603:10a6:6:2b::14) To HE1PR08MB2700.eurprd08.prod.outlook.com (2603:10a6:7:2b::31) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 881878c5-08be-4b21-0fba-08d511787ba8 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254152)(48565401081)(2017052603199)(201703131423075)(201703031133081)(201702281549075); SRVR:HE1PR08MB2700; X-Microsoft-Exchange-Diagnostics: 1; HE1PR08MB2700; 3:dfP7BlhPOx2c4nUYPYou5I5K3/GQf4DZvuhK5ogUOt0tNcvWdk1iBLA5qGWwZN6xW84fW7vX6AsLopqUWo342qbVDe/O6NcMbLmJe3ajUfGOnUD4Xl/L1LdLKJ4nVqtlxvQK4/MxabFGzDI7/zLLv9FGYw7pdre/sLsQoOHnATV0hnXrstuAuokHzY9Nk0DR1GTVegnrq6OU6HMcW8wsWzByy33YZ9B7CxHmeRChgmbOWx9yNgU3kqzIlPJ6DS9l; 25:j4oC7s8YZ1vXXWSyf2yKoHqDBZ48YUnp+9j0SvirW8oYRWZtpetlgXhWWuUMltvtDBCTVfWUl4629dr7m9SeJe3+sfF287XUxWjqQAoBRYjNl/8fHrLffJleK2U5L94OayHYd0e2xJICFie4qfZUB1Vndm9IBR3fIIhGWaUNqu6HxQbMFb9KCEWq2S/pJ5JwAhmB0mnZYYiO2dPvdODBuQy0Q5Bm9IsDFI6G9Zm7Pa8WuCrG99FT8Zj7kZ3s4XkZps2/fWErDFvh+npl0KW1vrY7YJjO0Is7OMKJarrSmgB0wWyQQUuTI2OjOqyYDWFFmKSue34wN3WKi5pkIRwr/Q==; 31:17evAhiz3APRyS3ZRfS8qzAB7oU6VxSmP9ygBRLKQt+W6JCsv7OFnC8AlLJ2jJ87G+DlsiIr3FapyAtj82A2mivf8EXh+f5H/Atj5ldNwMcISDhQDhhvQeTFHBUzjUC+Seheagy/IEuQPMCvz0hHtr5N6Jmbv+zz5F+mMGEOa/lr+aLbXPh813KHtT9KBQKSsar0LVkALKAt3rhgKQbn+7IxulhMtMnfk30JK/R4hTo= X-MS-TrafficTypeDiagnostic: HE1PR08MB2700: NoDisclaimer: True X-Microsoft-Exchange-Diagnostics: 1; HE1PR08MB2700; 20:yq+VCy6tRyAIX6nMspfvDt58DZdq3Yf7C9UW/prQjJV1q1srtmGI8lHgVUXFu4MZl9CMovOuce8t71B4yqtmdfjzhJRlOIGUaQVktY9excTmO64LLx7J0S4i6RyXhMIz183kNItWFqoHVExDDDZNP+2bAn9WYiZ1UhfV/6+ibCA=; 4:eiUG0NjtmnLyDYvisgwZO5zzqfGCwIma5vynqsz9pWKKzfg8RLlBx72qOrkeTy+JoI2ZD7LCPyiFAEJ/AuC9eu34ogs8MzbDdW7UaMB6BeEwZSombE9UJaUXr/qY2b9J/KeNrWjKmi3ANmreg4/fSzkrzeq5Z4Owy7ohyX8hcBMAYlwbcMS5ohk6C1U3uNnTDu+dqdjM2IkbVlzjD+Fu8cdPY5L0mPyDg/JDCWws6Nplf3y9KpbPD3xgUrJLN5lWEAtb6CNznSM4e3Q8bddmAsyA0EWl/GEtaKKGpOUKydA= X-Exchange-Antispam-Report-Test: UriScan:(180628864354917); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(5005006)(8121501046)(3002001)(10201501046)(100000703101)(100105400095)(93006095)(93001095)(6055026)(6041248)(20161123562025)(20161123560025)(20161123564025)(20161123555025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:HE1PR08MB2700; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:HE1PR08MB2700; X-Forefront-PRVS: 04583CED1A X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(39860400002)(376002)(346002)(189002)(24454002)(199003)(316002)(7736002)(106356001)(101416001)(97736004)(2906002)(305945005)(54356999)(47776003)(50986999)(76176999)(105586002)(66066001)(50466002)(33656002)(2950100002)(6862004)(229853002)(4326008)(6636002)(6666003)(8936002)(53936002)(72206003)(16526018)(25786009)(189998001)(33716001)(478600001)(8676002)(966005)(6496005)(55016002)(6306002)(9686003)(81156014)(6246003)(81166006)(1076002)(5660300001)(68736007)(83506001)(58126008)(3846002)(86362001)(23726003)(16586007)(6116002)(18370500001)(107986001); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR08MB2700; H:e104320-lin; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HE1PR08MB2700; 23:9O0EyidDWHzhwTJcgNHsIBeCAu6dSgs0CJjFuxC/E?= =?us-ascii?Q?YyQdsSGbVkG0XGxBRBt4lbxuiu6CuOwAcIiN+qp8MHts46fUMZvhn/YOEXZY?= =?us-ascii?Q?EHimczepSg4iVekyGyj5E0d4L5O9Aa3VQ9YqUYrkrkS4SjD/gcWt3t2kUcly?= =?us-ascii?Q?DHd/57WZJCqTXn1XhMJdsisFgC7zoOt3Ie20jb6jsHbRJfqtzGufnmiycBtA?= =?us-ascii?Q?sl3tUNzdPtIyXexYLtOoqdyW6miG1Y9dYWBgdqlmoDxyT1p9AA4dOpkyGz1N?= =?us-ascii?Q?M8reu5iGwqZbGW69ggQdmi+ArNfyFXfPUI4CGpBWFgNmcZWSB20YilHxBtl8?= =?us-ascii?Q?hIu+z0JwAO20mw69cKhoDcNDcK7XhDh1HaOYQZbcxLOJIJScdYy31vvvgj3s?= =?us-ascii?Q?uX/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?= =?us-ascii?Q?puNzHtO1i/iBaibGgI0KhU=3D?= X-Microsoft-Exchange-Diagnostics: 1; HE1PR08MB2700; 6:l9Ah4l9HklUDcDXZZg0yrK550GpVk0TRuzVq+T4qny6ABnCJbFcChnKd7JMkjcca1UTRupkSE4XPktbp0zhpWNBeVao3Y/iKlBiuNzIzl6htX3lPJVUeEwKCxhnHSmNYRAlZv+s9f4uX+/YsYHYmQel5lebtizwFVcmHfx2RxF4YvI3Ahcl728rDI9MZhmdG3kCaW5b/HQ+Fty0j4WdIlE0fGLFxIlnGaj8SFweyMktACUEw8qoa8mIPEj+/QucR1YNyT5ruQ12NqJoqO/FQkfFwjX1zDSZafacVFqXUoEAD4E1MbhgygHIISaliZcPt0yHtbFVLb5y33qIaJ5MFfw==; 5:n8SGUK5RUr5A/Uf4mAYxkcuOuigq8QTipaimxknoMzWa2Eq2g6skkTbJohMIwrhvrTKnTuukewzwK/Q1ook+y99fGku0wu2g8GTM+PH9ECyRXnndpWwauVdGzEcEm7aVVGo+0EWg0gMc8VNdpEy8aQ==; 24:OCzTRwMsyZZ2rLaNpHX1MIK1D3ubmzYqooxCyYlO6FiAmmhBDAfayEtTtA2LqxKGWtNle/a+g0micSICUqne4HQKUmoYDLjiCI6O+wmemjQ=; 7:gc9wROem/oFC9tW5S9pO5VJLWRubfe9YNfR8kkfnnId0pXUAT9aeDvYRlj3pxX0/7nK/SfHhA2mBZPkiwtPgxystWbiBYnxFQKYV1iXzrSecX8QMLna7sCjNGn8HM/vpooxmeaZ99XjXMHE7XFB9G5yHrWVveu/yzPKjC8YmdOXk5SDvoFD/nCj4ZNDJjeq1gEKxAbmb49pAx+bzVx0fv8L7SNJ4rpWNPFHnRucGyyY= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Oct 2017 13:52:30.6465 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR08MB2700 Subject: Re: [PATCH 1/1] ArmPkg/Include: Update MM interface return codes to match specification. X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Oct 2017 13:49:08 -0000 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Oct 12, 2017 at 01:30:43AM +0100, Supreeth Venkatesh wrote: > This patch corrects the Management Mode(MM) return codes as specified in > http://infocenter.arm.com/help/topic/com.arm.doc.den0060a/DEN0060A_ARM_MM_Interface_Specification.pdf. > > Contributed-under: TianoCore Contribution Agreement 1.1 > Signed-off-by: Achin Gupta > Signed-off-by: Supreeth Venkatesh > --- > ArmPkg/Include/IndustryStandard/ArmStdSmc.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/ArmPkg/Include/IndustryStandard/ArmStdSmc.h b/ArmPkg/Include/IndustryStandard/ArmStdSmc.h > index 37d0796649..2d2af9e37d 100644 > --- a/ArmPkg/Include/IndustryStandard/ArmStdSmc.h > +++ b/ArmPkg/Include/IndustryStandard/ArmStdSmc.h > @@ -56,7 +56,7 @@ > #define ARM_SMC_MM_RET_NOT_SUPPORTED -1 > #define ARM_SMC_MM_RET_INVALID_PARAMS -2 > #define ARM_SMC_MM_RET_DENIED -3 > -#define ARM_SMC_MM_RET_NO_MEMORY -4 > +#define ARM_SMC_MM_RET_NO_MEMORY -5 Looks good to me. Thanks! Achin > > /* > * Power State Coordination Interface (PSCI) calls cover a subset of the > -- > 2.14.1 >