Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp4219966ybx; Sat, 9 Nov 2019 11:22:05 -0800 (PST) X-Google-Smtp-Source: APXvYqwC669gxhht5Umnfy/7248VV73WRZZTWKLlcSFXEt1DytHDd5VswugnLp3Szf269k1B8wPa X-Received: by 2002:aa7:d0c1:: with SMTP id u1mr17566732edo.27.1573327325431; Sat, 09 Nov 2019 11:22:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573327325; cv=none; d=google.com; s=arc-20160816; b=JI/OufKHDV0zh162VSAiqiCm3sr9RwIMD+NA475QPQxRO8ufCvu8Tp5CwXo5SUoO0P ZGkJydsV4xMSIV7NghtrIMYAw0FYk6zQPyh5YBY6w/MsvDDp7GEvAR4Fl/fgV2l3TOev bQ/4SlTGcS1iFDSbe4ugjUskg1jMH6qKuDP6vkLNNTszZQ9Zu8Fu7XI9IC34MUFAcOcc WoyJC/2SNVoTtA6OznH+erv7UKpG9zfos9MGrt1DcglrmoN2DibvPctEJMHi6xD0cMGO I4N0pqlaT9jGKR2gqyUbWqPIRGMKS1VMK9JoH4kBDqOnvzgVfmYJNxIsZKk3rLhGJrKA cJLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=IkFL+O4AgYFx1OONXesexHJ5CbtF3Jn1N0Qya4xrddw=; b=OdGaJNUwdfijn79xn832rPyqr2OUW1avTIv5iZER84eiJ7dPnJQ3bRUVKFMhQrzkQS jJLLaYAyEbCan5vFnWNnSxQ56Mm+SZNHKZrXardDQmXKluvei1pg2Kn87pvc15RPu4rD P0fKGjn5b528pz56wFkypZzgajaqsxkJjUU7tFYTCsY1KtKM+YvjV6j8et/yMNzzD7nX MCGfyYYJDxGTZVR76vD1tuy2kUPesE7wS4wZ8FDO40ACDEenGMCS5rswTKNd+Q22Lk60 aRl55Co4mFUZcMpAfuPM9DR7HF1kV+2FyeFw07W3ZLEsFqeAdUphNIYjwD5U0twvGOGY ++4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=YPrLHNng; 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=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id rk9si6214944ejb.301.2019.11.09.11.21.41; Sat, 09 Nov 2019 11:22:05 -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=@chromium.org header.s=google header.b=YPrLHNng; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726424AbfKITRt (ORCPT + 99 others); Sat, 9 Nov 2019 14:17:49 -0500 Received: from mail-pg1-f193.google.com ([209.85.215.193]:34024 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726240AbfKITRs (ORCPT ); Sat, 9 Nov 2019 14:17:48 -0500 Received: by mail-pg1-f193.google.com with SMTP id z188so402479pgb.1 for ; Sat, 09 Nov 2019 11:17:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=IkFL+O4AgYFx1OONXesexHJ5CbtF3Jn1N0Qya4xrddw=; b=YPrLHNngmS1tJAvcSMsgJEZh8HdBQEwSw0bJ8S5ojIqaCdtTh7y7x/8xvEXf2Z00n6 p++6Y/urc8Z88qhr3eCTXqqZmdpWySEgIEww+jNkXaRb+J2epcucNuHiJuFiHlxW0uKk AHYlELgxTqUl9pjpfsdumyOeWgfzdZSuHm8vk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=IkFL+O4AgYFx1OONXesexHJ5CbtF3Jn1N0Qya4xrddw=; b=DvLoB+AyYk5CBVznz9oyNJVulVF2k3RiNlKoRgvz364YqApL/9YhCGKZy1mcdQNym7 PtC5jjB9B8Uxu8YLNsjrc3NSrrCj/y8dy0J/u+YLHlZmNL7XCMmjC6M/uPjDpR5CokeY pSdZGL2sXl1qhxDNHbNpdm5hmL2MpreacpxR3++U3rG6Xd0xvJYCHtdd4RNsgi7xHUbw xNltAt0y9VHqkM52LUBzmbx3mQJCZHcLlrSyE7IAlGcLnRlDjGYFwvlVmMaDzQxmkOHP lcqKdBZ5BxPVXm3HvhTd/KhyLO4zOU8vmfD07JPgV7H2ak41gChHN2+adpA9b44tC1Nc /UlQ== X-Gm-Message-State: APjAAAVMsYVsKKiqK3/ZUf/PZaVt+trWvw5tusviPmitPB70IiZgTGGr RbenqdwnDfMuGVTyDDILfXI+ow== X-Received: by 2002:a62:1c8:: with SMTP id 191mr20604153pfb.152.1573327068017; Sat, 09 Nov 2019 11:17:48 -0800 (PST) Received: from tictac2.mtv.corp.google.com ([2620:15c:202:1:24fa:e766:52c9:e3b2]) by smtp.gmail.com with ESMTPSA id i11sm9193577pgd.7.2019.11.09.11.17.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Nov 2019 11:17:47 -0800 (PST) From: Douglas Anderson To: Paul Burton , Jason Wessel , Daniel Thompson Cc: qiaochong@loongson.cn, kgdb-bugreport@lists.sourceforge.net, ralf@linux-mips.org, Douglas Anderson , Mike Rapoport , Chuhong Yuan , linux-mips@vger.kernel.org, Nicholas Mc Guire , James Hogan , "Gustavo A. R. Silva" , Serge Semin , Prarit Bhargava , Andrew Morton , Will Deacon , Sebastian Andrzej Siewior , Christophe Leroy , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , "Eric W. Biederman" , linux-kernel@vger.kernel.org, Dan Carpenter Subject: [PATCH 0/5] kdb: Don't implicitly change tasks; plus misc fixups Date: Sat, 9 Nov 2019 11:16:39 -0800 Message-Id: <20191109191644.191766-1-dianders@chromium.org> X-Mailer: git-send-email 2.24.0.432.g9d3f5f5b63-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This started out as just a follow-up to Daniel's post [1]. I wanted to stop implicitly changing the current task in kdb. ...but, of course, everywhere you look in kdb there are things to cleanup, so this gets a few misc cleanups I found along the way. Enjoy. [1] https://lore.kernel.org/r/20191010150735.dhrj3pbjgmjrdpwr@holly.lan Douglas Anderson (5): MIPS: kdb: Remove old workaround for backtracing on other CPUs kdb: kdb_current_regs should be private kdb: kdb_current_task shouldn't be exported kdb: Gid rid of implicit setting of the current task / regs kdb: Get rid of confusing diag msg from "rd" if current task has no regs arch/mips/kernel/traps.c | 5 ----- include/linux/kdb.h | 2 -- kernel/debug/kdb/kdb_bt.c | 8 +------- kernel/debug/kdb/kdb_main.c | 31 ++++++++++++++----------------- kernel/debug/kdb/kdb_private.h | 2 +- 5 files changed, 16 insertions(+), 32 deletions(-) -- 2.24.0.432.g9d3f5f5b63-goog