Message ID | 1502909097-13244-3-git-send-email-volodymyr_babchuk@epam.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <xen-devel-bounces@lists.xen.org> 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 9A7546038C for <patchwork-xen-devel@patchwork.kernel.org>; Wed, 16 Aug 2017 18:47:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8D79D28A3C for <patchwork-xen-devel@patchwork.kernel.org>; Wed, 16 Aug 2017 18:47:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 826A028A40; Wed, 16 Aug 2017 18:47:34 +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 63DB228A3E for <patchwork-xen-devel@patchwork.kernel.org>; Wed, 16 Aug 2017 18:47:33 +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 <xen-devel-bounces@lists.xen.org>) id 1di3Jm-00083X-Uq; Wed, 16 Aug 2017 18:45:26 +0000 Received: from mail6.bemta6.messagelabs.com ([193.109.254.103]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from <Volodymyr_Babchuk@epam.com>) id 1di3Jl-000835-D7 for xen-devel@lists.xen.org; Wed, 16 Aug 2017 18:45:25 +0000 Received: from [193.109.254.147] by server-10.bemta-6.messagelabs.com id B9/0B-18185-4C294995; Wed, 16 Aug 2017 18:45:24 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA1WSbUhTYRTHfe69273FVrfN8LQ0aFBG5FuOCiL oQx9iFRX5IaXIu7q60V7s3hkLIjTN2ioy31sjJSs0S0tWM0xIc5FJVjbFsiDsRROtJB3lCLt3 d5U9n/7P8/uf5/wPHApXFco1FOuws5yVMWvlcwljEtIlPCwpS0+eGExdd2WiltiINvtbQ9gOl CEzWQ02R6bM2O8/iec0ko5T48NkHiqSu9BciqDzcfB5vLgLzaEQvQeavU4kAhV9DoO66RekCF T0fvC/uy0XtZzWQWP1s/B7NL0Y+r+/DBfgdBGC/AfNmAjUdAZUNvjCJoJeBvUFpeFiJa2Hzsv jYQ/QS+BVjzPceQ69BQrbTwgeSmimh6IhtWRfAF0XPhCixmmA9pERXCpdCuXNTeEJgC5HMHT6 o0wKGg9tobGIKQ78Tz2EpLfBm8cuUirow6DqdDWSLgUkvC53RlyroLalE5dAKQlF3nKZBPRQ5 +5Aks6B1h83Cck0IIPG3hq5BGKhbUCcXwQeGQR9pUgKlQlfZkIR0KWAa1MXI986SZiY1hej5e 5Z07pnTVuDsOtoBc9yh1kuIXV1ooEzZRvtFsZkTkhJXpNoYXmeyWbNjIFP3G+zNCNhF6KE04K 6G3d2oEUUpl2o1NvK0lXzDLYDR4wMb9zH5ZpZvgPFUpQWlNx5gS3g2GzWkWUyCwv1BwOl0EYr XSJW8jmMhTdlS+gJSqWOf/NOYtRo8UwQUxFWm5XVxChJ0UqLVmOu9e9Hf5azF8Vp1EokRFMpc ljOYrL/z0dRDIW0aiUp7LBKYbLa//YbFaJgQpTAyRIxip35hzR5SF9T5Q76WqLv7ZJlRg3e2L op8Daw81PV1FrD4R9TXwfaCi/tHvM86v6541bapZ7nPdOuQyst73U405ebNOOaVN9q0N/NSq+ u2ETO33B1753h9WcqmuqHOo/dX3LPrYv3x2Wt5QO6yhW+s56Nn+vyj6Z52O2/DuSGgm6v9/bi g5bYc1qCNzIpK3GOZ34DzTvTwZcDAAA= X-Env-Sender: Volodymyr_Babchuk@epam.com X-Msg-Ref: server-7.tower-27.messagelabs.com!1502909123!107526878!1 X-Originating-IP: [104.47.1.52] 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 55552 invoked from network); 16 Aug 2017 18:45:23 -0000 Received: from mail-ve1eur01on0052.outbound.protection.outlook.com (HELO EUR01-VE1-obe.outbound.protection.outlook.com) (104.47.1.52) by server-7.tower-27.messagelabs.com with AES256-SHA256 encrypted SMTP; 16 Aug 2017 18:45:23 -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=IENEIMBVZHnx7RSsJoIhEMx3BmoDclQncEwqrGlUkoQ=; b=EMRt9T/jmeb1UdEKbfY2NjZc9c2EtCuny1GdmhN7L9wqRpeKHtz+OzWZrNEiTMCMsBzm9/ZaLGXcA01Cvn9e0otWzB9WgitDttdAjKaMU7DC6Dcp6O69FceyHK30v59T031MGmRnZAYTUoCVp6lZ5JdwM9rI1s4vsI0KtwtpmBM= Received: from EPUAKYIW2556.kyiv.epam.com (85.223.209.51) by HE1PR0301MB2137.eurprd03.prod.outlook.com (2603:10a6:3:21::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.1362.18; Wed, 16 Aug 2017 18:45:20 +0000 Received: by EPUAKYIW2556.kyiv.epam.com (sSMTP sendmail emulation); Wed, 16 Aug 2017 21:45:15 +0300 From: Volodymyr Babchuk <volodymyr_babchuk@epam.com> To: xen-devel@lists.xen.org Date: Wed, 16 Aug 2017 21:44:56 +0300 Message-Id: <1502909097-13244-3-git-send-email-volodymyr_babchuk@epam.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1502909097-13244-1-git-send-email-volodymyr_babchuk@epam.com> References: <1502909097-13244-1-git-send-email-volodymyr_babchuk@epam.com> MIME-Version: 1.0 X-Originating-IP: [85.223.209.51] X-ClientProxiedBy: DB6PR1001CA0001.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:4:b7::11) To HE1PR0301MB2137.eurprd03.prod.outlook.com (2603:10a6:3:21::14) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: daa67d02-53df-475e-0390-08d4e4d6f29d 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:HE1PR0301MB2137; X-Microsoft-Exchange-Diagnostics: 1; HE1PR0301MB2137; 3:vzaL4BE1BcTN5HDLwvQtmizSOg5wkz2i5L/ciLsi0Pwkp7LDZfRGKZ0G15jf8eA5e1V8sc3HdsCmJ8ygCMRB63J60qCDqzJZHcsuQytJDdsJphq5z93zYPg6PpheuHSy439wgWkbAju2zwDWg6QBka3QV2E13pT/GIdUVpzGdghyizRTBmi2aWtmTg9USF44j8eG2gFBl4KqdjSMqypby2bhNSoXAMjk8TJzw/ksmkxY3jRY+dM5jG1YbhrDmtE7; 25:jOpnvM7GVFRhdC3SPDqcEkgj3wBubq11hGlmRbKRwcgWdzq1bOIvHkTLAC507yosxvTbEFFDv786DXtb9TQY0BSrpf15eMz1MHJvoSYT/SQ/118I4rPSxDurBr2wjZGHWiXASzXJQYDsjtoKKLcI31rCPc+uDwTCZMsJpxOiAtQWVGhtUW6WAScTJrT/IW1cO1giGrgOFurCJJayYmjCaOLH08MFYeyffOWrvaeGUspuCMr28Gsvct0NzhL2JKSRRdIB0zevz5Sryl/NYxUC2bRitfzpxyJpDTIdjG3WedN5E3tBoRTiE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v9qUGk9NUyqLDcUXjm7JZKEZWkPGxScfSY+u0ncZu3u1SJrb2WNtkOdBkGg7n0QOqzfY5CSr9SBi6vVqi2X3HZc0Q997QzGir/u6iFVS4SYTYxNw== X-Exchange-Antispam-Report-Test: UriScan:(180628864354917)(4114951738403); X-Microsoft-Antispam-PRVS: <HE1PR0301MB2137B3C1D58BD57DD3E41E8AE6820@HE1PR0301MB2137.eurprd03.prod.outlook.com> X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(100000703101)(100105400095)(93006095)(93001095)(6041248)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(20161123562025)(20161123560025)(20161123558100)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:HE1PR0301MB2137; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:HE1PR0301MB2137; X-Forefront-PRVS: 0401647B7F X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(7370300001)(4630300001)(6009001)(39860400002)(189002)(199003)(50986999)(47776003)(66066001)(101416001)(6666003)(48376002)(80792005)(2950100002)(81166006)(81156014)(8676002)(6916009)(3846002)(2361001)(53936002)(76176999)(50226002)(5003940100001)(50466002)(110136004)(107886003)(6116002)(2351001)(105586002)(2906002)(4326008)(54906002)(106356001)(72206003)(5660300001)(97736004)(122856001)(7736002)(86362001)(305945005)(33646002)(68736007)(36756003)(7350300001)(189998001)(478600001)(42186005); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR0301MB2137; 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-Microso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SWYa2bOnBECR+Y=; 7:sVA/aXivSzB7yTjuspIh/ik+KUxVloWDcyR3KvsR1Ft4i7AZhx2OMSzVnx7hnDYVHuTiwNkOhm1GdDwv9HP1KjSdoIbB/jiraoVrtW8kS1OWhrGNMr6G+EJhX+JxeB0KwEtsu5Meg+/pZ0o3sSGZmi6hbsCeFKACfyJ8pCNQGnTW/1lqF1vY8WZOvRrNaRqBwegTG4wXqKSlfMb81XYeAx/kybK8OVRe5A8EgftoYwQ= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: epam.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Aug 2017 18:45:20.3687 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0301MB2137 Cc: Julien Grall <julien.grall@arm.com>, Stefano Stabellini <sstabellini@kernel.org>, Volodymyr Babchuk <volodymyr_babchuk@epam.com> Subject: [Xen-devel] [PATCH v4 2/3] arm: traps: handle unknown exceptions in check_conditional_instr() X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion <xen-devel.lists.xen.org> List-Unsubscribe: <https://lists.xen.org/cgi-bin/mailman/options/xen-devel>, <mailto:xen-devel-request@lists.xen.org?subject=unsubscribe> List-Post: <mailto:xen-devel@lists.xen.org> List-Help: <mailto:xen-devel-request@lists.xen.org?subject=help> List-Subscribe: <https://lists.xen.org/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xen.org?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" <xen-devel-bounces@lists.xen.org> X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/xen/arch/arm/traps.c b/xen/arch/arm/traps.c index c07999b..eae2212 100644 --- a/xen/arch/arm/traps.c +++ b/xen/arch/arm/traps.c @@ -1717,7 +1717,7 @@ static int check_conditional_instr(struct cpu_user_regs *regs, int cond; /* Unconditional Exception classes */ - if ( hsr.ec >= 0x10 ) + if ( hsr.ec == HSR_EC_UNKNOWN || hsr.ec >= 0x10 ) return 1; /* Check for valid condition in hsr */