Message ID | 1502730909-28413-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 1C5B9602CA for <patchwork-xen-devel@patchwork.kernel.org>; Mon, 14 Aug 2017 17:18:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0640728671 for <patchwork-xen-devel@patchwork.kernel.org>; Mon, 14 Aug 2017 17:18:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EF3D72867D; Mon, 14 Aug 2017 17:18:22 +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 6A17128671 for <patchwork-xen-devel@patchwork.kernel.org>; Mon, 14 Aug 2017 17:18:22 +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 1dhIy8-0004Kd-QP; Mon, 14 Aug 2017 17:16:00 +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 1dhIy7-0004KF-Rs for xen-devel@lists.xen.org; Mon, 14 Aug 2017 17:15:59 +0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Pzd3xqun1w1Py0XmmvsXRnXe40G4cTU4a3Jnc MaUgODUTF4mbOOYPXR10xJcDAAA= X-Env-Sender: Volodymyr_Babchuk@epam.com X-Msg-Ref: server-15.tower-21.messagelabs.com!1502730957!77724605!1 X-Originating-IP: [104.47.2.78] 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 15283 invoked from network); 14 Aug 2017 17:15:58 -0000 Received: from mail-db5eur01on0078.outbound.protection.outlook.com (HELO EUR01-DB5-obe.outbound.protection.outlook.com) (104.47.2.78) by server-15.tower-21.messagelabs.com with AES256-SHA256 encrypted SMTP; 14 Aug 2017 17:15:58 -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=BHHMvzDtYRgViM+CBcm+BnbpyWnL+LaWhoOADVsPzzduuCvohJjsUTxDTf9uJ6ZZfUmVyfmgGaPt0nG2Xm4zLwghD0qhh4FmODNdJL9WfgW0O+sofvqffcD1snnar/C3tLP/6YwlGvtYgbAMMxsIJgU2U549oUYHh/0RWMaO44Y= Received: from EPUAKYIW2556.kyiv.epam.com (85.223.209.52) by AM4PR0301MB2130.eurprd03.prod.outlook.com (2603:10a6:200:4d::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1341.21; Mon, 14 Aug 2017 17:15:54 +0000 Received: by EPUAKYIW2556.kyiv.epam.com (sSMTP sendmail emulation); Mon, 14 Aug 2017 20:15:43 +0300 From: Volodymyr Babchuk <volodymyr_babchuk@epam.com> To: xen-devel@lists.xen.org Date: Mon, 14 Aug 2017 20:15:08 +0300 Message-Id: <1502730909-28413-3-git-send-email-volodymyr_babchuk@epam.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1502730909-28413-1-git-send-email-volodymyr_babchuk@epam.com> References: <1502730909-28413-1-git-send-email-volodymyr_babchuk@epam.com> MIME-Version: 1.0 X-Originating-IP: [85.223.209.52] X-ClientProxiedBy: DM5PR16CA0033.namprd16.prod.outlook.com (2603:10b6:4:15::19) To AM4PR0301MB2130.eurprd03.prod.outlook.com (2603:10a6:200:4d::15) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b7bd7c87-6953-4294-da21-08d4e3381fd5 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:AM4PR0301MB2130; X-Microsoft-Exchange-Diagnostics: 1; AM4PR0301MB2130; 3:oUk8lNS50xWFHNDlUoKd8GW94SGuueduWf/XA0x7RnF24fLxy1dbaI46D4puxLyqD2GICqSEBl5fPybSKJLwsxXJFWRRha8Ghypbcf73mKNZIEHRpWLnE4Tkr1MM4joHqRES0QXRzHvWoWv6dkpZy5ycBMv1AEdSlP6WN5zFrjIa07GtpNP5bdRcL2xqJQNWsM2SD3TCeUuPIubxk6RUDl3VHzgp2Hnljq1XiDxSmIc9SRUcz8IHhOQRSe72giyn; 25:9Rch3CWdvaSBYL2up2Ek0563UgkNq8J1QjXXhozDaDp0oLN93LHIW7Brlqb4N3osslhQJDNlaaUNHwMO/Pv4SotRpWfa28Bs+Cabsegqz3TzLk4TPzt+s8OkrYy7fDeRGBxDoQTXxdAnJ8eewklep78/ma6jwRVkpgkf4Nb5+miuTmLZHxJXeGwqIkC09hv7XoSbVXL+hAofvVerZPf9MllUHNvmzXatReadc58RLKgmK0z6a35/kbmIRueDGcwHQe5Qhni7nqmjadfOQPiGgiCxokGbtQSezYPzfFV/IUFM7FQloI27R2YwPqN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MO4kl1Zc5/e8OEzZwuSpqGYIw3HiU+4czYztHg3jCnIMb0+ofJqNLpsFi5INdwUJYqOek/KVe6pp70yGVaB4AnrNsGcjPbLqJPumUif16uX/VkIz571Q== X-Exchange-Antispam-Report-Test: UriScan:(180628864354917)(4114951738403); X-Microsoft-Antispam-PRVS: <AM4PR0301MB2130DBAA6A61B71CE534ADBFE68C0@AM4PR0301MB2130.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)(3002001)(100000703101)(100105400095)(10201501046)(93006095)(93001095)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(20161123562025)(20161123560025)(20161123558100)(20161123564025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:AM4PR0301MB2130; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:AM4PR0301MB2130; X-Forefront-PRVS: 039975700A X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(7370300001)(6009001)(199003)(189002)(5003940100001)(72206003)(2361001)(189998001)(6116002)(48376002)(3846002)(50466002)(68736007)(80792005)(97736004)(478600001)(110136004)(50226002)(305945005)(86362001)(5660300001)(122856001)(107886003)(54906002)(42186005)(105586002)(36756003)(7736002)(4326008)(66066001)(76176999)(33646002)(7350300001)(50986999)(101416001)(81156014)(81166006)(2351001)(106356001)(53936002)(47776003)(2950100002)(6666003)(6916009)(8676002)(2906002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM4PR0301MB2130; H:EPUAKYIW2556.kyiv.epam.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: epam.com does not designate permitted sender hosts) X-Microsoft-Exchange-Di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pgKIMC1W9aveD90eSV47BvUr3/nS6+9X87C6CSGlooa1KLBOIoMx2QEBRSoQLgNGOlJMbLTr315anpBdnBsemAn+3iEDQWWuVjWpwHB5jx/tSqO4I0NxZ4ht+aJ6zquI+u1ANQTIbgvgAx2bUiBW6vNScp+1izjM8vlKqJi6/UpAU= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: epam.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Aug 2017 17:15:54.0500 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR0301MB2130 Cc: Julien Grall <julien.grall@arm.com>, Stefano Stabellini <sstabellini@kernel.org>, Volodymyr Babchuk <volodymyr_babchuk@epam.com> Subject: [Xen-devel] [PATCH v3 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 */