Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp4398449ybc; Tue, 26 Nov 2019 08:20:22 -0800 (PST) X-Google-Smtp-Source: APXvYqwTEjHQ/9+aqwAc88QZUt13/S0/LFdBGhFeQSxcaiIR+dfj9XVauhqL2WmzFZNUaBlgxQSw X-Received: by 2002:a17:906:3798:: with SMTP id n24mr499575ejc.15.1574785222059; Tue, 26 Nov 2019 08:20:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574785222; cv=none; d=google.com; s=arc-20160816; b=waemfcCfYleqFgtV1OF3LeqXhHhnawf894votCY7usNnM3P8Ic1FcfEw5koFdbPm3Q Q75SWiK+APkOlKoJZ4xHH0DWooFe1Hr+5kzrvv3O0vDHlXu0/rVYOsIuC1fp+yy0LTTS yMWPwjAinNapXq+labUK5D4dxV0Toh2d+LdlHPKs6OhVMoEWOKPCqmrdzyx2Shyf4WSH 2ikfN1dhbc7u5q8FV1TyjqBKuZr21zuN0obnKlrX5uAm2WBuroCnI3Bmrim8cdYjezqb XLe4DnH6axlsKuatiddmj5IOZ7Q2AIPViY+IuSwwCkC4w0fPMJ+/VnelTIg/cphcRqjD JTXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition:mime-version :message-id:subject:cc:to:from:date:dkim-signature; bh=8M4WeC77001HU9K3OuWdzr0/6Ckzu4Btb0vCvwuuEEY=; b=zpC96yW4AwC3GWE0p9eVMrsUXl0ZSH9MJArt+Ic3LKb6jkhKElW1/s89rqQ/XQO9u3 ZBXxg/hoEmqrdsGPFIk1ziiilGd7C5T59QxhKW26R+7zdjVMZd4egN+OZSeu3dJHHpi4 gLeLPgMy6ckOoDrQaf3uKQ29+7mSIA7+b1IDJ533JKjwkgmTUCiZqZ3ZW5ac5Sd6LecW J4+pLz+hgZrHmRB4X/EFSGRRI+FjLINzzwzas3TX3B13v+2xBO9C0OnA57k0TOGQUpid QeMQHUEbRFW5UKPNjdFVzwYke5vSwHawGCwP6LrUX6g1fQoz8ynOIBZwLpfAsWftbnbA pTVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="mR/SHrJk"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s40si8346222edd.233.2019.11.26.08.19.56; Tue, 26 Nov 2019 08:20:22 -0800 (PST) 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; dkim=pass header.i=@linaro.org header.s=google header.b="mR/SHrJk"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728583AbfKZPjD (ORCPT + 99 others); Tue, 26 Nov 2019 10:39:03 -0500 Received: from mail-wr1-f66.google.com ([209.85.221.66]:41945 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725972AbfKZPjD (ORCPT ); Tue, 26 Nov 2019 10:39:03 -0500 Received: by mail-wr1-f66.google.com with SMTP id b18so22993450wrj.8 for ; Tue, 26 Nov 2019 07:39:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:mime-version:content-disposition; bh=8M4WeC77001HU9K3OuWdzr0/6Ckzu4Btb0vCvwuuEEY=; b=mR/SHrJkmHMPldRrAFgSYdjriCZZSc3YubJJ1LswCfp0Y+Kf3xBxhJ3bciSEUx8FvS 6Vt7kxcIVbIChKir64Sng8ZkuDHQRuYOQm8VAtFL9xCUJZtwJ9eiRpLADhHnKotmCmuN jtcvirGL0a9jYH/SXLcR5VbSRlYVl3aVPDk89efOOWey5JZaeH0x7AExfRzb0xohhaO3 YeY44+9g5VM3BsZJ2PcBt1Km0o7k6iZcZeiOpsVxw5P3NnK/HqK5I2mOI6wczkhe3/It Eook/YZC4159YCPY9jkOkyc8gE+pQqca+Fp3tQBhyey+RK8cOPv3ehhzqkRTACtLLet4 R0JQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition; bh=8M4WeC77001HU9K3OuWdzr0/6Ckzu4Btb0vCvwuuEEY=; b=Lc/CNjhqtXEe4ZuhPxi5T+uYAO89glj31F0w3RHlQvrN/6Z8IShcNo0dn2AdFu4oaN 5uGk6txyYLtmCTLdgHZy8G+bUdog7faBJI0zyOdIxiceGQa6Qw5/lo5U41u0PTKvOl0W 8dEcQH2d+ET8FCAyIIgxKw/HGN2dbnRwzVOfU9FUjNsa8HCi8KaNkh7CSBJtavcyPW97 L9nIsqUuDoT6SL14eVX6ZqP6Tr/zDO7XUxzPDM7ESbHhWrXPpwHnRDkRMpk/okAFRbOR n+BPUZ/X3C0pRSEbn9I+BI/sDgMFONJUkNGzi/dI+WmTxRUGjl622sroMYYRoVRqafbO OhJg== X-Gm-Message-State: APjAAAVTPaX5153MxLybWRtuA23PpfjXwm0HwxWW+QFu6Bxw8Ws4raUq 5boIBut1Qm0wBJRmlw37rBx1PuaQ02RYGw== X-Received: by 2002:adf:9786:: with SMTP id s6mr39056324wrb.188.1574782740652; Tue, 26 Nov 2019 07:39:00 -0800 (PST) Received: from holly.lan (cpc141214-aztw34-2-0-cust773.18-1.cable.virginm.net. [86.9.19.6]) by smtp.gmail.com with ESMTPSA id 60sm14791602wrn.86.2019.11.26.07.38.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Nov 2019 07:38:59 -0800 (PST) Date: Tue, 26 Nov 2019 15:38:58 +0000 From: Daniel Thompson To: Linus Torvalds Cc: Jason Wessel , linux-kernel@vger.kernel.org, Douglas Anderson Subject: [GIT PULL] kgdb changes v5.5-rc1 Message-ID: <20191126153858.bclidzxinfjrtkl6@holly.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following changes since commit da0c9ea146cbe92b832f1b0f694840ea8eb33cce: Linux 5.4-rc2 (2019-10-06 14:27:30 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/danielt/linux.git/ tags/kgdb-5.5-rc1 for you to fetch changes up to c58ff643763c78bef12874ee39995c9f7f987bc2: kdb: Tweak escape handling for vi users (2019-10-28 12:08:29 +0000) ---------------------------------------------------------------- kgdb patches for 5.5-rc1 The major change here is the work from Douglas Anderson that reworks the way kdb stack traces are handled on SMP systems. The effect is to allow all CPUs to issue their stack trace which reduced the need for architecture specific code to support stack tracing. Also included are general of clean ups from Doug and myself: * Remove some unused variables or arguments. * Tidy up the kdb escape handling code and fix a couple of odd corner cases. - Better ignore escape characters that do not form part of an escape sequence. This mostly benefits vi users since they are most likely to press escape as a nervous habit but it won't harm anyone else. Signed-off-by: Daniel Thompson ---------------------------------------------------------------- Daniel Thompson (6): kdb: Avoid array subscript warnings on non-SMP builds kdb: Tidy up code to handle escape sequences kdb: Simplify code to fetch characters from console kdb: Remove special case logic from kdb_read() kdb: Improve handling of characters from different input sources kdb: Tweak escape handling for vi users Douglas Anderson (4): kgdb: Remove unused DCPU_SSTEP definition kdb: Remove unused "argcount" param from kdb_bt1(); make btaprompt bool kdb: Fix "btc " crash if the CPU didn't round up kdb: Fix stack crawling on 'running' CPUs that aren't the master kernel/debug/debug_core.c | 34 ++++++ kernel/debug/debug_core.h | 3 +- kernel/debug/kdb/kdb_bt.c | 116 +++++++++++---------- kernel/debug/kdb/kdb_io.c | 231 ++++++++++++++++++++--------------------- kernel/debug/kdb/kdb_private.h | 1 + 5 files changed, 208 insertions(+), 177 deletions(-)