From: Douglas Anderson <dianders@chromium.org>
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3 0/4] kgdb: Fix kgdb_roundup_cpus()
Date: Wed, 07 Nov 2018 01:00:24 +0000 [thread overview]
Message-ID: <20181107010028.184543-1-dianders@chromium.org> (raw)
This series was originally part of the series ("serial: Finish kgdb on
qcom_geni; fix many lockdep splats w/ kgdb") but it made sense to
split it up.
It's believed that dropping into kgdb should be more robust once these
patches are applied.
Changes in v3:
- No separate init call.
- Don't round up the CPU that is doing the rounding up.
- Add "#ifdef CONFIG_SMP" to match the rest of the file.
- Updated desc saying we don't solve the "failed to roundup" case.
- Document the ignored parameter.
- Patch #3 and #4 are new.
Changes in v2:
- Removing irq flags separated from fixing lockdep splat.
- Removing irq flags separated from fixing lockdep splat.
- Don't use smp_call_function (Daniel).
Douglas Anderson (4):
kgdb: Remove irq flags from roundup
kgdb: Fix kgdb_roundup_cpus() for arches who used smp_call_function()
kgdb: Don't round up a CPU that failed rounding up before
kdb: Don't back trace on a cpu that didn't round up
arch/arc/kernel/kgdb.c | 10 ++-----
arch/arm/kernel/kgdb.c | 12 ---------
arch/arm64/kernel/kgdb.c | 12 ---------
arch/hexagon/kernel/kgdb.c | 32 ----------------------
arch/mips/kernel/kgdb.c | 9 +------
arch/powerpc/kernel/kgdb.c | 6 ++---
arch/sh/kernel/kgdb.c | 12 ---------
arch/sparc/kernel/smp_64.c | 2 +-
arch/x86/kernel/kgdb.c | 9 ++-----
include/linux/kgdb.h | 22 +++++++++------
kernel/debug/debug_core.c | 55 +++++++++++++++++++++++++++++++++++++-
kernel/debug/debug_core.h | 1 +
kernel/debug/kdb/kdb_bt.c | 11 +++++++-
13 files changed, 88 insertions(+), 105 deletions(-)
--
2.19.1.930.g4563a0d9d0-goog
next reply other threads:[~2018-11-07 1:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-07 1:00 Douglas Anderson [this message]
2018-11-07 1:00 ` [PATCH v3 1/4] kgdb: Remove irq flags from roundup Douglas Anderson
2018-11-07 1:00 ` [PATCH v3 2/4] kgdb: Fix kgdb_roundup_cpus() for arches who used smp_call_function() Douglas Anderson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20181107010028.184543-1-dianders@chromium.org \
--to=dianders@chromium.org \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).