Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp2237983imm; Thu, 7 Jun 2018 07:31:42 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJo5OV0b8UEW/zOwgpDmYaa5EGQQmfr3vd9TMcyZ66zQ8fTIbfdVBHr3W4PR8EHlIDY3yJw X-Received: by 2002:a63:aa4c:: with SMTP id x12-v6mr1729392pgo.387.1528381902744; Thu, 07 Jun 2018 07:31:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528381902; cv=none; d=google.com; s=arc-20160816; b=UTPbr6AhgDKTn8PHdq2yOKaDF1kJcMF2iy6drJW35jbk0eFYpynyNCbSd4LeVYs2zu +q6h1eFBEeKXt9oprEl//2cjmNIjktog9CNtlDzMOyMBa0gDaO2JrDZOH0ZZNHfMfv89 7MGL5HIszBWA+YKqPLbHHp06KNF+rdP8zIb2pq3rtyNx4PKyVRk2ke2mPLQbZWk9sEhz 0TsTRPcmhHD4i5HSQIm1h6bnTOeQRrj9xh7SahK+hdP0P7BDYQUR4kbdxucWD+UimLHI Chy1ff2OoVpy6Vgfr5Bjib+9OIXzG1B5lDRpjVLRqwFuvzWGqwIkp2ui0JjD5Gyq/ats a8xg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:subject:message-id:date:cc:to :from:mime-version:content-transfer-encoding:content-disposition :arc-authentication-results; bh=bgvRjD8bJ1eqeyLzW3udhTK/1+k5hsnsoIQDiZKnEZg=; b=NBYvaQ6kL5l4f1730sUneNqYX2nIkSktkIv+DrosrsssNUpOFIwTtRk639lnjArC8d JKfoQo8H38DBMnlUijqHkaGnWI9KOTf8sljbxNnIdiaNITOh5h2I3M339vya/BdMZ82b NZrKWS5HVU0aN2p1yAgISOCT+MvsCd42zyx+878fQKVq05tdcmR16Nw3SwWtyJPxBFg9 ARUhW3m7syAXqUz53IRlSSwQ70oqJWRY0sbjg4v+GPapN5wuUmTKC5hNrtwYAo5nvsyR H9XTM+1uOhNxbKA00LL9bccQugqzDMwfyzKjxaIjEKwU6V8g5Plxv0ZM31oL9VN0qw7C 89EA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d5-v6si20470530plr.13.2018.06.07.07.31.28; Thu, 07 Jun 2018 07:31:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933772AbeFGOaX (ORCPT + 99 others); Thu, 7 Jun 2018 10:30:23 -0400 Received: from shadbolt.e.decadent.org.uk ([88.96.1.126]:39412 "EHLO shadbolt.e.decadent.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933062AbeFGOJK (ORCPT ); Thu, 7 Jun 2018 10:09:10 -0400 Received: from [148.252.241.226] (helo=deadeye) by shadbolt.decadent.org.uk with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1fQvbA-0005hJ-FF; Thu, 07 Jun 2018 15:09:08 +0100 Received: from ben by deadeye with local (Exim 4.91) (envelope-from ) id 1fQvb9-000367-26; Thu, 07 Jun 2018 15:09:07 +0100 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 From: Ben Hutchings To: linux-kernel@vger.kernel.org, stable@vger.kernel.org CC: akpm@linux-foundation.org, "Michael Weiser" , "Will Deacon" Date: Thu, 07 Jun 2018 15:05:21 +0100 Message-ID: X-Mailer: LinuxStableQueue (scripts by bwh) Subject: [PATCH 3.16 268/410] arm64: Disable unhandled signal log messages by default In-Reply-To: X-SA-Exim-Connect-IP: 148.252.241.226 X-SA-Exim-Mail-From: ben@decadent.org.uk X-SA-Exim-Scanned: No (on shadbolt.decadent.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 3.16.57-rc1 review patch. If anyone has any objections, please let me know. ------------------ From: Michael Weiser commit 5ee39a71fd89ab7240c5339d04161c44a8e03269 upstream. aarch64 unhandled signal kernel messages are very verbose, suggesting them to be more of a debugging aid: sigsegv[33]: unhandled level 2 translation fault (11) at 0x00000000, esr 0x92000046, in sigsegv[400000+71000] CPU: 1 PID: 33 Comm: sigsegv Tainted: G W 4.15.0-rc3+ #3 Hardware name: linux,dummy-virt (DT) pstate: 60000000 (nZCv daif -PAN -UAO) pc : 0x4003f4 lr : 0x4006bc sp : 0000fffffe94a060 x29: 0000fffffe94a070 x28: 0000000000000000 x27: 0000000000000000 x26: 0000000000000000 x25: 0000000000000000 x24: 00000000004001b0 x23: 0000000000486ac8 x22: 00000000004001c8 x21: 0000000000000000 x20: 0000000000400be8 x19: 0000000000400b30 x18: 0000000000484728 x17: 000000000865ffc8 x16: 000000000000270f x15: 00000000000000b0 x14: 0000000000000002 x13: 0000000000000001 x12: 0000000000000000 x11: 0000000000000000 x10: 0008000020008008 x9 : 000000000000000f x8 : ffffffffffffffff x7 : 0004000000000000 x6 : ffffffffffffffff x5 : 0000000000000000 x4 : 0000000000000000 x3 : 00000000004003e4 x2 : 0000fffffe94a1e8 x1 : 000000000000000a x0 : 0000000000000000 Disable them by default, so they can be enabled using /proc/sys/debug/exception-trace. Signed-off-by: Michael Weiser Signed-off-by: Will Deacon Signed-off-by: Ben Hutchings --- arch/arm64/kernel/traps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/arm64/kernel/traps.c +++ b/arch/arm64/kernel/traps.c @@ -45,7 +45,7 @@ static const char *handler[]= { "Error" }; -int show_unhandled_signals = 1; +int show_unhandled_signals = 0; static void dump_backtrace_entry(unsigned long where, unsigned long stack) {