From patchwork Mon Mar 25 16:25:07 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 1064542 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ziswiler.com Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 44Sfrz4RSKz9sNf for ; Tue, 26 Mar 2019 03:30:59 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 4BAB7C21FA1; Mon, 25 Mar 2019 16:30:02 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 1F75EC21EFC; Mon, 25 Mar 2019 16:28:53 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 1F2D4C21E68; Mon, 25 Mar 2019 16:26:18 +0000 (UTC) Received: from mout.perfora.net (mout.perfora.net [74.208.4.196]) by lists.denx.de (Postfix) with ESMTPS id EBA0BC21F2B for ; Mon, 25 Mar 2019 16:26:13 +0000 (UTC) Received: from marcel-nb-toradex-int.toradex.int ([46.140.72.82]) by mrelay.perfora.net (mreueus002 [74.208.5.2]) with ESMTPSA (Nemesis) id 0Lkhla-1gaVBV3Mwu-00aRRf; Mon, 25 Mar 2019 17:26:10 +0100 From: Marcel Ziswiler To: u-boot@lists.denx.de Date: Mon, 25 Mar 2019 17:25:07 +0100 Message-Id: <20190325162512.8702-18-marcel@ziswiler.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190325162512.8702-1-marcel@ziswiler.com> References: <20190325162512.8702-1-marcel@ziswiler.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:hMiE+EkgNEo+bR+bOzucIdILIJRwsouNCxLW2L83HyXZ3B3DMXH yxe/4CamlebS0kB7/8H3sMLlRQfEKhPVbRJ2y7ROJeOGef6IWKCLT3r75rHGNnSkawe0avB SjBQL17vhpMPcZOwhilUWDzcdCZOHMAi9OF4TAFuKD60AKXQ+9RsFlDly32hbI2XkTTm4rM 2cauDl70Y3S6ZJOMjPaKQ== X-UI-Out-Filterresults: notjunk:1; V03:K0:olvzNJYgp9I=:HnoRDJAU43E9h5GJWRjrI+ 3Ffhqpi3T0CQ0XRhqJ2X6Gvo3xjcOd5wATiSBuIqURTukx6yRXmjsfGWYMPjwEcKBOkLQDqTv 9qJlaZ1uGrSvp5DHS9mmAW26meTiDmF2cMcIOJCZLh/a82k6wiPA2hH+q/dG1l8u9UXiPVAMS uoA3tj2mzp/uQH06TDi6qITKc1RmYK2M6Aj2Kh7xmjLlkLXfy/kqzbn2A9RXk/ErlAOwP13qs /TIZhBoWJh0KqTRyHSGho7LfmmpMEqmPOoGC2KEE0nTmq8ISwu4iZr77ntbj9HjJ3j279o+Rb U1tS6DaHZkvpRFrsWdPgUtVEFe0MBK6BI/I46jUkFZ4LeYT/KgAUEEKykh1V9qRTKd06//pHo AHUfHKlWPUvDVDXLCUoD4MUgWg4WZ6YYdwfoAsyVX5gonIzqQC0xtcHF1fXUw34lWKKvzw93D ZMReXc97Qn2wKICn3KqarsMlk/8sflD0ZOjQYUwy6il8pBjvWfuu5dgihfwuDSIB7F16J+l/6 lUvb0OTA4T+851yg2hk00tzgt/oy/l1E89/joNOsmhyGRXSBI34debiYgnzmbC0G6Ihsfa1yO Gd9HtDHv7XE09Mi8yJ8XkZMDw9v98b/19BsuIVxbYQjskivq0hFByTGcfvJW6fHMbpmHu0ira bEY2wqHJUXX5MCMhAVDv7hHu1/9JEXbmfaxQmD8mGfIZsCnCNlPro/tV0Wy7bz1AT4/SOoRka yD4ij1pNgg8x1ix+ofNmY/hUVieMkwo9EVxErg== Cc: Marcel Ziswiler , Igor Opaniuk , Stefan Agner Subject: [U-Boot] [PATCH v2 17/22] colibri_vf: disable undefined instruction events in user debug X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" From: Stefan Agner It turns out that OpenSSL calls undefined instructions to detect ARM capabilities at runtime (via SIGILL handler). This leads to stack traces e.g. when logging in using SSH: [ 877.464442] sshd (613): undefined instruction: pc=76ee2da8 ... Disable undefined instruction events since it is used as an autodetecion mechanism. Signed-off-by: Stefan Agner Acked-by: Marcel Ziswiler Reviewed-by: Igor Opaniuk --- Changes in v2: None include/configs/colibri_vf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/colibri_vf.h b/include/configs/colibri_vf.h index 030281bb67..b2f27c1977 100644 --- a/include/configs/colibri_vf.h +++ b/include/configs/colibri_vf.h @@ -106,7 +106,7 @@ SD_BOOTCMD \ UBI_BOOTCMD \ "console=ttyLP0\0" \ - "defargs=user_debug=31\0" \ + "defargs=user_debug=30\0" \ "dfu_alt_info=" DFU_ALT_NAND_INFO "\0" \ "fdt_board=eval-v3\0" \ "fdt_fixup=;\0" \