From patchwork Mon Aug 21 20:27:54 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Volodymyr Babchuk X-Patchwork-Id: 9913707 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id DF57A602A0 for ; Mon, 21 Aug 2017 20:31:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D2CB527F86 for ; Mon, 21 Aug 2017 20:31:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C7809287F4; Mon, 21 Aug 2017 20:31:49 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4563728816 for ; Mon, 21 Aug 2017 20:31:49 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1djtKa-0004F9-W2; Mon, 21 Aug 2017 20:29:52 +0000 Received: from mail6.bemta6.messagelabs.com ([193.109.254.103]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1djtKZ-0004Dv-Kh for xen-devel@lists.xen.org; Mon, 21 Aug 2017 20:29:51 +0000 Received: from [85.158.143.35] by server-8.bemta-6.messagelabs.com id 66/5F-09901-FB24B995; Mon, 21 Aug 2017 20:29:51 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrPKsWRWlGSWpSXmKPExsWSoc8QorvPaXa kQUMbj8WSj4tZHBg9ju7+zRTAGMWamZeUX5HAmtFwupG9oJu94tyc36wNjD1sXYxcHCwCjcwS Nyd9BnOEBPqZJDa3HGPtYuQEcpIlDk95wQRiswmYSKybf54dxBYRkJa49vkyI0gDs8BpZolPR w6ygCSEBTwlTi14wgZiswioSly91s8MYvMKeEscu/8crFlCQE7i5rlOsDgnUPzsnjZGiGVeEt /+7GWBqBeUODnzCZjNLCAhcfDFC2aIXkWJA79nMoMslhCYwijx4FEzG0SzusTe32+gimQljp6 dwwJh+0osXDSbHaLhKpNE4+R9bBBOM7vE/Hc/WSGqdCR+PtkKNfY5m8TkzUehbrWU+PjjBxuE XSAxZWYDVNENVolJu29BFclI/Fk+nxEiMZ9VYu7N1cwQRyVIvPv/Gxx8jAIxEpu2dEIVneSRm HhtEwuE08kusXvtLtYJjGqzkLw+C8nrCxiZVjGqF6cWlaUW6ZrqJRVlpmeU5CZm5ugaGpjp5a YWFyemp+YkJhXrJefnbmIEJgYGINjBOP2y/yFGSQ4mJVHeDamzIoX4kvJTKjMSizPii0pzUos PMcpwcChJ8F50nB0pJFiUmp5akZaZA0xRMGkJDh4lEV5PkDRvcUFibnFmOkTqFKMuR9OHLV+Y hFjy8vNSpcR5nUGKBECKMkrz4EbA0uUlRlkpYV5GoKOEeApSi3IzS1DlXzGKczAqCfOygUzhy cwrgdv0CugIJqAjDFungRxRkoiQkmpgXNQryrz288bKu4ql7IZHtIqXyk17WPBW8a990Lq5az QE3u8K9y6zrN7w9WPYvV2TXtd/On3Q7sWfmIw5fZ2sEyTsi/4U1E9f/SHRYWKWzfIEjTcb+H/ deanf7Rd+2Gda5ew7FvEG95M/8G56vGpJPGeUTh+HR0P3v7mSFxuq4u8VO1+3r/rXocRSnJFo qMVcVJwIAMh4hL6SAwAA X-Env-Sender: Volodymyr_Babchuk@epam.com X-Msg-Ref: server-14.tower-21.messagelabs.com!1503347389!72240387!1 X-Originating-IP: [104.47.0.84] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 9.4.45; banners=-,-,- X-VirusChecked: Checked Received: (qmail 40250 invoked from network); 21 Aug 2017 20:29:50 -0000 Received: from mail-he1eur01on0084.outbound.protection.outlook.com (HELO EUR01-HE1-obe.outbound.protection.outlook.com) (104.47.0.84) by server-14.tower-21.messagelabs.com with AES256-SHA256 encrypted SMTP; 21 Aug 2017 20:29:50 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=EPAM.onmicrosoft.com; s=selector1-epam-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=9/oln3RJVJrU0fE3Xn/WkUDo6k8iDP4Na06LKPHeMjg=; b=YFvrWgeXUlazdl4+LPpqwCfFtjAeI/vVp+lDFxLZ7aOJEsLWfTmn91Mv4VqI4P4yfUU56QSzBd7Iz/JO+iD9C/M3kTiNGeMz27q9z1w+6VtDaEmrFa2qCiGLxNxlhaW88p4KPJ+mAeiKQZkyTDzI+6X88WfhccEaenuqjxLQjEA= Received: from EPUAKYIW2556.kyiv.epam.com (85.223.209.58) by DB6PR0301MB2133.eurprd03.prod.outlook.com (2603:10a6:4:46::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1362.18; Mon, 21 Aug 2017 20:29:46 +0000 Received: by EPUAKYIW2556.kyiv.epam.com (sSMTP sendmail emulation); Mon, 21 Aug 2017 23:29:41 +0300 From: Volodymyr Babchuk To: xen-devel@lists.xen.org Date: Mon, 21 Aug 2017 23:27:54 +0300 Message-Id: <1503347275-13039-11-git-send-email-volodymyr_babchuk@epam.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1503347275-13039-1-git-send-email-volodymyr_babchuk@epam.com> References: <1503347275-13039-1-git-send-email-volodymyr_babchuk@epam.com> MIME-Version: 1.0 X-Originating-IP: [85.223.209.58] X-ClientProxiedBy: VI1P189CA0006.EURP189.PROD.OUTLOOK.COM (2603:10a6:802:2a::19) To DB6PR0301MB2133.eurprd03.prod.outlook.com (2603:10a6:4:46::15) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 913a8485-6598-445f-4b4c-08d4e8d35ddf X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(300000503095)(300135400095)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:DB6PR0301MB2133; X-Microsoft-Exchange-Diagnostics: 1; DB6PR0301MB2133; 3:Br043e5v/mJoefZSPfYFZ4+9oiIPerXarh+iJMFxmjUkiDj09tGuZ6dYEbAsKym7YqSCpFglpno1ao0Sd5yzKhFuzDlMu2WHhyI5QkRKWjx2vQ/QlmOze7l23/VGH0qF0OlxvspdhhRhGz9912y40hjCqG+AXyHtZis9fX8o3XqYLxDK1e1l88jd9JtBuaGk0yEVGfggdB+d+MfyBwax7N4ZJwAEstcXyzK9nKeVJkj0YFH8qgmUjpOQEvRSAKP3; 25:LTerNPoGTC5ZJTy1SC20OJ++T1rGpJ0FgPnKY7EZ+qkRZiHpijqAxPbA6Jufk4MIZk0WaVLP8+UA/pXXiUWLQmTrOtthEtc7Alyn4+MZ9ild+sREE1u+HxTsSukxwuqtdJA4RtGmGvSa2SsHBqiAdf0/4RkBpR+9idCTDBe2B2tuZCmDPHwkLk5p3EiMd+SXuiTmj3lSWwRNPuzVU76yRINK7FtVLmBDzGHZEga6iaBywnOV3cQAONx/TTeiwmjP3x4zqj4Eqg7eq0Lsn+05FppRFp4ebMErmbrvcngolkfcOOax0UBqPacsprP7uZun5bwT6wkPItlhaXAoUsS7dw==; 31:Pk5NZGkOWVcWbJUoT0W/AKB7usSGbt/A34Y8fGYDPvaiS6BgimmlTLTcjRaflGHreUGnavnprZfmbRug49xrbzzx6WBdEkzHpOtG0Pxf0PFcXFeBk51f+o643nN+z6D0pSIokBZMOYEbU5tKkVYzfr1q2f9gavT552kFmRBa3FH5a4uGtSs6Vtu7NBK2u+t1FB8KMzkRIBg6DO5Hg9v/k/Kywou9LKrng/D5EtNraj8= X-MS-TrafficTypeDiagnostic: DB6PR0301MB2133: X-Microsoft-Exchange-Diagnostics: 1; DB6PR0301MB2133; 20:h86M3Efh6Yu3GPZhYqd/RcuUjmtJqI8kpP5138E8cggNjVuXlbfk0UpYz4Y+uroAOVvOgQGs+xr9bDywqtDbKhSZIXfRPKpkQb1J0ywQkP+48MqBppxf1LHF3DsF4nCAWIS3nRSLx1tlcgn300bIJkEFu6/x1JgIjTBLcRp/nbqF0QbHC2FdpOE8cCEgtyvDEJH/Nwo7e6YRrXRXR1HhyX6Qt3tD1NI2pf9JmzSVoebZXM10OXe4hZ39r1P6wKA0pvhSzGdHPo0dI+UG9Us17KgqXf+Bni9QDaYE8C7APhObxizoN+RViBKqTkfl7G2tqycxQtm0rcGerp3tJPLoB3/GYa+hkuCrt73Ebe2JOUwDwKSE4+BmZaG0bhF0W5TNVnq5Vzijfgc5M+KIAybsM3d9N86M3T71lEaHv8p24LjBiFWNKSZMdDXXmG3KCxImrnhYj2LdVFwQd9wnFk0aohRcsIXYtAKcwF5PtoPeQdcSBSKq5kecWw9Qo54HOPTC; 4:oxCegbb/nGMBSrRpoa0/Ur6KSA9DCNBettvmnEP5ARE1dilLQpbR0h9uqyO2Y4tNeQPykJ0rSVPOrQkFnk/Nl5/kmrCUSAUfHAso8xoT9U+H97s3ZQ6YRKqPqieX4U/v6C8lkXoSGuPcaGk2XzIsen2GaRbQUpMvh7ln8+vDV3NRhJ5gUVxZVIoErDmxHMimPBWteQJyxn5NOjWjOZiucL19bbWv8Rccfknl6lo2ymSf84HSzXufeWaTG3+otZUkYD/UAaWuLrMUW6V3PExYOcNk5I7fh+p66lItz97HGBk= X-Exchange-Antispam-Report-Test: UriScan:(4114951738403); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(93006095)(93001095)(100000703101)(100105400095)(3002001)(10201501046)(6041248)(20161123555025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123558100)(20161123564025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DB6PR0301MB2133; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DB6PR0301MB2133; X-Forefront-PRVS: 040655413E X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(7370300001)(4630300001)(6009001)(189002)(199003)(478600001)(7416002)(7736002)(305945005)(54906002)(81166006)(189998001)(53936002)(80792005)(8666007)(2906002)(106356001)(72206003)(33646002)(4326008)(5660300001)(42186005)(3846002)(81156014)(8676002)(105586002)(2361001)(2351001)(6116002)(101416001)(7350300001)(50466002)(47776003)(50226002)(122856001)(48376002)(66066001)(86362001)(110136004)(97736004)(6916009)(8656003)(76176999)(50986999)(2950100002)(6666003)(36756003)(5003940100001)(68736007); DIR:OUT; SFP:1101; SCL:1; SRVR:DB6PR0301MB2133; H:EPUAKYIW2556.kyiv.epam.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: epam.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DB6PR0301MB2133; 23:iyJWMNvU3wMVOjmyHycl2jwQzE/98poFrf4/QMf?= =?us-ascii?Q?ua4SSUzmD2btAKwVtPBYngvucGhGSZAS84G6naxWkxd7hcehm3oZe8msIgPD?= =?us-ascii?Q?hExU+ueA2K+CrECf37jrTYTtwicWaGU1Z+I2fz2wqiiIaYOfpKScB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YuNw6oBqT2aaeztAA2cqwQ8= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: epam.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Aug 2017 20:29:46.5178 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0301MB2133 Cc: "Edgar E . Iglesias" , Stefano Stabellini , Wei Liu , George Dunlap , Andrew Cooper , Ian Jackson , Tim Deegan , Julien Grall , Jan Beulich , Volodymyr Babchuk Subject: [Xen-devel] [PATCH v4 10/11] public: add XENFEAT_ARM_SMCCC_supported feature X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP This feature indicates that hypervisor is compatible with ARM SMC calling convention. Hypervisor will not inject an undefined instruction exception if an invalid SMC function were called and will not crash a domain if an invlalid HVC functions were called. Signed-off-by: Volodymyr Babchuk --- xen/include/public/features.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xen/include/public/features.h b/xen/include/public/features.h index 2110b04..1a989b8 100644 --- a/xen/include/public/features.h +++ b/xen/include/public/features.h @@ -102,6 +102,9 @@ /* Guest can use XENMEMF_vnode to specify virtual node for memory op. */ #define XENFEAT_memory_op_vnode_supported 13 +/* arm: Hypervisor supports ARM SMC calling convention. */ +#define XENFEAT_ARM_SMCCC_supported 14 + #define XENFEAT_NR_SUBMAPS 1 #endif /* __XEN_PUBLIC_FEATURES_H__ */